/* =========================================================
   JECAHE | Identidad visual inicial
   Estilo: moderno, tecnológico y comercial
   Archivo: Content/jecahe.css
   ========================================================= */

:root {
    --jecahe-blue: #0d5bff;
    --jecahe-blue-hover: #0849d6;
    --jecahe-navy: #10233f;
    --jecahe-cyan: #18b9e8;
    --jecahe-text: #172943;
    --jecahe-muted: #63738b;
    --jecahe-border: #e0e8f2;
    --jecahe-surface: #f4f8fd;
    --jecahe-white: #ffffff;
    --jecahe-radius: 18px;
    --jecahe-shadow: 0 12px 32px rgba(22, 61, 111, .08);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--jecahe-text);
    background: var(--jecahe-white);
    font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.site-shell { min-height: 100vh; overflow: hidden; }
.container { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid rgba(220, 230, 242, .9);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: white;
    background: linear-gradient(145deg, #22c8f4, #0d5bff 72%);
    font-size: 30px;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 7px 18px rgba(13, 91, 255, .22);
}
.brand-copy { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { color: var(--jecahe-navy); font-size: 25px; font-weight: 850; letter-spacing: 1.5px; }
.brand-tagline { margin-top: 4px; color: var(--jecahe-muted); font-size: 10px; letter-spacing: .05px; }

.main-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; }
.nav-link { position: relative; padding: 29px 0 27px; color: #33445c; font-size: 14px; font-weight: 600; transition: color .2s ease; }
.nav-link:hover, .nav-link.active { color: var(--jecahe-blue); }
.nav-link.active::after {
    position: absolute; bottom: 17px; left: 0; right: 0; height: 2px;
    content: ""; background: var(--jecahe-blue); border-radius: 5px;
}
.header-actions { display: flex; align-items: center; gap: 9px; }
.mobile-menu-button {
    display: none; border: 1px solid var(--jecahe-border); border-radius: 10px;
    background: white; color: var(--jecahe-navy); padding: 7px 11px; cursor: pointer;
}

/* Buttons */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 18px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.25;
    text-align: center;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary { color: white; background: var(--jecahe-blue); box-shadow: 0 7px 18px rgba(13, 91, 255, .17); }
.button-primary:hover { background: var(--jecahe-blue-hover); box-shadow: 0 10px 22px rgba(13, 91, 255, .23); }
.button-outline { color: var(--jecahe-blue); border-color: #b9ceff; background: white; }
.button-outline:hover { background: #f3f7ff; }
.button-outline-light { color: white; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.button-outline-light:hover { background: rgba(255,255,255,.12); }
.button-light { color: var(--jecahe-blue); background: white; }
.button-light:hover { background: #edf4ff; }
.button-small { min-height: 39px; padding: 9px 14px; font-size: 13px; }
.button-large { min-height: 51px; padding: 14px 21px; }
.button-purple { background: #6d45e8; }
.button-purple:hover { background: #5632ca; }

/* Hero */
.hero-section {
    position: relative;
    overflow: hidden;
    color: white;
    background:
        radial-gradient(ellipse at 82% 18%, rgba(22, 185, 232, .23), transparent 34%),
        radial-gradient(ellipse at 65% 90%, rgba(13, 91, 255, .25), transparent 42%),
        linear-gradient(115deg, #09182c 0%, #102744 57%, #0d3b63 100%);
}
.hero-section::after {
    position: absolute; inset: 0; pointer-events: none; content: "";
    opacity: .16;
    background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: linear-gradient(to right, transparent 15%, black 100%);
}
.hero-grid {
    position: relative; z-index: 1; min-height: 465px; padding-block: 60px 42px;
    display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 46px;
}
.hero-content { max-width: 600px; }
.eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    color: #79d9ff; font-size: 11px; font-weight: 800; letter-spacing: 1.7px;
}
.eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #28d4c5; box-shadow: 0 0 0 4px rgba(40,212,197,.12); }
.hero-content h1 {
    max-width: 610px; margin: 17px 0 18px; color: white;
    font-size: clamp(36px, 4vw, 54px); line-height: 1.08; letter-spacing: -1.7px; font-weight: 800;
}
.hero-content h1 span {
    color: #39c6f4;
    background: linear-gradient(90deg, #4bd7ff, #4e8cff);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-description { max-width: 560px; margin: 0; color: #d5e3f4; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-benefits { display: flex; flex-wrap: wrap; gap: 19px; margin-top: 32px; }
.benefit-item { display: flex; align-items: center; gap: 9px; color: #c7d8eb; font-size: 11px; line-height: 1.35; }
.benefit-item strong { color: white; font-weight: 700; }
.benefit-icon {
    display: inline-grid; place-items: center; flex-shrink: 0; width: 29px; height: 29px;
    color: #5bd8ff; border: 1px solid rgba(91,216,255,.7); border-radius: 50%; font-size: 18px; font-weight: 700;
}

/* Hero dashboard illustration: CSS-only, no external image dependency */
.hero-visual { position: relative; min-height: 340px; display: grid; place-items: center; }
.visual-orbit { position: absolute; border: 1px solid rgba(87,199,255,.2); border-radius: 50%; transform: rotate(-23deg); }
.orbit-one { width: 390px; height: 255px; }
.orbit-two { width: 330px; height: 205px; }
.dashboard-card {
    position: relative; z-index: 2; width: min(100%, 390px); padding: 22px;
    border: 1px solid rgba(149,218,255,.38); border-radius: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.06));
    box-shadow: 0 22px 65px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.16);
    backdrop-filter: blur(18px); transform: rotate(-2deg);
}
.dashboard-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 18px; color: white; font-size: 15px; font-weight: 750; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; color: #c4f9e8; font-size: 10px; font-weight: 600; }
.status-pill span { width: 6px; height: 6px; border-radius: 50%; background: #2ee6ad; }
.dashboard-service {
    display: flex; align-items: center; gap: 12px; margin-top: 10px; padding: 13px;
    border: 1px solid rgba(255,255,255,.5); border-radius: 13px; background: rgba(255,255,255,.94); color: var(--jecahe-navy);
}
.service-symbol, .product-icon { display: inline-grid; place-items: center; flex-shrink: 0; color: white; font-weight: 850; }
.service-symbol { width: 42px; height: 42px; border-radius: 12px; font-size: 21px; }
.community-symbol { background: linear-gradient(145deg, #23a6ff, #0758ed); }
.sport-symbol { background: linear-gradient(145deg, #22cda3, #069d82); }
.package-symbol { background: linear-gradient(145deg, #9b72ff, #6b42e8); }
.dashboard-service-copy { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.dashboard-service-copy strong { font-size: 13px; }
.dashboard-service-copy small { margin-top: 2px; color: #667892; font-size: 10px; }
.service-arrow { color: var(--jecahe-blue); font-size: 21px; }
.dashboard-footer { display: flex; align-items: center; gap: 10px; margin-top: 17px; color: white; }
.dashboard-footer-icon { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px; background: rgba(53,192,255,.2); color: #72dcff; }
.dashboard-footer span:last-child { display: flex; flex-direction: column; }
.dashboard-footer strong { font-size: 12px; }
.dashboard-footer small { color: #c2d6eb; font-size: 10px; }
.floating-card {
    position: absolute; z-index: 3; display: flex; align-items: center; gap: 9px; padding: 12px 14px;
    color: var(--jecahe-navy); background: white; border: 1px solid #e4edf7; border-radius: 13px;
    box-shadow: 0 14px 35px rgba(0,0,0,.16);
}
.floating-card-top { top: 17px; right: -4px; }
.floating-card-bottom { bottom: 11px; left: -5px; }
.floating-card > span:last-child { display: flex; flex-direction: column; }
.floating-card strong { font-size: 11px; }
.floating-card small { color: var(--jecahe-muted); font-size: 10px; }
.floating-icon { display: grid; place-items: center; width: 31px; height: 31px; border-radius: 9px; background: #e8f1ff; color: var(--jecahe-blue); font-size: 17px; }
.floating-icon-green { color: #079c7c; background: #e0fbf3; }

/* Benefits strip */
.benefits-strip { background: #f5f8fd; border-bottom: 1px solid #eaf0f8; }
.benefits-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-block: 23px; }
.strip-benefit { display: flex; align-items: center; gap: 12px; min-width: 0; }
.strip-icon { display: grid; place-items: center; flex-shrink: 0; width: 43px; height: 43px; border-radius: 14px; font-size: 21px; font-weight: 800; }
.strip-icon.blue { color: #0d5bff; background: #e2edff; }
.strip-icon.green { color: #079c7c; background: #dcf9ef; }
.strip-icon.purple { color: #7146e8; background: #eee7ff; }
.strip-icon.orange { color: #d77a13; background: #fff0d9; }
.strip-benefit > span:last-child { display: flex; flex-direction: column; }
.strip-benefit strong { color: var(--jecahe-navy); font-size: 12px; }
.strip-benefit small { margin-top: 2px; color: var(--jecahe-muted); font-size: 11px; line-height: 1.4; }

/* Sections */
.section { padding-block: 67px; }
.section-services { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow-light { color: var(--jecahe-blue); }
.section-heading h2, .plans-banner h2, .cta-panel h2, .help-inner h2 {
    margin: 8px 0 7px; color: var(--jecahe-navy); font-size: clamp(27px, 3vw, 36px); line-height: 1.2; letter-spacing: -.7px;
}
.section-heading p, .plans-banner p, .cta-panel p, .help-inner p { max-width: 690px; margin: 0; color: var(--jecahe-muted); font-size: 14px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0; color: var(--jecahe-blue); font-size: 13px; font-weight: 750; }
.text-link:hover { color: var(--jecahe-blue-hover); }

.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; }
.product-card {
    position: relative; display: flex; flex-direction: column; min-height: 330px; padding: 24px;
    overflow: hidden; border: 1px solid var(--jecahe-border); border-radius: var(--jecahe-radius);
    background: linear-gradient(150deg, #ffffff, #f6f9ff); box-shadow: var(--jecahe-shadow);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.product-card:hover { transform: translateY(-4px); border-color: #c6d8ff; box-shadow: 0 18px 42px rgba(22,61,111,.12); }
.product-sport { background: linear-gradient(150deg, #ffffff, #f1fcf9); }
.product-packages { background: linear-gradient(150deg, #ffffff, #f7f3ff); }
.product-topline { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.product-icon { width: 49px; height: 49px; border-radius: 14px; font-size: 23px; }
.product-label { color: #75849a; font-size: 9px; font-weight: 800; letter-spacing: 1px; text-align: right; }
.product-card h3 { margin: 19px 0 7px; color: var(--jecahe-navy); font-size: 23px; line-height: 1.2; letter-spacing: -.5px; }
.product-card p { margin: 0; color: #596b83; font-size: 13px; line-height: 1.65; }
.product-points { display: grid; gap: 7px; margin: 17px 0 23px; padding: 0; list-style: none; color: #4b5f78; font-size: 12px; }
.product-points li { display: flex; align-items: center; gap: 8px; }
.product-points li::before { content: "✓"; color: #0ba783; font-weight: 900; }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(205,218,235,.75); }
.product-caption { color: #718199; font-size: 11px; }

/* Plans banner */
.section-plans { padding-top: 0; }
.plans-banner {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 33px 38px;
    border: 1px solid #dbe7ff; border-radius: 20px;
    background: radial-gradient(ellipse at 90% 0%, rgba(45,144,255,.12), transparent 40%), linear-gradient(115deg, #f0f6ff, #f8fbff);
}
.plans-banner .button { flex-shrink: 0; }
.plans-banner p { max-width: 660px; }

/* CTA */
.section-cta { padding-top: 5px; }
.cta-panel {
    display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 38px 42px;
    border-radius: 22px; color: white;
    background: radial-gradient(ellipse at 80% 0%, rgba(67,197,255,.28), transparent 45%), linear-gradient(115deg, #0d5bff, #123d9b);
}
.cta-panel .eyebrow { color: #b8eaff; }
.cta-panel h2 { max-width: 620px; color: white; }
.cta-panel p { color: #dce8ff; }
.cta-panel .button { flex-shrink: 0; }

/* Help and footer */
.section-help { padding-block: 35px; background: #f5f8fd; }
.help-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.help-inner h2 { margin-top: 0; font-size: 23px; }
.site-footer { background: #0b192b; color: #c8d5e5; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-block: 30px; }
.brand-footer .brand-name { color: white; }
.brand-footer .brand-tagline { color: #a8b9ce; }
.brand-footer .brand-mark { width: 39px; height: 39px; font-size: 27px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: #c4d1e1; font-size: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding-block: 17px; border-top: 1px solid rgba(255,255,255,.12); color: #91a4bc; font-size: 11px; }

/* Responsive */
@media (max-width: 1080px) {
    .header-inner { gap: 17px; }
    .main-navigation { gap: 15px; }
    .brand-name { font-size: 22px; }
    .hero-grid { gap: 25px; }
    .hero-benefits { gap: 12px; }
    .benefits-grid { gap: 13px; }
    .product-card { padding: 20px; }
}
@media (max-width: 850px) {
    .container { width: min(100% - 36px, 700px); }
    .header-inner { min-height: 73px; flex-wrap: wrap; padding-block: 12px; }
    .mobile-menu-button { display: inline-block; margin-left: auto; }
    .main-navigation { display: none; order: 4; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding: 6px 0; }
    .main-navigation.is-open { display: flex; }
    .nav-link { padding: 11px 4px; }
    .nav-link.active::after { display: none; }
    .header-actions { gap: 7px; }
    .hero-grid { grid-template-columns: 1fr; padding-block: 52px 38px; }
    .hero-content { max-width: 700px; }
    .hero-visual { min-height: 330px; }
    .benefits-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: 1fr; }
    .product-card { min-height: 0; }
    .product-card h3 { margin-top: 14px; }
    .plans-banner, .cta-panel { align-items: flex-start; flex-direction: column; padding: 30px; }
    .section-heading { align-items: flex-start; flex-direction: column; }
    .footer-main { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 520px) {
    .container { width: calc(100% - 30px); }
    .brand { gap: 7px; }
    .brand-mark { width: 37px; height: 37px; font-size: 25px; border-radius: 11px; }
    .brand-name { font-size: 19px; letter-spacing: 1px; }
    .brand-tagline { font-size: 9px; }
    .header-actions { width: 100%; order: 5; }
    .header-actions .button { flex: 1; }
    .hero-grid { padding-top: 42px; }
    .hero-content h1 { font-size: 37px; letter-spacing: -1.1px; }
    .hero-description { font-size: 14px; }
    .hero-actions { align-items: stretch; flex-direction: column; }
    .hero-actions .button { width: 100%; }
    .hero-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-visual { min-height: 285px; }
    .dashboard-card { padding: 15px; }
    .floating-card-top { right: -3px; top: 0; }
    .floating-card-bottom { left: -3px; bottom: 0; }
    .floating-card { padding: 9px; }
    .benefits-grid { grid-template-columns: 1fr; padding-block: 20px; }
    .section { padding-block: 45px; }
    .section-plans { padding-top: 0; }
    .product-card { padding: 20px; }
    .product-card-bottom { align-items: flex-start; flex-direction: column; }
    .plans-banner, .cta-panel { padding: 25px 21px; }
    .cta-panel .button { width: 100%; }
    .help-inner { align-items: flex-start; flex-direction: column; }
    .footer-links { gap: 13px 18px; }
    .footer-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
