
:root{
  --orion-dark:#03113f;
  --orion-navy:#061b6b;
  --orion-blue:#1167ff;
  --orion-cyan:#20d4ff;
  --orion-white:#ffffff;
  --orion-muted:#dbeafe;
  --orion-soft:#f5f8ff;
  --text:#0f172a;
  --gray:#64748b;
  --border:rgba(15,23,42,.1);
  --shadow:0 25px 80px rgba(2,10,40,.18);
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--text);background:#fff;line-height:1.6}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}
.header{position:sticky;top:0;z-index:9999;background:rgba(3,17,63,.94);backdrop-filter:blur(16px);border-bottom:1px solid rgba(255,255,255,.1)}
.nav{height:78px;display:flex;align-items:center;justify-content:space-between;gap:18px}
.logo{display:flex;align-items:center;gap:12px;color:#fff;font-weight:800;letter-spacing:.2px}
.logo img{width:52px;height:52px;object-fit:contain}
.logo span{font-size:1.02rem}
.menu{display:flex;align-items:center;gap:18px;color:#dbeafe;font-weight:600}
.menu a{position:relative;font-size:.92rem}
.menu a::after{content:"";position:absolute;left:0;bottom:-8px;width:0;height:2px;background:linear-gradient(90deg,var(--orion-blue),var(--orion-cyan));transition:.25s}
.menu a:hover::after,.menu a.active::after{width:100%}
.nav-cta{background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));color:#fff;padding:11px 18px;border-radius:999px;font-weight:800;box-shadow:0 10px 30px rgba(17,103,255,.3)}
.mobile-btn{display:none;background:none;border:0;color:#fff;font-size:30px;cursor:pointer}
.hero{position:relative;overflow:hidden;color:#fff;padding:118px 0 102px;min-height:calc(100vh - 78px);display:flex;align-items:center;background:
  linear-gradient(90deg,rgba(2,6,23,.96) 0%,rgba(2,10,38,.9) 37%,rgba(3,17,63,.72) 66%,rgba(2,6,23,.86) 100%),
  radial-gradient(circle at 69% 49%,rgba(17,103,255,.36),transparent 22%),
  url("../img/hero-bg.jpg");
  background-size:cover;background-position:center;background-repeat:no-repeat}
.hero::before{content:"";position:absolute;inset:0;background:
  radial-gradient(circle at 70% 48%,rgba(32,212,255,.18),transparent 18%),
  linear-gradient(180deg,rgba(2,6,23,.16),rgba(2,6,23,.28));
  pointer-events:none}
.hero-grid{position:relative;display:grid;grid-template-columns:1.1fr .9fr;gap:56px;align-items:center}
.badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border:1px solid rgba(255,255,255,.2);background:rgba(255,255,255,.08);border-radius:999px;color:#dbeafe;font-weight:800;font-size:.86rem;margin-bottom:24px}
h1{font-size:clamp(2.7rem,5.6vw,5.2rem);line-height:1.05;letter-spacing:-.06em;margin-bottom:24px}
.text-gradient{background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{font-size:1.18rem;color:#dbeafe;max-width:650px;margin-bottom:34px}
.actions{display:flex;gap:16px;flex-wrap:wrap}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:999px;font-weight:850;transition:.25s;border:1px solid transparent;cursor:pointer}
.btn-primary{background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));color:#fff;box-shadow:0 16px 40px rgba(17,103,255,.32)}
.btn-secondary{border-color:rgba(255,255,255,.24);color:#fff;background:rgba(255,255,255,.08)}
.btn-light{background:#fff;color:var(--orion-navy)}
.btn:hover{transform:translateY(-2px)}
.hero-card{border:0;background:transparent;box-shadow:none;border-radius:0;padding:0;backdrop-filter:none;position:relative}
.hero-card::before{content:"";position:absolute;left:50%;top:48%;width:390px;height:390px;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(32,212,255,.22),rgba(17,103,255,.15) 42%,transparent 68%);filter:blur(1px)}
.orbit-logo{position:relative;z-index:1;width:360px;height:360px;border-radius:50%;display:grid;place-items:center;margin:0 auto 28px;background:rgba(17,103,255,.18);border:1px solid rgba(255,255,255,.05);box-shadow:0 0 90px rgba(17,103,255,.28)}
.orbit-logo img{width:255px;border-radius:0;box-shadow:0 22px 70px rgba(0,0,0,.18)}
.stats{display:none;grid-template-columns:repeat(3,1fr);gap:14px;text-align:center}
.stat{background:rgba(255,255,255,.08);border-radius:18px;padding:18px 10px}
.stat strong{display:block;font-size:1.6rem;color:#fff}
.stat span{font-size:.8rem;color:#bfdbfe}
.section{padding:86px 0}
.section-soft{background:var(--orion-soft)}
.section-dark{background:linear-gradient(145deg,#03113f,#061b6b);color:#fff}
.section-title{text-align:center;max-width:760px;margin:0 auto 48px}
.eyebrow{color:var(--orion-blue);font-weight:900;text-transform:uppercase;letter-spacing:.14em;font-size:.78rem;margin-bottom:10px}
.section-dark .eyebrow{color:var(--orion-cyan)}
.section-title h2,.page-hero h1{font-size:clamp(2rem,4vw,3.3rem);line-height:1.05;letter-spacing:-.04em;margin-bottom:14px}
.section-title p{color:var(--gray);font-size:1.05rem}
.section-dark .section-title p{color:#dbeafe}
.grid-3{display:flex;flex-direction:row;justify-content:center;align-items:stretch;gap:24px;flex-wrap:nowrap}
.grid-4{display:flex;flex-direction:row;justify-content:center;align-items:stretch;gap:24px;flex-wrap:nowrap}
.card{background:#fff;border:1px solid var(--border);border-radius:26px;padding:28px;box-shadow:0 14px 45px rgba(15,23,42,.06);transition:.25s}
.card:hover{transform:translateY(-5px);box-shadow:0 24px 70px rgba(15,23,42,.1)}
.icon{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));display:grid;place-items:center;color:#fff;font-size:24px;margin-bottom:18px}
.card h3{font-size:1.25rem;margin-bottom:10px;color:#061b6b}
.card p{color:var(--gray)}
.process{counter-reset:step}
.process .card{position:relative}
.process .card::before{counter-increment:step;content:"0" counter(step);position:absolute;top:22px;right:24px;color:#dbeafe;font-size:2.2rem;font-weight:950}
.page-hero{background:radial-gradient(circle at top right,rgba(32,212,255,.25),transparent 32%),linear-gradient(145deg,#020617,#061b6b);color:#fff;padding:84px 0}
.page-hero p{max-width:720px;color:#dbeafe;font-size:1.13rem}
.feature-list{display:grid;gap:14px;margin-top:20px}
.feature{display:flex;gap:12px;align-items:flex-start;color:#334155}
.feature::before{content:"✓";display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;border-radius:50%;background:#e0f2fe;color:#0369a1;font-weight:900}
.highlight{position:relative;overflow:hidden;border-radius:34px;padding:50px;background:radial-gradient(circle at 15% 20%,rgba(32,212,255,.28),transparent 28%),linear-gradient(135deg,#03113f,#0b36a8);color:#fff;box-shadow:var(--shadow)}
.new-badge{display:inline-flex;padding:7px 14px;border-radius:999px;background:linear-gradient(135deg,#22c55e,#20d4ff);font-weight:950;margin-bottom:18px;color:#03113f}
.automation-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center}
.glow-card{background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);border-radius:24px;padding:24px}
.pricing{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.price-card{position:relative;background:#fff;border:1px solid var(--border);border-radius:28px;padding:32px;box-shadow:0 18px 55px rgba(15,23,42,.08)}
.price-card.featured{border:2px solid var(--orion-blue);transform:scale(1.03)}
.price-label{position:absolute;top:18px;right:18px;background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));color:#fff;border-radius:999px;padding:6px 12px;font-size:.75rem;font-weight:900}
.price{font-size:2.5rem;font-weight:950;color:#061b6b;margin:18px 0}
.price small{font-size:.95rem;color:var(--gray)}
.price-card ul{list-style:none;display:grid;gap:12px;margin:24px 0}
.price-card li::before{content:"✓ ";color:var(--orion-blue);font-weight:900}
.contact-layout{display:grid;grid-template-columns:.85fr 1.15fr;gap:30px}
.contact-info{background:linear-gradient(145deg,#03113f,#061b6b);color:#fff;border-radius:30px;padding:34px}
.contact-info p{color:#dbeafe;margin-bottom:20px}
.info-item{padding:18px 0;border-bottom:1px solid rgba(255,255,255,.12)}
.info-item strong{display:block;color:#fff}
.info-item span{color:#dbeafe}
.form{background:#fff;border:1px solid var(--border);border-radius:30px;padding:34px;box-shadow:0 18px 55px rgba(15,23,42,.08)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.field.full{grid-column:1/-1}
label{font-weight:800;color:#0f172a}
input,textarea,select{width:100%;border:1px solid #cbd5e1;border-radius:16px;padding:14px 16px;font:inherit;outline:none;transition:.2s;background:#fff}
textarea{min-height:140px;resize:vertical}
input:focus,textarea:focus,select:focus{border-color:var(--orion-blue);box-shadow:0 0 0 4px rgba(17,103,255,.12)}
.form-status{margin-top:14px;font-weight:800}
.footer{background:#020617;color:#dbeafe;padding:54px 0 28px}
.footer-grid{display:grid;grid-template-columns:1.2fr .7fr .7fr;gap:34px;margin-bottom:30px}
.footer h4{color:#fff;margin-bottom:14px}
.footer a{display:block;margin:8px 0;color:#bfdbfe}
.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;color:#94a3b8;font-size:.9rem}
.table{width:100%;border-collapse:collapse;background:#fff;border-radius:22px;overflow:hidden;box-shadow:0 18px 55px rgba(15,23,42,.08)}
.table th,.table td{padding:18px;border-bottom:1px solid #e2e8f0;text-align:left}
.table th{background:#061b6b;color:#fff}
.menu-new{position:relative;display:inline-block}
.badge-new{position:absolute;top:-12px;right:-22px;display:inline-block;width:auto;background:#21d4fd;color:#021a6b;font-size:9px;font-weight:700;padding:2px 7px;border-radius:999px;line-height:1;white-space:nowrap}
.flow-bubbles{display:flex;flex-wrap:wrap;gap:12px;margin-top:18px}.flow-bubbles span{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);color:#fff;padding:10px 16px;border-radius:999px;font-size:14px;font-weight:600;box-shadow:0 8px 22px rgba(0,0,0,.12);white-space:nowrap}.flow-bubbles span::after{content:"→";margin-left:12px;color:#21d4fd}.flow-bubbles span:last-child::after{content:""}
.workflow-section{background:linear-gradient(180deg,#f8fbff,#ffffff)}
.workflow-card{position:relative;overflow:hidden;background:#fff;border:1px solid #dbeafe;border-radius:30px;padding:42px;box-shadow:0 24px 70px rgba(15,23,42,.09)}
.workflow-card::before{content:"";position:absolute;inset:auto -80px -120px auto;width:280px;height:280px;border-radius:50%;background:radial-gradient(circle,rgba(32,212,255,.22),transparent 68%);pointer-events:none}
.workflow-title{margin-bottom:30px}
.workflow{position:relative;display:flex;justify-content:center;align-items:stretch;gap:12px;flex-wrap:wrap}
.step{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #dbeafe;border-radius:18px;padding:14px 18px;font-weight:750;color:#0f172a;box-shadow:0 10px 28px rgba(15,23,42,.07);transition:.25s}
.step span{display:grid;place-items:center;min-width:34px;height:34px;border-radius:999px;background:#eef6ff;color:#1167ff;font-size:.78rem;font-weight:900}
.step:hover{transform:translateY(-3px);box-shadow:0 18px 38px rgba(15,23,42,.11)}
.arrow{display:flex;align-items:center;font-size:24px;color:#1167ff;font-weight:900}
.success{background:linear-gradient(135deg,#1167ff,#20d4ff);color:#fff;border:none}
.success span{background:rgba(255,255,255,.18);color:#fff}
.energy-cards .card{
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 420px; /* Ajusta el valor si hace falta */
}
#chat-widget{

    position:fixed;

    right:25px;

    bottom:25px;

    z-index:99999;

}

#chat-toggle{

    width:65px;

    height:65px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    background:linear-gradient(135deg,#1167ff,#32d4ff);

    color:white;

    font-size:28px;

    box-shadow:0 12px 35px rgba(0,0,0,.25);

}

#chat-window{

    display:none;

    width:360px;

    height:520px;

    background:white;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 20px 60px rgba(0,0,0,.2);

    margin-bottom:15px;

}

#chat-widget.open #chat-window{

    display:flex;

    flex-direction:column;

}

.chat-header{

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px 20px;

    background:#061b6b;
    color:#fff;

}

.chat-actions{

    display:flex;
    gap:10px;

}

.chat-actions button{

    width:34px;
    height:34px;

    border:none;

    border-radius:8px;

    cursor:pointer;

    background:rgba(255,255,255,.12);

    color:white;

    transition:.2s;

}

.chat-actions button:hover{

    background:rgba(255,255,255,.22);

}

#chat-messages{
    flex:1;
    padding:16px;
    background:#f5f7fb;
    overflow-y:auto;
}

.chat-input{

    display:flex;

    border-top:1px solid #eee;

}

.chat-input input{

    flex:1;

    border:none;

    padding:15px;

}

.chat-input button{

    width:60px;

    border:none;

    background:#1167ff;

    color:white;

    cursor:pointer;

}

/* Contenedor de cada mensaje */

.message{
    display:flex;
    margin:12px 0;
}

/* Usuario a la derecha */

.message.user{
    justify-content:flex-end;
}

/* Bot a la izquierda */

.message.bot{
    justify-content:flex-start;
}

/* Bubble */

.bubble{

    max-width:75%;

    padding:12px 16px;

    border-radius:18px;

    font-size:15px;

    line-height:1.5;

    word-break:break-word;

    box-shadow:0 4px 12px rgba(0,0,0,.08);

}

/* Usuario */

.message.user .bubble{

    background:#061b6b;

    color:#fff;

    border-bottom-right-radius:6px;

}

/* Bot */

.message.bot .bubble{

    background:#f2f4f8;

    color:#1e293b;

    border-bottom-left-radius:6px;

}

.chat-title{
    display:flex;
    align-items:center;
    gap:12px;
}

.chat-title img{

    width:42px;
    height:42px;
    border-radius:50%;
    object-fit:cover;

}

.chat-title strong{

    display:block;
    color:white;

}

.chat-title small{

    color:#9ad7ff;
    font-size:12px;

}
#que-puedes-ofrecer{
    scroll-margin-top:90px;
}

.typing-bubble{

    display:flex;
    gap:6px;
    align-items:center;
    padding:14px 18px;

}

.typing-bubble span{

    width:8px;
    height:8px;

    border-radius:50%;

    background:#9ca3af;

    animation:typing 1.2s infinite;

}

.typing-bubble span:nth-child(2){

    animation-delay:.2s;

}

.typing-bubble span:nth-child(3){

    animation-delay:.4s;

}

@keyframes typing{

    0%,60%,100%{

        transform:translateY(0);
        opacity:.4;

    }

    30%{

        transform:translateY(-5px);
        opacity:1;

    }

}

/* =========================
   RESPONSIVE ORION
   ========================= */

/* Tablet */
@media (max-width: 1024px){

  .container{width:min(94%, 920px)}
  .nav{height:72px}
  .logo img{width:44px;height:44px}
  .logo span{font-size:.95rem}
  .menu{gap:14px}
  .menu a{font-size:.86rem}

  .hero{padding:86px 0 78px;min-height:auto}
  .hero-grid{gap:38px;grid-template-columns:1fr .8fr}
  h1{font-size:clamp(2.6rem, 6vw, 4rem)}

  .orbit-logo{width:280px;height:280px}
  .orbit-logo img{width:200px}
  .hero-card::before{width:320px;height:320px}

  .grid-3,.grid-4{flex-wrap:wrap}
  .grid-3 .card,.grid-4 .card{flex:1 1 calc(50% - 24px)}

  .pricing{grid-template-columns:1fr 1fr}
  .contact-layout{grid-template-columns:1fr}
}

/* Mobile */
@media (max-width: 900px){

  body{overflow-x:hidden}
  .container{width:92%}

  .nav{height:70px}
  .mobile-btn{display:block}
  .nav-cta{display:none}

  .menu{
    position:fixed;
    top:70px;
    left:0;
    right:0;
    display:none;
    flex-direction:column;
    align-items:flex-start;
    gap:18px;
    padding:24px 6%;
    background:#03113f;
    border-top:1px solid rgba(255,255,255,.12);
    box-shadow:0 18px 50px rgba(0,0,0,.25);
  }

  .menu.open{display:flex}
  .menu a{font-size:1rem}
  .badge-new{position:static;margin-left:8px;vertical-align:middle}

  .hero{
    min-height:auto;
    padding:54px 0 64px;
    text-align:center;
    background-position:center;
  }

  .hero-grid{
    display:flex;
    flex-direction:column-reverse;
    gap:34px;
  }

  .badge{margin:0 auto 20px;justify-content:center}

  h1{
    font-size:clamp(2.25rem, 10vw, 3.2rem);
    line-height:1.08;
    letter-spacing:-.04em;
  }

  .hero p{
    max-width:100%;
    font-size:1rem;
    margin-bottom:26px;
  }

  .actions{flex-direction:column;gap:12px}
  .btn{width:100%;min-height:50px;padding:14px 18px}

  .orbit-logo{width:215px;height:215px;margin-bottom:10px}
  .orbit-logo img{width:155px}
  .hero-card::before{width:250px;height:250px}

  .section{padding:62px 0}
  .section-title{margin-bottom:34px}

  .section-title h2,
  .page-hero h1{
    font-size:clamp(2rem, 8vw, 2.65rem);
  }

  .section-title p,
  .page-hero p{
    font-size:1rem;
  }

  .page-hero{
    padding:58px 0;
    text-align:center;
  }

  .grid-3,
  .grid-4{
    flex-direction:column;
    flex-wrap:nowrap;
    gap:20px;
  }

  .grid-3 .card,
  .grid-4 .card{
    width:100%;
    flex:1 1 auto;
  }

  .card{padding:24px;border-radius:22px}
  .energy-cards .card{min-height:auto}

  .automation-grid{grid-template-columns:1fr;gap:22px}
  .highlight{padding:30px 22px;border-radius:26px}

  .flow-bubbles{justify-content:center}
  .flow-bubbles span{white-space:normal;text-align:center}

  .pricing{grid-template-columns:1fr}
  .price-card{padding:26px}
  .price-card.featured{transform:none}

  .contact-layout{grid-template-columns:1fr}
  .contact-info,.form{padding:26px;border-radius:24px}
  .form-grid{grid-template-columns:1fr}

  .footer-grid{grid-template-columns:1fr;gap:24px}

  .table{
    display:block;
    overflow-x:auto;
    white-space:nowrap;
  }

  .workflow-card{padding:28px 20px;border-radius:24px}
  .workflow{flex-direction:column;align-items:stretch}
  .step{justify-content:flex-start}
  .arrow{justify-content:center;transform:rotate(90deg)}

  #chat-widget{right:15px;bottom:15px}
  #chat-toggle{width:58px;height:58px;font-size:24px}

  #chat-window{
    width:calc(100vw - 30px);
    max-width:370px;
    height:70vh;
    max-height:560px;
    border-radius:18px;
  }

  .chat-header{padding:14px 16px}
  .chat-title img{width:36px;height:36px}
  .chat-actions button{width:32px;height:32px}
  .bubble{max-width:82%;font-size:14px}
}

/* Small mobile */
@media (max-width: 480px){

  .container{width:90%}

  .logo span{font-size:.86rem}
  .logo img{width:38px;height:38px}
  .mobile-btn{font-size:27px}

  .hero{padding:44px 0 54px}
  h1{font-size:2.15rem}

  .badge{font-size:.72rem;padding:7px 11px}
  .hero p{font-size:.95rem}

  .section{padding:52px 0}

  .section-title h2,
  .page-hero h1{
    font-size:1.9rem;
  }

  .card{padding:20px}

  .icon{
    width:46px;
    height:46px;
    font-size:21px;
  }

  .card h3{font-size:1.12rem}
  .feature{gap:10px}

  .highlight{padding:26px 18px}
  .contact-info,.form{padding:22px}

  input,textarea,select{padding:13px 14px}

  #chat-widget{right:10px;bottom:10px}

  #chat-window{
    width:calc(100vw - 20px);
    height:72vh;
  }

  .chat-input input{padding:13px}
  .chat-input button{width:52px}
  .bubble{max-width:86%;padding:11px 14px}
}



/* =========================================================
   POLÍTICA DE PRIVACIDAD - FORMULARIOS Y MODAL
   ========================================================= */

.privacy-consent{
  margin:4px 0 20px;
}

.privacy-check{
  display:flex;
  align-items:flex-start;
  gap:11px;
  cursor:pointer;
  color:#475569;
  font-size:.92rem;
  font-weight:600;
  line-height:1.5;
}

.privacy-check input{
  position:absolute;
  opacity:0;
  pointer-events:none;
  width:1px;
  height:1px;
}

.privacy-custom-check{
  position:relative;
  flex:0 0 21px;
  width:21px;
  height:21px;
  margin-top:1px;
  border:1.5px solid #cbd5e1;
  border-radius:6px;
  background:#fff;
  transition:.2s ease;
}

.privacy-check:hover .privacy-custom-check{
  border-color:var(--orion-blue);
}

.privacy-check input:focus-visible + .privacy-custom-check{
  border-color:var(--orion-blue);
  box-shadow:0 0 0 4px rgba(17,103,255,.12);
}

.privacy-check input:checked + .privacy-custom-check{
  border-color:var(--orion-blue);
  background:linear-gradient(135deg,var(--orion-blue),var(--orion-cyan));
}

.privacy-check input:checked + .privacy-custom-check::after{
  content:"";
  position:absolute;
  left:6px;
  top:2px;
  width:6px;
  height:11px;
  border:solid #fff;
  border-width:0 2px 2px 0;
  transform:rotate(45deg);
}

.privacy-check-text{
  flex:1;
}

.privacy-link{
  appearance:none;
  border:0;
  padding:0;
  background:none;
  color:var(--orion-blue);
  font:inherit;
  font-weight:800;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:3px;
  cursor:pointer;
}

.privacy-link:hover{
  color:var(--orion-navy);
}

body.privacy-modal-open{
  overflow:hidden;
}

.privacy-modal{
  position:fixed;
  inset:0;
  z-index:120000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
  opacity:0;
  visibility:hidden;
  pointer-events:none;
  transition:opacity .22s ease, visibility .22s ease;
}

.privacy-modal.is-open{
  opacity:1;
  visibility:visible;
  pointer-events:auto;
}

.privacy-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(2,6,23,.72);
  backdrop-filter:blur(8px);
}

.privacy-modal-dialog{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  width:min(820px,100%);
  max-height:min(760px,88vh);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.18);
  border-radius:28px;
  background:#fff;
  box-shadow:0 35px 100px rgba(2,10,40,.35);
  transform:translateY(18px) scale(.985);
  transition:transform .22s ease;
  outline:none;
}

.privacy-modal.is-open .privacy-modal-dialog{
  transform:translateY(0) scale(1);
}

.privacy-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  padding:24px 26px;
  color:#fff;
  background:
    radial-gradient(circle at 85% 15%,rgba(32,212,255,.22),transparent 28%),
    linear-gradient(135deg,var(--orion-dark),var(--orion-navy));
}

.privacy-modal-eyebrow{
  display:block;
  margin-bottom:4px;
  color:var(--orion-cyan);
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

.privacy-modal-header h2{
  margin:0;
  color:#fff;
  font-size:clamp(1.5rem,3vw,2rem);
  line-height:1.15;
}

.privacy-modal-close{
  flex:0 0 42px;
  width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:rgba(255,255,255,.09);
  color:#fff;
  font-size:28px;
  line-height:1;
  cursor:pointer;
  transition:.2s ease;
}

.privacy-modal-close:hover{
  background:rgba(255,255,255,.17);
  transform:translateY(-1px);
}

.privacy-modal-content{
  overflow-y:auto;
  padding:28px 26px;
  background:linear-gradient(180deg,#fff,#f8fbff);
}

.privacy-intro{
  margin-bottom:22px;
  color:#475569;
  font-size:1rem;
}

.privacy-info-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
}

.privacy-info-card{
  padding:18px;
  border:1px solid #dbeafe;
  border-radius:18px;
  background:#fff;
  box-shadow:0 8px 24px rgba(15,23,42,.04);
}

.privacy-info-card h3{
  margin-bottom:8px;
  color:var(--orion-navy);
  font-size:1rem;
}

.privacy-info-card p{
  color:#64748b;
  font-size:.9rem;
}

.privacy-info-card a{
  color:var(--orion-blue);
  font-weight:700;
  overflow-wrap:anywhere;
}

.privacy-note{
  margin-top:18px;
  padding:16px 18px;
  border:1px solid #bfdbfe;
  border-radius:16px;
  background:#eff6ff;
  color:#334155;
  font-size:.9rem;
}

.privacy-modal-footer{
  display:flex;
  justify-content:flex-end;
  padding:16px 26px;
  border-top:1px solid #e2e8f0;
  background:#fff;
}

.privacy-modal-footer .btn{
  min-width:130px;
}

@media(max-width:700px){
  .privacy-modal{
    align-items:flex-end;
    padding:12px;
  }

  .privacy-modal-dialog{
    max-height:88vh;
    border-radius:24px;
  }

  .privacy-modal-header{
    padding:20px;
  }

  .privacy-modal-content{
    padding:22px 20px;
  }

  .privacy-info-grid{
    grid-template-columns:1fr;
  }

  .privacy-modal-footer{
    padding:14px 20px;
  }

  .privacy-modal-footer .btn{
    width:100%;
  }
}

@media(max-width:480px){
  .privacy-check{
    font-size:.86rem;
  }

  .privacy-modal{
    padding:8px;
  }

  .privacy-modal-dialog{
    max-height:92vh;
    border-radius:20px;
  }

  .privacy-modal-header{
    padding:18px;
  }

  .privacy-modal-close{
    width:38px;
    height:38px;
    flex-basis:38px;
  }

  .privacy-modal-content{
    padding:18px;
  }

  .privacy-info-card{
    padding:16px;
  }
}
