:root {
  --orange: #ff6a00;
  --orange-dark: #db4f00;
  --orange-soft: #fff1e7;
  --ink: #171717;
  --muted: #6f6f73;
  --line: #e8e8ea;
  --surface: #ffffff;
  --canvas: #f6f6f7;
  --success: #198754;
  --danger: #c83e32;
  --warning: #b86a00;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(25, 25, 25, .08);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, #ff8a25, var(--orange));
  border-radius: 18px;
  box-shadow: 0 9px 20px rgba(255, 106, 0, .24);
  color: white;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 27px;
  font-weight: 800;
  height: 54px;
  justify-content: center;
  transform: rotate(-4deg);
  width: 54px;
}
.brand-mark span { transform: rotate(4deg); }
.brand-mark--small { border-radius: 12px; font-size: 19px; height: 40px; width: 40px; }
.brand-image { display: block; height: 54px; max-width: 180px; object-fit: contain; }

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 720;
  gap: 8px;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button--primary { background: var(--orange); box-shadow: 0 10px 22px rgba(255, 106, 0, .2); color: #fff; }
.button--primary:hover { background: var(--orange-dark); }
.button--dark { background: var(--ink); color: white; }
.button--light { background: white; border-color: var(--line); color: var(--ink); }
.button--block { width: 100%; }
.button--small { min-height: 38px; padding: 0 14px; }

.eyebrow {
  color: var(--orange-dark);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .13em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.muted { color: var(--muted); }

.public-page { background: #fff; min-height: 100vh; }
.public-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px 28px;
}
.brand, .auth-brand, .sidebar-brand { align-items: center; display: flex; gap: 13px; }
.brand strong, .auth-brand strong { display: block; font-size: 16px; }
.brand small, .auth-brand small { color: var(--muted); display: block; font-size: 12px; margin-top: 3px; }
.admin-link { border-bottom: 1px solid var(--line); color: var(--muted); font-size: 13px; padding: 6px 0; }

.public-page main { margin: 0 auto; max-width: 1180px; padding: 0 28px 60px; }
.tracking-hero {
  align-items: center;
  background:
    radial-gradient(circle at 100% 0, rgba(255,255,255,.35), transparent 35%),
    linear-gradient(130deg, #fff4eb 0%, #ffe0c7 55%, #ffb677 100%);
  border-radius: 32px;
  display: grid;
  gap: 50px;
  grid-template-columns: 1.05fr .95fr;
  min-height: 430px;
  overflow: hidden;
  padding: 64px;
  position: relative;
}
.tracking-hero::after {
  border: 45px solid rgba(255,255,255,.22);
  border-radius: 50%;
  content: "";
  height: 240px;
  position: absolute;
  right: -95px;
  top: -100px;
  width: 240px;
}
.tracking-copy { position: relative; z-index: 1; }
.tracking-copy h1 { font-size: clamp(42px, 5.2vw, 70px); letter-spacing: -.055em; line-height: .98; margin: 0; max-width: 650px; }
.tracking-copy p { color: #5d4534; font-size: 17px; line-height: 1.65; margin: 24px 0 0; max-width: 510px; }
.tracking-form {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 22px;
  box-shadow: 0 30px 70px rgba(114, 53, 10, .15);
  padding: 28px;
  position: relative;
  z-index: 1;
}
.tracking-form label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.tracking-input-row { display: flex; gap: 9px; }
.tracking-input-row input { min-width: 0; text-transform: uppercase; }
.tracking-form small { color: var(--muted); display: block; font-size: 11px; margin-top: 11px; }

input, select, textarea {
  background: #fff;
  border: 1px solid #dcdcdf;
  border-radius: 11px;
  color: var(--ink);
  min-height: 46px;
  outline: none;
  padding: 11px 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
textarea { min-height: 84px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(255, 106, 0, .1); }
input[readonly] { background: #f4f4f5; color: #444; }

.tracking-result, .not-found-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow);
  margin: -34px 34px 0;
  padding: 38px;
  position: relative;
  z-index: 2;
}
.not-found-card { margin-top: 32px; text-align: center; }
.not-found-icon { align-items: center; background: var(--orange-soft); border-radius: 50%; color: var(--orange); display: inline-flex; font-size: 24px; font-weight: 800; height: 58px; justify-content: center; width: 58px; }
.not-found-card h2 { margin: 16px 0 8px; }
.not-found-card p { color: var(--muted); margin: 0 auto; max-width: 580px; }
.result-header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding-bottom: 25px; }
.result-header h2 { font-size: 34px; letter-spacing: -.04em; margin: 0; }
.status-pill { background: #f0f0f1; border-radius: 999px; color: #555; display: inline-block; font-size: 11px; font-weight: 800; padding: 7px 10px; white-space: nowrap; }
.status-registered { background: #eef3ff; color: #365fba; }
.status-warehouse { background: #fff4d9; color: #9b6300; }
.status-in_transit { background: var(--orange-soft); color: var(--orange-dark); }
.status-destination { background: #eeeaff; color: #6348bd; }
.status-delivered { background: #e5f6ed; color: #157448; }
.status-cancelled { background: #fdeaea; color: #b33838; }
.result-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); padding: 28px 0; }
.result-grid div, .shipment-summary { display: flex; flex-direction: column; gap: 6px; }
.result-grid span, .shipment-summary span { color: var(--muted); font-size: 11px; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.result-grid strong { font-size: 14px; }
.shipment-summary { background: #fafafa; border-radius: 15px; padding: 18px; }
.shipment-summary small { color: var(--muted); }
.current-status-card { background: linear-gradient(135deg, #fff7ef, #fff); border: 1px solid #ffd9bb; border-radius: 16px; display: grid; gap: 15px; grid-template-columns: 18px 1fr; margin-top: 24px; padding: 19px; }
.current-status-dot { background: var(--orange); border: 4px solid white; border-radius: 50%; box-shadow: 0 0 0 1px var(--orange), 0 0 0 7px var(--orange-soft); height: 15px; margin: 5px 0 0 2px; width: 15px; }
.current-status-card strong { color: var(--orange-dark); font-size: 17px; }
.current-status-card p { color: #4c4038; font-size: 14px; line-height: 1.55; margin: 6px 0 8px; }
.current-status-card time { color: var(--muted); font-size: 11px; }
.public-products { background: #fafafa; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.public-products-heading { align-items: center; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 16px 18px; }
.public-products-heading > div { display: flex; flex-direction: column; gap: 4px; }
.public-products-heading span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.public-products-heading strong { font-size: 13px; }
.public-product-list article { align-items: center; border-bottom: 1px solid var(--line); display: grid; gap: 14px; grid-template-columns: 1fr auto auto; padding: 14px 18px; }
.public-product-list article:last-child { border: 0; }
.public-product-list article > div { display: flex; flex-direction: column; gap: 4px; }
.public-product-list article strong { font-size: 12px; }
.public-product-list article small, .public-product-list article span { color: var(--muted); font-size: 10px; }
.timeline-section { margin-top: 32px; }
.timeline-section h3 { font-size: 18px; margin: 0 0 20px; }
.timeline { margin-left: 7px; }
.timeline-item { display: grid; gap: 18px; grid-template-columns: 16px 1fr; padding-bottom: 25px; position: relative; }
.timeline-item:not(:last-child)::before { background: var(--line); content: ""; height: 100%; left: 7px; position: absolute; top: 13px; width: 2px; }
.timeline-dot { background: #c7c7c9; border: 3px solid white; border-radius: 50%; box-shadow: 0 0 0 1px #c7c7c9; height: 14px; margin-top: 3px; position: relative; width: 14px; z-index: 1; }
.current .timeline-dot { background: var(--orange); box-shadow: 0 0 0 1px var(--orange), 0 0 0 6px var(--orange-soft); }
.timeline-title { align-items: center; display: flex; gap: 15px; justify-content: space-between; }
.timeline-title time { color: var(--muted); font-size: 12px; }
.timeline-item p { color: #4d4d50; font-size: 14px; margin: 7px 0 4px; }
.timeline-item small { color: var(--muted); }
.trust-row { border-top: 1px solid var(--line); display: grid; gap: 40px; grid-template-columns: repeat(3, 1fr); margin-top: 70px; padding-top: 38px; }
.trust-row div > span { color: var(--orange); display: block; font-size: 11px; font-weight: 800; margin-bottom: 15px; }
.trust-row strong { display: block; font-size: 17px; }
.trust-row p { color: var(--muted); font-size: 13px; line-height: 1.6; }
.public-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 12px; justify-content: space-between; margin: 0 auto; max-width: 1180px; padding: 25px 28px 40px; }

/* Portada pública 2.0 */
.public-page .public-main { margin: 0; max-width: none; padding: 0; }
.public-header { background: rgba(255,255,255,.96); border-bottom: 1px solid rgba(20,20,20,.08); margin: 0; max-width: none; padding: 0; position: sticky; top: 0; z-index: 80; }
.public-header-inner { align-items: center; display: flex; height: 78px; justify-content: space-between; margin: 0 auto; max-width: 1500px; padding: 0 32px; width: 100%; }
.public-header .brand-image--compact { height: 44px; max-width: 215px; width: auto; }
.public-nav { align-items: center; display: flex; gap: 30px; }
.public-nav a { color: #55545a; font-size: 12px; font-weight: 780; letter-spacing: .055em; text-transform: uppercase; }
.public-nav a:hover { color: var(--orange-dark); }
.public-nav .public-nav-cta { background: var(--orange); border-radius: 10px; color: #fff; padding: 13px 18px; }
.public-menu-button { background: transparent; border: 0; color: var(--ink); display: none; font-size: 25px; padding: 8px; }

.home-hero { min-height: 720px; overflow: hidden; position: relative; }
.home-hero-media { height: 100%; inset: 0; object-fit: cover; object-position: center; position: absolute; width: 100%; }
.home-hero-shade { background: linear-gradient(90deg, rgba(9,9,10,.96) 0%, rgba(9,9,10,.83) 37%, rgba(9,9,10,.32) 68%, rgba(9,9,10,.2) 100%); inset: 0; position: absolute; }
.home-hero-shade::after { background: linear-gradient(120deg, transparent 49%, rgba(242,99,0,.88) 49.1%, rgba(242,99,0,.95) 100%); content: ""; inset: 0; opacity: .28; position: absolute; }
.home-hero-content { align-items: center; display: grid; gap: 80px; grid-template-columns: 1.08fr .92fr; margin: 0 auto; max-width: 1280px; min-height: 720px; padding: 80px 42px; position: relative; z-index: 2; }
.home-hero-copy { color: #fff; max-width: 660px; }
.hero-kicker, .card-kicker { color: #ff9b54; display: block; font-size: 11px; font-weight: 850; letter-spacing: .18em; margin-bottom: 17px; text-transform: uppercase; }
.home-hero-copy h1 { font-size: clamp(56px, 6.7vw, 100px); letter-spacing: -.065em; line-height: .9; margin: 0; max-width: 720px; }
.home-hero-copy p { color: rgba(255,255,255,.78); font-size: 18px; line-height: 1.7; margin: 28px 0 32px; max-width: 600px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button--glass { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.38); color: #fff; }
.button--glass:hover { background: rgba(255,255,255,.15); }
.hero-tracking-card { background: rgba(255,255,255,.97); border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.3); justify-self: end; max-width: 475px; padding: 38px; scroll-margin-top: 105px; width: 100%; }
.hero-tracking-card .card-kicker { color: var(--orange-dark); margin-bottom: 10px; }
.hero-tracking-card h2 { font-size: 33px; letter-spacing: -.045em; margin: 0; }
.hero-tracking-card > p { color: var(--muted); font-size: 13px; line-height: 1.55; margin: 9px 0 25px; }
.hero-tracking-card label { margin-bottom: 8px; }
.hero-tracking-card .tracking-input-row { align-items: stretch; }
.hero-tracking-card .tracking-input-row input { font-size: 12px; }
.hero-tracking-card .tracking-input-row .button { padding: 0 16px; }
.hero-mini-stats { border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3,1fr); margin-top: 27px; padding-top: 22px; text-align: center; }
.hero-mini-stats div { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.hero-mini-stats div:last-child { border: 0; }
.hero-mini-stats strong { color: var(--orange-dark); font-size: 25px; }
.hero-mini-stats span { color: var(--muted); font-size: 8px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }

.public-page .tracking-result, .public-page .not-found-card { margin: -48px auto 0; max-width: 1120px; scroll-margin-top: 100px; }
.home-section { margin: 0 auto; max-width: 1240px; padding: 105px 32px; }
.section-heading { align-items: end; display: flex; gap: 60px; justify-content: space-between; margin-bottom: 46px; }
.section-heading > div { max-width: 650px; }
.section-heading h2, .about-copy h2, .video-copy h2, .coverage-copy h2, .contact-section h2 { font-size: clamp(40px, 5vw, 70px); letter-spacing: -.06em; line-height: .98; margin: 0; }
.section-heading > p { color: var(--muted); font-size: 15px; line-height: 1.7; margin: 0; max-width: 430px; }

.service-grid { display: grid; gap: 18px; grid-template-columns: repeat(3,1fr); }
.service-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 15px 40px rgba(30,30,30,.05); display: flex; flex-direction: column; min-height: 360px; padding: 32px; position: relative; transition: transform .22s ease, box-shadow .22s ease; }
.service-card:hover { box-shadow: 0 26px 65px rgba(30,30,30,.1); transform: translateY(-5px); }
.service-card > small { color: var(--orange-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.service-icon { align-items: center; background: var(--orange-soft); border-radius: 14px; color: var(--orange-dark); display: flex; font-size: 25px; height: 54px; justify-content: center; margin-bottom: 48px; width: 54px; }
.service-card h3 { font-size: 24px; letter-spacing: -.035em; margin: 15px 0 11px; }
.service-card p { color: var(--muted); font-size: 14px; line-height: 1.7; margin: 0 0 24px; }
.service-card a { color: var(--orange-dark); font-size: 12px; font-weight: 800; margin-top: auto; }
.service-card--orange { background: linear-gradient(145deg,#ff7b1c,#e95300); border-color: transparent; color: #fff; }
.service-card--orange .service-icon { background: rgba(255,255,255,.18); color: #fff; }
.service-card--orange > small, .service-card--orange p, .service-card--orange a { color: rgba(255,255,255,.82); }

.about-section { align-items: center; display: grid; gap: 75px; grid-template-columns: 1fr 1fr; }
.about-media { border-radius: 30px; min-height: 590px; overflow: hidden; position: relative; }
.about-media::after { background: linear-gradient(0deg,rgba(0,0,0,.45),transparent 55%); content: ""; inset: 0; position: absolute; }
.about-media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.about-badge { align-items: center; background: rgba(255,255,255,.93); border-radius: 16px; bottom: 24px; display: flex; font-size: 11px; font-weight: 800; gap: 11px; left: 24px; padding: 13px 17px; position: absolute; z-index: 2; }
.about-badge strong { align-items: center; background: var(--orange); border-radius: 10px; color: #fff; display: flex; height: 36px; justify-content: center; width: 36px; }
.about-copy > p { color: var(--muted); font-size: 16px; line-height: 1.8; margin: 29px 0 38px; }
.about-values { border-top: 1px solid var(--line); display: grid; gap: 15px; grid-template-columns: repeat(3,1fr); padding-top: 25px; }
.about-values div { display: flex; flex-direction: column; gap: 7px; }
.about-values strong { color: var(--orange-dark); font-size: 12px; }
.about-values span { font-size: 11px; font-weight: 750; line-height: 1.4; }

.video-section { align-items: center; background: #151515; border-radius: 34px; color: #fff; display: grid; gap: 60px; grid-template-columns: .8fr 1.2fr; max-width: 1320px; padding: 65px; }
.video-copy h2 { font-size: clamp(42px,4.3vw,64px); }
.video-copy p { color: rgba(255,255,255,.62); font-size: 15px; line-height: 1.75; margin: 25px 0 30px; }
.video-frame { aspect-ratio: 16/9; background: #090909; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; box-shadow: 0 25px 65px rgba(0,0,0,.35); overflow: hidden; }
.video-frame iframe, .video-frame video { border: 0; height: 100%; object-fit: cover; width: 100%; }
.video-placeholder { align-items: center; background-position: center; background-size: cover; display: flex; flex-direction: column; height: 100%; justify-content: center; padding: 30px; text-align: center; }
.video-placeholder .video-play { align-items: center; background: var(--orange); border-radius: 50%; display: flex; font-size: 20px; height: 68px; justify-content: center; margin-bottom: 18px; padding-left: 4px; width: 68px; }
.video-placeholder strong { font-size: 18px; }
.video-placeholder small { color: rgba(255,255,255,.65); margin-top: 7px; }

.process-section { padding-bottom: 120px; }
.process-grid { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4,1fr); }
.process-grid article { border-right: 1px solid var(--line); min-height: 245px; padding: 34px 27px; }
.process-grid article:last-child { border: 0; }
.process-grid span { color: var(--orange-dark); font-size: 11px; font-weight: 850; }
.process-grid h3 { font-size: 23px; margin: 45px 0 10px; }
.process-grid p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 0; }

.coverage-section { background: radial-gradient(circle at 15% 15%,rgba(255,106,0,.18),transparent 25%),#28150b; border-radius: 34px; color: #fff; display: grid; gap: 70px; grid-template-columns: .8fr 1.2fr; max-width: 1320px; padding: 70px; }
.coverage-copy p { color: rgba(255,255,255,.68); font-size: 15px; line-height: 1.75; margin: 25px 0 30px; }
.department-grid { display: grid; gap: 9px; grid-template-columns: repeat(2,1fr); }
.department-grid div { align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.13); border-radius: 11px; display: flex; gap: 12px; padding: 13px 15px; }
.department-grid span { color: #ff9b54; font-size: 9px; font-weight: 850; }
.department-grid strong { font-size: 11px; }

.faq-section { padding-bottom: 110px; }
.faq-grid { display: grid; gap: 12px; grid-template-columns: repeat(2,1fr); }
.faq-grid details { border: 1px solid var(--line); border-radius: 15px; padding: 19px 21px; }
.faq-grid summary { cursor: pointer; font-size: 14px; font-weight: 780; list-style: none; padding-right: 25px; position: relative; }
.faq-grid summary::after { color: var(--orange-dark); content: "+"; font-size: 20px; position: absolute; right: 0; top: -5px; }
.faq-grid details[open] summary::after { content: "−"; }
.faq-grid p { color: var(--muted); font-size: 13px; line-height: 1.65; margin: 14px 0 0; }

.contact-section { align-items: center; background: linear-gradient(125deg,#f56700,#ff8b2e); color: #fff; display: flex; gap: 50px; justify-content: space-between; padding: 80px max(32px,calc((100vw - 1180px)/2)); }
.contact-section h2 { font-size: clamp(38px,4.5vw,64px); }
.contact-section p { color: rgba(255,255,255,.78); margin: 17px 0 0; }
.contact-section .hero-kicker { color: rgba(255,255,255,.72); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.contact-actions .button--primary { background: #151515; box-shadow: none; }

.public-footer-v2 { background: #111; color: #fff; display: grid; gap: 60px; grid-template-columns: 1.3fr .7fr 1fr; padding: 70px max(32px,calc((100vw - 1180px)/2)) 30px; }
.public-footer-v2 .footer-brand .brand-image { filter: brightness(0) invert(1); height: 48px; max-width: 235px; }
.footer-brand p { color: #8e8e92; font-size: 12px; line-height: 1.65; max-width: 330px; }
.public-footer-v2 > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.public-footer-v2 > div > strong { color: #fff; font-size: 11px; letter-spacing: .08em; margin-bottom: 7px; text-transform: uppercase; }
.public-footer-v2 a, .public-footer-v2 span { color: #8e8e92; font-size: 11px; line-height: 1.5; }
.public-footer-v2 > small { border-top: 1px solid #2b2b2b; color: #69696d; font-size: 9px; grid-column: 1/-1; padding-top: 22px; }

.auth-page { align-items: center; background: linear-gradient(145deg, #f7f7f8 0%, #fff4eb 100%); display: flex; justify-content: center; min-height: 100vh; padding: 24px; }
.auth-page::before { background: var(--orange); border-radius: 50%; content: ""; filter: blur(85px); height: 220px; opacity: .09; position: fixed; right: 10%; top: 5%; width: 220px; }
.auth-card, .install-card { background: white; border: 1px solid rgba(255,255,255,.8); border-radius: 24px; box-shadow: var(--shadow); padding: 34px; position: relative; width: min(100%, 430px); }
.install-card { margin: 40px 0; width: min(100%, 650px); }
.auth-card h1, .install-card h1 { font-size: 32px; letter-spacing: -.04em; margin: 34px 0 8px; }
.auth-card > p, .install-card > p { font-size: 14px; line-height: 1.6; margin: 0 0 24px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
label { color: #3f3f42; display: block; font-size: 12px; font-weight: 750; }
label input, label select, label textarea { display: block; margin-top: 7px; }
label small { color: var(--muted); display: block; font-size: 10px; font-weight: 500; margin-top: 5px; }
.back-link { color: var(--muted); display: block; font-size: 12px; margin-top: 24px; text-align: center; }
.form-section-title { border-top: 1px solid var(--line); color: var(--orange-dark); font-size: 11px; font-weight: 850; letter-spacing: .09em; margin-top: 7px; padding-top: 19px; text-transform: uppercase; }
.success-panel { padding: 25px 0 5px; text-align: center; }
.success-panel h1 { margin-top: 20px; }
.success-panel p { color: var(--muted); line-height: 1.6; margin: 0 auto 24px; max-width: 440px; }
.success-icon { align-items: center; background: #e5f6ed; border-radius: 50%; color: var(--success); display: inline-flex; font-size: 31px; font-weight: 800; height: 72px; justify-content: center; width: 72px; }
.alert { border: 1px solid; border-radius: 12px; font-size: 13px; margin-bottom: 18px; padding: 13px 15px; transition: opacity .5s ease; }
.alert--error { background: #fff0ef; border-color: #f2c7c3; color: #9f3027; }
.alert--success { background: #ebf8f1; border-color: #bfe5d1; color: #13673e; }
.alert--fade { opacity: .72; }

.admin-page { background: var(--canvas); min-height: 100vh; }
.sidebar { background: #151515; bottom: 0; color: #fff; display: flex; flex-direction: column; left: 0; padding: 24px 18px; position: fixed; top: 0; width: 240px; z-index: 30; }
.sidebar-brand { border-bottom: 1px solid #303030; font-size: 13px; font-weight: 800; line-height: 1.2; margin: 0 2px 28px; padding: 0 0 22px; }
.sidebar-brand .brand-image { filter: brightness(0) invert(1); height: 40px; max-width: 150px; }
.sidebar nav { display: flex; flex: 1; flex-direction: column; gap: 5px; }
.sidebar nav a { align-items: center; border-radius: 10px; color: #aaa; display: flex; font-size: 13px; font-weight: 680; gap: 11px; padding: 12px 14px; }
.sidebar nav a:hover { background: #202020; color: #fff; }
.sidebar nav a.active { background: var(--orange); color: white; }
.sidebar-icon { align-items: center; display: inline-flex; flex: 0 0 20px; font-size: 15px; justify-content: center; width: 20px; }
.sidebar-footer { border-top: 1px solid #303030; display: flex; flex-direction: column; font-size: 11px; gap: 9px; padding: 18px 10px 0; }
.sidebar-footer span { font-weight: 750; }
.sidebar-footer a { align-items: center; color: #999; display: flex; gap: 8px; }
.admin-shell { margin-left: 240px; min-height: 100vh; }
.admin-topbar { align-items: center; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); display: flex; height: 70px; justify-content: space-between; padding: 0 34px; position: sticky; top: 0; z-index: 20; }
.admin-topbar > div { display: flex; flex-direction: column; gap: 3px; }
.admin-topbar strong { font-size: 13px; }
.admin-topbar span { color: var(--muted); font-size: 10px; }
.menu-button { background: none; border: 0; cursor: pointer; display: none; font-size: 24px; }
.sidebar-collapse-button { background: #f2f2f3; border: 0; border-radius: 9px; color: #555; cursor: pointer; font-size: 16px; height: 36px; margin-right: 14px; width: 36px; }
.admin-topbar-title { flex: 1; }
.sidebar, .admin-shell { transition: margin .22s ease, width .22s ease; }
.sidebar-collapsed .sidebar { padding-left: 13px; padding-right: 13px; width: 82px; }
.sidebar-collapsed .admin-shell { margin-left: 82px; }
.sidebar-collapsed .sidebar-brand { justify-content: center; margin-left: 0; margin-right: 0; }
.sidebar-collapsed .sidebar-brand .brand-image { height: 38px; max-width: 48px; object-fit: cover; object-position: left; width: 48px; }
.sidebar-collapsed .sidebar-brand-name, .sidebar-collapsed .nav-label, .sidebar-collapsed .sidebar-user { display: none; }
.sidebar-collapsed .sidebar nav a, .sidebar-collapsed .sidebar-footer a { justify-content: center; padding-left: 9px; padding-right: 9px; }
.admin-content { margin: 0 auto; max-width: 1380px; padding: 38px; }
.page-heading { margin-bottom: 28px; }
.page-heading--row { align-items: flex-end; display: flex; gap: 20px; justify-content: space-between; }
.page-heading h1 { font-size: 38px; letter-spacing: -.045em; margin: 0 0 6px; }
.page-heading p { color: var(--muted); font-size: 14px; margin: 0; }
.heading-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.stat-grid { display: grid; gap: 16px; grid-template-columns: repeat(4, 1fr); margin-bottom: 24px; }
.stat-card { background: white; border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 155px; padding: 23px; }
.stat-card > span { color: var(--muted); font-size: 11px; font-weight: 750; }
.stat-card > strong { font-size: 42px; letter-spacing: -.05em; line-height: 1; margin: 20px 0 9px; }
.stat-card > small { color: var(--muted); font-size: 10px; }
.stat-card--orange { background: linear-gradient(145deg, #ff7a19, var(--orange-dark)); border-color: transparent; color: white; }
.stat-card--orange > span, .stat-card--orange > small { color: rgba(255,255,255,.75); }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; overflow: hidden; }
.panel-header { align-items: flex-start; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; padding: 21px 23px; }
.panel-header h2 { font-size: 16px; letter-spacing: -.02em; margin: 0; }
.panel-header p { color: var(--muted); font-size: 11px; margin: 5px 0 0; }
.panel-header > a { color: var(--orange-dark); font-size: 11px; font-weight: 750; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; }
th { color: var(--muted); font-size: 10px; letter-spacing: .04em; padding: 14px 18px; text-align: left; text-transform: uppercase; white-space: nowrap; }
td { border-top: 1px solid #ededee; font-size: 12px; padding: 16px 18px; white-space: nowrap; }
tbody tr:hover { background: #fcfcfc; }
.table-action { color: var(--orange-dark); font-weight: 800; }
.empty-state { padding: 55px 25px; text-align: center; }
.empty-state h1, .empty-state h3 { margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0 0 20px; }
.filter-bar { background: white; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 10px; grid-template-columns: 1fr 220px auto; margin-bottom: 18px; padding: 14px; }
.form-panel { overflow: visible; }
.form-panel .form-grid { padding: 23px; }
.product-editor { padding: 22px 23px 24px; }
.product-editor-head, .product-row { align-items: end; display: grid; gap: 10px; grid-template-columns: minmax(180px, 1.5fr) minmax(110px, .8fr) 90px 125px 115px 34px; }
.product-editor-head { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .04em; padding: 0 0 8px; text-transform: uppercase; }
.product-row { border-top: 1px solid var(--line); padding: 13px 0; }
.product-row label { min-width: 0; }
.product-row label > input { font-size: 12px; margin-top: 0; }
.product-row label { font-size: 0; }
.remove-product { align-items: center; background: #fff0ef; border: 0; border-radius: 9px; color: var(--danger); cursor: pointer; display: flex; font-size: 20px; height: 34px; justify-content: center; margin-bottom: 6px; width: 34px; }
.form-grid { display: grid; gap: 17px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.form-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.span-2 { grid-column: span 2; }
.step-number { align-items: center; background: var(--orange-soft); border-radius: 50%; color: var(--orange-dark); display: flex; font-size: 11px; font-weight: 850; height: 32px; justify-content: center; width: 32px; }
.form-actions { align-items: center; display: flex; gap: 9px; justify-content: flex-end; padding: 0 0 22px; }
.form-panel > .form-actions { padding: 0 23px 23px; }
.detail-grid { display: grid; gap: 20px; grid-template-columns: 1.1fr .9fr; }
.detail-card dl { margin: 0; padding: 8px 23px 19px; }
.detail-card dl div { border-bottom: 1px solid #eee; display: grid; gap: 18px; grid-template-columns: 135px 1fr; padding: 14px 0; }
.detail-card dl div:last-child { border: 0; }
.detail-card dt { color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; }
.detail-card dd { font-size: 12px; font-weight: 650; margin: 0; overflow-wrap: anywhere; text-align: right; }
.privacy-label { background: #f1f1f2; border-radius: 999px; color: var(--muted); font-size: 10px; padding: 6px 9px; }
.event-panel { overflow: visible; }
.event-form { align-items: end; display: grid; gap: 13px; grid-template-columns: 180px 1fr 1fr auto auto; padding: 20px 23px 24px; }
.checkbox-label { align-items: center; display: flex; gap: 7px; min-height: 46px; white-space: nowrap; }
.checkbox-label input { height: 17px; margin: 0; min-height: auto; width: 17px; }
.admin-timeline { padding: 22px 24px 8px; }
.admin-timeline article { display: grid; gap: 16px; grid-template-columns: 15px 1fr; padding-bottom: 24px; position: relative; }
.admin-timeline article:not(:last-child)::before { background: var(--line); content: ""; height: 100%; left: 6px; position: absolute; top: 12px; width: 2px; }
.admin-timeline article > div > div { display: flex; justify-content: space-between; }
.admin-timeline time { color: var(--muted); font-size: 10px; }
.admin-timeline p { font-size: 12px; margin: 5px 0; }
.admin-timeline small { color: var(--muted); font-size: 10px; }
.settings-grid { align-items: start; display: grid; gap: 20px; grid-template-columns: 1fr 320px; }
.settings-subtitle { border-top: 1px solid var(--line); color: var(--orange-dark); font-size: 11px; letter-spacing: .09em; margin: 13px 0 0; padding-top: 24px; text-transform: uppercase; }
.settings-subtitle:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.media-preview { align-items: center; background: #f7f7f8; border: 1px solid var(--line); border-radius: 14px; display: flex; gap: 18px; padding: 18px; }
.media-preview .brand-image { height: 58px; max-width: 230px; }
.media-preview > div { display: flex; flex-direction: column; gap: 4px; }
.media-preview strong { font-size: 12px; }
.media-preview small { color: var(--muted); font-size: 10px; }
.company-settings-panel input[type="file"] { background: #fafafa; font-size: 11px; padding: 9px; }
.password-panel .form-stack { padding: 23px; }
.email-panel { scroll-margin-top: 90px; }
.mail-status { border-radius: 999px; font-size: 10px; font-weight: 800; padding: 7px 10px; white-space: nowrap; }
.mail-status--ready { background: #e5f6ed; color: var(--success); }
.mail-status--pending { background: #fff1e6; color: var(--orange-dark); }
.inline-notice, .microsoft-note { background: #fff7ef; border-bottom: 1px solid #f5dbc5; color: #70401c; font-size: 11px; line-height: 1.55; padding: 13px 23px; }
.inline-notice a { color: var(--orange-dark); font-weight: 800; text-decoration: underline; }
.email-form { display: grid; gap: 17px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 23px; }
.email-form .form-actions { padding: 0; }
.attachment-options { align-items: center; display: flex; flex-wrap: wrap; gap: 24px; }
.attachment-options .checkbox-label { min-height: auto; }
.email-history { border-top: 1px solid var(--line); padding: 20px 23px 7px; }
.email-history h3 { font-size: 12px; margin: 0 0 9px; }
.email-history article { align-items: start; border-top: 1px solid var(--line); display: grid; gap: 13px; grid-template-columns: auto 1fr auto; padding: 14px 0; }
.email-history article div { min-width: 0; }
.email-history article strong { display: block; font-size: 11px; overflow-wrap: anywhere; }
.email-history article p { color: var(--muted); font-size: 10px; margin: 3px 0; }
.email-history article small { color: var(--danger); display: block; font-size: 9px; overflow-wrap: anywhere; }
.email-history time { color: var(--muted); font-size: 9px; white-space: nowrap; }
.mail-result { border-radius: 999px; font-size: 9px; font-weight: 800; padding: 5px 8px; }
.mail-result--sent { background: #e5f6ed; color: var(--success); }
.mail-result--failed { background: #fff0ef; color: var(--danger); }
.email-settings-panel { scroll-margin-top: 90px; }
.button:disabled { cursor: not-allowed; opacity: .48; }

.print-page { background: #ececef; padding: 88px 20px 50px; }
.print-toolbar { align-items: center; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; left: 0; padding: 13px 24px; position: fixed; right: 0; top: 0; z-index: 20; }
.print-toolbar > div { display: flex; flex: 1; flex-direction: column; }
.print-toolbar strong { font-size: 13px; }
.print-toolbar span { color: var(--muted); font-size: 10px; margin-top: 3px; }
.document-sheet { background: white; box-shadow: 0 20px 60px rgba(0,0,0,.12); margin: 0 auto; min-height: 980px; padding: 52px; width: 816px; }
.document-header, .guide-header { align-items: flex-start; border-bottom: 2px solid var(--ink); display: flex; justify-content: space-between; padding-bottom: 28px; }
.document-brand { align-items: center; display: flex; gap: 15px; }
.document-brand > div { display: flex; flex-direction: column; gap: 3px; }
.document-brand strong { font-size: 18px; }
.document-brand span { color: var(--muted); font-size: 10px; line-height: 1.35; }
.document-number { align-items: flex-end; display: flex; flex-direction: column; }
.document-number > span { color: var(--orange-dark); font-size: 10px; font-weight: 850; letter-spacing: .12em; }
.document-number strong { font-size: 23px; letter-spacing: -.03em; margin: 7px 0; }
.document-number small { color: var(--muted); }
.document-customer { background: #f7f7f8; border-radius: 14px; display: grid; gap: 18px; grid-template-columns: 1fr .85fr 1.2fr; margin: 28px 0 17px; padding: 19px; }
.document-customer div, .document-reference div { display: flex; flex-direction: column; gap: 5px; }
.document-customer span, .document-reference span, .invoice-note span { color: var(--muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.document-customer strong, .document-reference strong { font-size: 11px; }
.document-customer small { color: var(--muted); font-size: 9px; line-height: 1.4; }
.document-reference { border: 1px solid var(--line); border-radius: 12px; display: grid; gap: 16px; grid-template-columns: 1.2fr 1fr 1fr; margin-bottom: 26px; padding: 15px 18px; }
.invoice-table th { background: var(--ink); color: white; font-size: 8px; padding: 12px; }
.invoice-table td { font-size: 10px; padding: 15px 12px; white-space: normal; }
.invoice-table td:first-child { width: 60%; }
.invoice-table td:not(:first-child), .invoice-table th:not(:first-child) { text-align: right; }
.invoice-table td small { color: var(--muted); display: block; font-size: 8px; margin-top: 5px; }
.invoice-summary { display: grid; gap: 40px; grid-template-columns: 1fr 260px; margin-top: 30px; }
.invoice-note strong { display: block; font-size: 14px; margin: 7px 0 20px; }
.invoice-note p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.invoice-summary dl { margin: 0; }
.invoice-summary dl div { display: flex; font-size: 10px; justify-content: space-between; padding: 7px 0; }
.invoice-summary dt { color: var(--muted); }
.invoice-summary dd { font-weight: 700; margin: 0; }
.invoice-summary .total-row { border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); font-size: 16px; margin: 5px 0; padding: 12px 0; }
.invoice-summary .total-row dt { color: var(--ink); font-weight: 800; }
.invoice-summary .balance-row { color: var(--orange-dark); font-size: 13px; font-weight: 800; }
.document-footer { border-top: 1px solid var(--line); color: var(--muted); display: flex; font-size: 8px; justify-content: space-between; margin-top: 65px; padding-top: 15px; }
.guide-service { align-items: flex-end; display: flex; flex-direction: column; }
.guide-service span { background: var(--orange); color: white; font-size: 9px; font-weight: 850; letter-spacing: .12em; padding: 7px 10px; }
.guide-service strong { font-size: 12px; margin-top: 8px; }
.guide-route { border-bottom: 1px solid var(--line); display: grid; gap: 20px; grid-template-columns: 1fr auto 1fr; padding: 28px 0; }
.guide-route > div { display: flex; flex-direction: column; gap: 6px; }
.guide-route span, .recipient-box > span, .guide-details span, .tracking-code-box > span, .guide-notes span { color: var(--orange-dark); font-size: 9px; font-weight: 850; letter-spacing: .1em; }
.guide-route strong { font-size: 17px; }
.guide-route small { color: var(--muted); font-size: 9px; }
.route-arrow { align-self: center; color: var(--orange) !important; font-size: 25px !important; }
.recipient-box { background: #f7f7f8; border-left: 6px solid var(--orange); margin-top: 26px; padding: 22px; }
.recipient-box h1 { font-size: 28px; letter-spacing: -.04em; margin: 9px 0 7px; }
.recipient-box p { font-size: 13px; line-height: 1.5; margin: 0 0 7px; }
.recipient-box strong { font-size: 12px; }
.guide-details { border: 1px solid var(--line); display: grid; grid-template-columns: 2fr .6fr .7fr 1fr; margin-top: 18px; }
.guide-details div { border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 7px; padding: 15px; }
.guide-details div:last-child { border: 0; }
.guide-details strong { font-size: 10px; }
.guide-product-table { border: 1px solid var(--line); margin-top: 16px; }
.guide-product-table th { background: #f5f5f6; color: var(--muted); font-size: 7px; padding: 8px; }
.guide-product-table td { font-size: 8px; padding: 9px 8px; white-space: normal; }
.guide-product-table th:not(:first-child), .guide-product-table td:not(:first-child) { text-align: right; }
.tracking-code-box { align-items: center; border-bottom: 2px solid var(--ink); border-top: 2px solid var(--ink); display: flex; flex-direction: column; margin: 30px 0; padding: 24px 0 20px; }
.tracking-code-box strong { font-size: 30px; letter-spacing: .16em; margin: 10px 0 12px; }
.tracking-code-box small { color: var(--muted); font-size: 8px; margin-top: 9px; }
.barcode { background: repeating-linear-gradient(90deg, #111 0, #111 2px, transparent 2px, transparent 4px, #111 4px, #111 5px, transparent 5px, transparent 9px, #111 9px, #111 12px, transparent 12px, transparent 14px); height: 48px; width: 72%; }
.guide-notes { display: grid; gap: 40px; grid-template-columns: 1fr 220px; }
.guide-notes p { color: var(--muted); font-size: 9px; line-height: 1.6; }
.signature { display: flex; flex-direction: column; }
.signature i { border-bottom: 1px solid var(--ink); display: block; height: 42px; }
.signature small { color: var(--muted); font-size: 8px; margin-top: 5px; }

@media (max-width: 1100px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid--4 { grid-template-columns: repeat(2, 1fr); }
  .product-editor-head { display: none; }
  .product-row { align-items: end; grid-template-columns: 1.4fr 1fr 90px; }
  .product-row label { font-size: 10px; }
  .product-row label > input { margin-top: 6px; }
  .event-form { grid-template-columns: 1fr 1fr; }
  .event-form .checkbox-label, .event-form .button { align-self: end; }
  .detail-grid, .settings-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .public-header { padding: 18px; }
  .admin-link { font-size: 0; }
  .admin-link::after { content: "Acceso"; font-size: 12px; }
  .public-page main { padding: 0 14px 40px; }
  .tracking-hero { gap: 30px; grid-template-columns: 1fr; min-height: auto; padding: 38px 24px; }
  .tracking-copy h1 { font-size: 43px; }
  .tracking-result, .not-found-card { margin: 16px 0 0; padding: 24px 19px; }
  .result-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-row { gap: 25px; grid-template-columns: 1fr; margin-top: 45px; }
  .public-footer { padding: 20px 18px 30px; }

  .sidebar { transform: translateX(-100%); transition: transform .25s ease; width: 260px; }
  .sidebar-collapsed .sidebar { padding: 24px 18px; width: 260px; }
  .sidebar-collapsed .sidebar-brand-name, .sidebar-collapsed .nav-label, .sidebar-collapsed .sidebar-user { display: inline; }
  .sidebar-collapsed .sidebar nav a, .sidebar-collapsed .sidebar-footer a { justify-content: flex-start; padding: 12px 14px; }
  .menu-open .sidebar { transform: translateX(0); }
  .menu-open::after { background: rgba(0,0,0,.35); bottom: 0; content: ""; left: 260px; position: fixed; right: 0; top: 0; z-index: 29; }
  .admin-shell, .sidebar-collapsed .admin-shell { margin-left: 0; }
  .admin-topbar { height: 64px; padding: 0 16px; }
  .admin-topbar > div { display: none; }
  .menu-button { display: block; }
  .sidebar-collapse-button { display: none; }
  .admin-content { padding: 25px 16px; }
  .page-heading h1 { font-size: 32px; }
  .page-heading--row { align-items: flex-start; flex-direction: column; }
  .heading-actions { justify-content: flex-start; }
  .filter-bar { grid-template-columns: 1fr; }
  .form-grid--2, .form-grid--4 { grid-template-columns: 1fr; }
  .product-row { grid-template-columns: 1fr 1fr; }
  .remove-product { width: 100%; }
  .span-2 { grid-column: span 1; }
  .event-form { grid-template-columns: 1fr; }
  .email-form { grid-template-columns: 1fr; }
  .email-form .span-2 { grid-column: span 1; }
  .email-history article { grid-template-columns: auto 1fr; }
  .email-history time { grid-column: 2; }
  .detail-card dl div { grid-template-columns: 105px 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .print-page { overflow-x: auto; padding-left: 10px; padding-right: 10px; }
  .print-toolbar > div { display: none; }
}

@media (max-width: 520px) {
  .brand strong { font-size: 13px; }
  .tracking-copy h1 { font-size: 38px; }
  .tracking-input-row { flex-direction: column; }
  .tracking-input-row .button { width: 100%; }
  .result-header { gap: 15px; }
  .result-header h2 { font-size: 28px; }
  .result-grid, .stat-grid { grid-template-columns: 1fr; }
  .public-product-list article { align-items: flex-start; grid-template-columns: 1fr auto; }
  .public-product-list article > strong { grid-column: 2; }
  .timeline-title { align-items: flex-start; flex-direction: column; gap: 5px; }
  .auth-page { padding: 12px; }
  .auth-card, .install-card { border-radius: 19px; padding: 24px 19px; }
  .public-footer { align-items: flex-start; flex-direction: column; gap: 7px; }
}

@media (max-width: 1180px) {
  .public-nav { gap: 19px; }
  .public-nav a { font-size: 10px; }
  .home-hero-content { gap: 45px; }
  .home-hero-copy h1 { font-size: clamp(55px, 7vw, 82px); }
}

@media (max-width: 900px) {
  .public-header { padding: 0; }
  .public-header-inner { height: 68px; padding: 0 18px; }
  .public-header .brand-image--compact { height: 38px; max-width: 190px; }
  .public-menu-button { display: block; }
  .public-nav { align-items: stretch; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px rgba(0,0,0,.09); display: none; flex-direction: column; gap: 0; left: 0; padding: 10px 18px 18px; position: absolute; right: 0; top: 68px; }
  .public-nav.public-nav--open { display: flex; }
  .public-nav a { border-bottom: 1px solid var(--line); font-size: 11px; padding: 14px 4px; }
  .public-nav .public-nav-cta { border: 0; margin-top: 10px; text-align: center; }
  .public-page .public-main { padding: 0; }
  .home-hero, .home-hero-content { min-height: auto; }
  .home-hero-content { gap: 42px; grid-template-columns: 1fr; padding: 78px 24px 66px; }
  .home-hero-shade { background: linear-gradient(180deg,rgba(9,9,10,.84),rgba(9,9,10,.66)); }
  .home-hero-shade::after { display: none; }
  .home-hero-copy { max-width: 720px; }
  .home-hero-copy h1 { font-size: clamp(50px,11vw,80px); }
  .hero-tracking-card { justify-self: stretch; max-width: 680px; }
  .public-page .tracking-result, .public-page .not-found-card { margin: 18px 16px 0; padding: 25px 20px; }
  .home-section { padding: 78px 22px; }
  .section-heading { align-items: flex-start; flex-direction: column; gap: 18px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .about-section, .video-section, .coverage-section { gap: 42px; grid-template-columns: 1fr; }
  .about-media { min-height: 480px; }
  .video-section, .coverage-section { border-radius: 0; padding: 65px 24px; }
  .video-copy { max-width: 680px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid article:nth-child(2) { border-right: 0; }
  .process-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .faq-grid { grid-template-columns: 1fr; }
  .contact-section { align-items: flex-start; flex-direction: column; padding: 65px 24px; }
  .contact-actions { justify-content: flex-start; }
  .public-footer-v2 { gap: 40px; grid-template-columns: 1fr 1fr; padding: 55px 24px 30px; }
  .footer-brand { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .home-hero-content { padding-top: 58px; }
  .home-hero-copy h1 { font-size: 48px; }
  .home-hero-copy p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-tracking-card { border-radius: 20px; padding: 25px 19px; }
  .hero-tracking-card h2 { font-size: 27px; }
  .hero-tracking-card .tracking-input-row { flex-direction: column; }
  .hero-mini-stats strong { font-size: 20px; }
  .hero-mini-stats span { font-size: 7px; }
  .section-heading h2, .about-copy h2, .coverage-copy h2, .contact-section h2 { font-size: 39px; }
  .about-media { min-height: 390px; }
  .about-values { grid-template-columns: 1fr; }
  .video-copy h2 { font-size: 39px; }
  .process-grid { grid-template-columns: 1fr; }
  .process-grid article { border-bottom: 1px solid var(--line) !important; border-right: 0; min-height: 210px; }
  .process-grid article:last-child { border-bottom: 0 !important; }
  .department-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; width: 100%; }
  .contact-actions .button { width: 100%; }
  .public-footer-v2 { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .public-footer-v2 > small { grid-column: auto; }
}

@media print {
  @page { margin: 0; size: letter portrait; }
  body.print-page { background: white; padding: 0; }
  .print-toolbar { display: none !important; }
  .document-sheet { box-shadow: none; margin: 0; min-height: 0; padding: .55in; width: 100%; }
  .button { display: none; }
}
