/* ==========================================================
   Servicios de Seguridad H.V — Hoja de estilos
   ========================================================== */

:root {
  --navy-950: #060F1E;
  --navy-900: #0A192F;
  --navy-800: #112240;
  --navy-700: #1D3557;
  --gold-300: #FCD34D;
  --gold-400: #FBBF24;
  --gold-500: #F59E0B;
  --gold-600: #D97706;
  --gold-700: #B45309;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-300: #cbd5e1;
  --slate-400: #94a3b8;
  --slate-500: #64748b;
  --slate-600: #475569;
  --slate-700: #334155;
  --slate-800: #1e293b;
  --green-400: #34d399;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --font-body: 'Inter', sans-serif;
  --font-title: 'Montserrat', sans-serif;
}

/* ---------- Reset y base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; border: 0 solid currentColor; }
html { scroll-behavior: smooth; }
body { background: var(--slate-50); color: var(--slate-800); font-family: var(--font-body); line-height: 1.5; -webkit-font-smoothing: antialiased; }
body ::selection { background: var(--gold-500); color: var(--navy-900); }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; }
h1, h2, h3, h4 { font-weight: inherit; }
strong { font-weight: 700; }

.is-hidden { display: none !important; }
.container { max-width: 80rem; margin: 0 auto; padding: 0 1rem; }
.icon { width: 1rem; height: 1rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon--fill { fill: currentColor; stroke: none; }
.text-gold { color: var(--gold-500); }
.text-gold-light { color: var(--gold-400); }
.text-white { color: #fff; }

/* ---------- Encabezados de sección ---------- */
.section-head { text-align: center; max-width: 48rem; margin: 0 auto 4rem; }
.section-eyebrow { display: block; margin-bottom: .5rem; font: 700 .75rem var(--font-title); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-600); }
.section-title { font: 800 1.875rem/1.2 var(--font-title); color: var(--navy-900); margin-bottom: 1rem; }
.section-text { font-size: 1rem; color: var(--slate-600); }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; border-radius: .75rem; font-family: var(--font-title); transition: all .2s; }
.btn--gold { background: linear-gradient(to right, var(--gold-500), var(--gold-600)); color: var(--navy-950); font-weight: 700; box-shadow: 0 10px 15px -3px rgba(217,119,6,.25); }
.btn--gold:hover { background: linear-gradient(to right, var(--gold-400), var(--gold-500)); transform: translateY(-2px); }
.btn--dark { background: var(--navy-800); color: #fff; border: 1px solid #475569; font-weight: 600; }
.btn--dark:hover { background: var(--navy-700); border-color: rgba(16,185,129,.6); }

/* ==========================================================
   BARRA SUPERIOR
   ========================================================== */
.topbar { display: none; background: var(--navy-950); color: var(--slate-300); font-size: .75rem; padding: .5rem 0; border-bottom: 1px solid rgba(30,41,59,.8); }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; }
.topbar__group { display: flex; align-items: center; gap: 1.5rem; }
.topbar__group--contact { gap: 1.25rem; }
.topbar__accreditation { display: flex; align-items: center; gap: .375rem; font-weight: 500; color: var(--gold-400); }
.topbar__divider { color: var(--slate-500); }
.topbar__link { display: flex; align-items: center; gap: .375rem; transition: color .2s; }
.topbar__link:hover { color: var(--gold-400); }
.topbar__link .icon { width: .875rem; color: var(--gold-500); }
.topbar__link--phone { font-weight: 500; color: #fff; }

/* ==========================================================
   HEADER Y NAVEGACIÓN
   ========================================================== */
.header { position: sticky; top: 0; z-index: 40; background: rgba(10,25,47,.95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--slate-800); box-shadow: 0 10px 15px -3px rgba(0,0,0,.2); }
.header__inner { display: flex; justify-content: space-between; align-items: center; height: 5rem; }

.logo { display: flex; align-items: center; gap: .75rem; }
.logo__img { width: 2.75rem; height: 2.75rem; object-fit: contain; transition: transform .2s; }
.logo:hover .logo__img { transform: scale(1.05); }
.logo__name { display: block; font: 800 1rem/1 var(--font-title); letter-spacing: -.025em; color: #fff; }
.logo__company { display: block; margin-top: .25rem; font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-400); }

.nav { display: none; align-items: center; gap: 2rem; }
.nav__link { font-size: .875rem; font-weight: 500; color: var(--slate-200); transition: color .2s; }
.nav__link:hover { color: var(--gold-400); }
.header__cta { display: none; padding: .625rem 1.25rem; font-size: .875rem; }

.menu-toggle { display: flex; padding: .625rem; border-radius: .75rem; color: var(--slate-300); transition: all .2s; }
.menu-toggle:hover { color: #fff; background: var(--navy-800); }
.menu-toggle:focus { outline: 2px solid var(--gold-500); }
.menu-toggle .icon { width: 1.5rem; height: 1.5rem; }

.mobile-menu { background: var(--navy-800); border-bottom: 1px solid var(--slate-700); padding: .75rem 1rem 1.5rem; box-shadow: 0 25px 50px -12px rgba(0,0,0,.4); }
.mobile-menu__link { display: block; margin-bottom: .5rem; padding: .75rem 1rem; border-radius: .75rem; font-size: 1rem; font-weight: 500; color: #fff; transition: all .2s; }
.mobile-menu__link:hover { background: var(--navy-700); color: var(--gold-400); }
.mobile-menu__cta { display: block; width: 100%; margin-top: .75rem; padding: .875rem 1.25rem; text-align: center; border-radius: .75rem; background: linear-gradient(to right, var(--gold-500), var(--gold-600)); color: var(--navy-950); font: 700 1rem var(--font-title); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { position: relative; overflow: hidden; background: var(--navy-900); padding: 3rem 0 5rem; }
.hero__pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 28px 28px; opacity: .6; }
.hero__glow { position: absolute; width: 24rem; height: 24rem; border-radius: 50%; filter: blur(64px); pointer-events: none; }
.hero__glow--gold { top: -6rem; right: -6rem; background: rgba(245,158,11,.1); }
.hero__glow--blue { bottom: 0; left: -6rem; background: rgba(59,130,246,.1); }
.hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; }

.hero__content { text-align: center; }
.hero__badge { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; padding: .5rem 1rem; border-radius: 9999px; background: rgba(17,34,64,.9); border: 1px solid rgba(245,158,11,.4); color: var(--gold-400); font-size: .75rem; font-weight: 600; box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.hero__badge-dot { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold-500); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .4; } }
.hero__title { margin-bottom: 1.5rem; font: 800 1.875rem/1.25 var(--font-title); letter-spacing: -.025em; color: #fff; }
.hero__title-accent { background: linear-gradient(to right, var(--gold-400), var(--gold-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__text { max-width: 42rem; margin: 0 auto 2rem; font-size: 1rem; line-height: 1.625; color: var(--slate-300); }
.hero__actions { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; margin-bottom: 2.5rem; }
.hero__btn { width: 100%; padding: 1rem 1.75rem; font-size: 1rem; }
.hero__btn--whatsapp { gap: .625rem; }
.hero__btn--whatsapp .icon { width: 1.25rem; height: 1.25rem; color: var(--green-400); }
.hero__btn--quote .icon { width: 1.25rem; height: 1.25rem; }

.hero__features { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.feature-card { text-align: left; padding: 1rem; border-radius: 1rem; background: rgba(17,34,64,.8); border: 1px solid rgba(51,65,85,.8); backdrop-filter: blur(4px); }
.feature-card__head { display: flex; align-items: center; gap: .625rem; margin-bottom: .375rem; }
.feature-card__icon { display: flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: .5rem; background: rgba(245,158,11,.15); color: var(--gold-400); }
.feature-card__title { font: 700 .875rem var(--font-title); color: #fff; }
.feature-card__text { font-size: .75rem; color: var(--slate-400); }

/* Panel de identificación */
.id-panel { padding: 1.5rem; border-radius: 1.5rem; background: linear-gradient(to bottom, var(--navy-800), var(--navy-950)); border: 1px solid rgba(51,65,85,.8); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); }
.id-panel__head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--slate-800); }
.id-panel__brand { display: flex; align-items: center; gap: .75rem; }
.id-panel__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: 1rem; background: rgba(245,158,11,.1); border: 1px solid rgba(245,158,11,.3); color: var(--gold-400); }
.id-panel__icon .icon { width: 1.75rem; height: 1.75rem; }
.id-panel__label { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-400); }
.id-panel__title { font: 700 1.125rem var(--font-title); color: #fff; }
.id-panel__status { padding: .25rem .75rem; border-radius: 9999px; background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: var(--green-400); font-size: .75rem; font-weight: 600; }
.id-panel__body { display: flex; flex-direction: column; gap: 1rem; font-size: .875rem; }
.id-box { padding: 1rem; border-radius: 1rem; background: rgba(10,25,47,.9); border: 1px solid var(--slate-800); }
.id-box--row { display: flex; align-items: center; justify-content: space-between; }
.id-box__label { display: block; margin-bottom: .125rem; font-size: .75rem; color: var(--slate-400); }
.id-box__value { display: block; font-weight: 600; color: #fff; }
.id-box__rut { font: 600 .75rem ui-monospace, monospace; color: var(--gold-400); }
.id-box__list { display: flex; flex-direction: column; gap: .5rem; margin-top: .25rem; font-size: .75rem; color: var(--slate-200); }
.id-box__list li { display: flex; align-items: flex-start; gap: .5rem; }
.id-box__list .icon { margin-top: .125rem; color: var(--gold-500); }
.id-box__map-icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; background: var(--navy-800); color: var(--gold-400); }
.id-box__map-icon .icon { width: 1.25rem; height: 1.25rem; }
.id-panel__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--slate-800); font-size: .75rem; color: var(--slate-400); }
.id-panel__phone { font-weight: 700; color: var(--gold-400); }
.id-panel__phone:hover { color: var(--gold-300); }

/* ==========================================================
   SERVICIOS
   ========================================================== */
.services { padding: 5rem 0; background: var(--slate-50); }
.services__grid { display: grid; gap: 2rem; }
.service-card { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border-radius: 1.5rem; background: #fff; border: 1px solid rgba(226,232,240,.9); box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .3s; }
.service-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); border-color: rgba(245,158,11,.5); }
.service-card__icon { display: flex; align-items: center; justify-content: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.5rem; border-radius: 1rem; background: var(--navy-900); color: var(--gold-400); box-shadow: 0 4px 6px rgba(0,0,0,.1); transition: transform .2s; }
.service-card:hover .service-card__icon { transform: scale(1.05); }
.service-card__icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.8; }
.service-card__tag { display: inline-block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-600); }
.service-card__title { margin-bottom: .75rem; font: 700 1.25rem var(--font-title); color: var(--navy-900); }
.service-card__text { margin-bottom: 1.5rem; font-size: .875rem; line-height: 1.625; color: var(--slate-600); }
.service-card__list { display: flex; flex-direction: column; gap: .625rem; margin-bottom: 1.5rem; font-size: .875rem; color: var(--slate-700); }
.service-card__list li { display: flex; align-items: center; gap: .625rem; }
.service-card__list li::before { content: ''; width: .375rem; height: .375rem; flex-shrink: 0; border-radius: 50%; background: var(--gold-500); }
.service-card__footer { padding-top: 1rem; border-top: 1px solid var(--slate-100); }
.service-card__link { display: inline-flex; align-items: center; gap: .5rem; font: 700 .875rem var(--font-title); color: var(--navy-900); transition: color .2s; }
.service-card:hover .service-card__link { color: var(--gold-600); }
.service-card__link .icon { transition: transform .2s; }
.service-card:hover .service-card__link .icon { transform: translateX(.25rem); }

/* ==========================================================
   ACREDITACIÓN
   ========================================================== */
.accreditation { position: relative; overflow: hidden; padding: 5rem 0; background: var(--navy-900); color: #fff; }
.accreditation__pattern { position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px); background-size: 32px 32px; opacity: .4; }
.accreditation__box { position: relative; padding: 2rem; border-radius: 1.5rem; background: rgba(17,34,64,.9); border: 1px solid rgba(51,65,85,.8); box-shadow: 0 25px 50px -12px rgba(0,0,0,.5); backdrop-filter: blur(4px); }
.accreditation__grid { display: grid; gap: 2.5rem; align-items: center; }
.accreditation__badge { display: inline-flex; margin-bottom: 1rem; padding: .375rem .875rem; border-radius: 9999px; background: rgba(245,158,11,.15); border: 1px solid rgba(245,158,11,.3); color: var(--gold-400); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.accreditation__title { margin-bottom: 1.25rem; font: 800 1.5rem/1.25 var(--font-title); }
.accreditation__text { margin-bottom: 1.5rem; line-height: 1.625; color: var(--slate-300); }
.legal-sheet { display: grid; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: rgba(6,15,30,.8); border: 1px solid var(--slate-800); }
.legal-sheet__label { display: block; font-size: .75rem; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-400); }
.legal-sheet__value { display: block; margin-top: .25rem; font: 700 .875rem var(--font-title); color: #fff; }
.legal-sheet__value--rut { font-family: ui-monospace, monospace; color: var(--gold-400); }
.accreditation__seals { display: flex; flex-direction: column; gap: 1rem; }
.seal { display: flex; align-items: flex-start; gap: 1rem; padding: 1.5rem; border-radius: 1rem; background: var(--navy-900); border: 1px solid rgba(245,158,11,.3); }
.seal__icon { display: flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; flex-shrink: 0; border-radius: .75rem; background: rgba(245,158,11,.15); color: var(--gold-400); }
.seal__icon .icon { width: 1.75rem; height: 1.75rem; stroke-width: 1.8; }
.seal__title { margin-bottom: .25rem; font: 700 1rem var(--font-title); }
.seal__text { font-size: .75rem; line-height: 1.625; color: var(--slate-400); }

/* ==========================================================
   EQUIPO DIRECTIVO
   ========================================================== */
.team { padding: 5rem 0; background: #fff; }
.team__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }

.team-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; background: var(--slate-50); border: 1px solid rgba(226,232,240,.9); box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .2s; }
.team-card:hover { border-color: rgba(17,34,64,.4); box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }

/* Foto: ocupa todo el alto de la tarjeta a la izquierda */
.team-card__photo { flex-shrink: 0; width: 100%; height: 16rem; background: var(--navy-800); }
.team-card__img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }

.team-card__body { display: flex; flex: 1; flex-direction: column; justify-content: space-between; padding: 1.75rem; }
.team-card__badges { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-bottom: 1.25rem; }
.team-card__badge { padding: .25rem .75rem; border-radius: 9999px; font-size: .75rem; font-weight: 700; }
.team-card__badge--gold { background: rgba(245,158,11,.15); color: var(--gold-700); }
.team-card__badge--navy { background: rgba(10,25,47,.1); color: var(--navy-900); }
.team-card__roles { display: flex; justify-content: space-evenly; gap: .5rem; margin-bottom: .5rem; }
.team-card__role { font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--gold-600); }
.team-card__name { margin-bottom: 1rem; font: 700 1.25rem/1.3 var(--font-title); color: var(--navy-900); text-align: center; }
.team-card__studies { display: flex; flex-direction: column; align-items: center; gap: .25rem; margin: -.5rem 0 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--slate-200); font-size: .8125rem; font-weight: 600; text-align: center; color: var(--slate-600); }
.team-card__studies li { display: flex; align-items: center; gap: .5rem; }
.team-card__studies li::before { content: ''; width: .375rem; height: .375rem; flex-shrink: 0; border-radius: 50%; background: var(--gold-500); }
.team-card__text { margin-bottom: 1.5rem; font-size: .875rem; color: var(--slate-600); }
.team-card__contacts { display: flex; flex-direction: column; gap: .625rem; padding-top: 1rem; border-top: 1px solid var(--slate-200); }
.team-card__contact { display: flex; align-items: center; gap: .625rem; font-size: .875rem; font-weight: 600; color: var(--navy-900); transition: color .2s; }
.team-card__contact:hover { color: var(--gold-600); }
.team-card__contact .icon { color: var(--gold-600); }
.team-card__contact--whatsapp { font-size: .75rem; color: var(--green-700); }
.team-card__contact--whatsapp:hover { color: var(--green-600); }
.team-card__contact--whatsapp .icon { color: inherit; }

/* ==========================================================
   CONTACTO
   ========================================================== */
.contact { padding: 5rem 0; background: var(--slate-100); border-top: 1px solid var(--slate-200); }
.contact__grid { display: grid; gap: 3rem; align-items: start; }
.contact__info { display: flex; flex-direction: column; gap: 2rem; }
.contact__title { margin-bottom: 1rem; font: 800 1.875rem/1.2 var(--font-title); color: var(--navy-900); }
.contact__text { line-height: 1.625; color: var(--slate-600); }
.contact__channels { display: flex; flex-direction: column; gap: 1rem; }
.channel { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: #fff; border: 1px solid var(--slate-200); box-shadow: 0 1px 2px rgba(0,0,0,.05); }
.channel__icon { display: flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex-shrink: 0; border-radius: .75rem; background: var(--navy-900); color: var(--gold-400); }
.channel__icon .icon { width: 1.25rem; height: 1.25rem; }
.channel__body { min-width: 0; flex: 1; }
.channel__label { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-400); }
.channel__email { font: 700 .875rem var(--font-title); color: var(--navy-900); word-break: break-all; transition: color .2s; }
.channel__email:hover { color: var(--gold-600); }
.channel__phones { display: flex; flex-direction: column; gap: .25rem; margin-top: .25rem; font-size: .875rem; color: var(--slate-700); }
.channel__phones strong { color: var(--navy-900); }
.channel__phones a { font-weight: 600; }
.channel__phones a:hover { color: var(--gold-600); }
.channel__place { font: 700 .875rem var(--font-title); color: var(--navy-900); }
.channel__note { margin-top: .125rem; font-size: .75rem; color: var(--slate-500); }

/* Formulario */
.quote-box { padding: 1.5rem; border-radius: 1.5rem; background: #fff; border: 1px solid var(--slate-200); box-shadow: 0 20px 25px -5px rgba(0,0,0,.1); }
.quote-form { display: flex; flex-direction: column; gap: 1.25rem; }
.quote-form__row { display: grid; gap: 1.25rem; }
.quote-form__label { display: block; margin-bottom: .5rem; font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--slate-700); }
.quote-form__field { width: 100%; padding: .75rem 1rem; border-radius: .75rem; background: var(--slate-50); border: 1px solid var(--slate-300); font-size: .875rem; color: #0f172a; transition: all .2s; }
.quote-form__field:focus { outline: 2px solid var(--gold-500); border-color: transparent; }
.quote-form__error { padding: 1rem; border-radius: .75rem; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: .875rem; font-weight: 500; }
.quote-form__actions { display: flex; flex-direction: column; gap: .75rem; padding-top: .5rem; }
.quote-form__btn { flex: 1; padding: 1rem 1.5rem; font-size: .875rem; font-weight: 700; color: #fff; box-shadow: 0 10px 15px -3px rgba(0,0,0,.1); }
.quote-form__btn--mail { background: var(--navy-900); }
.quote-form__btn--mail:hover { background: var(--navy-800); }
.quote-form__btn--mail .icon { width: 1.25rem; height: 1.25rem; color: var(--gold-400); }
.quote-form__btn--whatsapp { background: var(--green-600); }
.quote-form__btn--whatsapp:hover { background: var(--green-500); }
.quote-form__btn--whatsapp .icon { width: 1.25rem; height: 1.25rem; }

.quote-success { display: flex; align-items: flex-start; gap: .75rem; margin-top: 1.5rem; padding: 1.5rem; border-radius: 1rem; background: #ecfdf5; border: 1px solid #a7f3d0; color: #064e3b; }
.quote-success__icon { display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; margin-top: .125rem; border-radius: 50%; background: var(--green-600); color: #fff; }
.quote-success__icon .icon { width: 1.25rem; height: 1.25rem; stroke-width: 2.5; }
.quote-success__title { font: 700 1rem var(--font-title); color: #022c22; }
.quote-success__text { margin-top: .25rem; font-size: .875rem; color: #065f46; }
.quote-success__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1rem; }
.quote-success__btn { padding: .5rem 1rem; border-radius: .5rem; font-size: .75rem; font-weight: 700; transition: background .2s; }
.quote-success__btn--mail { background: var(--green-700); color: #fff; }
.quote-success__btn--mail:hover { background: #065f46; }
.quote-success__btn--reset { background: #fff; border: 1px solid #6ee7b7; color: #065f46; }
.quote-success__btn--reset:hover { background: #d1fae5; }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--navy-950); color: var(--slate-400); border-top: 1px solid var(--slate-800); }
.footer__inner { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer__grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(30,41,59,.8); }
.footer__brand { display: flex; flex-direction: column; gap: 1rem; }
.footer__logo { display: flex; align-items: center; gap: .75rem; }
.footer__logo-img { width: 2.5rem; height: 2.5rem; object-fit: contain; }
.footer__logo-name { display: block; font: 800 1rem var(--font-title); color: #fff; }
.footer__logo-company { display: block; font-size: .75rem; }
.footer__about { font-size: .75rem; line-height: 1.625; }
.footer__about strong { color: var(--slate-200); }
.footer__about .text-gold-light { color: var(--gold-400); }
.footer__title { margin-bottom: 1rem; font: 700 .875rem var(--font-title); letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.footer__list { display: flex; flex-direction: column; gap: .625rem; font-size: .875rem; }
.footer__list a { transition: color .2s; }
.footer__nav a:hover { color: var(--gold-400); }
.footer__contact li { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.footer__contact a:hover { color: #fff; }
.footer__contact-label { font-weight: 600; color: var(--gold-500); }
.footer__bottom { display: flex; flex-direction: column; justify-content: space-between; align-items: center; gap: 1rem; padding-top: 2rem; font-size: .75rem; color: var(--slate-500); text-align: center; }

/* ==========================================================
   BOTÓN FLOTANTE WHATSAPP
   ========================================================== */
.whatsapp-float { position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 50; display: flex; align-items: center; gap: .75rem; padding: .875rem 1rem; border-radius: 9999px; background: var(--green-600); color: #fff; box-shadow: 0 25px 50px -12px rgba(2,44,34,.4); transition: all .2s; }
.whatsapp-float:hover { background: var(--green-500); transform: scale(1.05); }
.whatsapp-float .icon { width: 1.5rem; height: 1.5rem; }
.whatsapp-float__text { display: none; padding-right: .25rem; font: 700 .75rem var(--font-title); letter-spacing: .025em; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 640px) {
  .container { padding: 0 1.5rem; }
  .logo__name { font-size: 1.125rem; }
  .hero__title { font-size: 2.25rem; }
  .hero__text { font-size: 1.125rem; }
  .hero__actions { flex-direction: row; }
  .hero__btn { width: auto; }
  .hero__features { grid-template-columns: repeat(3, 1fr); }
  .hero__badge { font-size: .875rem; }
  .id-panel { padding: 2rem; }
  .section-title, .contact__title { font-size: 2.25rem; }
  .section-text { font-size: 1.125rem; }
  .service-card__text { font-size: 1rem; }
  .service-card__title { font-size: 1.5rem; }
  .accreditation__box { padding: 3rem; }
  .accreditation__title { font-size: 1.875rem; }
  .legal-sheet { grid-template-columns: repeat(3, 1fr); }
  .seal__text { font-size: .875rem; }
  .quote-box { padding: 2.5rem; }
  .quote-form__row { grid-template-columns: repeat(2, 1fr); }
  .quote-form__actions { flex-direction: row; }
  .channel__email, .channel__place { font-size: 1rem; }
  .team-card { flex-direction: row; }
  .team-card__photo { width: 40%; height: auto; min-height: 16rem; }
  .footer__bottom { flex-direction: row; text-align: left; }
  .whatsapp-float__text { display: inline-block; }
  .footer__about { font-size: .875rem; }
}

@media (min-width: 768px) {
  .topbar { display: block; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .container { padding: 0 2rem; }
  .nav { display: flex; }
  .header__cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
  .hero { padding: 5rem 0 7rem; }
  .hero__inner { grid-template-columns: 7fr 5fr; }
  .hero__content { text-align: left; }
  .hero__text { margin-left: 0; margin-right: 0; }
  .hero__actions { justify-content: flex-start; }
  .hero__title { font-size: 3rem; }
  .services, .team, .contact { padding: 7rem 0; }
  .accreditation { padding: 6rem 0; }
  .accreditation__grid { grid-template-columns: 7fr 5fr; }
  .accreditation__title { font-size: 2.25rem; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__grid { grid-template-columns: 5fr 7fr; }
  .footer__grid { grid-template-columns: 5fr 3fr 4fr; }
}

@media (min-width: 1280px) {
  .team-card__photo { width: 42%; }
}

/* ---------- Galería de imágenes ---------- */
.gallery { padding: 5rem 0; background: #fff; }
.gallery__grid { display: flex; flex-direction: column; gap: 1rem; }
.gallery__grid + .gallery__grid { margin-top: 1rem; }
.gallery__item { overflow: hidden; border-radius: 1.5rem; background: var(--slate-50); border: 1px solid rgba(226,232,240,.9); box-shadow: 0 1px 2px rgba(0,0,0,.05); transition: all .2s; }
.gallery__item:hover { box-shadow: 0 10px 25px rgba(10,25,47,.15); transform: translateY(-2px); }
.gallery__img { width: 100%; height: auto; }

@media (min-width: 768px) {
  .gallery__grid { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.5rem; }
  .gallery__grid + .gallery__grid { margin-top: 1.5rem; }
  .gallery__item { max-width: 100%; }
  .gallery__img { width: auto; max-width: 100%; height: 26rem; object-fit: cover; }
}
@media (min-width: 1024px) {
  .gallery { padding: 7rem 0; }
}

/* ---------- Equipo: tarjeta centrada en la segunda fila ---------- */
@media (min-width: 1024px) {
  .team__grid { grid-auto-rows: 1fr; }
  .team-card--center { grid-column: 1 / -1; justify-self: center; width: calc(50% - 1rem); }
}

/* ---------- Equipo en teléfono: foto cuadrada completa ---------- */
@media (max-width: 767px) {
  .team-card__photo { height: auto; aspect-ratio: 1 / 1; }
  .team-card__photo picture { display: block; width: 100%; height: 100%; }
}
