/* Official MM identity: strong geometric titles with restrained editorial accents. */
@font-face {
  font-family: 'MM Montserrat';
  src: url('/assets/fonts/mm-montserrat-variable.woff') format('woff');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --sans: 'MM Montserrat', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
}

h1, h2, .service-panel h3 {
  font-family: var(--sans);
  font-weight: 750;
  letter-spacing: -.045em;
}

h1.brand-headline {
  font-size: clamp(46px, 5vw, 68px);
  line-height: 1.13;
  margin-bottom: 25px;
}

h1.brand-headline em {
  font-weight: 750;
  font-style: normal;
}

h2 {
  font-size: clamp(34px, 3.2vw, 46px);
  line-height: 1.2;
}

h2 em {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 1.07em;
  letter-spacing: -.035em;
}

.service-panel h3 {font-size: 28px; line-height: 1.28;}
.hero-intro {font-size: 19px; font-weight: 500; line-height: 1.55;}
.hero-sub {font-size: 12px; line-height: 1.9;}
.button, .main-nav a {font-weight: 650;}
.step h3 {font-weight: 650;}
.field > span {font-weight: 650;}
.field-help {font-size: 11px;}
.field input, .field select, .field textarea {font-weight: 450;}
.service-prices strong, .preview-price, .route-cities strong {
  font-family: var(--sans);
  font-weight: 650;
  letter-spacing: -.04em;
}
.service-prices strong {font-size: 25px;}
.preview-price {font-size: 44px;}
.preview-price.long-price {font-size: 30px;}
.route-cities strong {font-size: 19px;}
.footer-brand p {font-family: var(--sans); font-size: 14px; font-weight: 650;}

.social-contact {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid #446957;
  padding-top: 28px;
}
.social-contact .contact-label {margin-bottom: 6px;}
.social-contact > div > p {font-size: 11px; max-width: 310px;}
.social-links {display: flex; flex-wrap: wrap; gap: 14px;}
.social-links a {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 67px;
  padding: 14px 18px;
  border: 1px solid #527260;
  border-radius: 4px;
  transition: background .2s, border-color .2s;
}
.social-links a:hover {background: #204f3d; border-color: var(--gold);}
.social-links a > svg {color: #dfc575; flex-shrink: 0;}
.social-links strong {display: block; color: #fff; font-size: 12px; font-weight: 650;}
.social-links small {display: block; color: #d4dfd3; font-size: 9px; margin-top: 3px;}
.social-arrow {color: #dfc575; font-size: 19px; margin-left: 14px;}
.footer-social {display: flex; flex-wrap: wrap; gap: 23px; margin-bottom: 13px;}
.footer-social a {font-size: 10px; font-weight: 650; color: var(--green);}
.footer-social a:hover {color: var(--gold-dark);}
.footer-social a span {margin-left: 6px;}
.footer-terms-link {display: block; width: fit-content; color: var(--green); font-size: 10px; font-weight: 650; text-decoration: underline; text-underline-offset: 3px; margin: 13px 0 10px;}
.footer-terms-link:hover {color: var(--gold-dark);}

@media (max-width: 850px) {
  .social-contact {align-items: flex-start; flex-direction: column; gap: 19px;}
  .hero-intro {font-size: 16px;}
  .hero-sub {font-size: 11px;}
  .service-panel h3 {font-size: 25px;}
  .service-prices {gap: 20px;}
  .service-prices strong {font-size: 22px;}
  .preview-price {font-size: 37px;}
  .preview-price.long-price {font-size: 27px;}
  .route-cities strong {font-size: 17px;}
}

@media (max-width: 640px) {
  .social-links {width: 100%; flex-direction: column; gap: 12px;}
  .social-links a {width: 100%; padding: 15px 18px;}
  .social-links small {font-size: 10px;}
  .social-arrow {margin-left: auto;}
  .footer-social a {font-size: 11px;}
  .footer-terms-link {font-size: 11px;}
  h1.brand-headline {font-size: clamp(34px, 9.6vw, 48px); line-height: 1.16;}
  h2 {font-size: 32px;}
  .hero-intro {font-size: 17px;}
  .hero-sub {font-size: 12px;}
  .hero-buttons {gap: 16px;}
  .hero-buttons .text-link {gap: 7px;}
  .service-panel h3 {font-size: 26px;}
  .service-prices strong {font-size: 24px;}
  .field input, .field select, .field textarea {font-size: 16px;}
  .field-help {font-size: 11px;}
  .preview-price {font-size: 43px;}
  .preview-price.long-price {font-size: 31px;}
  .route-cities strong {font-size: 21px;}
  .faq-section h2, .contact-top h2 {font-size: 31px;}
  .footer-brand p {font-size: 14px;}
}

/* Crema para superficies, verde abeto para secciones y rojo tomate para acciones y acentos. */
@media screen {
  :root {
    --cream: #F4F1EC;
    --cream-light: #F4F1EC;
    --cream-subtle: #F4F1EC;
    --green: #183e32;
    --green-deep: #183e32;
    --green-hover: #235544;
    --green-soft: #e4ede1;
    --tomato: #bc3a2e;
    --tomato-deep: #9c2b22;
    --tomato-soft: #fbe7df;
    --gold: var(--tomato);
    --gold-dark: var(--tomato-deep);
    --ink: #20332b;
    --muted: #526257;
    --paper: var(--cream-subtle);
    --border: #d8cbb4;
    --border-control: #988e7b;
    --cream-on-green: #F4F1EC;
    --red-on-green: #ffb5a6;
  }

  body { background: var(--cream); }
  ::selection { background: var(--tomato-soft); color: var(--green); }
  .site-header {
    background: var(--cream-light);
    border-bottom-color: var(--border);
    box-shadow: inset 0 -2px var(--tomato);
  }
  .main-nav a:after { background: var(--tomato); }
  .language-switch button { color: var(--muted); }
  .language-switch button[aria-pressed="true"] {
    color: var(--green-deep);
    text-decoration: underline var(--tomato) 2px;
    text-underline-offset: 4px;
  }
  .announcement-side { color: var(--cream-on-green); }
  .announcement .small-spark { color: var(--red-on-green); }
  .button:hover { background: var(--green-hover); }
  .hero-sticker, .button-gold, .hero-buttons .button {
    background: var(--tomato);
    color: var(--cream-light);
  }
  .button-gold:hover, .hero-buttons .button:hover {
    background: var(--tomato-deep);
    border-color: var(--tomato-deep);
  }
  .hero-note, .route-small, .footer-right { color: var(--muted); }
  .route-card { background: var(--cream-light); }
  .route-path b:after { background: var(--cream-light); }
  h2 em { color: var(--green-hover); }

  .service-strip {
    background: var(--tomato);
    border-color: var(--tomato-deep);
    color: var(--cream-light);
  }
  .strip-inner i { color: var(--cream-light); }
  .strip-inner > span { border-left-color: var(--cream-light); }

  .service-explorer, .quote-workspace, .coverage-routes article { background: var(--cream-light); }
  .service-tabs button[aria-selected="true"] {
    background: var(--tomato);
    color: var(--cream-light);
    border-color: var(--tomato);
    box-shadow: inset 3px 0 var(--tomato-deep);
  }
  .service-tabs button[aria-selected="true"] > span:last-child { color: var(--cream-light); }
  .service-tabs button[aria-selected="true"] .tab-number {
    background: var(--tomato-deep);
    border-color: var(--cream-light);
    color: var(--cream-light);
  }
  .service-panel .service-symbol, .tab-number { border-color: var(--border); }
  .tag { background: var(--tomato-soft); color: var(--tomato-deep); }

  .how-section, .contact-section { border-top: 3px solid var(--tomato); }
  .how-section h2 em, .step p, .contact-section h2 em, .contact-label,
  .contact-details p, .social-links small { color: var(--cream-on-green); }
  .how-section .eyebrow, .step-num, .contact-section .eyebrow, .map-link,
  .social-links a > svg, .social-arrow { color: var(--red-on-green); }
  .map-link { border-bottom-color: var(--red-on-green); }
  :is(.how-section, .contact-section, .hero-visual) :focus-visible { outline-color: var(--cream-on-green); }

  .field input, .field select, .field textarea {
    background-color: var(--cream-light);
    border-color: var(--border-control);
  }
  .field input::placeholder, .field textarea::placeholder,
  .form-step, .field-help, .form-submit p, .quote-preview ul { color: var(--muted); }
  .quote-summary blockquote { background: var(--cream-light); }
  .summary-person { background: var(--green-soft); }
  .cubic-add { background: var(--cream-light); }
  .cubic-item input[readonly] { background: var(--paper); color: var(--muted); }
  .cubic-error {
    background: var(--tomato-soft);
    color: var(--tomato-deep);
    border-left-color: var(--tomato);
  }
  .terms-review { background: var(--cream-light); }
  .terms-content p, .terms-content li { color: var(--muted); }

  @media (max-width: 850px) {
    .main-nav { background: var(--cream-light); }
  }
}

@media screen {
  body:has(.hero) {
    --holiday-gold: #D8A94D;
    --holiday-glint: #FFF2C8;
  }

  body:has(.hero) .announcement .small-spark {
    color: var(--holiday-gold);
  }

  .hero-copy .eyebrow .line {
    position: relative;
  }

  .hero-copy .eyebrow .line::after {
    content: "";
    position: absolute;
    width: 9px;
    height: 11px;
    top: 50%;
    right: -2px;
    transform: translateY(-50%);
    background: var(--holiday-gold);
    clip-path: polygon(50% 0, 63% 37%, 100% 50%, 63% 63%, 50% 100%, 37% 63%, 0 50%, 37% 37%);
    pointer-events: none;
  }

  .hero-visual::after {
    content: "";
    position: absolute;
    inset: 0 92px auto auto;
    width: 104px;
    height: 66px;
    background:
      radial-gradient(circle closest-side, var(--holiday-glint) 72%, transparent 100%) 0 33px / 4px 4px no-repeat,
      radial-gradient(circle closest-side, var(--holiday-glint) 72%, transparent 100%) 53px 38px / 3px 3px no-repeat,
      radial-gradient(circle closest-side, var(--holiday-glint) 72%, transparent 100%) 96px 23px / 4px 4px no-repeat,
      radial-gradient(circle at 36% 31%, var(--holiday-glint) 0%, var(--holiday-gold) 38%, #965818 65%, transparent 72%) 10px 18px / 15px 15px no-repeat,
      radial-gradient(circle at 37% 32%, #E29888 0%, var(--tomato) 48%, #803228 65%, transparent 72%) 41px 41px / 20px 20px no-repeat,
      radial-gradient(circle at 36% 31%, var(--holiday-glint) 0%, var(--holiday-gold) 38%, #965818 65%, transparent 72%) 76px 25px / 16px 16px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 15px 16px / 5px 4px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 48px 39px / 6px 4px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 82px 23px / 5px 4px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 17px 0 / 1px 17px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 50px 0 / 1px 40px no-repeat,
      linear-gradient(var(--holiday-gold), var(--holiday-gold)) 84px 0 / 1px 24px no-repeat;
    pointer-events: none;
  }

  @media (max-width: 640px) {
    .hero-visual::after {
      right: 50px;
      transform: scale(.74);
      transform-origin: top right;
    }
  }
}
