/* ==========================================================================
   Deica IT — Sistema visual "Azul Corporativo" (Variation B)
   Adaptado del prototipo deicait.netlify.app
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --c-deep: #0B132B;
  --c-electric: #1068FF;
  --c-electric-hover: #2F79C4;
  --c-brand: #1F3F75;
  --c-brand-alt: #2F79C4;
  --c-heading: #1E293B;
  --c-text: #334155;
  --c-gray: #64748B;
  --c-gray-light: #E8ECF1;
  --c-white: #FFFFFF;
  --c-footer-main: #0F172A;
  --c-footer-sub: #0B1220;
  --c-footer-title: #F8FAFC;
  --c-text-muted: #CBD5E1;
  --c-link: #E2E8F0;
  --c-pain: rgba(239, 68, 68, 0.85);
  --shadow-cta: 0 0 24px rgba(16, 104, 255, 0.45);
  --shadow-cta-hover: 0 0 40px rgba(16, 104, 255, 0.7);
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 12px 40px rgba(16, 104, 255, 0.12);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --max-w: 1280px;
  --section-py-d: 100px;
  --section-py-m: 60px;
  --px-d: 60px;
  --px-m: 20px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--c-white);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--c-electric); text-decoration: none; }

/* Tipografía */
h1, h2, h3, h4 {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  color: var(--c-heading);
  font-weight: 700;
  line-height: 1.15;
  text-wrap: pretty;
}
h1 { font-size: clamp(36px, 4vw, 64px); }
h2 { font-size: clamp(26px, 3vw, 48px); }
h3 { font-size: clamp(18px, 1.6vw, 22px); font-weight: 700; }

/* Layout */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px-d);
}
@media (max-width: 768px) {
  .container { padding: 0 var(--px-m); }
}
.section {
  padding: var(--section-py-d) 0;
}
.section--alt { background: var(--c-gray-light); }
.section--dark {
  background: linear-gradient(135deg, var(--c-brand) 0%, var(--c-deep) 100%);
  color: var(--c-white);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--c-white); }
@media (max-width: 768px) {
  .section { padding: var(--section-py-m) 0; }
}

/* Navbar */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 14px 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: transparent;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--c-gray-light);
}
.nav__logo img { height: 40px; width: auto; }
.nav__links { display: flex; gap: 32px; align-items: center; }
.nav__links a {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500; font-size: 14px;
  color: var(--c-heading); transition: color .2s;
}
.nav__links a:hover { color: var(--c-electric); }
.nav__cta {
  background: var(--c-electric); color: #fff !important;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 600; box-shadow: 0 0 20px rgba(16, 104, 255, .4);
  transition: all .2s;
}
.nav__cta:hover { background: var(--c-electric-hover); box-shadow: 0 0 30px rgba(16, 104, 255, .6); color: #fff !important; }
.nav__burger {
  display: none; background: none; border: 0; cursor: pointer;
  flex-direction: column; gap: 5px; padding: 8px;
}
.nav__burger span {
  width: 24px; height: 2px; background: var(--c-heading); border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.nav.menu-open .nav__burger span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav.menu-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.menu-open .nav__burger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
@media (max-width: 900px) {
  .nav { padding: 12px 20px; }
  .nav__burger { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; gap: 0; align-items: stretch;
    background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--c-gray-light);
    padding: 16px 20px 24px;
    display: none;
  }
  .nav.menu-open .nav__links { display: flex; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,.06); font-size: 16px; }
  .nav__cta { text-align: center; margin-top: 16px; padding: 14px 0; }
}

/* Section labels (uppercase chip with bar) */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 16px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--c-electric);
}
.section-label::before {
  content: ''; display: inline-block; width: 24px; height: 2px;
  background: currentColor; border-radius: 1px;
}
.section--dark .section-label { color: var(--c-text-muted); }

.eyebrow {
  display: inline-block;
  background: var(--c-electric); color: var(--c-white);
  padding: 5px 14px; border-radius: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 20px;
}

/* CTA Button */
.btn-cta, a.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-electric); color: #fff !important;
  padding: 16px 36px; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px;
  border: 0; cursor: pointer;
  box-shadow: var(--shadow-cta);
  transition: all .25s;
}
.btn-cta:hover, a.btn-cta:hover {
  background: var(--c-electric-hover);
  box-shadow: var(--shadow-cta-hover);
  transform: translateY(-2px);
  color: #fff !important;
}
.btn-cta::after {
  content: ''; width: 18px; height: 18px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>");
  background-repeat: no-repeat; background-position: center;
}
.btn-cta--inverse { background: var(--c-white); color: var(--c-electric) !important; box-shadow: none; }
.btn-cta--inverse:hover { background: var(--c-gray-light); color: var(--c-electric) !important; box-shadow: none; }
.btn-cta--inverse::after {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231068FF' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='M5 12h14M12 5l7 7-7 7'/></svg>");
}
.btn-meta { color: var(--c-gray); font-size: 13px; }

/* HERO */
.hero {
  position: relative; padding: 130px 0 80px;
  background: linear-gradient(160deg, var(--c-gray-light) 0%, var(--c-white) 60%);
  overflow: hidden;
  min-height: 92vh; display: flex; align-items: center;
}
.hero__accent {
  position: absolute; top: 128px; bottom: 0; right: 0;
  width: calc(48% + 80px);
  background: linear-gradient(180deg, var(--c-brand) 0%, var(--c-deep) 100%);
  clip-path: polygon(80px 0, 100% 0, 100% 100%, 0 100%);
}
.hero__accent-corner { display: none; } /* deprecated, fusionado con .hero__accent */
@media (max-width: 900px) { .hero__accent { display: none; } }

.hero__inner {
  position: relative; z-index: 1; width: 100%;
  max-width: var(--max-w); margin: 0 auto; padding: 0 var(--px-d);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center;
}
@media (max-width: 900px) {
  .hero { padding: 110px 0 60px; min-height: auto; }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 0 var(--px-m); }
}
.hero h1 { margin-bottom: 20px; }
.hero h1 .accent { color: var(--c-electric); }
.hero__lead { font-size: 18px; line-height: 1.7; max-width: 520px; margin-bottom: 32px; color: var(--c-text); }
.hero__cta-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }

/* Hero metric cards */
.hero__metrics { display: grid; gap: 16px; padding: 20px 0 0 20px; }
@media (max-width: 900px) { .hero__metrics { padding: 0; } }
.metric-card {
  background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  display: flex; gap: 16px; align-items: center;
}
@media (max-width: 900px) {
  .metric-card { background: var(--c-brand); border-color: rgba(255, 255, 255, 0.15); padding: 18px 20px; }
}
.metric-card__num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 36px; font-weight: 700;
  color: var(--c-white); min-width: 80px;
}
.metric-card__label { color: var(--c-white); font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; }
.metric-card__sub { color: rgba(255, 255, 255, 0.6); font-size: 12px; margin-top: 3px; }
@media (max-width: 900px) {
  .metric-card__num { font-size: 28px; min-width: 70px; }
  .metric-card__label { font-size: 13px; }
}

/* Section header (centered) */
.section__head { text-align: center; margin-bottom: 48px; max-width: 760px; margin-left: auto; margin-right: auto; }
.section__head p { color: var(--c-text); font-size: 17px; margin-top: 14px; line-height: 1.65; }
.section--dark .section__head p { color: rgba(255, 255, 255, 0.8); }

/* Cards grid */
.cards { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) { .cards--2, .cards--3 { grid-template-columns: 1fr; } }

/* Service / pain card */
.scard {
  background: var(--c-white);
  border-radius: 16px; padding: 32px 28px;
  border: 1px solid var(--c-gray-light);
  border-top: 4px solid var(--c-electric);
  box-shadow: var(--shadow-card);
  transition: all .25s;
  display: flex; flex-direction: column;
}
.scard:hover {
  border-color: var(--c-electric);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}
.scard--accent2 { border-top-color: var(--c-brand); }
.scard--accent3 { border-top-color: var(--c-brand-alt); }
.scard--accent4 { border-top-color: var(--c-deep); }
.scard__icon { font-size: 32px; margin-bottom: 14px; }
.scard__pain {
  font-size: 11px; font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--c-pain); margin-bottom: 8px;
}
.scard h3 { font-size: 19px; margin-bottom: 12px; }
.scard p { font-size: 14px; line-height: 1.7; color: var(--c-text); margin-bottom: 20px; flex-grow: 1; }
.scard__metric {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16, 104, 255, 0.08);
  color: var(--c-electric);
  padding: 6px 14px; border-radius: 100px;
  font-size: 12px; font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  align-self: flex-start;
}
.scard__metric::before { content: '✓'; }
.scard__cta {
  margin-top: 16px;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  color: var(--c-electric);
  display: inline-flex; align-items: center; gap: 6px;
  align-self: flex-start;
}
.scard__cta::after { content: '→'; transition: transform .2s; }
.scard__cta:hover::after { transform: translateX(4px); }

/* Process row (4 numbered circles connected) */
.process-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-row::before {
  content: ''; position: absolute; top: 28px; left: 12.5%; right: 12.5%; height: 2px;
  background: linear-gradient(90deg, var(--c-electric), var(--c-brand));
  z-index: 0;
}
.process-step { text-align: center; padding: 0 24px; position: relative; z-index: 1; }
.process-step__num {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--c-white); border: 3px solid var(--c-electric);
  color: var(--c-electric);
  font-family: 'Space Grotesk', sans-serif; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
}
.process-step:first-child .process-step__num { background: var(--c-electric); color: var(--c-white); }
.process-step h3 { font-size: 17px; margin-bottom: 10px; }
.process-step p { font-size: 14px; color: var(--c-text); line-height: 1.6; }
@media (max-width: 900px) {
  .process-row { display: flex; flex-direction: column; gap: 24px; }
  .process-row::before { display: none; }
  .process-step { display: flex; gap: 20px; align-items: flex-start; padding: 0; text-align: left; }
  .process-step__num { width: 44px; height: 44px; border-width: 3px; flex-shrink: 0; margin: 0; font-size: 14px; }
}

/* Two-column why section */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split__media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--c-gray-light); }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.checklist { margin-top: 24px; padding: 0; list-style: none; }
.checklist li {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px;
  font-size: 14px; color: var(--c-text);
}
.checklist li::before {
  content: ''; flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-electric);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M20 6L9 17l-5-5'/></svg>");
  background-size: 11px; background-repeat: no-repeat; background-position: center;
  margin-top: 1px;
}

/* Storyboard-style narrative blocks (alternating side image / text) */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 80px; }
.story:last-child { margin-bottom: 0; }
.story--reverse .story__visual { order: 2; }
@media (max-width: 900px) {
  .story { grid-template-columns: 1fr; gap: 28px; margin-bottom: 56px; }
  .story--reverse .story__visual { order: 0; }
}
.story__visual {
  background: var(--c-gray-light);
  border: 1px solid #d8dee6;
  border-radius: var(--radius-md);
  padding: 28px;
  min-height: 260px;
  display: flex; flex-direction: column; gap: 14px; justify-content: center;
}
.story__panel-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: var(--c-gray);
}
.story__visual h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 22px; font-weight: 700; color: var(--c-heading);
}
.tag-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tag-list li {
  background: var(--c-white);
  border: 1px solid #d8dee6;
  border-radius: 8px;
  padding: 10px 14px; font-size: 13px;
  display: flex; justify-content: space-between; align-items: center;
}
.tag-list li::before { content: '•'; color: var(--c-electric); margin-right: 8px; }
.tag-list li strong { color: var(--c-heading); }
.tag-list li .tag-time { color: var(--c-gray); font-size: 12px; font-variant-numeric: tabular-nums; }
.bottom-pill {
  margin-top: 14px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); border: 1px solid #d8dee6;
  padding: 8px 14px; border-radius: 100px;
  font-size: 12px; color: var(--c-text);
}
.bottom-pill::before { content: '⏱'; }

/* Stat strip */
.stat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 900px) { .stat-strip { grid-template-columns: repeat(2, 1fr); } }
.stat {
  background: var(--c-white); border: 1px solid var(--c-gray-light);
  border-radius: 12px; padding: 22px 18px;
  text-align: center;
}
.stat__value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700; color: var(--c-electric);
  letter-spacing: -.02em;
}
.stat__label { font-size: 12px; color: var(--c-text); margin-top: 4px; }

/* CTA section */
.cta-section { text-align: center; padding: var(--section-py-d) var(--px-d); }
.cta-section .container { max-width: 720px; }
.cta-section h2 { color: var(--c-white); margin-bottom: 16px; }
.cta-section p { color: rgba(255, 255, 255, 0.78); font-size: 17px; margin-bottom: 36px; }
.cta-section .meta { margin-top: 24px; color: rgba(255, 255, 255, 0.55); font-size: 14px; }
@media (max-width: 900px) { .cta-section { padding: var(--section-py-m) var(--px-m); } }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  border-bottom: 1px solid var(--c-gray-light);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer; list-style: none;
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 17px;
  color: var(--c-heading);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--c-electric); }
.faq details[open] summary::after { content: '−'; }
.faq details p { padding-top: 12px; color: var(--c-text); font-size: 15px; line-height: 1.65; }

/* Pricing line */
.price-line {
  display: inline-block; padding: 6px 14px;
  background: rgba(16, 104, 255, 0.08); color: var(--c-electric);
  font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: 14px;
  border-radius: 100px; margin-top: 8px;
}

/* Footer */
.footer {
  background: var(--c-footer-main);
  border-top: 1px solid var(--c-heading);
  padding: 60px var(--px-d) 30px;
  color: var(--c-text-muted);
}
@media (max-width: 900px) { .footer { padding: 40px var(--px-m) 30px; } }
.footer__inner {
  max-width: var(--max-w); margin: 0 auto;
}
.footer__top {
  display: flex; flex-direction: row; justify-content: space-between;
  align-items: flex-start; gap: 32px; margin-bottom: 40px; flex-wrap: wrap;
}
.footer__brand img { height: 50px; width: auto; margin-bottom: 16px; }
.footer__brand p { color: var(--c-text-muted); font-size: 14px; max-width: 320px; line-height: 1.65; }
.footer__cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer__col-title {
  font-family: 'Space Grotesk', sans-serif; font-weight: 600;
  color: var(--c-footer-title); margin-bottom: 16px; font-size: 14px;
}
.footer__col ul { list-style: none; }
.footer__col li { color: var(--c-text-muted); font-size: 13px; margin-bottom: 10px; }
.footer__col li a { color: var(--c-link); }
.footer__col li a:hover { color: var(--c-electric); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06); padding-top: 20px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; flex-wrap: wrap;
  color: var(--c-gray); font-size: 12px;
}

/* Util */
.muted { color: var(--c-gray); }
.lead { font-size: 17px; color: var(--c-text); line-height: 1.65; }
.lead--dark { color: rgba(255, 255, 255, 0.8); }
.center { text-align: center; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* ─────────────  CONTACT MODAL ───────────── */
.dt-modal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 14, 28, 0.85);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.2s;
}
.dt-modal-backdrop.open { display: flex; opacity: 1; }
@media (max-width: 600px) { .dt-modal-backdrop { padding: 16px; } }

.dt-modal {
  background: #0F1A35;
  border: 1px solid rgba(16, 104, 255, 0.2);
  border-radius: 20px;
  padding: 48px 48px 40px;
  width: 100%; max-width: 560px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  max-height: 90vh; overflow-y: auto;
}
@media (max-width: 600px) { .dt-modal { padding: 32px 24px; } }

.dt-modal__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255, 255, 255, 0.06); border: 0;
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; color: var(--c-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.dt-modal__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.dt-modal h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
@media (max-width: 600px) { .dt-modal h3 { font-size: 22px; } }

.dt-modal__sub {
  color: var(--c-text-muted); font-size: 14px;
  margin-bottom: 28px; line-height: 1.6;
}

.dt-form { display: flex; flex-direction: column; gap: 18px; }
.dt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .dt-form__row { grid-template-columns: 1fr; } }
.dt-form label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--c-text-muted); margin-bottom: 6px;
}
.dt-form input,
.dt-form textarea {
  width: 100%; padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(16, 104, 255, 0.25);
  background: rgba(16, 104, 255, 0.05);
  color: #fff; font-family: 'Inter', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.dt-form input:focus,
.dt-form textarea:focus { border-color: var(--c-electric); }
.dt-form textarea { resize: vertical; min-height: 100px; }
.dt-form button {
  background: var(--c-electric); color: #fff; border: 0;
  padding: 15px 32px; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; box-shadow: 0 0 24px rgba(16, 104, 255, 0.4);
}
.dt-form button:hover { background: var(--c-electric-hover); }
.dt-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.dt-form__error {
  color: #EF4444; font-size: 13px; text-align: center;
}
.dt-form__alt {
  color: var(--c-gray); font-size: 12px; text-align: center; margin-top: 4px;
}
.dt-form__alt a { color: var(--c-electric); }

.dt-modal__success {
  text-align: center; padding: 24px 0;
}
.dt-modal__success-icon { font-size: 56px; margin-bottom: 20px; }
.dt-modal__success h3 { color: #fff; margin-bottom: 12px; }
.dt-modal__success p {
  color: var(--c-text-muted); font-size: 16px;
  line-height: 1.65; margin-bottom: 28px;
}
.dt-modal__success button {
  background: var(--c-electric); color: #fff; border: 0;
  padding: 12px 32px; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px; cursor: pointer;
}

/* ─────────────  CONTACT MODAL ───────────── */
.dt-modal-backdrop {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8, 14, 28, 0.85);
  backdrop-filter: blur(8px);
  display: none; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; transition: opacity 0.2s;
}
.dt-modal-backdrop.open { display: flex; opacity: 1; }
@media (max-width: 600px) { .dt-modal-backdrop { padding: 16px; } }

.dt-modal {
  background: #0F1A35;
  border: 1px solid rgba(16, 104, 255, 0.2);
  border-radius: 20px;
  padding: 48px 48px 40px;
  width: 100%; max-width: 560px;
  position: relative;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.5);
  max-height: 90vh; overflow-y: auto;
}
@media (max-width: 600px) { .dt-modal { padding: 32px 24px; } }

.dt-modal__close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255, 255, 255, 0.06); border: 0;
  border-radius: 50%; width: 36px; height: 36px;
  cursor: pointer; color: var(--c-text-muted);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.dt-modal__close:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }

.dt-modal h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px; font-weight: 700;
  color: #fff; margin-bottom: 8px;
}
@media (max-width: 600px) { .dt-modal h3 { font-size: 22px; } }

.dt-modal__sub {
  color: var(--c-text-muted); font-size: 14px;
  margin-bottom: 28px; line-height: 1.6;
}

.dt-form { display: flex; flex-direction: column; gap: 18px; }
.dt-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .dt-form__row { grid-template-columns: 1fr; } }
.dt-form label {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px; font-weight: 600;
  color: var(--c-text-muted); margin-bottom: 6px;
}
.dt-form input,
.dt-form textarea {
  width: 100%; padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(16, 104, 255, 0.25);
  background: rgba(16, 104, 255, 0.05);
  color: #fff; font-family: 'Inter', sans-serif; font-size: 15px;
  outline: none; transition: border-color 0.2s;
}
.dt-form input:focus,
.dt-form textarea:focus { border-color: var(--c-electric); }
.dt-form textarea { resize: vertical; min-height: 100px; }
.dt-form button {
  background: var(--c-electric); color: #fff; border: 0;
  padding: 15px 32px; border-radius: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 16px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.2s; box-shadow: 0 0 24px rgba(16, 104, 255, 0.4);
}
.dt-form button:hover { background: var(--c-electric-hover); }
.dt-form button:disabled { opacity: 0.6; cursor: not-allowed; }

.dt-form__error { color: #EF4444; font-size: 13px; text-align: center; }
.dt-form__alt { color: var(--c-gray); font-size: 12px; text-align: center; margin-top: 4px; }
.dt-form__alt a { color: var(--c-electric); }

.dt-modal__success { text-align: center; padding: 24px 0; }
.dt-modal__success-icon { font-size: 56px; margin-bottom: 20px; }
.dt-modal__success h3 { color: #fff; margin-bottom: 12px; }
.dt-modal__success p {
  color: var(--c-text-muted); font-size: 16px;
  line-height: 1.65; margin-bottom: 28px;
}
.dt-modal__success button {
  background: var(--c-electric); color: #fff; border: 0;
  padding: 12px 32px; border-radius: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600; font-size: 15px; cursor: pointer;
}

/* ─────────────  NAV DROPDOWN SUBMENU ───────────── */
.nav__has-sub { position: relative; }
.nav__has-sub > a {
  display: inline-flex; align-items: center; gap: 4px;
}
.nav__has-sub > a::after {
  content: '▾'; font-size: 10px; opacity: 0.6;
}
.nav__sub {
  position: absolute; top: 100%; left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  border: 1px solid var(--c-gray-light);
  border-radius: 8px;
  padding: 8px 0;
  min-width: 240px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s, visibility .2s;
  display: flex; flex-direction: column; gap: 0;
  margin-top: 8px;
}
.nav__has-sub:hover .nav__sub,
.nav__has-sub:focus-within .nav__sub {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav__sub a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  color: var(--c-heading);
  white-space: nowrap;
  border: 0;
}
.nav__sub a:hover {
  background: var(--c-gray-light);
  color: var(--c-electric);
}

@media (max-width: 900px) {
  .nav__has-sub > a::after { content: '▾'; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible;
    transform: none; box-shadow: none; border: 0;
    padding: 0 0 0 16px; margin-top: 0;
    background: transparent; backdrop-filter: none;
    min-width: 0;
  }
  .nav__sub a {
    padding: 10px 0; font-size: 14px;
    color: var(--c-gray);
    border-bottom: 1px solid rgba(0,0,0,.04);
  }
  .nav__sub a:last-child { border-bottom: 0; }
}
