
:root {
    --dark-blue: #023e8a;
    --mid-blue: #0077b6;
    --light-blue: #0096c7;
    --sky: #e0f4fb;
    --wave1: #90d5ea;
    --wave2: #48cae4;
    --wave3: #00b4d8;
    --yellow: #ffd166;
    --yellow-txt: #7a4800;
    --sand: #fff8ec;
    --ink: #04284f;
  }

  * { margin:0; padding:0; box-sizing:border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Segoe UI', system-ui, Arial, sans-serif;
    color: var(--ink);
    background: var(--sand);
    overflow-x: hidden;
  }

  a { text-decoration: none; color: inherit; }
  ul { list-style: none; }
  img, svg { display: block; max-width: 100%; }

  .container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 28px;
  }

  /* ───────── Botón flotante WhatsApp ───────── */
  .wa-float {
    position: fixed;
    bottom: 26px; right: 26px;
    width: 60px; height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    z-index: 999;
    transition: transform 0.2s ease;
    cursor: pointer;
  }
  .wa-float:hover { transform: scale(1.08); }
  .wa-float svg { width: 30px; height: 30px; }

  /* ───────── Header ───────── */
  header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(224,244,251,0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(2,62,138,0.08);
  }
  .nav {
    display:flex; align-items:center; justify-content:space-between;
    padding: 16px 28px;
  }
  .brand { display:flex; align-items:center; gap: 10px; }
  .brand-icon { width: 38px; height: 38px; background: var(--mid-blue); border-radius: 10px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .brand-name { font-size: 19px; font-weight: 700; color: var(--dark-blue); }
  .brand-name span { color: var(--mid-blue); }

  .nav-links { display:flex; gap: 28px; align-items:center; }
  .nav-links a {
    font-size: 14px; font-weight: 600; color: var(--dark-blue);
    opacity: 0.75; transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 1; }
  .nav-cta {
    background: var(--yellow); color: var(--yellow-txt) !important;
    padding: 9px 20px; border-radius: 30px; opacity:1 !important;
    font-weight: 700 !important;
  }

  .nav-toggle { display:none; background:none; border:none; cursor:pointer; padding:6px; }
  .nav-toggle span { display:block; width:24px; height:2.5px; background:var(--dark-blue); margin:5px 0; border-radius:2px; }

  /* ───────── Hero ───────── */
  .hero {
    position: relative;
    overflow: hidden;
    padding: 90px 0 130px;
    background: var(--sky);
  }
  .hero-waves {
    position: absolute; bottom: 0; left:0; right:0;
    height: 50%;
    pointer-events: none;
  }
  .hero-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 50px;
    align-items: center;
  }
  .hero-badge {
    display:inline-flex; align-items:center; gap:8px;
    background: rgba(255,209,102,0.9); color: var(--yellow-txt);
    font-size: 13px; font-weight: 700;
    padding: 7px 18px; border-radius: 30px;
    margin-bottom: 24px;
  }
  .hero h1 {
    font-size: 50px; font-weight: 800; line-height: 1.12;
    color: var(--dark-blue);
    margin-bottom: 20px;
    letter-spacing: -0.5px;
  }
  .hero h1 em { font-style:normal; color: var(--mid-blue); }
  .hero p.lead {
    font-size: 18px; line-height: 1.6; color: var(--light-blue);
    max-width: 480px; margin-bottom: 32px; font-weight: 500;
  }
  .hero-ctas { display:flex; gap: 14px; flex-wrap: wrap; }

  .btn {
    display:inline-flex; align-items:center; gap:9px;
    padding: 14px 28px; border-radius: 30px;
    font-size: 15px; font-weight: 700;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none; cursor: pointer;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn-primary { background: var(--dark-blue); color: #fff; box-shadow: 0 8px 24px rgba(2,62,138,0.25); }
  .btn-primary:hover { box-shadow: 0 10px 28px rgba(2,62,138,0.35); }
  .btn-whatsapp { background: #25D366; color: #fff; box-shadow: 0 8px 24px rgba(37,211,102,0.3); }
  .btn-outline { background: transparent; border: 2px solid var(--dark-blue); color: var(--dark-blue); }

  /* Hero visual: tarjeta flotante con sol y olas */
  .hero-visual {
    position: relative;
    aspect-ratio: 1/1;
    display: flex; align-items:center; justify-content:center;
  }
  .hero-orb {
    position: absolute;
    width: 100%; height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #ffe9b3, var(--yellow) 60%);
    opacity: 0.9;
    filter: blur(0px);
    box-shadow: 0 30px 70px rgba(255,209,102,0.4);
  }
  .hero-card-float {
    position: relative; z-index: 2;
    background: #fff;
    border-radius: 24px;
    padding: 26px;
    box-shadow: 0 30px 60px rgba(2,62,138,0.18);
    width: 78%;
    transform: rotate(-3deg);
  }
  .hero-card-float .row { display:flex; align-items:center; gap:12px; margin-bottom: 16px; }
  .hero-card-float .dot { width: 10px; height:10px; border-radius:50%; }
  .hero-card-float .dot.b1 { background: var(--mid-blue); }
  .hero-card-float .dot.b2 { background: var(--yellow); }
  .hero-card-float .dot.b3 { background: var(--wave3); }
  .hero-card-float .bar { height: 9px; border-radius: 5px; background: var(--sky); }
  .hero-card-float .bar.w70 { width: 70%; }
  .hero-card-float .bar.w90 { width: 90%; }
  .hero-card-float .bar.w50 { width: 50%; }
  .hero-card-float .stat-row { display:flex; gap: 10px; margin-top: 18px; }
  .hero-card-float .stat {
    flex:1; background: var(--sky); border-radius:12px; padding: 12px;
    text-align:center;
  }
  .hero-card-float .stat .num { font-size: 22px; font-weight:800; color: var(--dark-blue); }
  .hero-card-float .stat .lbl { font-size: 10px; color: var(--mid-blue); font-weight:600; margin-top:2px; }

  /* ───────── Stats bar ───────── */
  .statsbar {
    background: var(--dark-blue);
    padding: 26px 0;
  }
  .statsbar .container {
    display:flex; justify-content: space-around; flex-wrap: wrap; gap: 20px;
  }
  .statsbar .stat-item { text-align:center; color:#fff; }
  .statsbar .stat-item .n { font-size: 28px; font-weight: 800; color: var(--yellow); }
  .statsbar .stat-item .l { font-size: 12px; opacity:0.7; font-weight:600; letter-spacing:0.5px; margin-top:2px; }

  /* ───────── Sección Servicios ───────── */
  .section { padding: 100px 0; }
  .section-tag {
    display:inline-block;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px;
    color: var(--mid-blue); text-transform: uppercase;
    background: rgba(0,119,182,0.08);
    padding: 6px 16px; border-radius: 20px;
    margin-bottom: 16px;
  }
  .section-title {
    font-size: 38px; font-weight: 800; color: var(--dark-blue);
    line-height: 1.18; margin-bottom: 14px; max-width: 600px;
  }
  .section-sub {
    font-size: 16px; color: #5a7a99; max-width: 540px; line-height: 1.6;
    margin-bottom: 56px;
  }

  .services-grid {
    display:grid; grid-template-columns: 1fr 1fr; gap: 32px;
  }
  .service-card {
    border-radius: 28px;
    padding: 42px 38px;
    position: relative;
    overflow: hidden;
  }
  .service-card.es {
    background: linear-gradient(160deg, var(--sky), #cdeefb);
    border: 1px solid rgba(2,62,138,0.08);
  }
  .service-card.en {
    background: var(--dark-blue);
    color: #fff;
  }
  .service-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 22px;
  }
  .service-card.es .service-icon { background: var(--mid-blue); }
  .service-card.en .service-icon { background: var(--yellow); }

  .service-card h3 {
    font-size: 26px; font-weight: 800; margin-bottom: 10px;
  }
  .service-card.es h3 { color: var(--dark-blue); }
  .service-card.en h3 { color: #fff; }

  .service-card .desc {
    font-size: 14.5px; line-height: 1.6; margin-bottom: 24px;
  }
  .service-card.es .desc { color: #2a5478; }
  .service-card.en .desc { color: rgba(255,255,255,0.75); }

  .feat-list { display:flex; flex-direction:column; gap: 12px; margin-bottom: 28px; }
  .feat-list li { display:flex; align-items:flex-start; gap: 10px; font-size: 14px; font-weight: 600; }
  .feat-check {
    width: 20px; height:20px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    flex-shrink:0; margin-top:1px;
    font-size: 11px; font-weight:800;
  }
  .service-card.es .feat-check { background: var(--mid-blue); color:#fff; }
  .service-card.es li { color: var(--dark-blue); }
  .service-card.en .feat-check { background: var(--yellow); color: var(--yellow-txt); }
  .service-card.en li { color: #fff; }

  .service-card .pills { display:flex; gap: 8px; flex-wrap: wrap; }
  .service-card .pill {
    font-size: 12px; font-weight: 700; padding: 6px 14px; border-radius: 20px;
  }
  .service-card.es .pill { background: rgba(2,62,138,0.08); color: var(--dark-blue); }
  .service-card.en .pill { background: rgba(255,255,255,0.12); color: #fff; }

  /* ───────── Cómo funciona ───────── */
  .steps {
    display:grid; grid-template-columns: repeat(3,1fr); gap: 28px;
    margin-top: 10px;
  }
  .step {
    background: #fff; border-radius: 20px; padding: 32px 28px;
    border: 1px solid rgba(2,62,138,0.07);
  }
  .step .step-num {
    font-size: 13px; font-weight:800; color: var(--mid-blue);
    background: rgba(0,119,182,0.08);
    width: 34px; height:34px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    margin-bottom: 18px;
  }
  .step h4 { font-size: 18px; font-weight:800; color: var(--dark-blue); margin-bottom: 8px; }
  .step p { font-size: 14px; color: #5a7a99; line-height:1.55; }

  /* ───────── Horarios ───────── */
  .schedule-section {
    background: var(--dark-blue);
    border-radius: 32px;
    padding: 56px 50px;
    display:grid; grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .schedule-deco {
    position:absolute; top:-60px; right:-60px;
    width: 240px; height:240px; border-radius:50%;
    background: rgba(255,255,255,0.04);
  }
  .schedule-section h3 {
    font-size: 30px; font-weight:800; color:#fff; margin-bottom: 14px;
    position:relative; z-index:2;
  }
  .schedule-section p { color: rgba(255,255,255,0.65); font-size:15px; line-height:1.6; position:relative; z-index:2; }
  .schedule-cards { display:flex; flex-direction:column; gap: 14px; position:relative; z-index:2; }
  .schedule-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    padding: 18px 22px;
    display:flex; justify-content:space-between; align-items:center;
  }
  .schedule-card .label { font-size: 13px; font-weight:700; color: rgba(255,255,255,0.6); }
  .schedule-card .time { font-size: 18px; font-weight:800; color: var(--yellow); }

  /* ───────── Contacto ───────── */
  .contact-grid {
    display:grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px;
    align-items: flex-start;
  }
  .contact-info h3 { font-size: 28px; font-weight: 800; color: var(--dark-blue); margin-bottom: 16px; }
  .contact-info p { font-size: 15px; color:#5a7a99; line-height:1.6; margin-bottom: 28px; }
  .contact-method {
    display:flex; align-items:center; gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid rgba(2,62,138,0.08);
    border-radius: 16px;
    margin-bottom: 12px;
  }
  .contact-method-icon {
    width: 42px; height: 42px; border-radius: 12px;
    background: var(--sky); display:flex; align-items:center; justify-content:center;
    flex-shrink:0;
  }
  .contact-method .meta-label { font-size: 11px; color: var(--light-blue); font-weight:700; letter-spacing: 0.5px; }
  .contact-method .meta-value { font-size: 14.5px; color: var(--dark-blue); font-weight:700; }
  .contact-method.wa-method { cursor: pointer; }
  .contact-method.wa-method .contact-method-icon { background: #e8fbef; }

  .form-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(2,62,138,0.08);
    border: 1px solid rgba(2,62,138,0.06);
  }
  .form-row { display:grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
  .form-group { display:flex; flex-direction:column; gap: 7px; margin-bottom: 16px; }
  .form-group label { font-size: 13px; font-weight:700; color: var(--dark-blue); }
  .form-group input,
  .form-group select,
  .form-group textarea {
    border: 1.5px solid rgba(2,62,138,0.15);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--ink);
    background: var(--sand);
    transition: border-color 0.2s;
  }
  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    outline: none;
    border-color: var(--mid-blue);
    background: #fff;
  }
  .form-group textarea { resize: vertical; min-height: 100px; }
  .form-submit {
    width: 100%; justify-content: center;
    margin-top: 6px;
  }
  .form-note { font-size: 12px; color: #84a0bb; margin-top: 14px; text-align:center; }
  .form-success {
    display:none;
    background: #e8fbef; border: 1.5px solid #25D366;
    border-radius: 14px; padding: 18px; text-align:center;
    color: #1a7a3e; font-weight: 700; font-size: 14px;
    margin-top: 16px;
  }

  /* ───────── Footer ───────── */
  footer {
    background: #021f47;
    padding: 50px 0 28px;
  }
  .footer-top {
    display:flex; justify-content:space-between; align-items:flex-start;
    flex-wrap: wrap; gap: 30px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 24px;
  }
  .footer-brand { display:flex; align-items:center; gap:10px; }
  .footer-brand-name { font-size: 18px; font-weight:800; color:#fff; }
  .footer-brand-name span { color: var(--yellow); }
  .footer-tagline { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 4px; letter-spacing: 1px;}
  .footer-links { display:flex; gap: 36px; flex-wrap: wrap; }
  .footer-col h5 { font-size: 12px; color: rgba(255,255,255,0.4); text-transform:uppercase; letter-spacing:1px; margin-bottom: 12px; }
  .footer-col a, .footer-col p { display:block; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 8px; }
  .footer-bottom {
    text-align:center; font-size: 12.5px; color: rgba(255,255,255,0.35);
  }

  /* ───────── Responsive ───────── */
  @media (max-width: 880px) {
    .nav-links { display:none; }
    .nav-toggle { display:block; }
    .hero-inner { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .hero-visual { max-width: 320px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr; }
    .steps { grid-template-columns: 1fr; }
    .schedule-section { grid-template-columns: 1fr; padding: 36px 26px; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .section-title { font-size: 28px; }
    .statsbar .container { gap: 26px; }
  }