:root{
    --navy:#2A2E32;
    --navy-2:#3B3F44;
    --navy-deep:#17191B;
    --ink:#1A1F24;
    --gray:#5B6670;
    --gray-light:#F2F4F6;
    --cream:#FBF8F2;
    --white:#FFFFFF;
    --line:#D8DEE3;
    --gold:#C99A44;
    --gold-soft:#F2E4C8;
    --font-display:'Baloo 2', sans-serif;
    --font-body:'Inter', sans-serif;
    --font-hand:'Caveat', cursive;
    --wrap:1160px;
    --r-lg:30px;
    --r-md:22px;
  }

  *{ box-sizing:border-box; margin:0; padding:0; }
  html{ scroll-behavior:smooth; }

  @media (prefers-reduced-motion: reduce){
    html{ scroll-behavior:auto; }
    *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; }
  }

  body{ background:var(--cream); color:var(--ink); font-family:var(--font-body); line-height:1.55; -webkit-font-smoothing:antialiased; overflow-x:hidden; }
  a{ color:inherit; text-decoration:none; }
  ul{ list-style:none; }
  img{ max-width:100%; display:block; }
  .wrap{ max-width:var(--wrap); margin:0 auto; padding:0 28px; position:relative; z-index:2; }

  .blob{ position:absolute; border-radius:62% 38% 55% 45% / 45% 42% 58% 55%; filter:blur(2px); pointer-events:none; z-index:0; }
  @keyframes drift{ 0%{ transform:translate(0,0) rotate(0deg); } 100%{ transform:translate(14px,-18px) rotate(6deg); } }
  .blob.animate{ animation:drift 17s ease-in-out infinite alternate; }

  .tag{ display:inline-flex; align-items:center; gap:8px; font-family:var(--font-hand); font-size:20px; color:var(--navy); background:var(--white); padding:5px 18px 8px; border-radius:14px; transform:rotate(-2deg); box-shadow:0 3px 10px rgba(42,46,50,0.10); }
  .tag.on-navy{ background:rgba(255,255,255,0.14); color:#fff; box-shadow:none; }
  .tag .dot{ width:7px; height:7px; border-radius:50%; background:var(--gold); }

  .plate{ border:1px solid rgba(42,46,50,0.08); background:var(--white); border-radius:var(--r-lg); }

  .btn{ font-family:var(--font-display); font-weight:600; font-size:15px; padding:13px 26px; border-radius:999px; display:inline-flex; align-items:center; gap:9px; border:2px solid transparent; cursor:pointer; transition:transform 0.2s ease, box-shadow 0.2s ease; white-space:nowrap; }
  .btn-primary{ background:var(--gold); color:#2A1D06; }
  .btn-primary:hover{ transform:translateY(-2px) rotate(-1deg); box-shadow:0 10px 24px -8px rgba(201,154,68,0.5); }
  .btn-outline{ border-color:rgba(255,255,255,0.55); color:#fff; }
  .btn-outline:hover{ border-color:#fff; transform:translateY(-2px); }
  .btn svg{ width:16px; height:16px; }

  header{ position:sticky; top:0; z-index:50; background:rgba(42,46,50,0.85); backdrop-filter:blur(16px); -webkit-backdrop-filter:blur(16px); }
  nav.wrap{ display:flex; align-items:center; justify-content:space-between; height:84px; }
  .brand img{ height:56px; width:auto; }
  .nav-links{ display:flex; align-items:center; gap:28px; }
  .nav-links a{ font-family:var(--font-display); font-weight:500; font-size:14.5px; color:#C7D9E4; transition:color 0.2s ease; }
  .nav-links a:hover{ color:#fff; }

  /* ---------- hero ---------- */
  .hero{ background:linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 42%, #6B7176 78%, #A9AEB2 100%); position:relative; overflow:hidden; padding:0; text-align:center; }
  .hero .blob{ background:rgba(255,255,255,0.07); }
  .hero .blob.b1{ width:420px; height:420px; top:-160px; left:-160px; }
  .hero .blob.b2{ width:280px; height:280px; top:20px; right:-80px; background:rgba(201,154,68,0.16); }
  .hero-inner{ position:relative; z-index:2; max-width:760px; margin:0 auto; }
  h1{ font-family:var(--font-display); font-weight:700; color:#fff; font-size:clamp(32px, 5vw, 52px); line-height:1.15; letter-spacing:-0.01em; }
  h1 em{ font-style:normal; color:var(--gold); }
  .hero p.lede{ margin-top:18px; font-size:16.5px; line-height:1.7; color:#D9E6EE; max-width:56ch; margin-left:auto; margin-right:auto; }
  .hero-ctas{ display:flex; gap:14px; margin-top:30px; flex-wrap:wrap; justify-content:center; }

  /* ---------- hero slider ---------- */
  .hero-slider{ position:relative; z-index:2; overflow:hidden; }
  .hero-track{ display:flex; transition:transform 0.6s cubic-bezier(.4,0,.2,1); }
  .hero-slide{ width:100%; flex-shrink:0; padding:70px 0 44px; }
  .hero-dots{ display:flex; gap:9px; justify-content:center; margin-top:8px; position:relative; z-index:3; }
  .hero-dots button{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,0.32); border:none; cursor:pointer; padding:0; transition:background 0.2s ease, transform 0.2s ease; }
  .hero-dots button.active{ background:var(--gold); transform:scale(1.35); }
  .hero-arrow{ position:absolute; top:38%; transform:translateY(-50%); z-index:4; width:42px; height:42px; border-radius:50%; background:rgba(255,255,255,0.10); border:1px solid rgba(255,255,255,0.28); color:#fff; font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; transition:background 0.2s ease; }
  .hero-arrow:hover{ background:rgba(255,255,255,0.22); }
  .hero-arrow.prev{ left:14px; }
  .hero-arrow.next{ right:14px; }
  @media (max-width:860px){ .hero-arrow{ display:none; } }

  /* ---------- pricing slide ---------- */
  .plans-head{ text-align:center; margin-bottom:30px; }
  .plans-head h2{ font-family:var(--font-display); font-weight:700; color:#fff; font-size:clamp(24px,3.4vw,32px); }
  .plans-head p{ color:#D9E6EE; font-size:14.5px; margin-top:8px; }
  .plans-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; max-width:1000px; margin:0 auto; text-align:left; }
  .plan-card{ background:rgba(255,255,255,0.07); border:1px solid rgba(255,255,255,0.16); border-radius:20px; padding:26px 22px; position:relative; display:flex; flex-direction:column; }
  .plan-card.featured{ border-color:var(--gold); background:rgba(255,255,255,0.12); }
  .plan-badge{ position:absolute; top:-12px; right:20px; background:var(--gold); color:#2A1D06; font-family:var(--font-display); font-size:10.5px; font-weight:700; padding:4px 12px; border-radius:999px; }
  .plan-card h3{ font-family:var(--font-display); font-size:18px; color:#fff; margin-bottom:2px; }
  .plan-tag{ font-size:12px; color:#AEC6D4; }
  .plan-storage{ font-family:var(--font-display); font-size:28px; font-weight:700; color:var(--gold); margin:14px 0 0; }
  .plan-storage span{ font-size:13px; color:#D9E6EE; font-weight:500; margin-left:4px; }
  .plan-card ul{ margin:16px 0 22px; flex:1; }
  .plan-card li{ display:flex; gap:8px; font-size:13px; color:#D9E6EE; padding:5px 0; line-height:1.4; }
  .plan-card li svg{ width:14px; height:14px; color:var(--gold); flex-shrink:0; margin-top:2.5px; }
  .plan-cta{ text-align:center; justify-content:center; width:100%; font-size:13.5px; padding:11px 18px; }
  .plans-note{ text-align:center; color:#AEC6D4; font-size:12.5px; margin-top:22px; }
  @media (max-width:860px){ .plans-grid{ grid-template-columns:1fr; max-width:420px; } }


  .stats-row{
    position:relative; z-index:2; display:grid; grid-template-columns:repeat(3,1fr);
    max-width:820px; margin:56px auto 0; border-top:1px solid rgba(255,255,255,0.18);
  }
  .stat{ padding:26px 16px; text-align:center; border-right:1px solid rgba(255,255,255,0.18); }
  .stat:last-child{ border-right:none; }
  .stat b{ display:block; font-family:var(--font-display); font-size:clamp(26px,3vw,34px); color:var(--gold); font-weight:700; }
  .stat span{ font-size:12.5px; color:#C7D9E4; }

  .wave{ position:relative; left:0; width:100%; height:80px; line-height:0; margin-top:40px; }
  .wave svg{ width:100%; height:100%; display:block; }

  section{ padding:88px 0; position:relative; }
  .section-navy{ background:linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #7D8388 100%); color:#fff; }
  .section-head{ max-width:680px; margin:0 auto 48px; text-align:center; }
  .section-head .tag{ margin-bottom:20px; }
  h2{ font-family:var(--font-display); font-weight:700; font-size:clamp(26px, 3.2vw, 36px); line-height:1.2; letter-spacing:-0.01em; }
  .section-head p{ margin-top:14px; color:var(--gray); font-size:15.5px; }
  .section-navy .section-head p{ color:#D9E6EE; }

  /* ---------- timeline (cómo trabajamos) ---------- */
  .timeline{ display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
  .tl-card{ padding:30px 26px; text-align:center; }
  .tl-card .num{ width:44px; height:44px; border-radius:50%; background:var(--gold-soft); color:var(--navy); font-family:var(--font-display); font-weight:700; font-size:18px; display:flex; align-items:center; justify-content:center; margin:0 auto 16px; }
  .tl-card h3{ font-family:var(--font-display); font-size:17px; font-weight:700; margin-bottom:8px; color:var(--navy); }
  .tl-card p{ font-size:13.8px; color:var(--gray); line-height:1.6; }

  /* ---------- quienes somos ---------- */
  .quote-card{ max-width:760px; margin:0 auto 44px; text-align:center; padding:38px 34px; }
  .quote-card p{ font-family:var(--font-display); font-size:20px; font-weight:600; color:var(--navy); line-height:1.5; }
  .mv-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; }
  .mv-card{ padding:34px 32px; }
  .mv-card:nth-child(1){ } .mv-card:nth-child(2){ }
  .mv-card h3{ font-family:var(--font-display); font-size:13px; font-weight:700; color:var(--gold); text-transform:uppercase; letter-spacing:0.07em; margin-bottom:12px; }
  .mv-card p{ font-size:15px; line-height:1.7; color:var(--gray); }

  /* ---------- valores ---------- */
  .values-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
  .value-card{ padding:28px 24px; text-align:center; }
  .value-card .e{ font-size:32px; margin-bottom:12px; }
  .value-card h3{ font-family:var(--font-display); font-size:16px; font-weight:700; margin-bottom:6px; color:var(--navy); }
  .value-card p{ font-size:13px; color:var(--gray); line-height:1.6; }

  /* ---------- services ---------- */
  .svc-grid{ display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; }
  .svc-card{ padding:30px 26px; box-shadow:0 3px 14px rgba(42,46,50,0.06); }
  .svc-card{ padding:30px 26px; box-shadow:0 3px 14px rgba(42,46,50,0.06); transition:transform 0.25s ease, box-shadow 0.25s ease; }
  .svc-card:hover{ transform:translateY(-5px); box-shadow:0 18px 34px -16px rgba(42,46,50,0.22); }
  .svc-card:hover .svc-icon{ transform:scale(1.08) rotate(-4deg); }
  .svc-icon{ width:52px; height:52px; border-radius:50%; background:var(--gray-light); display:flex; align-items:center; justify-content:center; margin-bottom:18px; transition:transform 0.3s ease; }
  .svc-icon svg{ width:24px; height:24px; color:var(--navy); }
  .svc-card h3{ font-family:var(--font-display); font-size:18px; font-weight:700; margin-bottom:8px; color:var(--navy); }
  .svc-card p{ font-size:13.8px; color:var(--gray); line-height:1.6; margin-bottom:14px; }
  .svc-list{ margin-bottom:16px; }
  .svc-list li{ display:flex; align-items:flex-start; gap:8px; font-size:13px; color:var(--ink); padding:5px 0; line-height:1.5; }
  .svc-list li svg{ width:14px; height:14px; color:var(--gold); flex-shrink:0; margin-top:2.5px; }
  .svc-brand{ display:inline-flex; align-items:center; gap:6px; font-family:var(--font-display); font-size:11px; font-weight:700; letter-spacing:0.03em; padding:5px 13px; border-radius:999px; background:var(--gold-soft); color:#5C4419; }

  /* ---------- brand strip ---------- */
  .brand-strip{ padding:34px 32px; text-align:center; }
  .brand-strip .tag{ margin-bottom:14px; }
  .brand-marquee{ overflow:hidden; margin-top:18px;
    -webkit-mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image:linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .brand-row{ display:flex; align-items:center; gap:26px; width:max-content; }
  .brand-row.spin{ animation:brand-scroll 34s linear infinite; }
  .brand-marquee:hover .brand-row.spin{ animation-play-state:paused; }
  @keyframes brand-scroll{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
  .brand-item{ display:flex; align-items:center; justify-content:center; width:130px; height:48px; flex-shrink:0; }
  .brand-item img{ max-width:100%; max-height:100%; width:auto; height:auto; object-fit:contain; filter:grayscale(35%); opacity:0.85; transition:filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease; }
  .brand-item:hover img{ filter:grayscale(0%); opacity:1; transform:scale(1.06); }

  /* ---------- contact + map ---------- */
  .contact-grid{ display:grid; grid-template-columns:1fr 1fr; gap:22px; position:relative; z-index:2; }
  .contact-info{ background:rgba(255,255,255,0.08); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border:1px solid rgba(255,255,255,0.14); border-radius:var(--r-md); padding:36px 34px; }
  .contact-info h3{ font-family:var(--font-display); font-size:20px; margin-bottom:8px; }
  .contact-info > p{ color:#D9E6EE; font-size:14.5px; margin-bottom:26px; }
  .contact-row{ display:flex; gap:14px; align-items:center; padding:13px 0; border-top:1px solid rgba(255,255,255,0.14); }
  .contact-row:first-of-type{ border-top:none; }
  .contact-row .e{ font-size:20px; flex-shrink:0; }
  .contact-row .k{ font-family:var(--font-display); font-size:11px; color:#AEC6D4; text-transform:uppercase; letter-spacing:0.06em; display:block; margin-bottom:2px; }
  .contact-row .v{ font-size:14.5px; color:#fff; }
  .map-frame{ border-radius:var(--r-md); overflow:hidden; border:1px solid rgba(255,255,255,0.14); min-height:280px; }
  .map-frame iframe{ width:100%; height:100%; min-height:280px; border:0; display:block; }
  .cta-band{ text-align:center; margin-top:44px; position:relative; z-index:2; }
  .cta-band p{ color:#D9E6EE; font-size:15px; margin-bottom:18px; }

  footer{ background:var(--navy-deep); padding:34px 0; }
  .foot-row{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px; }
  .foot-brand img{ height:36px; width:auto; opacity:0.9; }
  footer p{ font-family:var(--font-body); font-size:12.5px; color:#9FB8C6; }

  .reveal{ opacity:0; transform:translateY(16px); transition:opacity 0.6s ease, transform 0.6s ease; }
  .reveal.in{ opacity:1; transform:none; }

  @media (max-width: 860px){
    .nav-links{ display:none; }
    .stats-row{ grid-template-columns:1fr; }
    .stat{ border-right:none; border-bottom:1px solid rgba(255,255,255,0.18); }
    .stat:last-child{ border-bottom:none; }
    .timeline{ grid-template-columns:1fr; }
    .mv-grid{ grid-template-columns:1fr; }
    .values-grid{ grid-template-columns:1fr 1fr; }
    .svc-grid{ grid-template-columns:1fr 1fr; }
    .contact-grid{ grid-template-columns:1fr; }
  }
  @media (max-width: 560px){
    section{ padding:64px 0; }
    .values-grid{ grid-template-columns:1fr; }
    .svc-grid{ grid-template-columns:1fr; }
  }
  .wa-float{
    position:fixed; right:24px; bottom:24px; z-index:60;
    width:60px; height:60px; border-radius:50%; background:#25D366;
    display:flex; align-items:center; justify-content:center;
    box-shadow:0 8px 24px -6px rgba(37,211,102,0.6);
    transition:transform 0.2s ease, box-shadow 0.2s ease;
  }
  .wa-float:hover{ transform:scale(1.08); box-shadow:0 10px 30px -6px rgba(37,211,102,0.75); }
  .wa-float svg{ width:30px; height:30px; color:#fff; }
  .wa-float .wa-ping{
    position:absolute; inset:0; border-radius:50%; background:#25D366;
    opacity:0.55; animation:wa-pulse 2.4s ease-out infinite;
  }
  @keyframes wa-pulse{
    0%{ transform:scale(1); opacity:0.55; }
    100%{ transform:scale(1.7); opacity:0; }
  }
  @media (max-width:560px){
    .wa-float{ right:16px; bottom:16px; width:54px; height:54px; }
    .wa-float svg{ width:27px; height:27px; }
  }
