/* ================================================================
   SURET TAX PRO — Stylesheet v3
   Paleta del logo:
     --navy   #1B2B6B  azul marino dominante
     --blue   #3A6EC8  azul medio (ícono S)
     --green  #3CB54A  verde (check / acento CTA)
     --dark   #1A1A2E  negro/gris oscuro fondo
     --gray   #8A8A8A  gris subtítulo
   ================================================================ */

/* ── 01 Variables & Reset ─────────────────────────────────────── */
:root {
  --navy:        #1B2B6B;
  --navy-mid:    #162157;
  --dark:        #1A1A2E;
  --blue:        #3A6EC8;
  --blue-light:  #5a88d8;
  --green:       #3CB54A;
  --green-dark:  #2d9139;
  --green-light: #eaf7ec;
  --white:       #ffffff;
  --off-white:   #f7faf7;
  --light:       #f0f5f1;
  --gray-50:     #f8f9fa;
  --gray-100:    #e8eeea;
  --gray-300:    #c4d0c6;
  --gray:        #8A8A8A;
  --gray-700:    #4a5568;
  --text:        #1B2B6B;
  --text-body:   #333d4b;
  --text-muted:  #38404a;

  --nav-h:       80px;
  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;

  --shadow-sm:   0 2px 12px rgba(26,43,107,.08);
  --shadow:      0 6px 28px rgba(26,43,107,.12);
  --shadow-lg:   0 14px 48px rgba(26,43,107,.16);
  --shadow-xl:   0 24px 64px rgba(26,43,107,.20);
  --shadow-g:    0 6px 24px rgba(60,181,74,.35);

  --transition:  .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img  { display: block; max-width: 100%; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ── 02 Typography helpers ───────────────────────────────────── */
.section-tag {
  display: inline-block;
  color: var(--green);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-tag.light { color: #7fdc8e; }

.section-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: .6rem;
}

.title-underline {
  width: 48px; height: 4px;
  background: var(--green);
  border-radius: 2px;
  margin: .6rem 0 0;
}
.title-underline.green { background: var(--green); }
.section-header.center { text-align: center; }
.section-header.center .title-underline { margin: .6rem auto 0; }

/* ── 03 Layout ───────────────────────────────────────────────── */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* AOS reveal */
[data-aos] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
[data-aos="fade-right"] { transform: translateX(-32px); }
[data-aos="fade-left"]  { transform: translateX(32px); }
[data-aos].aos-visible  { opacity: 1; transform: none; }

/* ── 04 Page Loader ──────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.6rem;
  transition: opacity .6s ease, visibility .6s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-logo-wrap { position: relative; }
.loader-logo-wrap::after {
  content: '';
  position: absolute; inset: -10px;
  border: 2px solid rgba(60,181,74,.3);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin-slow 1.4s linear infinite;
}
.loader-logo {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--green), #2d9139);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: var(--white);
}
.loader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,.1); border-radius: 2px; overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green), #7ddc8a);
  width: 0; transition: width .05s linear;
}
.loader-text { color: rgba(255,255,255,.4); font-size: .75rem; letter-spacing: 3px; text-transform: uppercase; }

/* ── 05 Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 900; height: var(--nav-h);
  background: var(--white);
  box-shadow: 0 2px 16px rgba(26,43,107,.1);
  transition: box-shadow var(--transition), background var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(26,43,107,.15);
}

.nav-container {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; gap: 2rem;
}

.logo { flex-shrink: 0; }
.logo-img { height: 52px; width: auto; object-fit: contain; }

.nav-menu { display: flex; align-items: center; gap: 0; margin-left: auto; }
.nav-list  { display: flex; gap: .2rem; }
.nav-link {
  display: block;
  padding: .45rem .85rem;
  color: var(--navy);
  font-size: .86rem; font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--green);
  background: var(--green-light);
}

.btn-nav-cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green);
  color: var(--white);
  font-size: .82rem; font-weight: 700;
  padding: .6rem 1.3rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  margin-left: 1rem;
  flex-shrink: 0;
}
.btn-nav-cta:hover { background: var(--green-dark); transform: translateY(-1px); box-shadow: var(--shadow-g); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; background: none; border: none; padding: 5px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--navy); border-radius: 1px; transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── 06 HERO ─────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  width: 100%;
  background: #f0f1f3;
  overflow: hidden;
  display: block;               /* bloque: la imagen determina la altura */
}

/* ── American flag — left two-thirds, faded & desaturated ── */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 70%; height: 100%;
  /* 13 horizontal stripes (7 red / 6 white) + blue canton */
  background:
    linear-gradient(#3C3B6E, #3C3B6E) no-repeat 0 0 / 40% 54%,
    repeating-linear-gradient(
      to bottom,
      #BF0A30 0,               #BF0A30 calc(100% / 13),
      #FFFFFF calc(100% / 13), #FFFFFF calc(200% / 13)
    );
  opacity: 0.22;
  filter: saturate(0.15) blur(3px);
  pointer-events: none;
  z-index: 0;
}

/* ── Soft vignette fade between flag area and image ── */
.hero-section::after {
  content: '';
  position: absolute;
  top: 0; right: 30%;
  width: 22%; height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* LEFT — texto superpuesto sobre la imagen, lado izquierdo */
.hero-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--nav-h) + 2rem) 3rem 3rem 6%;
  z-index: 3;
  background: transparent;
}

.hero-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(1.9rem, 3.8vw, 3.2rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  letter-spacing: -.02em;
}
.hero-accent { color: var(--green); }

.hero-sub {
  color: var(--text-muted);
  font-size: 1rem; line-height: 1.65;
  margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.4rem; }

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700; font-size: .9rem;
  padding: .85rem 1.8rem; border-radius: var(--radius-sm);
  transition: var(--transition);
  box-shadow: var(--shadow-g);
}
.btn-hero-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(60,181,74,.5); }

.btn-hero-outline {
  display: inline-flex; align-items: center; gap: .5rem;
  border: 2px solid var(--navy);
  color: var(--navy);
  font-weight: 700; font-size: .9rem;
  padding: .82rem 1.6rem; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-hero-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }

/* Trust badges */
.hero-badges {
  display: flex; align-items: center; gap: 0;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: .9rem 1.4rem;
  box-shadow: var(--shadow-sm);
  width: fit-content;
  flex-wrap: wrap; gap: 0;
}
.hb-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .3rem .8rem;
}
.hb-divider { width: 1px; height: 36px; background: var(--gray-300); flex-shrink: 0; }
.hb-stars  { color: #f59e0b; font-size: 1rem; display: block; }
.hb-label  { font-size: .72rem; color: var(--text-muted); line-height: 1.3; display: block; }
.hb-icon   { font-size: 1.2rem; color: var(--green); }

/* RIGHT — contenedor de imagen a todo el ancho de la página */
.hero-right {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
  margin: 0;
  padding-top: var(--nav-h);    /* espacio debajo del navbar */
}

/* Wrapper sin recorte: permite que la altura sea proporcional a la imagen */
.hero-img-wrap {
  width: 100%;
  display: block;
  line-height: 0;               /* elimina espacio inline debajo de la img */
}

.hero-img {
  width: 100%;                  /* ocupa todo el ancho de la página */
  height: auto;                 /* altura proporcional a la imagen original */
  display: block;

  filter:
    drop-shadow(-20px 0 44px rgba(0,0,0,.18))
    drop-shadow(-6px 16px 30px rgba(0,0,0,.10));

  /* Borde izquierdo suave donde la imagen se funde con el fondo */
  -webkit-mask-image: linear-gradient(
    to right,
    transparent    0%,
    rgba(0,0,0,.45) 8%,
    black          22%,
    black         100%
  );
  mask-image: linear-gradient(
    to right,
    transparent    0%,
    rgba(0,0,0,.45) 8%,
    black          22%,
    black         100%
  );
}

/* Floating logo card — sobre la imagen, esquina superior derecha */
.hero-logo-float {
  position: absolute;
  top: 12%; right: 3%;
  background: var(--white);
  border-radius: var(--radius);
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow-lg);
  z-index: 10;                   /* sobre la imagen y el wrapper */
  animation: float-hero 5s ease-in-out infinite;
}
.hero-logo-float img { height: 40px; width: auto; object-fit: contain; }

/* Priority card — esquina inferior derecha, encima de la imagen */
.hero-priority-card {
  position: absolute;
  bottom: 6%; right: 0;
  width: 210px;
  background: var(--navy);
  border-radius: var(--radius) 0 0 var(--radius);
  padding: 1.1rem 1.3rem;
  display: flex; align-items: flex-start; gap: .75rem;
  z-index: 10;
  box-shadow: var(--shadow-xl);
  animation: float-hero 6.5s ease-in-out infinite reverse;
}
.hpc-icon {
  width: 34px; height: 34px; flex-shrink: 0;
  background: var(--green);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: .95rem; color: var(--white);
}
.hero-priority-card h4 {
  font-size: .72rem; font-weight: 800; color: var(--white);
  text-transform: uppercase; line-height: 1.3; margin-bottom: .25rem;
}
.hero-priority-card p { font-size: .66rem; color: rgba(255,255,255,.65); line-height: 1.4; }

/* ── 07 Services ─────────────────────────────────────────────── */
.services-section {
  padding: 5.5rem 0 5rem;
  background: var(--white);
}
.services-section .section-header { margin-bottom: 3rem; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.svc-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex; flex-direction: column; gap: .8rem;
  transition: var(--transition);
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--green);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s ease;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(60,181,74,.25); }
.svc-card:hover::before { transform: scaleX(1); }

.svc-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--white);
  transition: var(--transition);
}
.svc-card:hover .svc-icon { background: linear-gradient(135deg, var(--green), var(--green-dark)); }

.svc-card h3 {
  font-size: .95rem; font-weight: 700; color: var(--navy); line-height: 1.3;
}
.svc-card p { font-size: .83rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

.svc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--green); font-size: .8rem; font-weight: 700;
  padding-top: .5rem; border-top: 1px solid var(--gray-100);
  transition: var(--transition);
}
.svc-link:hover { gap: .7rem; }

/* ── 08 Why Us + Form ────────────────────────────────────────── */
.why-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

/* Left — Why us panel */
.why-panel {
  background: linear-gradient(160deg, var(--dark) 0%, var(--navy) 100%);
  padding: 4.5rem 4rem 4.5rem 5%;
  display: flex; flex-direction: column; justify-content: center;
}
.why-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: .6rem;
}
.why-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; margin-top: 2rem; }

.wf-item { display: flex; align-items: flex-start; gap: .9rem; }
.wf-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(60,181,74,.15);
  border: 1px solid rgba(60,181,74,.3);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--green);
  transition: var(--transition);
}
.wf-item:hover .wf-icon { background: var(--green); color: var(--white); }
.wf-item h4 { font-size: .88rem; font-weight: 800; color: var(--white); line-height: 1.3; margin-bottom: .3rem; }
.wf-item p  { font-size: .78rem; color: rgba(255,255,255,.6); line-height: 1.5; }

/* Right — Form panel */
.form-panel {
  background: var(--off-white);
  padding: 4.5rem 5% 4.5rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.form-panel-title {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800; color: var(--navy);
  margin-bottom: .6rem;
}

.contact-form-inner { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 1rem; }

.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.cf-group { display: flex; flex-direction: column; }
.cf-group.full { grid-column: 1 / -1; }

.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: .88rem; color: var(--text-body);
  background: var(--white);
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none; appearance: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(60,181,74,.1);
}
.cf-group textarea { resize: vertical; min-height: 110px; }

.btn-submit-form {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  background: var(--green);
  color: var(--white);
  font-weight: 700; font-size: .9rem;
  padding: .95rem;
  border: none; border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-g);
}
.btn-submit-form:hover { background: var(--green-dark); transform: translateY(-2px); }

.form-secure {
  text-align: center;
  font-size: .72rem; color: var(--text-muted);
  margin-top: .4rem;
  display: flex; align-items: center; justify-content: center; gap: .4rem;
}
.form-secure i { color: var(--green); }

.form-success { display: none; text-align: center; padding: 2rem; }
.success-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
  margin: 0 auto 1rem;
  animation: pop-in .4s cubic-bezier(.34,1.56,.64,1) both;
}
.form-success h3 { color: var(--navy); margin-bottom: .4rem; }
.form-success p  { color: var(--text-muted); font-size: .88rem; }

/* ── 09 Testimonios ──────────────────────────────────────────── */
.testi-section {
  padding: 5rem 0;
  background: var(--light);
}

.testi-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 2rem;
  align-items: start;
  margin-top: 2.5rem;
}

.testi-swiper-wrap { overflow: hidden; }

.testimonials-swiper { padding-bottom: 1rem !important; }

/* Nav buttons */
.testi-prev, .testi-next {
  width: 42px !important; height: 42px !important;
  background: var(--white) !important;
  border-radius: 50% !important;
  box-shadow: var(--shadow) !important;
  color: var(--navy) !important;
  top: 35% !important;
}
.testi-prev::after, .testi-next::after { font-size: .8rem !important; font-weight: 900 !important; }
.testi-prev:hover, .testi-next:hover { background: var(--green) !important; color: var(--white) !important; }

/* Testimonial card */
.testi-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex; flex-direction: column; gap: .8rem;
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute; top: .5rem; right: 1.2rem;
  font-family: Georgia, serif;
  font-size: 4rem; line-height: 1;
  color: rgba(60,181,74,.12);
  pointer-events: none;
}
.testi-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.testi-stars { color: #f59e0b; font-size: 1rem; letter-spacing: 2px; }

.testi-card p {
  font-size: .88rem; color: var(--text-muted);
  line-height: 1.65; font-style: italic; flex: 1;
}

.testi-author {
  display: flex; align-items: center; gap: .7rem;
  border-top: 1px solid var(--gray-100); padding-top: .8rem;
}
.testi-av {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 800; color: var(--white);
  flex-shrink: 0;
}
.testi-author strong { font-size: .88rem; color: var(--navy); font-weight: 700; }

/* WhatsApp CTA card */
.whatsapp-cta-card {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2rem 1.6rem;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; gap: 1rem;
  box-shadow: var(--shadow-lg);
  position: sticky; top: 100px;
}
.wc-icon {
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--white);
}
.whatsapp-cta-card h3 {
  font-size: 1rem; font-weight: 900;
  color: var(--white); line-height: 1.2;
}
.whatsapp-cta-card p { font-size: .82rem; color: rgba(255,255,255,.65); }

.btn-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  background: #25d366; color: var(--white);
  font-weight: 700; font-size: .82rem;
  padding: .8rem 1.4rem; border-radius: var(--radius-sm);
  transition: var(--transition); width: 100%; justify-content: center;
}
.btn-wa:hover { background: #1da851; transform: translateY(-2px); }

/* ── 10 Flyers ───────────────────────────────────────────────── */
.flyers-section {
  padding: 5rem 0;
  background: var(--white);
}
.flyers-section .section-header { margin-bottom: 2.5rem; }

.flyers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.flyer-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  line-height: 0;
}
.flyer-card:hover { transform: scale(1.02); box-shadow: var(--shadow-xl); }
.flyer-card img { width: 100%; height: auto; object-fit: cover; }

/* ── 11 Blog ─────────────────────────────────────────────────── */
.blog-section {
  padding: 5rem 0;
  background: var(--light);
}
.blog-section .section-header { margin-bottom: 2.5rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.blog-img-ph {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,.3);
}
.blog-body { padding: 1.4rem; display: flex; flex-direction: column; gap: .7rem; }
.blog-tag {
  display: inline-block;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: .68rem; font-weight: 700;
  padding: .2rem .7rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
}
.blog-body h3 { font-size: .92rem; font-weight: 700; color: var(--navy); line-height: 1.35; }
.blog-link {
  display: inline-flex; align-items: center; gap: .35rem;
  color: var(--green); font-size: .78rem; font-weight: 700;
  transition: var(--transition);
}
.blog-link:hover { gap: .6rem; }

/* ── 11b Blog image (real photos) ───────────────────────────── */
.blog-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.blog-card:hover .blog-img { transform: scale(1.04); }

/* ── 11c Team Section ────────────────────────────────────────── */
.team-section {
  padding: 5rem 0;
  background: var(--off-white);
}
.team-section .section-header { margin-bottom: 3rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-xl); }

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform .5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.04); }

.team-info { padding: 1.4rem 1.2rem 1.6rem; }
.team-info h3 {
  font-size: 1.05rem; font-weight: 800;
  color: var(--navy); margin-bottom: .35rem;
}
.team-role {
  display: inline-block;
  background: var(--green-light); color: var(--green-dark);
  font-size: .68rem; font-weight: 700;
  padding: .2rem .8rem; border-radius: 50px;
  text-transform: uppercase; letter-spacing: 1px;
  margin-bottom: .85rem;
}
.team-info p {
  font-size: .82rem; color: var(--text-muted);
  line-height: 1.6; margin-bottom: 1rem;
}
.team-socials { display: flex; gap: .5rem; justify-content: center; }
.team-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--gray-100);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: .82rem;
  transition: var(--transition);
}
.team-socials a:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ── 12 Mapa ─────────────────────────────────────────────────── */
.map-section { overflow: hidden; }

.map-info-bar {
  background: var(--navy);
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap;
  gap: 0;
  padding: 1.2rem 2rem;
}
.mib-item {
  display: flex; align-items: center; gap: .6rem;
  padding: .5rem 1.8rem;
  border-right: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.85);
  font-size: .83rem;
}
.mib-item:last-child { border-right: none; }
.mib-item i { color: var(--green); font-size: .95rem; flex-shrink: 0; }
.mib-item a { color: rgba(255,255,255,.85); transition: color var(--transition); }
.mib-item a:hover { color: var(--green); }

.map-embed {
  height: 420px;
  background: var(--light);
  display: flex; align-items: center; justify-content: center;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.map-placeholder-block {
  display: flex; flex-direction: column;
  align-items: center; gap: 1rem;
  color: var(--text-muted); text-align: center;
}
.map-placeholder-block i { font-size: 3rem; color: var(--green); }
.map-placeholder-block p { font-size: .9rem; line-height: 1.5; }

.btn-map {
  display: inline-flex; align-items: center; gap: .5rem;
  background: var(--green); color: var(--white);
  font-weight: 700; font-size: .85rem;
  padding: .7rem 1.6rem; border-radius: var(--radius-sm);
  transition: var(--transition);
}
.btn-map:hover { background: var(--green-dark); transform: translateY(-2px); }

/* ── 13 Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--dark);
}
.footer-main { padding: 4rem 0 3rem; }

.footer-grid {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr 1.4fr;
  gap: 3rem;
}

.footer-logo-img { height: 52px; width: auto; object-fit: contain; margin-bottom: 1rem; }
.footer-brand-col > p {
  color: rgba(255,255,255,.5);
  font-size: .83rem; line-height: 1.7; margin-bottom: 1.4rem;
}

.footer-socials { display: flex; gap: .6rem; }
.footer-socials a {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--white);
  transition: var(--transition);
}
.fs-fb { background: #1877f2; }
.fs-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.fs-wa { background: #25d366; }
.footer-socials a:hover { transform: translateY(-3px) scale(1.1); }

.footer-col h4 {
  color: var(--white); font-size: .8rem; font-weight: 800;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 1.2rem;
  position: relative; padding-bottom: .6rem;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 24px; height: 2px;
  background: var(--green); border-radius: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul a {
  color: rgba(255,255,255,.5);
  font-size: .83rem;
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--green); padding-left: 4px; }

.footer-contact-list { gap: .8rem !important; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: .6rem;
  color: rgba(255,255,255,.55); font-size: .83rem;
}
.footer-contact-list i { color: var(--green); font-size: .9rem; flex-shrink: 0; margin-top: .1rem; }
.footer-contact-list a { color: rgba(255,255,255,.55); transition: color var(--transition); }
.footer-contact-list a:hover { color: var(--green); }
.footer-contact-list span { line-height: 1.45; }

.footer-desc { color: rgba(255,255,255,.45); font-size: .82rem; line-height: 1.6; margin-bottom: 1rem; }
.fnl-wrap { display: flex; gap: .5rem; }
.fnl-wrap input {
  flex: 1;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-sm);
  color: var(--white);
  padding: .65rem 1rem; font-size: .83rem; outline: none;
  transition: border-color var(--transition);
}
.fnl-wrap input::placeholder { color: rgba(255,255,255,.3); }
.fnl-wrap input:focus { border-color: var(--green); }
.fnl-wrap button {
  width: 42px; height: 40px;
  background: var(--green);
  border: none; border-radius: var(--radius-sm);
  color: var(--white); font-size: .88rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); flex-shrink: 0;
}
.fnl-wrap button:hover { background: var(--green-dark); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  max-width: 1280px; margin: 0 auto;
  padding: 1.5rem 2rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: .8rem;
}
.footer-bottom p { color: rgba(255,255,255,.35); font-size: .78rem; }
.footer-links { display: flex; align-items: center; gap: .8rem; }
.footer-links a { color: rgba(255,255,255,.35); font-size: .78rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--green); }
.footer-links span { color: rgba(255,255,255,.2); }

.footer-madeby {
  background: rgba(0,0,0,.25);
  border-top: 1px solid rgba(255,255,255,.05);
  padding: .65rem 2rem;
  display: flex; align-items: center; justify-content: center; gap: .75rem;
  font-size: .72rem; color: rgba(255,255,255,.3);
  letter-spacing: .5px;
}
.madeby-logo {
  height: 22px; width: auto; display: block;
  opacity: .75;
  transition: opacity var(--transition);
}
.madeby-logo:hover { opacity: 1; }
.madeby-wa {
  width: 28px; height: 28px;
  background: #25d366; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: .88rem;
  transition: transform var(--transition);
}
.madeby-wa:hover { transform: scale(1.12); }

/* ── 14 Iconos sociales circulares fijos — lado izquierdo ───── */
.social-fixed-bar {
  position: fixed;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 850;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.sfb-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,.25);
  transition: var(--transition);
  position: relative;
}

/* Tooltip con el nombre de la red */
.sfb-btn::after {
  content: attr(aria-label);
  position: absolute;
  left: calc(100% + .7rem);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark);
  color: var(--white);
  font-size: .72rem;
  font-weight: 600;
  white-space: nowrap;
  padding: .3rem .7rem;
  border-radius: var(--radius-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.sfb-btn:hover { transform: scale(1.14); box-shadow: 0 6px 22px rgba(0,0,0,.35); }
.sfb-btn:hover::after { opacity: 1; }

.sfb-ig { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sfb-wa { background: #25d366; }
.sfb-fb { background: #1877f2; }

/* ── 15 Back-to-Top ──────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: calc(54px + 1rem); right: 1.2rem;
  z-index: 840;
  width: 44px; height: 44px;
  background: var(--navy);
  border: 2px solid rgba(60,181,74,.4);
  border-radius: 10px;
  color: var(--white); font-size: .9rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--green); border-color: var(--green); transform: translateY(-3px); }

/* ── 16 Chatbot ──────────────────────────────────────────────── */
.chat-fab {
  position: fixed;
  bottom: calc(54px + 1rem); right: 1.2rem;
  /* si back-to-top está visible, el fab se mueve arriba automáticamente */
  z-index: 999;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%; border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(60,181,74,.5);
  transition: var(--transition);
}
.chat-fab:hover { transform: scale(1.08); }
.chat-fab::before {
  content: ''; position: absolute; inset: -6px;
  border: 2px solid rgba(60,181,74,.3); border-radius: 50%;
  animation: pulse-ring 2.5s ease-out infinite;
}

.chat-notif {
  position: absolute; top: -4px; right: -4px;
  width: 20px; height: 20px;
  background: #ef4444; border-radius: 50%;
  border: 2px solid var(--white);
  font-size: .62rem; font-weight: 800; color: var(--white);
  display: flex; align-items: center; justify-content: center;
}

.chat-panel {
  position: fixed;
  bottom: calc(54px + 58px + 1.5rem);
  right: 1.2rem;
  z-index: 998;
  width: 340px;
  max-height: calc(100dvh - 54px - 58px - 2rem - 1rem);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(26,26,46,.25);
  overflow: hidden;
  display: flex; flex-direction: column;
  transform: scale(.88) translateY(14px);
  opacity: 0; pointer-events: none;
  transition: var(--transition);
  transform-origin: bottom right;
  border: 1px solid var(--gray-100);
}
.chat-panel.open { transform: scale(1) translateY(0); opacity: 1; pointer-events: all; }

.chat-panel-header {
  background: linear-gradient(135deg, var(--dark), var(--navy));
  padding: 1rem 1.2rem;
  display: flex; align-items: center; gap: .8rem;
  flex-shrink: 0;
}
.chat-avatar-wrap { position: relative; flex-shrink: 0; }
.chat-avatar-img {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--white);
}
.chat-status-dot {
  position: absolute; bottom: 0; right: 0;
  width: 11px; height: 11px;
  background: #22c55e; border-radius: 50%; border: 2px solid var(--dark);
  animation: pulse-green 2s ease-in-out infinite;
}
.chat-panel-info { flex: 1; }
.chat-panel-info strong { display: block; color: var(--white); font-size: .88rem; }
.chat-panel-info span  { font-size: .7rem; color: rgba(255,255,255,.55); }
.chat-panel-close {
  background: rgba(255,255,255,.1); border: none; border-radius: 8px;
  width: 28px; height: 28px; cursor: pointer; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-panel-close:hover { background: rgba(255,255,255,.2); }

.chat-body {
  flex: 1; min-height: 100px;
  overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: .7rem;
  scroll-behavior: smooth;
}
.chat-body::-webkit-scrollbar { width: 4px; }
.chat-body::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 2px; }

.chat-welcome { display: flex; gap: .6rem; align-items: flex-end; }
.cw-avatar {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .65rem; color: var(--white); flex-shrink: 0;
}
.cw-bubble {
  background: var(--light); border-radius: 14px 14px 14px 4px;
  padding: .65rem .9rem; font-size: .83rem; line-height: 1.5;
  color: var(--text-body); max-width: 85%;
  animation: msg-in .3s both;
}

.chat-msg { display: flex; gap: .5rem; align-items: flex-end; animation: msg-in .3s both; }
.chat-msg.user { flex-direction: row-reverse; }
.chat-msg .msg-avatar {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: .6rem; color: var(--white);
}
.chat-msg.user .msg-avatar { background: linear-gradient(135deg, var(--navy), var(--blue)); }
.msg-bubble {
  max-width: 82%; padding: .6rem .85rem; border-radius: 12px; font-size: .83rem; line-height: 1.5;
}
.chat-msg.bot .msg-bubble  { background: var(--light); color: var(--text-body); border-bottom-left-radius: 4px; }
.chat-msg.user .msg-bubble { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--white); border-bottom-right-radius: 4px; }

.chat-quick-replies {
  display: flex; flex-wrap: wrap; gap: .4rem;
  padding: .7rem 1rem; border-top: 1px solid var(--gray-100); flex-shrink: 0;
}
.qr-btn {
  background: var(--light); border: 1px solid var(--gray-300);
  color: var(--navy); font-size: .72rem; font-weight: 600;
  padding: .3rem .75rem; border-radius: 50px; cursor: pointer;
  transition: var(--transition);
}
.qr-btn:hover { background: var(--green); color: var(--white); border-color: var(--green); }

.chat-input-row {
  display: flex; gap: .5rem; padding: .8rem 1rem;
  border-top: 1px solid var(--gray-100); flex-shrink: 0;
}
.chat-text-input {
  flex: 1; border: 1.5px solid var(--gray-300);
  border-radius: 50px; padding: .5rem .9rem;
  font-size: .83rem; outline: none;
  transition: border-color var(--transition);
}
.chat-text-input:focus { border-color: var(--green); }
.chat-send-btn {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border: none; border-radius: 50%; cursor: pointer;
  color: var(--white); font-size: .88rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.chat-send-btn:hover { transform: scale(1.08); }

/* ── 17 Keyframes ────────────────────────────────────────────── */
@keyframes spin-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes pulse-ring { 0% { transform:scale(1); opacity:.8; } 100% { transform:scale(1.6); opacity:0; } }
@keyframes pulse-green { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.4)} 50%{box-shadow:0 0 0 5px rgba(34,197,94,0)} }
@keyframes pop-in { from{transform:scale(0)} to{transform:scale(1)} }
@keyframes msg-in { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
@keyframes float-hero {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

/* ── 18 Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand-col { grid-column: 1 / -1; }
  .testi-layout { grid-template-columns: 1fr; }
  .whatsapp-cta-card { position: static; max-width: 360px; margin: 0 auto; }
}

@media (max-width: 900px) {
  /* Tablet: imagen a ancho completo, texto superpuesto */
  .hero-section::before { width: 100%; opacity: 0.10; }
  .hero-section::after  { display: none; }
  .hero-left { width: 65%; padding: calc(var(--nav-h) + 1rem) 2rem 2rem 4%; }
  .hero-right { padding-top: var(--nav-h); }

  .services-grid { grid-template-columns: 1fr 1fr; }
  .why-form-section { grid-template-columns: 1fr; }
  .why-panel { padding: 3.5rem 5%; }
  .form-panel { padding: 3.5rem 5%; }
  .why-features { grid-template-columns: 1fr 1fr; }

  .flyers-grid { grid-template-columns: 1fr; max-width: 500px; margin: 0 auto; }
  .blog-grid   { grid-template-columns: 1fr 1fr; }
  .team-grid   { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu { display: none; }
  .btn-nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-menu.mobile-open {
    display: flex; flex-direction: column;
    position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(26,26,46,.98);
    backdrop-filter: blur(20px);
    padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
    gap: 1.5rem; z-index: 800;
  }
  .nav-menu.mobile-open .nav-list { flex-direction: column; gap: 0; width: 100%; }
  .nav-menu.mobile-open .nav-link {
    font-size: 1.3rem; color: var(--white);
    padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.07); display: block;
  }
  .nav-menu.mobile-open .nav-link:hover { color: var(--green); background: none; }
  .nav-menu.mobile-open + .btn-nav-cta { display: none; }

  .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .cf-row-2 { grid-template-columns: 1fr; }
  .why-features { grid-template-columns: 1fr; }

  .mib-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); width: 100%; }
  .map-info-bar { flex-direction: column; align-items: flex-start; padding: 1.5rem 1.5rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Móvil: imagen como fondo recortada por la derecha, texto con overlay */
  .hero-left {
    position: relative;
    top: auto; left: auto; bottom: auto;
    width: 100%;
    padding: calc(var(--nav-h) + 1.5rem) 5% 3rem;
    min-height: auto;
    z-index: 3;
    background: linear-gradient(to right,
      rgba(240,241,243,.82) 0%,
      rgba(240,241,243,.65) 45%,
      rgba(240,241,243,.22) 78%,
      rgba(240,241,243,0)   100%);
  }
  .hero-right {
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    padding-top: 0;
    z-index: 1;
  }
  .hero-img-wrap { height: 100%; overflow: hidden; }
  .hero-img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: right center;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-logo-float,
  .hero-priority-card { display: none; }

  .hero-btns { flex-direction: column; }
  .btn-hero-primary, .btn-hero-outline { justify-content: center; }

  /* iconos sociales más pequeños en móvil */
  .social-fixed-bar { left: .6rem; gap: .5rem; }
  .sfb-btn { width: 38px; height: 38px; font-size: .95rem; }
  .sfb-btn::after { display: none; }          /* ocultar tooltip en móvil */

  .chat-panel { width: calc(100vw - 2rem); right: 1rem; }
  .blog-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badges { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .hb-divider { display: none; }
  .hb-item { padding: .3rem 0; }
}
