/* =========================================================
   Organización Troussel · estilos
   Paleta: violeta #8C4288 · magenta #ED2F59 · gris #333/#666 · bg #F9F9F9
   Tipografía: Poppins (display) · Mulish (body)
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --c-primary: #8C4288;
  --c-primary-deep: #6E2F6B;
  --c-primary-soft: #B687B3;
  --c-accent: #ED2F59;
  --c-accent-deep: #C71F47;
  --c-ink: #1A1A22;
  --c-ink-2: #333333;
  --c-text: #4A4A55;
  --c-muted: #777788;
  --c-line: #E5E5EB;
  --c-bg: #F9F9F9;
  --c-bg-2: #FFFFFF;
  --c-bg-violet: #8C4288;
  --c-bg-dark: #2A1F35;

  --font-heading: 'Poppins', system-ui, sans-serif;
  --font-body: 'Mulish', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 4px 12px rgba(40, 20, 50, .06);
  --shadow: 0 14px 40px rgba(40, 20, 50, .10);
  --shadow-lg: 0 30px 80px rgba(40, 20, 50, .18);
  --shadow-accent: 0 14px 36px rgba(237, 47, 89, .32);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-move: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast: 180ms;
  --t-med: 320ms;
  --t-slow: 520ms;

  --container: 1200px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
input, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--c-ink-2);
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4.4rem); line-height: 1.05; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); line-height: 1.1; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); line-height: 1.3; }
p  { margin: 0 0 1em; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Helpers ---------- */
.accent { color: var(--c-accent); }
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--c-primary);
  padding: .55em 1em;
  background: rgba(140, 66, 136, .08);
  border-radius: 999px;
  margin-bottom: 1.2em;
}
.kicker i { color: var(--c-accent); }
.section-head { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
.section-head p { font-size: 1.05rem; color: var(--c-text); }
.section-head-light h2,
.section-head-light p { color: #fff; }
.section-head-light p { color: rgba(255,255,255,.85); }
.section-head-light .kicker { background: rgba(255,255,255,.14); color: #fff; }
.section-head-light .kicker i { color: var(--c-accent); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  padding: .85em 1.5em;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: .98rem;
  border-radius: 999px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background-color var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
  white-space: nowrap;
  line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-primary:hover { background: var(--c-accent-deep); box-shadow: 0 18px 44px rgba(237, 47, 89, .42); }

.btn-wa {
  background: #128C7E;
  color: #fff;
  box-shadow: 0 14px 36px rgba(18, 140, 126, .42);
}
.btn-wa:hover { background: #075E54; box-shadow: 0 18px 44px rgba(7, 94, 84, .5); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink-2);
  border: 2px solid var(--c-line);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary); }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.4);
}
.btn-ghost-light:hover { background: rgba(255,255,255,.12); border-color: #fff; }

.btn-lg { padding: 1em 1.9em; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: background var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out),
              border-color var(--t-med) var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 6px 24px rgba(40, 20, 50, .06);
  border-bottom-color: var(--c-line);
}
.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand img {
  height: 46px;
  width: auto;
  transition: transform var(--t-med) var(--ease-out);
}
.brand:hover img { transform: scale(1.04); }

.main-nav { flex: 1; display: flex; justify-content: center; }
.nav-list {
  display: flex;
  gap: .25rem;
  background: rgba(140, 66, 136, .06);
  padding: .35rem;
  border-radius: 999px;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  padding: .55em 1.1em;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .92rem;
  color: var(--c-ink-2);
  border-radius: 999px;
  transition: background var(--t-fast) var(--ease-out),
              color var(--t-fast) var(--ease-out);
}
.nav-link i { font-size: .85em; color: var(--c-primary); transition: color var(--t-fast) var(--ease-out); }
.nav-link:hover { background: #fff; color: var(--c-primary); }
.nav-link:hover i { color: var(--c-accent); }
.nav-link.is-active { background: var(--c-primary); color: #fff; }
.nav-link.is-active i { color: #fff; }

.nav-close { display: none; }

.header-cta { display: inline-flex; }
.header-cta span { display: inline; }

.hamburger {
  display: none !important;
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 14px;
  background: var(--c-accent);
  z-index: 5;
  box-shadow: 0 8px 22px rgba(237, 47, 89, .45);
  border: 2px solid #fff;
  flex-shrink: 0;
}
  position: absolute;
  top: 50%;
  right: 18px;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  border-radius: 14px;
  background: var(--c-accent);
  z-index: 5;
  box-shadow: 0 8px 22px rgba(237, 47, 89, .45);
  border: 2px solid #fff;
  flex-shrink: 0;
}
.hamburger:hover, .hamburger:focus-visible {
  background: var(--c-accent-deep);
  outline: none;
}
.hamburger:focus-visible {
  box-shadow: 0 8px 22px rgba(237, 47, 89, .45), 0 0 0 4px rgba(237, 47, 89, .25);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform var(--t-med) var(--ease-out),
              opacity var(--t-fast) var(--ease-out);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 34, .55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-med) var(--ease-out);
}
.nav-backdrop.is-open { opacity: 1; pointer-events: auto; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: linear-gradient(160deg, #F9F4F9 0%, #FCF5F8 50%, #ffffff 100%);
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
}
.shape-1 { width: 480px; height: 480px; background: #B687B3; top: -120px; right: -120px; }
.shape-2 { width: 380px; height: 380px; background: #F595B0; bottom: -160px; left: -100px; opacity: .35; }
.shape-3 { width: 280px; height: 280px; background: #ED2F59; top: 40%; right: 35%; opacity: .12; filter: blur(60px); }

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-primary);
  padding: .7em 1.1em;
  background: rgba(140, 66, 136, .10);
  border-radius: 999px;
  border: 1px solid rgba(140, 66, 136, .18);
}
.hero-tag i { color: var(--c-accent); }

.hero-title {
  margin-top: 1rem;
  color: var(--c-ink);
}
.hero-title .accent {
  background: linear-gradient(120deg, var(--c-primary) 0%, var(--c-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
  display: inline-block;
}
.hero-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--c-text);
  max-width: 540px;
  margin-top: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem 2rem;
  margin-top: 2.4rem;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 500;
  color: var(--c-ink-2);
}
.hero-trust li { display: inline-flex; align-items: center; gap: .5em; }
.hero-trust i { color: var(--c-primary); }

/* Hero visual / stack */
.hero-visual { position: relative; }
.hero-card-stack {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 520px;
  margin-left: auto;
}
.hero-photo {
  position: absolute;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--c-primary);
}
.hero-photo img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease-out);
}
.hero-photo-1 {
  top: 0; right: 0;
  width: 78%; height: 78%;
  border-radius: 0 200px 24px 24px;
  background: linear-gradient(180deg, #8C4288 0%, #B687B3 100%);
}
.hero-photo-2 {
  bottom: 0; left: 0;
  width: 60%; height: 55%;
  border: 6px solid #fff;
  background: linear-gradient(180deg, #ED2F59 0%, #F595B0 100%);
}
.hero-photo:hover img { transform: scale(1.06); }

.hero-badge {
  position: absolute;
  top: 14px; left: -10px;
  background: #fff;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  box-shadow: var(--shadow);
  z-index: 3;
}
.hero-badge i {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  font-size: 1.15rem;
}
.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--c-ink);
  line-height: 1;
}
.hero-badge span {
  font-family: var(--font-body);
  font-size: .82rem;
  color: var(--c-muted);
}

.hero-floating-tag {
  position: absolute;
  bottom: 30%; left: -8px;
  background: var(--c-primary);
  color: #fff;
  padding: .7em 1.1em;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .88rem;
  display: inline-flex;
  align-items: center;
  gap: .55em;
  box-shadow: var(--shadow);
  z-index: 3;
  animation: floatTag 4s ease-in-out infinite;
}
.hero-floating-tag i { font-size: 1.05em; color: #fff; }

@keyframes floatTag {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-scroll {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--c-primary);
  border-radius: 14px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
}
.hero-scroll span {
  width: 3px; height: 8px;
  background: var(--c-primary);
  border-radius: 2px;
  animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot {
  0% { transform: translateY(0); opacity: 1; }
  80% { transform: translateY(16px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- STATS ---------- */
.stats {
  background: var(--c-bg-dark);
  color: #fff;
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(800px 300px at 10% 50%, rgba(140, 66, 136, .35), transparent 60%),
    radial-gradient(700px 300px at 90% 50%, rgba(237, 47, 89, .25), transparent 60%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
}
.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform var(--t-med) var(--ease-out),
              background var(--t-med) var(--ease-out);
}
.stat-card:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.stat-icon {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--c-accent);
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}
.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #fff;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: .5rem;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .75);
}

/* ---------- PYME CTA ---------- */
.pyme-cta {
  padding: 80px 0;
  background: var(--c-primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.pyme-cta .kicker {
  background: rgba(255, 255, 255, .14);
  color: #fff;
}
.pyme-cta .kicker i { color: var(--c-accent); }
.pyme-cta::before, .pyme-cta::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
}
.pyme-cta::before { width: 360px; height: 360px; background: var(--c-accent); top: -100px; right: -100px; opacity: .55; }
.pyme-cta::after  { width: 280px; height: 280px; background: #fff; bottom: -120px; left: -80px; opacity: .08; }
.pyme-cta-inner {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: center;
}
.pyme-cta h2 { color: #fff; }
.pyme-cta h2 .accent { color: #FFE7EC; }
.pyme-cta p { color: rgba(255,255,255,.92); font-size: 1.08rem; max-width: 560px; }
.pyme-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

/* ---------- SEGUROS sections ---------- */
.seguros { padding: 100px 0; }
.personales { background: var(--c-bg); }
.pymes { background: linear-gradient(180deg, #fff 0%, #f6eff7 100%); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card-grid-dark { /* no dark cards per se; we'll style later */ }

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-med) var(--ease-out),
              box-shadow var(--t-med) var(--ease-out);
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--c-line);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(140, 66, 136, .25); }
.card-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--c-primary-soft);
}
.card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.card:hover .card-img img { transform: scale(1.08); }
.card-body { padding: 1.6rem 1.5rem 1.8rem; position: relative; flex: 1; }
.card-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--c-accent);
  color: #fff;
  font-size: 1.3rem;
  margin: -42px 0 1rem;
  box-shadow: 0 10px 24px rgba(237, 47, 89, .35);
  transition: transform var(--t-med) var(--ease-out);
}
.card:hover .card-ico { transform: rotate(-6deg) scale(1.08); }
.card h3 { color: var(--c-ink); margin-bottom: .5rem; }
.card p { color: var(--c-text); font-size: .98rem; margin: 0; }

.card-dark { background: #fff; } /* keep light for readability */

/* ---------- ABOUT ---------- */
.about { padding: 100px 0; background: #fff; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.about-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.about-photo:hover img { transform: scale(1.04); }
.about-quote {
  position: absolute;
  bottom: 20px; left: 20px;
  background: #fff;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius);
  max-width: 280px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--c-accent);
}
.about-quote i { color: var(--c-primary); font-size: 1.2rem; margin-bottom: .35em; display: block; }
.about-quote p { margin: 0; font-family: var(--font-heading); font-weight: 600; color: var(--c-ink); font-size: 1rem; }

.about-text h2 { color: var(--c-ink); }
.about-text p { color: var(--c-text); font-size: 1.05rem; }

.check-list {
  display: grid;
  gap: .8rem;
  margin: 1.4rem 0 1.8rem;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: .8rem;
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--c-ink-2);
}
.check-list i {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--c-primary);
  color: #fff;
  font-size: .75rem;
  display: grid; place-items: center;
  flex-shrink: 0;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: 100px 0 0;
  background: linear-gradient(180deg, #2A1F35 0%, #1F1726 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 80% -10%, rgba(237, 47, 89, .35), transparent 60%),
    radial-gradient(700px 400px at 10% 100%, rgba(140, 66, 136, .45), transparent 60%);
  pointer-events: none;
}
.contact .container { position: relative; }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 4rem;
}
.contact-aside {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.contact-info { display: grid; gap: 1.4rem; margin-bottom: 1.6rem; }
.info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.info-item i {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--c-accent);
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.info-item strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
  margin-bottom: .15rem;
}
.info-item p { margin: 0; color: rgba(255, 255, 255, .85); font-size: .96rem; line-height: 1.5; }
.info-item a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.3); }
.info-item a:hover { color: var(--c-accent); border-bottom-color: var(--c-accent); }

.contact-form {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .85);
  margin-bottom: .55rem;
}
.field input, .field textarea {
  background: rgba(255, 255, 255, .08);
  border: 1.5px solid rgba(255, 255, 255, .14);
  border-radius: 12px;
  padding: .85em 1em;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.45); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, .12);
}
.form-note {
  font-size: .85rem;
  color: rgba(255, 255, 255, .65);
  margin: .8rem 0 0;
  text-align: center;
}

.map-wrap {
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  box-shadow: 0 -20px 60px rgba(0,0,0,.4);
  margin-top: 2rem;
  background: #1F1726;
}
.map-wrap iframe { display: block; }
.map-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  padding: 1rem 1.4rem;
  background: rgba(255,255,255,.06);
  border-top: 1px solid rgba(255,255,255,.08);
}
.map-links a {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: .92rem;
  color: #fff;
  padding: .55em 1em;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  transition: background var(--t-fast) var(--ease-out),
              border-color var(--t-fast) var(--ease-out);
}
.map-links a:hover { background: var(--c-accent); border-color: var(--c-accent); }
.map-links i { color: var(--c-accent); }
.map-links a:hover i { color: #fff; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: #14101B;
  color: rgba(255,255,255,.75);
  padding: 70px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr .8fr;
  gap: 2.5rem;
  padding-bottom: 50px;
}
.footer-brand img {
  height: 46px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(1.1);
}
.footer-brand p { font-size: .95rem; line-height: 1.65; }
.footer-col h4 {
  color: #fff;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 1.2rem;
}
.footer-col ul { display: grid; gap: .7rem; }
.footer-col a:hover { color: var(--c-accent); }
.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  font-size: .94rem;
}
.footer-contact i { color: var(--c-accent); margin-top: 4px; }

.socials {
  display: flex;
  gap: .8rem;
}
.socials a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  transition: background var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.socials a:hover { background: var(--c-accent); transform: translateY(-2px); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: .88rem;
}
.footer-bottom a { color: var(--c-accent); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---------- FLOAT WHATSAPP ---------- */
.float-wa {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #128C7E;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.7rem;
  box-shadow: 0 14px 40px rgba(7, 94, 84, .45);
  z-index: 90;
  transition: transform var(--t-fast) var(--ease-out),
              box-shadow var(--t-fast) var(--ease-out),
              background var(--t-fast) var(--ease-out);
  animation: pulseWa 2.4s ease-out infinite;
}
.float-wa:hover { transform: scale(1.1); background: #075E54; }
.float-wa .float-wa-tip {
  position: absolute;
  right: 100%;
  margin-right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: var(--c-ink);
  padding: .55em .9em;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-fast) var(--ease-out),
              transform var(--t-fast) var(--ease-out);
}
.float-wa:hover .float-wa-tip { opacity: 1; transform: translateY(-50%) translateX(-4px); }

@keyframes pulseWa {
  0% { box-shadow: 0 14px 40px rgba(7, 94, 84, .45), 0 0 0 0 rgba(18, 140, 126, .55); }
  70% { box-shadow: 0 14px 40px rgba(7, 94, 84, .45), 0 0 0 22px rgba(18, 140, 126, 0); }
  100% { box-shadow: 0 14px 40px rgba(7, 94, 84, .45), 0 0 0 0 rgba(18, 140, 126, 0); }
}

/* ---------- REVEAL animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Tablets */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .hero-card-stack { margin: 0 auto; }
  .pyme-cta-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  .container { padding: 0 18px; }
  .header-inner { padding-top: 14px; padding-bottom: 14px; }

  /* nav drawer */
  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 340px);
    height: 100dvh;
    background: #fff;
    box-shadow: -20px 0 60px rgba(0,0,0,.18);
    transform: translateX(100%);
    transition: transform var(--t-med) var(--ease-move);
    z-index: 90;
    overflow-y: auto;
    padding: 18px 18px 30px;
    flex: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: flex-end;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(140, 66, 136, .08);
    color: var(--c-primary);
    font-size: 1.15rem;
    margin-bottom: .8rem;
    transition: background var(--t-fast) var(--ease-out),
                color var(--t-fast) var(--ease-out),
                transform var(--t-fast) var(--ease-out);
  }
  .nav-close:hover, .nav-close:focus-visible {
    background: var(--c-primary);
    color: #fff;
    transform: rotate(90deg);
    outline: none;
  }
  .main-nav.is-open { transform: translateX(0); }
  .nav-list {
    flex-direction: column;
    background: transparent;
    padding: 0;
    border-radius: 0;
    gap: .35rem;
  }
  .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 1em 1.1em;
    font-size: 1rem;
    border-radius: 14px;
    background: rgba(140, 66, 136, .04);
  }
  .nav-link i { font-size: 1.05rem; width: 22px; }
  .nav-link.is-active { background: var(--c-primary); color: #fff; }
  .nav-link:hover { background: rgba(140, 66, 136, .10); }
  .nav-link.is-active:hover { background: var(--c-primary-deep); }

  .hamburger { display: flex !important; }
  .header-cta { display: none; }

  /* hero */
  .hero { padding: 50px 0 80px; }
  .hero-trust { gap: .8rem 1.2rem; font-size: .85rem; }
  .hero-scroll { display: none; }

  /* stats */
  .stats { padding: 40px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .stat-card { padding: 1.2rem .8rem; }
  .stat-icon { width: 40px; height: 40px; font-size: 1rem; margin-bottom: .7rem; }
  .stat-label { font-size: .75rem; }

  /* pyme cta */
  .pyme-cta { padding: 60px 0; }
  .pyme-cta-actions { align-items: stretch; }
  .pyme-cta-actions .btn { width: 100%; }

  /* cards */
  .seguros { padding: 70px 0; }
  .card-grid { grid-template-columns: 1fr; gap: 1.4rem; }

  /* about */
  .about { padding: 70px 0; }
  .about-quote { left: 14px; right: 14px; bottom: 14px; max-width: none; }

  /* contact */
  .contact { padding: 70px 0 0; }
  .contact-form { grid-template-columns: 1fr; padding: 1.4rem; }
  .contact-aside { padding: 1.4rem; }
  .map-wrap iframe { height: 320px; }

  /* footer */
  .site-footer { padding: 50px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding-bottom: 30px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }

  /* float */
  .float-wa { right: 16px; bottom: 16px; width: 56px; height: 56px; font-size: 1.5rem; }
  .float-wa .float-wa-tip { display: none; }

  /* hero stack */
  .hero-card-stack { max-width: 360px; }
  .hero-badge { padding: .8rem 1rem; }
  .hero-badge strong { font-size: 1.4rem; }
}

/* Very small */
@media (max-width: 380px) {
  h1 { font-size: 2.1rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}