:root{
  --navy:#0b2858;
  --navy-2:#113d7d;
  --blue:#1f68f3;
  --blue-dark:#0f4ecb;
  --soft:#f3f6fb;
  --text:#12243e;
  --muted:#61718c;
  --line:#dbe4f0;
  --white:#ffffff;
  --shadow:0 28px 70px rgba(13,33,71,.12);
  --shadow-soft:0 18px 36px rgba(13,33,71,.08);
  --radius:26px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:'Inter',system-ui,sans-serif;
  color:var(--text);
  background:linear-gradient(180deg,#eef3f9 0%, #f7f9fc 320px, #f4f7fb 100%);
}

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

.container{
  width:min(1280px,calc(100% - 32px));
  margin:0 auto;
}

.section{padding:88px 0}
.alt-bg{background:#eef3f9}
.center{text-align:center}

.lead{
  font-size:1.08rem;
  line-height:1.8;
  color:#4f627f;
}

.section-tag{
  display:inline-flex;
  align-items:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.20);
  color:#fff;
  font-size:.88rem;
  font-weight:800;
  margin-bottom:14px;
  border:1px solid rgba(255,255,255,.16);
  backdrop-filter:blur(8px);
}

.section-head{
  max-width:760px;
  margin:0 auto 42px;
}

.section-head h2{
  margin:0 0 14px;
  font-size:clamp(2rem,3vw,3rem);
  letter-spacing:-.03em;
}

.section-head p{
  margin:0;
  color:var(--muted);
  font-size:1.05rem;
  line-height:1.75;
}

/* HEADER */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  padding:10px 0;
  transition:padding .25s ease, transform .25s ease;
  backdrop-filter:blur(14px);
}

.site-header.is-scrolled{
  padding:10px 0;
}

.header-shell{
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(12px);
  border:1px solid rgba(220,228,239,.95);
  border-radius:24px;
  box-shadow:var(--shadow-soft);
  display:grid;
  grid-template-columns:320px 1fr auto;
  align-items:center;
  gap:18px;
  padding:12px 18px;
  position:relative;
  overflow:visible;
}

.site-header.is-scrolled .header-shell{
  box-shadow:0 18px 34px rgba(13,33,71,.10);
  border-color:rgba(210,221,237,.95);
  background:rgba(255,255,255,.97);
}

.brand{
  width:320px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  overflow:visible;
}

.brand img{
  height:74px;
  width:auto;
  max-width:none;
  object-fit:contain;
  display:block;

  transform: scale(3.0) translateY(5px); /* 🔥 BAJA EL LOGO */
  transform-origin: left center;

  animation:none !important;
  transition:none !important;
  filter:drop-shadow(0 10px 18px rgba(14,50,118,.10));
}
.nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:26px;
}

.nav a{
  position:relative;
  color:#24416b;
  font-weight:700;
  padding:10px 0;
  transition:color .2s ease, opacity .2s ease, transform .2s ease;
}

.nav a:hover{
  transform:translateY(-1px);
}

.nav a.active,
.nav a:hover{
  color:var(--navy);
}

.nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-8px;
  height:3px;
  border-radius:999px;
  background:var(--blue);
  transition:transform .25s ease, opacity .25s ease, background .25s ease;
  transform:scaleX(.55);
  transform-origin:center;
  opacity:0;
}

.nav a.active::after,
.nav a:hover::after{
  transform:scaleX(1);
  opacity:1;
}

.header-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:12px;
}

.header-phone{
  display:inline-flex;
  align-items:center;
  background:#f4f8ff;
  color:#4b6387;
  padding:12px 14px;
  border-radius:14px;
  font-weight:700;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.header-phone:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.menu-toggle{
  display:none;
  border:0;
  width:46px;
  height:46px;
  border-radius:14px;
  background:#eef4ff;
  color:var(--navy);
  font-size:1.25rem;
}

/* BOTONES */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-radius:14px;
  padding:15px 22px;
  font-weight:800;
  border:1px solid transparent;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, filter .2s ease;
  cursor:pointer;
}

.btn:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.btn-primary{
  color:#fff;
  background:linear-gradient(180deg,var(--blue) 0%, var(--blue-dark) 100%);
  box-shadow:0 16px 30px rgba(31,104,243,.22);
}

.btn-light{
  color:#fff;
  background:rgba(255,255,255,.08);
  border-color:rgba(255,255,255,.34);
  backdrop-filter:blur(8px);
}

.btn-outline{
  color:var(--navy);
  border-color:#c6d5ec;
  background:#fff;
}

/* HERO */
.hero-home{
  padding:4px 0 80px;
}

.hero-carousel{
  position:relative;
  min-height:720px;
  border-radius:32px;
  overflow:hidden;
  box-shadow:var(--shadow);
  background:#0a1f46;
  border:1px solid rgba(220,228,239,.65);
}

.hero-carousel::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 18% 22%, rgba(67,133,255,.12), transparent 26%);
  pointer-events:none;
  z-index:1;
}

.hero-carousel::after{
  content:"";
  position:absolute;
  right:44px;
  bottom:42px;
  width:128px;
  height:128px;
  background:url('assets/img/logo-p.png') center/contain no-repeat;
  opacity:.12;
  pointer-events:none;
  filter:drop-shadow(0 12px 28px rgba(9,35,82,.18));
  z-index:2;
}

.hero-slide{
  position:absolute;
  inset:0;
  background-size:cover;
  background-repeat:no-repeat;
  background-position:center;
  opacity:0;
  visibility:hidden;
  transition:opacity .7s ease, visibility .7s ease;
  transform:scale(1.02);
}

.hero-slide.active{
  opacity:1;
  visibility:visible;
  animation:heroZoom 5.2s ease both;
}

.hero-slide-1{background-position:76% center}
.hero-slide-2{background-position:68% center}
.hero-slide-3{background-position:72% center}

@keyframes heroZoom{
  from{transform:scale(1.04)}
  to{transform:scale(1)}
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(4,20,48,.94) 0%, rgba(4,20,48,.88) 24%, rgba(4,20,48,.48) 52%, rgba(4,20,48,.18) 100%),
    linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
}

.hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,600px) 1fr;
  align-items:center;
  height:720px;
  padding:0 84px;
}

.hero-copy{
  color:#fff;
  max-width:640px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  font-size:.9rem;
  font-weight:800;
  margin-bottom:22px;
}

.hero-copy h1,
.hero-copy h2{
  margin:0 0 18px;
  color:#fff;
  font-size:clamp(2.7rem,4.9vw,4.35rem);
  line-height:1.05;
  letter-spacing:-.04em;
  text-wrap:balance;
}

.hero-copy p{
  margin:0;
  color:rgba(255,255,255,.88);
  font-size:1.17rem;
  line-height:1.75;
  max-width:560px;
}

.hero-actions-row{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.carousel-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  width:56px;
  height:56px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(255,255,255,.10);
  color:#fff;
  font-size:2rem;
  display:grid;
  place-items:center;
  backdrop-filter:blur(8px);
  cursor:pointer;
  transition:background .2s ease, transform .2s ease, box-shadow .2s ease;
}

.carousel-arrow:hover{
  background:rgba(255,255,255,.18);
  box-shadow:0 10px 24px rgba(6,22,50,.18);
  transform:translateY(-50%) scale(1.03);
}

.carousel-arrow.prev{left:24px}
.carousel-arrow.next{right:24px}

.carousel-dots{
  position:absolute;
  left:76px;
  bottom:30px;
  z-index:3;
  display:flex;
  gap:10px;
}

.dot{
  width:12px;
  height:12px;
  border-radius:999px;
  border:0;
  background:rgba(255,255,255,.35);
  cursor:pointer;
  transition:all .25s ease;
}

.dot.active{
  width:36px;
  background:#fff;
  box-shadow:0 0 0 4px rgba(255,255,255,.16);
}

.trust-strip{
  position:relative;
  z-index:4;
  width:min(1140px, calc(100% - 40px));
  margin:30px auto 0;
  background:#fff;
  border-radius:26px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
}

.trust-strip article{
  padding:28px 22px;
  border-right:1px solid var(--line);
}

.trust-strip article:last-child{
  border-right:0;
}

.icon-wrap{
  width:64px;
  height:64px;
  border-radius:999px;
  display:grid;
  place-items:center;
  background:#edf4ff;
  color:var(--blue-dark);
  font-weight:800;
  font-size:1.4rem;
  margin-bottom:16px;
}

.trust-strip strong,
.mini-card h3,
.service-card h3,
.info-card h3,
.feature-panel h3{
  font-size:1.2rem;
}

.trust-strip p,
.mini-card p,
.service-card p,
.info-card p,
.feature-panel p{
  color:var(--muted);
  line-height:1.7;
  margin:8px 0 0;
}

/* METRICS */
.metrics-strip{
  margin:22px auto 0;
  background:linear-gradient(90deg,#0b2f6f,#0d4fb9);
  color:#fff;
  border-radius:24px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}

.metrics-strip article{
  padding:26px 22px;
  border-right:1px solid rgba(255,255,255,.14);
}

.metrics-strip article:last-child{
  border-right:0;
}

.metrics-strip strong{
  display:block;
  font-size:2rem;
  line-height:1;
}

.metrics-strip span{
  display:block;
  margin-top:8px;
  color:rgba(255,255,255,.82);
  line-height:1.55;
}

.page-hero{
  position:relative;
  padding:120px 0 96px;
  margin-top:-18px;
  color:#fff;
  box-shadow:var(--shadow-soft);
  border-bottom-left-radius:32px;
  border-bottom-right-radius:32px;
  overflow:hidden;

  background-image:
    linear-gradient(90deg, rgba(8,27,58,.88) 0%, rgba(8,27,58,.74) 38%, rgba(8,27,58,.42) 66%, rgba(8,27,58,.22) 100%),
    var(--hero-image);

  background-position:center;
  background-size:cover;
  background-repeat:no-repeat;
}

.page-hero h1{
  margin:0 0 16px;
  font-size:clamp(2.4rem,4vw,4rem);
  line-height:1.06;
  letter-spacing:-.04em;
}

.page-hero p{
  margin:0;
  max-width:760px;
  color:rgba(255,255,255,.86);
  font-size:1.14rem;
  line-height:1.8;
}

/* GRIDS / CARDS */
.card-grid{
  display:grid;
  gap:24px;
}

.card-grid.three{
  grid-template-columns:repeat(3,1fr);
}

.icon-grid.four{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}

.service-card,
.mini-card,
.info-card,
.feature-panel,
.legal-box{
  background:#fff;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.service-card:hover,
.mini-card:hover,
.info-card:hover,
.feature-panel:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 46px rgba(13,33,71,.12);
  border-color:#cfdcec;
}

.service-card{
  overflow:hidden;
}

.service-card img{
  width:100%;
  height:240px;
  object-fit:cover;
}

.service-card-body{
  padding:24px;
}

.service-card a{
  display:inline-flex;
  margin-top:14px;
  color:var(--blue-dark);
  font-weight:800;
}

.mini-card{
  padding:28px;
}

.info-card,
.feature-panel{
  padding:30px;
}

.legal-box{
  padding:34px;
  line-height:1.9;
  color:#41536f;
}

/* SPLIT */
.split-layout{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:28px;
  align-items:start;
}

.steps-list{
  display:grid;
  gap:16px;
  margin-top:26px;
}

.steps-list article{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  border-radius:22px;
  padding:22px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.steps-list article:hover{
  transform:translateY(-4px);
  box-shadow:0 24px 46px rgba(13,33,71,.12);
  border-color:#cfdcec;
}

.steps-list strong{
  display:block;
  margin-bottom:8px;
  font-size:1.06rem;
}

.steps-list p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.feature-list{
  margin:0;
  padding-left:20px;
  display:grid;
  gap:10px;
  color:#465a78;
  line-height:1.7;
}

/* FORM */
.contact-form{
  background:#fff;
  border:1px solid var(--line);
  box-shadow:var(--shadow-soft);
  border-radius:24px;
  padding:28px;
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.form-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

.contact-form label{
  display:grid;
  gap:8px;
  font-weight:700;
  color:#233a63;
  margin-bottom:18px;
}

.contact-form input,
.contact-form textarea,
.contact-form select{
  width:100%;
  border:1px solid #cfdcec;
  border-radius:14px;
  padding:14px 16px;
  background:#fbfdff;
}

.contact-form textarea{
  resize:vertical;
  min-height:140px;
}

/* CTA */
.cta-band{
  padding:0 0 84px;
}

.cta-band-inner{
  background:linear-gradient(135deg,#0b2d68 0%, #0f53c6 100%);
  border-radius:28px;
  color:#fff;
  box-shadow:var(--shadow);
  padding:40px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.cta-band .section-tag{
  margin-bottom:16px;
}

.cta-band h3{
  margin:0 0 12px;
  font-size:2rem;
  letter-spacing:-.03em;
}

.cta-band p{
  margin:0;
  color:rgba(255,255,255,.85);
  line-height:1.75;
}

.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

/* FOOTER */
.site-footer{
  background:
    radial-gradient(circle at top left, rgba(25,91,214,.16), transparent 28%),
    linear-gradient(180deg,#0b1f43 0%, #08162f 100%);
  color:#d9e2f0;
  padding:72px 0 24px;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1fr;
  gap:28px;
  align-items:start;
}

.footer-brand{
  max-width:480px;
}

.footer-brand img{
  height:54px;
  width:auto;
  margin-bottom:16px;
  filter:brightness(0) invert(1);
}

.footer-brand-mark{
  width:130px !important;
  height:auto !important;
  margin-bottom:20px;
  transition:transform .45s cubic-bezier(.22,1,.36,1), filter .45s ease;
  animation:footerLogoGlow 4.8s ease-in-out infinite;
  transform-origin:center;
  filter:drop-shadow(0 14px 24px rgba(25,91,214,.20));
}

.footer-brand:hover .footer-brand-mark{
  transform:translateY(-2px) scale(1.03);
  filter:
    drop-shadow(0 0 16px rgba(86,190,255,.42))
    drop-shadow(0 18px 26px rgba(25,91,214,.24));
}

@keyframes footerLogoGlow{
  0%,100%{
    filter:drop-shadow(0 14px 24px rgba(25,91,214,.20));
  }
  50%{
    filter:
      drop-shadow(0 0 12px rgba(86,190,255,.30))
      drop-shadow(0 14px 24px rgba(25,91,214,.24));
  }
}

.site-footer h4{
  margin:0 0 14px;
  color:#fff;
}

.site-footer ul{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:6px;
}

.site-footer p,
.site-footer li,
.site-footer a{
  color:#c7d2e6;
  line-height:1.7;
}

.site-footer ul li{
  margin-bottom:8px;
}

.site-footer ul li,
.site-footer a{
  word-break:normal;
  overflow-wrap:anywhere;
}

.footer-grid > div:last-child{
  padding-left:8px;
}

.footer-bottom{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.12);
  color:#aebdd6;
}

.footer-contact-list{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
}

.footer-contact-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
}

.footer-contact-list i{
  width:18px;
  margin-top:5px;
  color:#ffffff;
  opacity:.95;
  flex:0 0 18px;
}

.footer-contact-list span,
.footer-contact-list a{
  color:#d8e3f6;
  line-height:1.65;
}

.footer-logo{
  width:110px;
  height:auto;
  margin-bottom:20px;
  display:block;
  filter:
    drop-shadow(0 0 12px rgba(0,180,255,0.6))
    drop-shadow(0 10px 30px rgba(0,100,255,0.25));
}

/* WHATSAPP */
.whatsapp-float{
  position:fixed;
  right:28px;
  bottom:96px;
  z-index:58;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:64px;
  height:64px;
  min-width:64px;
  padding:0;
  border-radius:50%;
  background:#25D366;
  color:#fff;
  font-weight:800;
  font-size:28px;
  box-shadow:0 18px 32px rgba(37,211,102,.28);
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.whatsapp-float:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.whatsapp-float i{
  line-height:1;
}

/* CHATBOT */
.chatbot-panel{
  position:fixed;
  right:28px;
  bottom:96px;
  z-index:60;
  width:340px;
  max-width:calc(100vw - 24px);
  background:#fff;
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 24px 60px rgba(9,26,57,.20);
  overflow:hidden;
  opacity:0;
  visibility:hidden;
  transform:translateY(16px);
  transition:.25s ease;
}

.chatbot-panel.is-open{
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.chatbot-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:12px;
  padding:18px 18px 14px;
  background:linear-gradient(180deg,#0f57ce,#0b3f98);
  color:#fff;
}

.chatbot-head strong{
  display:block;
  font-size:1.1rem;
}

.chatbot-head p{
  margin:4px 0 0;
  color:rgba(255,255,255,.82);
  font-size:.92rem;
}

.chatbot-close{
  border:0;
  background:transparent;
  color:#fff;
  font-size:1.8rem;
  line-height:1;
  cursor:pointer;
}

.chatbot-body{
  padding:16px;
  display:grid;
  gap:10px;
}

.chatbot-bubble{
  border-radius:16px;
  padding:14px 14px;
  line-height:1.65;
}

.chatbot-bubble-bot{
  background:#eef4ff;
  color:#183763;
}

.chatbot-option,
.chatbot-link{
  display:block;
  width:100%;
  text-align:center;
  border-radius:14px;
  padding:13px 14px;
  font-weight:700;
}

.chatbot-option{
  border:1px solid #d7e2f1;
  background:#fff;
  color:#1c355f;
}

.chatbot-link{
  background:#0f57ce;
  color:#fff;
}

.chatbot-toggle{
  position:fixed;
  right:28px;
  bottom:28px;
  z-index:59;
  border:0;
  border-radius:999px;
  padding:14px 20px;
  min-width:112px;
  justify-content:center;
  font-weight:800;
  letter-spacing:.01em;
  color:#fff;
  background:linear-gradient(180deg,#0f57ce,#0b3f98);
  box-shadow:0 16px 32px rgba(15,87,206,.28);
  cursor:pointer;
  display:none;
  transition:transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.chatbot-toggle:hover{
  transform:translateY(-2px);
  filter:saturate(1.05);
}

.chatbot-toggle.is-visible{
  display:inline-flex;
}

.chatbot-form{
  display:grid;
  gap:10px;
}

.chatbot-field{
  display:grid;
  gap:6px;
}

.chatbot-field span{
  font-size:.86rem;
  font-weight:700;
  color:#1c355f;
}

.chatbot-field input,
.chatbot-field select,
.chatbot-field textarea{
  width:100%;
  border:1px solid #d7e2f1;
  border-radius:12px;
  padding:11px 12px;
  font:inherit;
  color:#183763;
  background:#fff;
}

.chatbot-field textarea{
  resize:vertical;
  min-height:92px;
}

.chatbot-field input:focus,
.chatbot-field select:focus,
.chatbot-field textarea:focus{
  outline:none;
  border-color:#0f57ce;
  box-shadow:0 0 0 3px rgba(15,87,206,.12);
}

.chatbot-actions{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.chatbot-back,
.chatbot-submit{
  border:0;
  border-radius:12px;
  padding:12px 14px;
  font-weight:800;
  cursor:pointer;
}

.chatbot-back{
  background:#eef4ff;
  color:#1c355f;
}

.chatbot-submit{
  color:#fff;
  background:linear-gradient(180deg,#0f57ce,#0b3f98);
  box-shadow:0 14px 24px rgba(15,87,206,.18);
}

.chatbot-submit:disabled{
  opacity:.7;
  cursor:wait;
}

.chatbot-status{
  min-height:20px;
  font-size:.88rem;
  color:#1c355f;
}

.chatbot-status.is-error{
  color:#b3261e;
}

/* RESPONSIVE */
@media (max-width: 1100px){
  .nav{display:none}

  .menu-toggle{
    display:inline-grid;
    place-items:center;
  }

  .nav.is-open{
    display:grid;
    position:absolute;
    left:16px;
    right:16px;
    top:88px;
    background:#fff;
    border:1px solid var(--line);
    border-radius:22px;
    padding:16px;
    gap:2px;
    box-shadow:var(--shadow-soft);
  }

  .nav.is-open a{
    padding:14px 12px;
    border-radius:14px;
    background:#f7faff;
  }

  .nav.is-open a.active{
    background:#eaf1ff;
  }

  .hero-grid{
    grid-template-columns:1fr;
    padding:0 52px;
  }

  .trust-strip,
  .metrics-strip,
  .card-grid.three,
  .icon-grid.four,
  .split-layout,
  .footer-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media (max-width: 1180px){
  .header-shell{
    grid-template-columns:270px 1fr auto;
  }

  .brand{
    width:270px;
  }

  .brand img{
    height:98px;
  }

  .hero-carousel{
    min-height:660px;
  }

  .hero-grid{
    height:660px;
    padding:0 56px;
  }

  .hero-slide-1{background-position:73% center}
  .hero-slide-2{background-position:66% center}
  .hero-slide-3{background-position:70% center}
}

@media (max-width: 980px){
  .header-shell{
    grid-template-columns:230px 1fr auto;
  }

  .brand{
    width:230px;
  }

  .brand img{
    height:84px;
  }

  .hero-carousel{
    min-height:620px;
  }

  .hero-grid{
    height:620px;
    padding:0 40px;
  }

  .hero-slide-1{background-position:70% center}
  .hero-slide-2{background-position:64% center}
  .hero-slide-3{background-position:68% center}
}

@media (max-width: 760px){
  .header-shell{
    grid-template-columns:1fr auto;
  }

  .header-actions .header-phone{
    display:none;
  }

  .header-cta{
    display:none;
  }

  .brand{
    width:180px;
  }

  .brand img{
    height:72px;
  }

  .hero-home{
    padding-bottom:60px;
  }

  .hero-carousel,
  .hero-grid{
    min-height:600px;
    height:600px;
    border-radius:26px;
  }

  .hero-grid{
    padding:0 28px;
  }

  .hero-copy h1,
  .hero-copy h2{
    font-size:2.35rem;
  }

  .hero-copy p{
    font-size:1rem;
  }

  .carousel-dots{
    left:28px;
  }

  .carousel-arrow{
    width:48px;
    height:48px;
  }

  .hero-slide-1{background-position:64% center}
  .hero-slide-2{background-position:61% center}
  .hero-slide-3{background-position:63% center}

  .trust-strip{
    margin:20px auto 0;
  }

  .trust-strip,
  .metrics-strip,
  .card-grid.three,
  .icon-grid.four,
  .split-layout,
  .form-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .trust-strip article,
  .metrics-strip article{
    border-right:0;
    border-bottom:1px solid var(--line);
  }

  .metrics-strip article{
    border-bottom:1px solid rgba(255,255,255,.14);
  }

  .trust-strip article:last-child,
  .metrics-strip article:last-child{
    border-bottom:0;
  }

  .cta-band-inner{
    padding:28px;
    flex-direction:column;
    align-items:flex-start;
  }

  .page-hero{
    padding:110px 0 78px;
  }

  .footer-brand-mark{
    width:96px !important;
  }

  .hero-carousel::after{
    width:88px;
    height:88px;
    right:20px;
    bottom:20px;
  }

  .chatbot-panel{
    right:12px;
    bottom:84px;
    border-radius:20px;
  }

  .chatbot-toggle{
    right:12px;
    bottom:12px;
  }

  .whatsapp-float{
    right:12px;
    bottom:84px;
    width:58px;
    height:58px;
    min-width:58px;
    font-size:24px;
  }
}

/* === Ajustes finales header sin botones + chatbot Sofia === */
.header-actions{
  display:none !important;
}

.header-shell{
  grid-template-columns:320px 1fr;
}

.chatbot-panel{
  width:min(380px, calc(100vw - 24px));
  max-height:min(72vh, 640px);
}

.chatbot-head{
  align-items:center;
}

.chatbot-head-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}

.chatbot-avatar,
.chatbot-toggle-avatar{
  display:block;
  width:48px;
  height:48px;
  border-radius:50%;
  object-fit:cover;
  object-position:center top;
  box-shadow:0 8px 18px rgba(7,26,61,.22);
  border:2px solid rgba(255,255,255,.72);
  flex:0 0 48px;
}

.chatbot-head-text{
  min-width:0;
}

.chatbot-head-text strong,
.chatbot-head-text p{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.chatbot-body{
  max-height:calc(min(72vh, 640px) - 88px);
  overflow-y:auto;
}

.chatbot-toggle{
  display:none;
  align-items:center;
  gap:10px;
  min-width:auto;
  padding:10px 16px 10px 10px;
}

.chatbot-toggle-avatar{
  width:38px;
  height:38px;
  border-width:1.5px;
  box-shadow:none;
}

.chatbot-toggle-label{
  line-height:1.1;
  text-align:left;
}

.chatbot-toggle-label small{
  display:block;
  font-size:.68rem;
  font-weight:600;
  opacity:.82;
  margin-top:2px;
}

@media (max-width: 980px){
  .header-shell{
    grid-template-columns:320px 1fr auto;
  }
}

@media (max-width: 767px){
  .chatbot-panel{
    width:min(360px, calc(100vw - 20px));
    max-height:min(68vh, 560px);
    right:10px;
    bottom:82px;
  }

  .chatbot-body{
    max-height:calc(min(68vh, 560px) - 88px);
  }

  .chatbot-head{
    padding:14px 14px 12px;
  }

  .chatbot-avatar{
    width:42px;
    height:42px;
    flex-basis:42px;
  }

  .chatbot-head strong{
    font-size:1rem;
  }

  .chatbot-head p{
    font-size:.84rem;
  }

  .chatbot-toggle{
    right:10px;
    bottom:10px;
    padding:9px 14px 9px 9px;
  }

  .chatbot-toggle-avatar{
    width:34px;
    height:34px;
  }
}



/* ===== Ajustes chat Sofía + formulario ===== */
.header-actions{
  display:none !important;
}
.contact-form .form-status{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  font-weight:700;
  display:none;
}
.contact-form .form-status.is-success,
.contact-form .form-status.is-error{
  display:block;
}
.contact-form .form-status.is-success{
  background:#ecfdf3;
  color:#166534;
  border:1px solid #bbf7d0;
}
.contact-form .form-status.is-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}
.chatbot-panel{
  width:380px !important;
  max-width:min(380px, calc(100vw - 24px)) !important;
  max-height:min(78vh, 720px);
  display:flex;
  flex-direction:column;
}
.chatbot-head{
  padding:16px 16px 14px;
}
.chatbot-head-main{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.chatbot-head-text{
  min-width:0;
}
.chatbot-avatar,
.chatbot-toggle-avatar{
  width:44px;
  height:44px;
  border-radius:999px;
  object-fit:cover;
  flex:0 0 44px;
}
.chatbot-avatar{
  border:2px solid rgba(255,255,255,.35);
}
.chatbot-body{
  overflow:auto;
  max-height:calc(78vh - 88px);
}
.chatbot-field{
  display:grid;
  gap:7px;
  margin-bottom:12px;
}
.chatbot-field span{
  color:#23406b;
  font-size:.92rem;
  font-weight:700;
}
.chatbot-field input,
.chatbot-field textarea,
.chatbot-field select{
  width:100%;
  border:1px solid #d7e2f1;
  border-radius:12px;
  padding:12px 13px;
  background:#fbfdff;
}
.chatbot-field textarea{
  min-height:110px;
  resize:vertical;
}
.chatbot-actions{
  display:flex;
  gap:10px;
  margin-top:6px;
}
.chatbot-back,
.chatbot-submit{
  flex:1;
  border:0;
  border-radius:14px;
  padding:13px 14px;
  font-weight:800;
  cursor:pointer;
}
.chatbot-back{
  background:#eef4ff;
  color:#183763;
}
.chatbot-submit{
  background:linear-gradient(180deg,#0f57ce,#0b3f98);
  color:#fff;
}
.chatbot-status{
  margin-top:10px;
  border-radius:12px;
  padding:10px 12px;
  font-weight:700;
}
.chatbot-status.is-error{
  background:#fef2f2;
  color:#991b1b;
  border:1px solid #fecaca;
}
.chatbot-toggle{
  display:none;
  align-items:center;
  gap:10px;
  padding:10px 16px 10px 10px;
}
.chatbot-toggle.is-visible{
  display:inline-flex;
}
.chatbot-toggle-label{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  line-height:1.1;
}
.chatbot-toggle-label small{
  font-size:.72rem;
  opacity:.86;
  margin-top:3px;
}
@media (max-width:760px){
  .chatbot-panel{
    right:12px !important;
    left:12px;
    bottom:84px;
    width:auto !important;
    max-width:none !important;
    max-height:72vh;
  }
  .chatbot-body{
    max-height:calc(72vh - 88px);
  }
}

