/* GMZ Web — CSS */
*{box-sizing:border-box;margin:0;padding:0}
:root{--orange:#FF6B35;--navy:#1A1A2E;--navy-light:#16213E;--blue:#0F3460;--white:#fff;--gray:#f5f5f5;--text:#222}
html{scroll-behavior:smooth}
/* Global overflow fix for mobile */
html { overflow-x: hidden; }
body { overflow-x: hidden; -webkit-text-size-adjust: 100%; }

body{font-family:'Inter',sans-serif;color:var(--text);background:var(--white);line-height:1.6}

/* NAV */
.nav{position:fixed;top:0;left:0;right:0;background:rgba(26,26,46,.95);backdrop-filter:blur(8px);z-index:1000;padding:0 2rem}
.nav-inner{max-width:1100px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;height:60px}
.nav-logo{font-family:'Inter',sans-serif;font-weight:800;font-size:1.4rem;color:var(--orange);letter-spacing:2px}
.nav-links{display:flex;gap:2rem}
.nav-links a{color:rgba(255,255,255,.8);text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s}
.nav-links a:hover{color:var(--orange)}
/* NAV CTA */
.nav-cta { background: var(--orange) !important; color: #fff !important; padding: 0.4rem 1rem !important; border-radius: 6px !important; font-weight: 600 !important; transition: background 0.2s; }
.nav-cta:hover { background: #e55a2b !important; }

/* NAV MOBILE MENU LINKS */
.nav-mobile-menu .nav-cta {
  background: var(--orange);
  color: #fff !important;
  border-radius: 8px;
  text-align: center;
  border-bottom: none !important;
  padding: 0.7rem 1rem !important;
  margin-top: 0.5rem;
}


/* HERO */
.hero{min-height:100vh;background:linear-gradient(160deg,var(--navy) 0%,var(--blue) 100%);display:flex;align-items:center;padding:6rem 2rem 4rem;color:var(--white)}
.hero-inner{max-width:750px;margin:0 auto}
.hero-badge{background:var(--orange);color:#fff;font-size:.75rem;font-weight:700;padding:.3rem .8rem;border-radius:20px;display:inline-block;margin-bottom:1.5rem;letter-spacing:1px;text-transform:uppercase}
.hero-title{font-family:'Playfair Display',serif;font-size:clamp(2.2rem,5vw,3.8rem);font-weight:800;line-height:1.1;margin-bottom:1.5rem}
.hero-title br{display:block}
.hero-sub{font-size:1.1rem;opacity:.85;margin-bottom:2.5rem;max-width:600px;line-height:1.7}
.hero .btn-primary,.hero .btn-ghost{margin-right:.8rem}

/* BOTONES */
.btn-primary{display:inline-block;background:var(--orange);color:#fff;padding:.75rem 1.8rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.95rem;transition:background .2s,transform .1s;border:none;cursor:pointer}
.btn-primary:hover{background:#e55a2b;transform:translateY(-1px)}
.btn-ghost{display:inline-block;background:transparent;color:var(--white);padding:.75rem 1.8rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.95rem;border:1.5px solid rgba(255,255,255,.4);transition:border-color .2s,background .2s}
.btn-ghost:hover{border-color:var(--orange);background:rgba(255,107,53,.1)}
.btn-plan{display:block;text-align:center;background:var(--navy-light);color:var(--white);padding:.7rem;border-radius:8px;text-decoration:none;font-weight:600;font-size:.9rem;transition:background .2s}
.btn-plan:hover{background:var(--blue)}
.btn-plan-primary{background:var(--orange)}
.btn-plan-primary:hover{background:#e55a2b}
.btn-full{width:100%;border:none;cursor:pointer}

/* SECCIONES */
.section{padding:5rem 2rem}
.section-inner{max-width:1100px;margin:0 auto}
.section-label{color:var(--orange);font-size:.8rem;font-weight:700;letter-spacing:2px;text-transform:uppercase;margin-bottom:.8rem}
.section-title{font-family:'Playfair Display',serif;font-size:clamp(1.6rem,3vw,2.5rem);font-weight:700;margin-bottom:2.5rem;line-height:1.2}
.section-dark{background:var(--navy);color:var(--white)}
.section-orange{background:var(--orange);color:var(--white)}

/* PROBLEMA */
.problema-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1.5rem;margin-bottom:2.5rem}
.problema-card{background:rgba(255,255,255,.06);border-radius:12px;padding:1.5rem;border:1px solid rgba(255,255,255,.1)}
.problema-icon{font-size:2rem;margin-bottom:.8rem}
.problema-amount{font-size:1.8rem;font-weight:800;color:var(--orange);margin-bottom:.3rem}
.problema-desc{font-size:.85rem;opacity:.75;line-height:1.5}
.problema-quote{background:rgba(255,107,53,.12);border-left:4px solid var(--orange);padding:1.2rem 1.5rem;border-radius:0 8px 8px 0;font-style:italic;font-size:.95rem;opacity:.9;max-width:800px}

/* SERVICIOS */
.serv-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1.5rem}
.serv-card{background:var(--gray);border-radius:12px;padding:1.8rem;border:1px solid #e8e8e8;transition:border-color .2s,box-shadow .2s}
.serv-card:hover{border-color:var(--orange);box-shadow:0 4px 20px rgba(255,107,53,.1)}
.serv-icon{font-size:2rem;margin-bottom:1rem}
.serv-card h3{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.serv-card p{font-size:.9rem;color:#555;line-height:1.6}

/* NUMEROS */
.numeros-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:1.5rem;margin-bottom:1rem}
.num-card{text-align:center}
.num-figure{font-family:'Playfair Display',serif;font-size:3rem;font-weight:800;margin-bottom:.5rem}
.num-label{font-size:.9rem;opacity:.85;line-height:1.5}
.numeros-nota{font-size:.75rem;opacity:.6;margin-top:1rem}

/* PLANES */
.planes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem;margin-bottom:1.5rem}
.plan-card{background:var(--white);border-radius:16px;padding:2rem;border:2px solid #e8e8e8;position:relative}
.plan-destacado{border-color:var(--orange);box-shadow:0 4px 30px rgba(255,107,53,.15)}
.plan-badge{position:absolute;top:-12px;left:50%;transform:translateX(-50%);background:var(--orange);color:#fff;font-size:.7rem;font-weight:700;padding:.3rem .9rem;border-radius:20px;white-space:nowrap}
.plan-name{font-size:1.1rem;font-weight:700;margin-bottom:.5rem}
.plan-price{font-size:2.2rem;font-weight:800;color:var(--orange);margin-bottom:1.5rem}
.plan-price span{font-size:.9rem;font-weight:400;color:#888}
.plan-features{list-style:none;margin-bottom:1.5rem}
.plan-features li{font-size:.9rem;padding:.4rem 0;border-bottom:1px solid #f0f0f0}
.plan-features li:last-child{border-bottom:none}
.precios-nota{font-size:.8rem;color:#888}

/* CONTACTO */
.contact-sub{font-size:1rem;opacity:.8;margin-bottom:2rem;max-width:500px}
.contacto-card{display:grid;grid-template-columns:1fr 2fr;gap:3rem;align-items:start}
@media(max-width:700px){.contacto-card{grid-template-columns:1fr}}
.contacto-info{display:flex;flex-direction:column;gap:1.2rem}
.contacto-item{display:flex;flex-direction:column;gap:.2rem}
.contacto-label{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:1px;opacity:.6}
.contacto-value{font-size:1rem;font-weight:500}
.contacto-form{display:flex;flex-direction:column;gap:.8rem}
.contacto-form input,.contacto-form textarea{width:100%;padding:.8rem 1rem;border:1.5px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);color:var(--white);border-radius:8px;font-size:.9rem;font-family:'Inter',sans-serif;transition:border-color .2s}
.contacto-form input::placeholder,.contacto-form textarea::placeholder{color:rgba(255,255,255,.4)}
.contacto-form input:focus,.contacto-form textarea:focus{outline:none;border-color:var(--orange)}
.contacto-form textarea{resize:vertical;min-height:100px}
.section-dark .contacto-form input{border-color:rgba(255,255,255,.2);background:rgba(255,255,255,.06)}

/* FOOTER */
.footer{background:var(--navy);color:rgba(255,255,255,.5);padding:2.5rem 2rem;text-align:center}
.footer-logo{font-weight:800;font-size:1.3rem;color:var(--orange);letter-spacing:3px;margin-bottom:.3rem}
.footer-tagline{font-size:.85rem;margin-bottom:1rem}
.footer-copy{font-size:.75rem}

/* CHAT WIDGET */
.chat-widget{position:fixed;bottom:1.5rem;right:1.5rem;width:340px;background:var(--white);border-radius:16px;box-shadow:0 8px 40px rgba(0,0,0,.2);z-index:2000;overflow:hidden;display:flex;flex-direction:column}
.chat-header{background:var(--navy);color:var(--white);padding:.9rem 1.2rem;font-weight:600;font-size:.9rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;user-select:none}
.chat-body{flex-direction:column;max-height:420px}
.chat-messages{flex:1;overflow-y:auto;padding:1rem;display:flex;flex-direction:column;gap:.6rem;min-height:200px;max-height:320px}
.msg{max-width:85%;padding:.55rem .85rem;border-radius:12px;line-height:1.4;font-size:.85rem}
.user-msg{background:var(--orange);color:#fff;align-self:flex-end;border-bottom-right-radius:2px}
.bot-msg{background:#f0f0f0;color:#222;align-self:flex-start;border-bottom-left-radius:2px}
.chat-input-bar{display:flex;padding:.7rem;border-top:1px solid #eee;gap:.5rem}
.chat-input-bar input{flex:1;padding:.6rem .9rem;border:1.5px solid #ddd;border-radius:25px;outline:none;font-size:.85rem}
.chat-input-bar button{background:var(--orange);color:#fff;border:none;width:36px;height:36px;border-radius:50%;cursor:pointer;font-size:1rem;flex-shrink:0}

/* RESPONSIVE */
@media(max-width:768px){
  .nav-links{display:none}
  .hero{min-height:auto;padding:7rem 1.5rem 3rem}
  .hero .btn-primary,.hero .btn-ghost{display:block;width:100%;text-align:center;margin:0 0 .8rem}
  .section{padding:3rem 1.5rem}
  .planes-grid{grid-template-columns:1fr}
  .serv-grid{grid-template-columns:1fr}
  .problema-grid{grid-template-columns:1fr 1fr}
  .numeros-grid{grid-template-columns:1fr 1fr}
  .chat-widget{width:calc(100vw - 3rem);right:1.5rem;bottom:1rem}
}

/* WHATSAPP BUTTON */
.whatsapp-float{position:fixed;bottom:1.5rem;left:1.5rem;z-index:2000}
.whatsapp-float a{display:flex;align-items:center;justify-content:center;width:52px;height:52px;background:#25D366;border-radius:50%;box-shadow:0 4px 20px rgba(37,211,102,.4);transition:transform .2s}
.whatsapp-float a:hover{transform:scale(1.08)}
.whatsapp-float svg{width:28px;height:28px}

/* MOBILE MENU */
.menu-toggle{display:none;background:none;border:none;cursor:pointer;padding:.5rem}
.menu-toggle span{display:block;width:22px;height:2px;background:var(--white);margin:5px 0;border-radius:2px;transition:.3s}
.nav-mobile-menu{display:none;position:fixed;top:60px;left:0;right:0;background:var(--navy);padding:1rem;flex-direction:column;gap:1rem;z-index:999;border-top:1px solid rgba(255,255,255,.1)}
.nav-mobile-menu.open{display:flex}
.nav-mobile-menu a{color:rgba(255,255,255,.9);text-decoration:none;font-size:1rem;font-weight:500;padding:.5rem 0;border-bottom:1px solid rgba(255,255,255,.08)}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    -webkit-overflow-scrolling: touch;
  }

  .menu-toggle { display: block; }
  .nav-links { display: none; }

  /* NAV sticky */
  .nav {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  /* HERO */
  .hero {
    min-height: auto;
    padding: 6rem 1rem 3rem;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-sub {
    font-size: 0.95rem;
  }
  .hero .btn-primary,
  .hero .btn-ghost {
    display: block;
    width: 100%;
    text-align: center;
    margin: 0 0 0.7rem;
    padding: 0.75rem 1.5rem;
  }

  /* SECCIONES */
  .section {
    padding: 3rem 1rem;
  }
  .section-title {
    font-size: 1.4rem;
  }

  /* PROBLEMA - 2 columnas como La Estacion */
  .problema-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem !important;
  }
  .problema-card {
    border-radius: 10px;
    padding: 1rem;
    overflow: hidden;
  }
  .problema-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
  .problema-amount { font-size: 1.4rem; }
  .problema-label { font-size: 0.8rem; }
  .problema-desc { display: none !important; }
  .problema-quote { font-size: 0.85rem; padding: 1rem; }

  /* SERVICIOS */
  .serv-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem;
  }
  .serv-card {
    border-radius: 10px;
    padding: 1.2rem;
  }
  .serv-card h3 { font-size: 1rem; }
  .serv-card p { font-size: 0.85rem; }

  /* NUMEROS */
  .numeros-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.8rem;
  }
  .num-figure { font-size: 2.2rem; }

  /* PLANES - cards apilados */
  .planes-grid {
    grid-template-columns: 1fr !important;
    gap: 0.8rem;
  }
  .plan-card {
    border-radius: 12px;
    padding: 1.5rem;
  }
  .plan-price { font-size: 1.8rem; }
  .precios-nota { font-size: 0.75rem; }

  /* CONTACTO */
  .contacto-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .section-orange .btn-primary {
    width: 100%;
    text-align: center;
    display: block;
  }

  /* CHAT WIDGET - igual que La Estacion */
  .chat-widget {
    position: fixed !important;
    bottom: 3rem !important;
    right: 0.5rem !important;
    left: auto !important;
    width: 280px !important;
    z-index: 998 !important;
  }

  /* WHATSAPP BUTTON */
  .whatsapp-float {
    bottom: 1rem !important;
    left: 0.8rem !important;
  }
  .whatsapp-float a {
    width: 46px !important;
    height: 46px !important;
  }
  .whatsapp-float svg {
    width: 24px !important;
    height: 24px !important;
  }
}