:root{
  --orange:#F67F2D;
  --orange-deep:#C95F18;
  --orange-soft:#FFE6D2;
  --navy:#0E2A47;
  --navy-soft:#2A4566;
  --charcoal:#23262B;
  --steel:#5B6470;
  --steel-soft:#9AA3AC;
  --gray-light:#F2F0EC;
  --gray-mid:#E3E0D9;
  --white:#FFFFFF;
  --ink:#1C1E22;
  --ink-soft:#5B5E63;

  --font-display:'Space Grotesk', sans-serif;
  --font-body:'Inter', sans-serif;
  --font-mono:'JetBrains Mono', monospace;

  --maxw:1200px;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}
button{font-family:inherit;cursor:pointer;border:none;background:none;}
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 32px;}

.eyebrow{
  font-family:var(--font-mono);
  font-size:15.5px;
  font-weight:600;
  letter-spacing:0.12em;
  text-transform:uppercase;
  display:inline-flex;
  align-items:center;
  gap:10px;
}
.eyebrow::before{
  content:'';
  width:20px;height:2.5px;
  background:currentColor;
  display:inline-block;
}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:700;
  line-height:1.08;
  letter-spacing:-0.01em;
  color:var(--ink);
}
h2{font-size:clamp(28px,4vw,42px);}
h3{font-size:22px;}
p{line-height:1.65;color:var(--ink-soft);}

.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  padding:14px 26px;
  border-radius:3px;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space:nowrap;
}
.btn-primary{
  background:var(--orange);
  color:var(--white);
  box-shadow:0 8px 22px -8px rgba(246,127,45,.55);
}
.btn-primary:hover{background:var(--orange-deep);transform:translateY(-2px);}
.btn-ghost{
  background:transparent;
  color:var(--white);
  border:1.5px solid rgba(255,255,255,.35);
}
.btn-ghost:hover{border-color:rgba(255,255,255,.8);transform:translateY(-2px);}
.btn-ghost-dark{
  background:transparent;
  color:var(--ink);
  border:1.5px solid var(--gray-mid);
}
.btn-ghost-dark:hover{border-color:var(--orange);color:var(--orange-deep);}

/* ============ NAV ============ */
header{
  position:fixed;top:0;left:0;right:0;
  z-index:1000;
  background:rgba(14,42,71,0);
  transition:background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding:22px 0;
}
header.scrolled{
  background:rgba(14,42,71,.97);
  box-shadow:0 6px 24px -10px rgba(0,0,0,.4);
  padding:14px 0;
}
nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 32px;
}
.logo-mark{display:flex;align-items:center;gap:10px;}
.logo-mark .logo-img{height:90px;width:auto;border-radius:6px;}
.logo-text{font-family:var(--font-display);font-weight:700;color:var(--white);font-size:16px;line-height:1.15;}
.logo-text span{display:block;font-family:var(--font-mono);font-size:9.5px;font-weight:600;letter-spacing:.16em;color:var(--orange);}
.nav-links{display:flex;align-items:center;gap:34px;}
.nav-links a{
  font-size:14px;font-weight:500;color:rgba(255,255,255,.82);
  position:relative;padding:4px 0;
  transition:color .2s ease;
}
.nav-links a:hover{color:var(--white);}
.nav-links a::after{
  content:'';position:absolute;left:0;bottom:-2px;height:2px;width:0;
  background:var(--orange);transition:width .25s ease;
}
.nav-links a:hover::after{width:100%;}
.nav-cta{display:flex;align-items:center;gap:18px;}
.burger{display:none;width:30px;height:22px;position:relative;}
.burger span{position:absolute;left:0;right:0;height:2px;background:var(--white);border-radius:2px;transition:all .25s ease;}
.burger span:nth-child(1){top:0;}
.burger span:nth-child(2){top:10px;}
.burger span:nth-child(3){top:20px;}
.burger.open span:nth-child(1){transform:translateY(10px) rotate(45deg);}
.burger.open span:nth-child(2){opacity:0;}
.burger.open span:nth-child(3){transform:translateY(-10px) rotate(-45deg);}

/* ============ HERO ============ */
.hero{
  position:relative;
  background:var(--navy);
  color:var(--white);
  padding:178px 0 0;
  overflow:hidden;
}
.hero-photo{
  position:absolute;
  inset:0;
  background-size:cover;
  background-position:center 30%;
  opacity:.8;
  z-index:0;
}
.hero-gradient{
  position:absolute;
  inset:0;
  background:
    linear-gradient(100deg, var(--navy) 0%, var(--navy) 32%, rgba(14,42,71,.75) 50%, rgba(14,42,71,.22) 68%, rgba(20,32,45,.3) 100%),
    linear-gradient(0deg, var(--charcoal) 0%, rgba(35,38,43,0) 28%);
  z-index:1;
}
.hero-inner{
  position:relative;
  z-index:2;
  max-width:var(--maxw);
  margin:0 auto;
  padding:0 32px 110px;
}
.hero-inner .eyebrow{color:var(--orange);margin-bottom:22px;}
.hero h1{
  color:var(--white);
  font-size:clamp(34px,5.4vw,58px);
  max-width:780px;
  margin-bottom:24px;
}
.hero .lede{
  color:rgba(255,255,255,.74);
  font-size:18px;
  max-width:560px;
  margin-bottom:40px;
}
.hero-ctas{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:86px;}

.stats-strip{
  position:relative;
  z-index:2;
  border-top:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.03);
}
.stats-grid{
  max-width:var(--maxw);margin:0 auto;padding:0 32px;
  display:grid;grid-template-columns:repeat(4,1fr);
}
.stat-item{
  padding:28px 28px 28px 0;
  border-right:1px solid rgba(255,255,255,.12);
}
.stat-item:last-child{border-right:none;padding-right:0;}
.stat-num{font-family:var(--font-mono);font-weight:600;font-size:26px;color:var(--orange);}
.stat-label{font-size:13px;color:rgba(255,255,255,.62);margin-top:4px;letter-spacing:.01em;}

/* ============ SECTION GENERIC ============ */
section{position:relative;}
.section-pad{padding:108px 0;}
.bg-light{background:var(--gray-light);}
.section-head{max-width:680px;margin-bottom:56px;}
.section-head .eyebrow{color:var(--orange-deep);margin-bottom:16px;}
.section-head h2{margin-bottom:18px;}

/* ============ QUIENES SOMOS ============ */
.about-grid{
  display:grid;grid-template-columns:1.15fr .85fr;gap:64px;align-items:start;
}
.about-text p{margin-bottom:18px;font-size:16px;}
.about-text p:last-child{margin-bottom:0;}
.timeline{
  display:flex;flex-direction:column;gap:0;
  border-left:2px solid var(--gray-mid);
  padding-left:0;
}
.timeline-item{
  position:relative;
  padding:0 0 30px 28px;
  border-left:2px solid var(--gray-mid);
  margin-left:-2px;
}
.timeline-item:last-child{padding-bottom:0;}
.timeline-item::before{
  content:'';position:absolute;left:-7px;top:2px;
  width:12px;height:12px;border-radius:50%;
  background:var(--white);border:2.5px solid var(--orange);
}
.timeline-year{font-family:var(--font-mono);font-weight:600;color:var(--orange-deep);font-size:14px;letter-spacing:.04em;}
.timeline-text{font-size:14.5px;color:var(--ink-soft);margin-top:4px;line-height:1.55;}

/* ============ ICON BADGES ============ */
.icon-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
  border-radius:18px;
  background:var(--white);
  box-shadow:
    0 16px 32px -12px rgba(17,22,28,.34),
    0 4px 10px -2px rgba(17,22,28,.18),
    0 0 0 1px rgba(17,22,28,.03);
}
.icon-badge svg{display:block;}

/* ============ QUE HACEMOS - VERTICAL CARDS ============ */
.verticals-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:22px;
}
.v-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--gray-mid);
  border-radius:6px;
  padding:34px 32px 30px;
  overflow:hidden;
  cursor:pointer;
  transition:border-color .25s ease, box-shadow .25s ease;
}
.v-card:hover{box-shadow:0 18px 40px -22px rgba(0,0,0,.25);}
.v-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:4px;
  background:var(--v-color);
}
.v-card .v-num{
  font-family:var(--font-mono);font-size:13px;font-weight:600;
  color:var(--v-color);letter-spacing:.06em;margin-bottom:18px;display:block;
}
.v-card .icon-badge{width:68px;height:68px;margin-bottom:20px;border-radius:18px;}
.v-card .v-icon{
  width:46px;height:46px;
}
.v-card h3{margin-bottom:10px;}
.v-card p{font-size:14.5px;margin-bottom:18px;}
.v-tags{display:flex;flex-wrap:wrap;gap:8px;}
.v-tags span{
  font-size:12px;font-weight:500;
  padding:6px 11px;border-radius:20px;
  background:var(--gray-light);color:var(--ink-soft);
}
.v-card[data-vert="seguridad"]{--v-color:var(--orange);}
.v-card[data-vert="tecnologia"]{--v-color:var(--navy);}
.v-card[data-vert="infraestructura"]{--v-color:var(--steel);}
.v-card[data-vert="construccion"]{--v-color:var(--charcoal);}

/* ============ VERTICAL DETAIL SECTIONS ============ */
.vdetail{padding:96px 0;border-top:1px solid var(--gray-mid);}
.vdetail-head{
  display:flex;align-items:flex-end;justify-content:space-between;gap:40px;
  margin-bottom:48px;flex-wrap:wrap;
}
.vdetail-head .tag{
  font-family:var(--font-mono);font-size:12px;font-weight:600;letter-spacing:.1em;
  padding:7px 14px;border-radius:20px;color:var(--white);
}
.vdetail-title{display:flex;align-items:center;gap:16px;}
.vdetail-title .icon-badge{width:58px;height:58px;border-radius:16px;}
.vdetail-title .vd-icon{width:38px;height:38px;}
.vdetail-lead{max-width:480px;font-size:15.5px;}

.service-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:1px;
  background:var(--gray-mid);
  border:1px solid var(--gray-mid);
}
.service-item{
  background:var(--white);
  padding:26px 26px 22px;
}
.service-item h4{font-size:15.5px;margin-bottom:8px;display:flex;align-items:center;gap:10px;}
.service-item h4 .dot{width:7px;height:7px;border-radius:50%;flex-shrink:0;background:var(--v-color);}
.service-item p{font-size:13.8px;line-height:1.6;margin:0;}

.vdetail[data-vert="seguridad"]{--v-color:var(--orange);}
.vdetail[data-vert="seguridad"] .tag{background:var(--orange);}
.vdetail[data-vert="tecnologia"]{--v-color:var(--navy);background:var(--gray-light);}
.vdetail[data-vert="tecnologia"] .tag{background:var(--navy);}
.vdetail[data-vert="infraestructura"]{--v-color:var(--steel);}
.vdetail[data-vert="infraestructura"] .tag{background:var(--steel);}
.vdetail[data-vert="construccion"]{--v-color:var(--charcoal);background:var(--gray-light);}
.vdetail[data-vert="construccion"] .tag{background:var(--charcoal);}

/* ============ MARCAS ============ */
.brands-band{background:var(--charcoal);padding:72px 0;}
.brands-band .section-head{margin-bottom:38px;}
.brands-band .section-head .eyebrow{color:var(--orange);}
.brands-band .section-head h2{color:var(--white);}
.brands-band .section-head p{color:rgba(255,255,255,.6);}
.brands-grid{
  display:grid;grid-template-columns:repeat(6,1fr);gap:1px;
  background:rgba(255,255,255,.1);
}
.brand-chip{
  background:var(--charcoal);
  padding:22px 14px;
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-display);font-weight:600;
  font-size:14.5px;letter-spacing:.01em;
  color:rgba(255,255,255,.78);
  text-align:center;
  transition:color .2s ease;
}
.brand-chip:hover{color:var(--orange);}

/* ============ POR QUE ELEGIRNOS ============ */
.why-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;}
.why-card{padding:0;}
.why-num{font-family:var(--font-mono);font-size:13px;color:var(--orange-deep);font-weight:600;margin-bottom:16px;}
.why-card h4{font-size:17px;margin-bottom:10px;font-family:var(--font-display);}
.why-card p{font-size:14px;}
.why-icon{width:36px;height:36px;}
.why-card .icon-badge{width:60px;height:60px;margin-bottom:18px;border-radius:16px;}

/* ============ SECTORES ============ */
.sectors-band{background:var(--navy);padding:88px 0;color:var(--white);}
.sectors-band .section-head .eyebrow{color:var(--orange);}
.sectors-band .section-head h2{color:var(--white);}
.sectors-band .section-head p{color:rgba(255,255,255,.65);}
.sector-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:14px;}
.sector-card{
  position:relative;
  height:172px;
  border-radius:10px;
  overflow:hidden;
  background-size:cover;
  background-position:center;
  background-color:var(--navy-soft);
  box-shadow:0 14px 28px -14px rgba(0,0,0,.5);
  transition:transform .25s ease;
}
.sector-card:hover{transform:translateY(-3px);}
.sector-overlay{
  position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(10,20,32,0) 38%, rgba(6,12,20,.92) 100%);
}
.sector-label{
  position:absolute;left:12px;right:10px;bottom:12px;z-index:2;
  display:flex;align-items:flex-start;gap:7px;
  color:var(--white);font-size:13.5px;font-weight:600;line-height:1.25;
}
.sector-label svg{width:18px;height:18px;flex-shrink:0;color:var(--orange);margin-top:1px;}

/* ============ CONTACTO ============ */
.contact-band{background:var(--charcoal);color:var(--white);padding:108px 0;}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:64px;}
.contact-grid .section-head .eyebrow{color:var(--orange);}
.contact-grid .section-head h2{color:var(--white);}
.contact-grid .section-head p{color:rgba(255,255,255,.62);}
.contact-info-list{display:flex;flex-direction:column;gap:22px;margin-top:36px;}
.contact-info-item{display:flex;gap:16px;align-items:flex-start;}
.contact-info-item .ci-icon{width:22px;height:22px;color:var(--orange);flex-shrink:0;margin-top:2px;}
.contact-info-item .ci-label{font-size:12.5px;text-transform:uppercase;letter-spacing:.08em;color:rgba(255,255,255,.5);font-family:var(--font-mono);}
.contact-info-item .ci-value{font-size:15px;color:rgba(255,255,255,.92);margin-top:3px;}

.form{display:flex;flex-direction:column;gap:18px;}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px;}
.field{display:flex;flex-direction:column;gap:7px;}
.field label{font-size:12.5px;font-family:var(--font-mono);letter-spacing:.05em;color:rgba(255,255,255,.55);text-transform:uppercase;}
.field input,.field select,.field textarea{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  border-radius:4px;
  padding:13px 14px;
  color:var(--white);
  font-family:var(--font-body);
  font-size:14.5px;
  outline:none;
  transition:border-color .2s ease, background .2s ease;
}
.field input::placeholder,.field textarea::placeholder{color:rgba(255,255,255,.35);}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--orange);background:rgba(255,255,255,.1);}
.field select option{color:#000;}
.form .btn-primary{margin-top:4px;align-self:flex-start;}

/* ============ FOOTER ============ */
footer{background:#16181C;color:rgba(255,255,255,.6);padding:64px 0 28px;}
.footer-top{
  display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:40px;
  padding-bottom:46px;border-bottom:1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text{color:var(--white);}
.footer-tagline{margin-top:16px;font-size:14.5px;max-width:260px;color:rgba(255,255,255,.5);}
.footer-col h5{
  font-family:var(--font-mono);font-size:12px;letter-spacing:.08em;
  text-transform:uppercase;color:rgba(255,255,255,.4);margin-bottom:18px;
}
.footer-col ul{display:flex;flex-direction:column;gap:11px;}
.footer-col a{font-size:14px;color:rgba(255,255,255,.68);transition:color .2s ease;}
.footer-col a:hover{color:var(--orange);}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;
  padding-top:26px;font-size:13px;color:rgba(255,255,255,.4);flex-wrap:wrap;gap:14px;
}
.social-row{display:flex;gap:14px;}
.social-row a{
  width:36px;height:36px;border-radius:50%;
  border:1px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
  transition:border-color .2s ease,color .2s ease;
}
.social-row a:hover{border-color:var(--orange);color:var(--orange);}
.social-row svg{width:16px;height:16px;}

/* ============ RESPONSIVE ============ */
@media (max-width:980px){
  .about-grid{grid-template-columns:1fr;gap:46px;}
  .verticals-grid{grid-template-columns:1fr;}
  .service-grid{grid-template-columns:repeat(2,1fr);}
  .why-grid{grid-template-columns:repeat(2,1fr);gap:32px;}
  .stats-grid{grid-template-columns:repeat(2,1fr);}
  .stat-item{border-right:none;border-bottom:1px solid rgba(255,255,255,.12);padding:22px 0;}
  .brands-grid{grid-template-columns:repeat(3,1fr);}
  .contact-grid{grid-template-columns:1fr;gap:46px;}
  .footer-top{grid-template-columns:1fr 1fr;gap:32px;}
  .sector-grid{grid-template-columns:repeat(3,1fr);}
}
@media (max-width:680px){
  .nav-links{display:none;}
  .burger{display:block;}
  .nav-cta .btn-primary{display:none;}
  .hero{padding-top:140px;}
  .hero-ctas{flex-direction:column;}
  .hero-ctas .btn{width:100%;justify-content:center;}
  .service-grid{grid-template-columns:1fr;}
  .why-grid{grid-template-columns:1fr;}
  .brands-grid{grid-template-columns:repeat(2,1fr);}
  .form-row{grid-template-columns:1fr;}
  .vdetail-head{flex-direction:column;align-items:flex-start;}
  .footer-top{grid-template-columns:1fr;}
  .sector-grid{grid-template-columns:repeat(2,1fr);}
}

@media (prefers-reduced-motion:reduce){
  *{transition:none !important; scroll-behavior:auto !important;}
}

/* mobile nav drawer */
.mobile-drawer{
  position:fixed;top:0;right:-100%;width:78%;max-width:340px;height:100%;
  background:var(--navy);z-index:1100;
  padding:100px 32px 40px;
  transition:right .3s ease;
  display:flex;flex-direction:column;gap:26px;
}
.mobile-drawer.open{right:0;}
.mobile-drawer a{color:var(--white);font-size:17px;font-weight:500;}
.drawer-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.5);z-index:1050;
  opacity:0;pointer-events:none;transition:opacity .3s ease;
}
.drawer-overlay.open{opacity:1;pointer-events:auto;}


/* Ajustes Suria: iconografía, marcas y sectores */
.logo-img{object-fit:contain;background:transparent;border-radius:0;padding:0;}
.service-item{position:relative;padding-top:24px;}
.service-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:#fff3ea;border:1px solid rgba(246,127,45,.22);box-shadow:0 10px 24px rgba(15,23,42,.08);margin-bottom:16px;}
.service-icon svg{width:38px;height:38px;display:block;}
.service-item h4{display:flex;align-items:center;gap:10px;}
.service-item h4 .dot{display:none;}
.brands-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;align-items:center;}
.brand-logo{background:#fff;border:1px solid rgba(15,23,42,.08);border-radius:18px;height:96px;display:flex;align-items:center;justify-content:center;padding:16px;box-shadow:0 14px 34px rgba(15,23,42,.07);transition:transform .2s ease, box-shadow .2s ease;}
.brand-logo:hover{transform:translateY(-3px);box-shadow:0 18px 42px rgba(15,23,42,.10);}
.brand-logo img{max-width:100%;max-height:70px;display:block;object-fit:contain;}
.why-card .icon-badge{box-shadow:0 12px 30px rgba(246,127,45,.18);border:1px solid rgba(246,127,45,.20);}
.sector-card{background-size:cover;background-position:center;min-height:240px;}
.sector-overlay{background:linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.72));}
@media(max-width:900px){.brands-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.brand-logo{height:84px;}}


/* Cambio final: visuales tipo R3 Controls - producto/render, no iconos genéricos */
.icon-badge{background:linear-gradient(180deg,#ffffff 0%,#f7f8fa 100%);overflow:visible;}
.icon-badge svg{display:none;}
.badge-product-icon{width:78px;height:60px;object-fit:contain;display:block;filter:drop-shadow(0 10px 14px rgba(15,23,42,.18));}
.vdetail-title .badge-product-icon{width:72px;height:54px;}
.why-card .badge-product-icon{width:70px;height:54px;}
.service-icon{width:82px;height:66px;border-radius:18px;background:linear-gradient(180deg,#ffffff,#f6f7f9);border:1px solid rgba(15,23,42,.08);box-shadow:0 16px 34px rgba(15,23,42,.10);margin-bottom:18px;}
.service-icon svg{display:none;}
.product-icon{width:94px;height:74px;object-fit:contain;display:block;filter:drop-shadow(0 12px 16px rgba(15,23,42,.20));}
.service-item:hover .product-icon,.v-card:hover .badge-product-icon,.why-card:hover .badge-product-icon{transform:translateY(-2px) scale(1.03);transition:transform .22s ease;}
.service-item{transition:box-shadow .22s ease, transform .22s ease;}
.service-item:hover{box-shadow:inset 0 0 0 1px rgba(246,127,45,.20);}
@media(max-width:700px){.service-icon{width:76px;height:62px}.product-icon{width:88px;height:70px}.badge-product-icon{width:70px;height:54px}}

/* ── Form status messages ── */
.form-status{
  padding:14px 18px;
  border-radius:4px;
  font-size:14px;
  line-height:1.55;
}
.form-status--success{
  background:rgba(34,197,94,.12);
  border:1px solid rgba(34,197,94,.35);
  color:#15803d;
}
.form-status--error{
  background:rgba(239,68,68,.10);
  border:1px solid rgba(239,68,68,.30);
  color:#b91c1c;
}

/* ── Privacy modal ── */
.modal-overlay{
  position:fixed;inset:0;z-index:2000;
  background:rgba(10,15,22,.62);
  display:flex;align-items:center;justify-content:center;
  padding:24px;
  opacity:0;pointer-events:none;
  transition:opacity .25s ease;
}
.modal-overlay.open{opacity:1;pointer-events:auto;}
.modal-box{
  background:var(--white);
  border-radius:10px;
  max-width:680px;width:100%;
  max-height:85vh;
  display:flex;flex-direction:column;
  box-shadow:0 30px 80px -20px rgba(0,0,0,.45);
  transform:translateY(16px) scale(.98);
  transition:transform .25s ease;
}
.modal-overlay.open .modal-box{transform:translateY(0) scale(1);}
.modal-head{
  display:flex;align-items:flex-start;justify-content:space-between;gap:20px;
  padding:28px 32px 22px;
  border-bottom:1px solid var(--gray-mid);
}
.modal-head h2{font-size:24px;margin-bottom:4px;}
.modal-meta{font-family:var(--font-mono);font-size:12px;color:var(--steel-soft);margin:0;}
.modal-close{
  flex-shrink:0;width:34px;height:34px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:var(--ink-soft);background:var(--gray-light);
  transition:background .2s ease,color .2s ease;
}
.modal-close:hover{background:var(--orange-soft);color:var(--orange-deep);}
.modal-close svg{width:16px;height:16px;}
.modal-body{
  padding:24px 32px 36px;
  overflow-y:auto;
}
.modal-body h3{font-size:16px;margin:26px 0 10px;}
.modal-body h3:first-child{margin-top:0;}
.modal-body p{font-size:14px;line-height:1.7;margin-bottom:12px;color:var(--ink-soft);}
.modal-body ul{list-style:disc;padding-left:20px;margin-bottom:12px;}
.modal-body ul li{font-size:14px;line-height:1.7;color:var(--ink-soft);margin-bottom:5px;}
.modal-body a{color:var(--orange-deep);text-decoration:none;}
.modal-body a:hover{text-decoration:underline;}
body.modal-locked{overflow:hidden;}
@media(max-width:560px){
  .modal-head{padding:22px 20px 18px;}
  .modal-body{padding:20px 20px 28px;}
}
