/* ==========================================================================
   Agrillendo Insurance — Sitio corporativo
   Hoja de estilos principal
   Paleta y tipografía extraídas del diseño referencial (home_page.png)
   y de los SVG oficiales de marca.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color — muestreado del mockup y de los assets SVG */
  --navy-900: #042450;   /* footer, titulares */
  --navy-800: #062E5F;
  --navy-700: #0E3564;
  --ink: #1B3F6B;        /* texto de párrafo */
  --ink-soft: #24507F;   /* texto secundario en tarjetas */

  --teal-700: #027480;
  --teal-600: #028E99;   /* botones, acentos, epígrafes */
  --teal-500: #06AAA4;   /* acento del logo */
  --teal-400: #0BA7B0;   /* iconografía */
  --teal-100: #C9E6EA;
  --teal-050: #E5F2F2;   /* fondo de círculo de icono */

  --ice: #F1F7F9;        /* franja de contacto */
  --surface: #FFFFFF;
  --line: #E3EAF0;
  --line-strong: #CFDDE6;
  --whatsapp: #05C241;

  /* Tipografía */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Layout */
  --container: 1200px;
  --gutter: 24px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --header-h: 96px;

  --shadow-card: 0 2px 10px rgba(4, 36, 80, 0.05);
  --shadow-float: 0 10px 30px rgba(4, 36, 80, 0.16);
}

/* --------------------------------------------------------------------------
   2. Reset y base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--navy-900);
  font-weight: 700;
  margin: 0 0 .6em;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: 88px 0; }
.section--ice { background: var(--ice); }
.section--tight { padding-top: 0; }

.section-head { max-width: 760px; margin: 0 auto 48px; text-align: center; }
.section-head p { color: var(--ink); }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin: 0 0 12px;
}

.section-title { font-size: clamp(1.75rem, 3vw, 2.35rem); margin-bottom: .4em; }

/* --------------------------------------------------------------------------
   3. Botones
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn .arrow { font-size: 1.05em; line-height: 1; }

.btn--primary { background: var(--teal-600); color: #fff; }
.btn--primary:hover { background: var(--teal-700); }

.btn--ghost { background: #fff; color: var(--teal-600); border-color: var(--teal-600); }
.btn--ghost:hover { background: var(--teal-600); color: #fff; }

.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { background: var(--teal-600); color: #fff; }

.btn--sm { padding: 11px 20px; font-size: .875rem; }
.btn--block { width: 100%; }

/* --------------------------------------------------------------------------
   4. Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  border-bottom: 1px solid transparent;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.site-header.is-stuck {
  box-shadow: 0 2px 14px rgba(4, 36, 80, .08);
  border-bottom-color: var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

.brand { flex: 0 0 auto; }
/* El logo funciona como <img> (versión multiarchivo) o como <svg> inline
   (versión de archivo único). Ambos casos comparten dimensiones. */
.brand img,
.brand .brand__logo { height: 58px; width: auto; aspect-ratio: 1293.93 / 472.83; }

.main-nav { margin-left: auto; }
.main-nav__list { display: flex; align-items: center; gap: 26px; }
.main-nav__cta { display: none; }
.main-nav__list a {
  white-space: nowrap;
  font-size: .875rem;
  font-weight: 600;
  color: var(--navy-900);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}
.main-nav__list a:hover,
.main-nav__list a.is-active { color: var(--teal-600); border-bottom-color: var(--teal-600); }

.header-cta { flex: 0 0 auto; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy-900);
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before,
.nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background-color: #fff;
  background-image: url("assets/images/banner-home.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    rgba(255, 255, 255, .94) 30%,
    rgba(255, 255, 255, .55) 46%,
    rgba(255, 255, 255, 0) 60%
  );
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero__inner {
  min-height: 620px;
  display: flex;
  align-items: center;
  padding-block: 72px;
}
.hero__content { max-width: 545px; }
.hero__eyebrow {
  color: var(--teal-600);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  line-height: 1.5;
  margin: 0 0 20px;
}
.hero__title { font-size: clamp(1.9rem, 3.3vw, 2.7rem); line-height: 1.28; margin-bottom: .55em; }
.hero__text { max-width: 46ch; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__media { display: none; }

/* --------------------------------------------------------------------------
   6. Por qué elegirnos
   -------------------------------------------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.reason-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 26px 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.reason-card__icon { width: 84px; height: 84px; margin: 0 auto 22px; }
.reason-card h3 { font-size: 1.1875rem; line-height: 1.35; margin-bottom: .7em; }
.reason-card p { font-size: .875rem; line-height: 1.85; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   7. Franja de contacto / formulario
   -------------------------------------------------------------------------- */
.contact-strip {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  background: var(--ice);
  border-radius: var(--radius-md);
  padding: 26px 34px;
}
.contact-strip__icon { width: 68px; height: 68px; flex: 0 0 auto; }
.contact-strip__text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--navy-900);
  max-width: 46ch;
}
.contact-strip__text strong { font-weight: 700; }
.contact-strip__text br { display: inline; }

.wa-box {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  background: #fff;
  border: 1.5px solid var(--teal-100);
  border-radius: var(--radius-lg);
  padding: 16px 30px;
  color: var(--teal-600);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wa-box:hover { border-color: var(--teal-600); box-shadow: var(--shadow-card); }
.wa-box__line { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: .9375rem; }
.wa-box__line img,
.wa-box__line .wa-box__icon { width: 26px; height: 26px; flex: 0 0 auto; }
.wa-box__phone { font-weight: 700; font-size: 1.0625rem; letter-spacing: .01em; }

/* --------------------------------------------------------------------------
   8. Banner CTA
   -------------------------------------------------------------------------- */
.cta-banner {
  background-color: var(--teal-700);
  background-image: url("assets/images/banner-cta.jpg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: cover;
}
.cta-banner__inner { min-height: 400px; display: flex; align-items: center; padding-block: 72px; }
.cta-banner__content { max-width: 620px; color: #fff; }
.cta-banner__content h2 { color: #fff; font-size: clamp(1.6rem, 2.8vw, 2.15rem); line-height: 1.32; }
.cta-banner__content p { max-width: 48ch; margin-bottom: 30px; }

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--navy-900); color: #fff; }
.site-footer a { color: #fff; }
.site-footer__main {
  display: grid;
  grid-template-columns: 1.25fr .8fr .95fr 1.2fr;
  gap: 44px;
  padding: 68px 0 56px;
}
.site-footer__brand img,
.site-footer__brand .footer-logo { height: 74px; width: auto; aspect-ratio: 1293.93 / 472.83; margin-bottom: 24px; }
.site-footer__brand p { font-size: .9375rem; line-height: 1.85; color: rgba(255, 255, 255, .88); max-width: 32ch; }

.social { display: flex; gap: 14px; margin-top: 26px; }
.social a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .45);
  border-radius: 50%;
  color: var(--teal-500);
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}
.social a:hover { background: var(--teal-600); border-color: var(--teal-600); color: #fff; }
.social svg { width: 18px; height: 18px; }

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 22px;
}
.footer-col li + li { margin-top: 13px; }
.footer-col a { font-size: .9375rem; color: rgba(255, 255, 255, .9); }
.footer-col a:hover { color: var(--teal-500); }
.footer-col small { font-size: .8125rem; color: rgba(255, 255, 255, .7); }

.footer-contact { padding-left: 44px; border-left: 1px solid rgba(255, 255, 255, .16); }
.footer-contact li { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; line-height: 1.6; }
.footer-contact li + li { margin-top: 20px; }
.footer-contact svg { flex: 0 0 auto; width: 21px; height: 21px; color: #fff; margin-top: 2px; }
.footer-contact strong { font-weight: 700; }

.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .16); }
.site-footer__bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 22px;
  padding-block: 22px;
  font-size: .8125rem;
  color: rgba(255, 255, 255, .85);
}
.site-footer__bottom .sep { color: rgba(255, 255, 255, .35); }

/* --------------------------------------------------------------------------
   10. Widget flotante de WhatsApp
   -------------------------------------------------------------------------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  display: flex;
  align-items: center;
}
.wa-float__card {
  display: block;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-float);
  padding: 14px 62px 14px 22px;
  margin-right: -46px;
  line-height: 1.45;
}
.wa-float__label { display: block; font-size: .875rem; font-weight: 700; color: var(--teal-600); letter-spacing: .02em; }
.wa-float__name { display: block; font-size: .875rem; color: var(--navy-900); }
.wa-float__phone { display: block; font-size: .9375rem; font-weight: 700; color: var(--teal-600); }
.wa-float__btn { display: block; width: 66px; height: 66px; flex: 0 0 auto; filter: drop-shadow(0 6px 16px rgba(5, 194, 65, .35)); }
.wa-float__btn img,
.wa-float__btn .wa-float__icon { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   11. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav__list { gap: 18px; }
  .main-nav__list a { font-size: .8125rem; }
  .brand img,
  .brand .brand__logo { height: 50px; }
}

@media (max-width: 1024px) {
  :root { --header-h: 80px; }

  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(4, 36, 80, .1);
    display: none;
  }
  .main-nav.is-open { display: block; }
  .main-nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; }
  .main-nav__list a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .main-nav__list a:hover,
  .main-nav__list a.is-active { border-bottom-color: var(--line); }
  .main-nav__cta { display: block; padding-top: 18px; }
  .main-nav__cta .btn { width: 100%; }

  .site-header__inner { position: relative; }
  .header-cta { display: none; }

  .reasons { grid-template-columns: repeat(2, 1fr); }

  .site-footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-contact { padding-left: 0; border-left: 0; }
}

@media (max-width: 860px) {
  .section { padding: 64px 0; }

  .hero { background-image: none; }
  .hero::before { display: none; }
  .contact-strip__text br { display: none; }
  .hero__inner { min-height: 0; padding-block: 44px 52px; }
  .hero__content { max-width: none; }
  .hero__media { display: block; }
  .hero__media img { width: 100%; height: 260px; object-fit: cover; object-position: 78% center; }

  .contact-strip { grid-template-columns: auto 1fr; gap: 20px; padding: 26px 24px; }
  .contact-strip .wa-box { grid-column: 1 / -1; align-self: start; }

  .cta-banner { background-position: 78% center; }
  .cta-banner__inner { min-height: 0; padding-block: 56px; }
  .cta-banner__content { background: rgba(4, 36, 80, .55); padding: 26px; border-radius: var(--radius-md); }

}

@media (max-width: 620px) {
  .reasons { grid-template-columns: 1fr; }
  .site-footer__main { grid-template-columns: 1fr; gap: 36px; padding: 52px 0 40px; }
  .contact-strip { grid-template-columns: 1fr; text-align: left; }
  .contact-strip__icon { width: 58px; height: 58px; }

  .wa-float { right: 14px; bottom: 14px; }
  .wa-float__card { display: none; }
  .wa-float__btn { width: 58px; height: 58px; }
}

/* --------------------------------------------------------------------------
   12. Preferencias de movimiento e impresión
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-header, .wa-float, .nav-toggle { display: none !important; }
  body { color: #000; }
}

/* ==========================================================================
   PÁGINAS INTERNAS
   Componentes añadidos sobre el sistema visual de la home. No modifican
   ninguna regla existente: solo agregan selectores nuevos.
   ========================================================================== */

/* --------------------------------------------------------------------------
   A. Selector de idioma
   -------------------------------------------------------------------------- */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1;
  flex: 0 0 auto;
}
.lang-switch a { color: var(--ink-soft); padding: 3px 4px; border-radius: 3px; }
.lang-switch a:hover { color: var(--teal-600); }
.lang-switch .is-current { color: var(--navy-900); }
.lang-switch .lang-sep { color: var(--line-strong); }

.main-nav__lang { display: none; }

/* --------------------------------------------------------------------------
   B. Cabecera de página interna
   -------------------------------------------------------------------------- */
.page-hero { background: var(--ice); border-bottom: 1px solid var(--line); }
.page-hero .container { padding-block: 64px; }
.page-hero__inner { max-width: 780px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.28; margin-bottom: .5em; }
.page-hero p { max-width: 62ch; color: var(--ink); }

/* --------------------------------------------------------------------------
   C. Texto corrido
   -------------------------------------------------------------------------- */
.prose { max-width: 68ch; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--font-sans); font-size: 1.0625rem; font-weight: 700; margin-bottom: .5em; }
.prose ul { margin: 0 0 1.2em; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 26px; }
.prose ul li::before {
  content: "";
  position: absolute;
  left: 4px; top: .68em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--teal-500);
}

/* --------------------------------------------------------------------------
   D. Nosotros
   -------------------------------------------------------------------------- */
.about { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: start; }
.about__intro h2 { font-size: clamp(1.5rem, 2.4vw, 1.9rem); }

.pillars { border-top: 1px solid var(--line); }
.pillar { padding: 22px 0 22px 22px; border-bottom: 1px solid var(--line); border-left: 3px solid var(--teal-500); }
.pillar h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; color: var(--navy-900); margin-bottom: .35em; }
.pillar p { font-size: .9375rem; color: var(--ink-soft); line-height: 1.8; }

/* --------------------------------------------------------------------------
   E. Servicios y coberturas
   -------------------------------------------------------------------------- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px 30px;
  box-shadow: var(--shadow-card);
}
.service-card h2, .service-card h3 { font-size: 1.25rem; margin-bottom: .6em; }
.service-card p { font-size: .9375rem; line-height: 1.8; color: var(--ink-soft); margin-bottom: 26px; }
.service-card ul { margin: -14px 0 26px; display: grid; gap: 8px; }
.service-card ul li { position: relative; padding-left: 22px; font-size: .9375rem; color: var(--ink-soft); }
.service-card ul li::before {
  content: "";
  position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-500);
}
.service-card .btn { margin-top: auto; align-self: flex-start; }

/* --------------------------------------------------------------------------
   F. Partes de Medicare
   -------------------------------------------------------------------------- */
.parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.part-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal-600);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  box-shadow: var(--shadow-card);
}
.part-card__tag {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--teal-600);
  margin-bottom: 10px;
}
.part-card h3 { font-size: 1.1875rem; margin-bottom: .55em; }
.part-card p { font-size: .875rem; line-height: 1.85; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   G. Fuentes oficiales
   -------------------------------------------------------------------------- */
.sources-group + .sources-group { margin-top: 40px; }
.sources-group__title {
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line-strong);
}
.sources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.source-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px 24px;
}
.source-card h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 700; margin-bottom: .5em; }
.source-card h3 a { color: var(--teal-700); }
.source-card h3 a:hover { text-decoration: underline; }
.source-card p { font-size: .875rem; line-height: 1.8; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   H. Nota legal / aviso
   -------------------------------------------------------------------------- */
.disclaimer {
  border-left: 3px solid var(--teal-500);
  background: var(--ice);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 20px 24px;
  font-size: .875rem;
  line-height: 1.8;
  color: var(--ink-soft);
}
.disclaimer strong { color: var(--navy-900); }

/* --------------------------------------------------------------------------
   I. Testimonios
   -------------------------------------------------------------------------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-card);
  margin: 0;
}
.testimonial__mark { font-family: var(--font-serif); font-size: 2.75rem; line-height: .6; color: var(--teal-500); display: block; margin-bottom: 14px; }
.testimonial blockquote { margin: 0 0 20px; font-size: .9375rem; line-height: 1.9; color: var(--ink); }
.testimonial figcaption { margin-top: auto; font-size: .8125rem; font-weight: 700; color: var(--navy-900); }
.testimonial figcaption span { display: block; font-weight: 500; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   J. Acordeón de preguntas frecuentes
   -------------------------------------------------------------------------- */
.faq { max-width: 880px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 4px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--navy-900);
}
.faq__trigger:hover { color: var(--teal-600); }
.faq__icon {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--teal-050);
  color: var(--teal-700);
  display: grid; place-items: center;
  font-size: 1.1rem; line-height: 1; font-weight: 700;
  transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.faq__trigger[aria-expanded="true"] .faq__icon { transform: rotate(45deg); background: var(--teal-600); color: #fff; }
.faq__panel {
  overflow: hidden;
  height: 0;
  transition: height .28s ease;
}
.faq__panel-inner { padding: 0 60px 26px 4px; }
.faq__panel-inner p { font-size: .9375rem; line-height: 1.9; color: var(--ink-soft); }

/* --------------------------------------------------------------------------
   K. Contacto
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }

.contact-data { display: grid; gap: 16px; margin-bottom: 30px; }
.contact-data li { display: flex; gap: 14px; align-items: flex-start; font-size: .9375rem; color: var(--navy-900); line-height: 1.6; }
.contact-data svg { flex: 0 0 auto; width: 21px; height: 21px; color: var(--teal-600); margin-top: 3px; }
.contact-data a:hover { color: var(--teal-600); }

.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 34px; }

.map-frame {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  line-height: 0;
}
.map-frame iframe { width: 100%; height: 300px; border: 0; display: block; }

/* --------------------------------------------------------------------------
   L. Formulario
   -------------------------------------------------------------------------- */
.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 700; color: var(--navy-900); }
.field input,
.field select,
.field textarea {
  font-family: var(--font-sans);
  font-size: .9375rem;
  color: var(--navy-900);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  box-shadow: 0 0 0 3px rgba(2, 142, 153, .14);
}
.form__foot { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__note { font-size: .8125rem; color: var(--ink-soft); max-width: 42ch; }
.form__status { margin-top: 14px; font-size: .875rem; font-weight: 600; color: var(--teal-700); }
.form__status:empty { margin-top: 0; }

/* --------------------------------------------------------------------------
   M. Responsive de páginas internas
   -------------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .main-nav__list { gap: 16px; }
  .main-nav__list a { font-size: .8125rem; }
  .lang-switch { font-size: .75rem; padding: 4px 8px; }
}

@media (max-width: 1024px) {
  .header-lang { display: none; }
  .main-nav__lang { display: block; padding-top: 18px; }
  .main-nav__lang .lang-switch { width: 100%; justify-content: center; padding: 12px; font-size: .9375rem; }

  .about { grid-template-columns: 1fr; gap: 44px; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .parts { grid-template-columns: repeat(2, 1fr); }
  .sources { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
}

@media (max-width: 860px) {
  .page-hero .container { padding-block: 44px; }
  .form { padding: 26px 22px; }
}

@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
  .parts { grid-template-columns: 1fr; }
  .sources { grid-template-columns: 1fr; }
  .form__grid { grid-template-columns: 1fr; }
  .faq__panel-inner { padding-right: 4px; }
  .contact-actions .btn { width: 100%; }
}
