/* =========================================================
   Opervics — Global Stylesheet
   /assets/css/styles.css
   ========================================================= */

/* ---------- RESET & BASE ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --navy: #0B1A3A;
  --navy-light: #132b5a;
  --blue: #1657DE;
  --sky: #17B4FF;
  --paper: #F5F7FB;
  --paper-2: #EAEFF9;
  --white: #FFFFFF;
  --line: #DCE2EE;
  --slate: #48516B;
  --slate-light: #7885A0;
  --mint: #17D693;
  --amber: #FFB020;
  --ink: #08122A;
  --shift-a: #FFB020;
  --shift-b: #17B4FF;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }

/* ---------- TYPOGRAPHY ---------- */
.display-1 { font-size: clamp(2.8rem, 5.9vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; }
.display-2 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.heading-3 { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.02em; }
.text-large { font-size: 1.125rem; font-weight: 500; color: var(--slate); max-width: 48ch; line-height: 1.6; }
.text-muted { color: var(--slate); font-weight: 500; }

/* ---------- BUTTONS ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-weight: 700; font-size: 0.95rem; padding: 0.9rem 2rem; border-radius: 60px; transition: all 0.2s ease; border: none; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--navy); color: white; }
.btn-primary:hover { background: var(--blue); transform: translateY(-2px); box-shadow: 0 12px 30px -8px rgba(22, 87, 222, 0.4); }
.btn-outline { background: transparent; color: var(--navy); border: 1.5px solid var(--navy); }
.btn-outline:hover { background: var(--navy); color: white; }
.btn-white { background: white; color: var(--navy); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04); }
.btn-white:hover { background: var(--sky); color: white; }
.btn-sky { background: var(--sky); color: var(--navy); }
.btn-sky:hover { background: var(--blue); color: white; }

/* ---------- HEADER ---------- */
header { position: sticky; top: 0; z-index: 100; background: rgba(245, 247, 251, 0.85); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2rem; max-width: 1240px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; color: var(--navy); }
.brand img { height: 34px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 2.5rem; }
.nav-links a { font-size: 0.95rem; font-weight: 600; color: var(--slate); transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.burger { display: none; background: none; border: 1.5px solid var(--line); width: 44px; height: 44px; border-radius: 12px; cursor: pointer; font-size: 1.5rem; color: var(--navy); align-items: center; justify-content: center; }

.mobile-drawer { display: none; position: fixed; inset: 0; background: var(--navy); z-index: 200; padding: 2rem; flex-direction: column; }
.mobile-drawer.open { display: flex; }
.drawer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3rem; }
.drawer-close { background: none; border: 1.5px solid rgba(255, 255, 255, 0.2); color: white; width: 44px; height: 44px; border-radius: 12px; font-size: 1.5rem; cursor: pointer; }
.mobile-drawer a { color: white; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.8rem; font-weight: 700; padding: 1rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.mobile-drawer .btn { margin-top: 2rem; }
.mobile-drawer .drawer-top img {
  filter: brightness(0) invert(1);
  height: 32px;
}
.brand img {
  height: 40px;
  width: auto;
}
@media (max-width: 768px) {
  .mobile-drawer a {
    font-size: 1.2rem;
  }
}
/* ---------- HERO ---------- */
.hero { background: radial-gradient(1200px 600px at 90% -20%, rgba(23, 180, 255, 0.12), transparent 60%), var(--paper); padding: 4rem 0 0; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 4rem; align-items: center; padding-bottom: 4rem; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: white; border: 1px solid var(--line); padding: 0.5rem 1.2rem; border-radius: 60px; font-size: 0.85rem; font-weight: 700; color: var(--slate); margin-bottom: 1.5rem; }
.hero-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }
.hero h1 { margin-bottom: 1.5rem; }
.hero h1 .highlight { background: linear-gradient(120deg, var(--blue), var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-actions { display: flex; gap: 1rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-checks { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-checks span { display: flex; align-items: center; gap: 0.4rem; font-size: 0.9rem; font-weight: 600; color: var(--slate); }
.hero-checks svg { width: 16px; height: 16px; stroke: var(--mint); flex-shrink: 0; }

/* ---------- LIVE SHIFT HANDOFF CARD ---------- */
.handoff-card { background: var(--navy); border-radius: 28px; padding: 2.2rem 2rem 1.8rem; color: white; box-shadow: 0 40px 80px -24px rgba(8, 18, 42, 0.5); position: relative; }
.handoff-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1.2rem; }
.handoff-top .label { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; color: var(--sky); text-transform: uppercase; margin-bottom: 0.3rem; }
.handoff-top .title { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.5rem; font-weight: 800; color: white; letter-spacing: -0.02em; }
.live-dot { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; font-weight: 700; color: var(--mint); background: rgba(23, 214, 147, 0.1); padding: 0.35rem 0.8rem; border-radius: 60px; border: 1px solid rgba(23, 214, 147, 0.25); }
.live-dot i { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); animation: pulse 1.8s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.arc-wrap { margin: 0.5rem 0 1rem; }
.arc-svg { width: 100%; height: auto; display: block; overflow: visible; }
.arc-track { fill: none; stroke: rgba(255, 255, 255, 0.08); stroke-width: 10; stroke-linecap: round; }
.arc-a { fill: none; stroke: var(--shift-a); stroke-width: 10; stroke-linecap: round; }
.arc-b { fill: none; stroke: var(--shift-b); stroke-width: 10; stroke-linecap: round; }
.arc-marker { fill: white; stroke: var(--navy); stroke-width: 3; }
.arc-time { fill: white; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 15px; font-weight: 800; text-anchor: middle; }
.arc-city { fill: var(--slate-light); font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 600; text-anchor: middle; }
.legend { display: flex; gap: 1.2rem; flex-wrap: wrap; margin-bottom: 1.2rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.legend-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600; color: #AEBBDA; }
.legend-item i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; flex-shrink: 0; }
.handoff-note { font-size: 0.82rem; color: var(--slate-light); line-height: 1.5; }
.handoff-note b { color: white; }

/* ---------- TRUST STRIP ---------- */
.trust-strip { background: white; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.5rem 0; }
.trust-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.trust-row .lbl { font-size: 0.85rem; font-weight: 700; color: var(--slate-light); }
.trust-marks { display: flex; gap: 2.5rem; flex-wrap: wrap; align-items: center; }
.trust-marks span { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 1rem; color: #B7C0D6; }

/* ---------- MODEL STRIP ---------- */
.model-strip { background: var(--paper-2); }
.model-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.model-cell { padding: 2.5rem 2rem; border-left: 1px solid var(--line); }
.model-cell:first-child { border-left: none; }
.model-cell .mico { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #0a1a3a, #1789ef); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.model-cell .mico svg { width: 22px; height: 22px; stroke: white; }
.model-cell h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.model-cell p { font-size: 0.9rem; font-weight: 500; color: var(--slate); line-height: 1.5; }

/* ---------- SECTION SHARED ---------- */
section { padding: 5rem 0; }
.section-head { max-width: 700px; margin-bottom: 3.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker { font-size: 0.85rem; font-weight: 800; color: var(--blue); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 1rem; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; }
.section-head p { margin-top: 1rem; color: var(--slate); font-size: 1.1rem; font-weight: 500; max-width: 55ch; }
.section-head.center p { margin-left: auto; margin-right: auto; }

/* ---------- WHY CHOOSE ---------- */
.why-choose { background: white; }
.wc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.wc-card { background: var(--paper-2); border-radius: 24px; padding: 2.2rem; transition: transform 0.2s, box-shadow 0.2s; }
.wc-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px -20px rgba(10, 23, 48, 0.2); }
.wc-card .ico { width: 52px; height: 52px; border-radius: 16px; background: white; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem; }
.wc-card .ico svg { width: 24px; height: 24px; stroke: var(--blue); }
.wc-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; }
.wc-card p { font-size: 0.95rem; font-weight: 500; color: var(--slate); line-height: 1.6; }

/* ---------- SPLIT ---------- */
.split { background: var(--paper-2); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-img { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -22px rgba(10, 23, 48, 0.25); }
.split-img img { width: 100%; height: 460px; object-fit: cover; }
.feature-list { display: flex; flex-direction: column; gap: 1.8rem; margin-top: 2rem; }
.feature-row { display: flex; gap: 1.2rem; }
.feature-row .fico { width: 44px; height: 44px; border-radius: 14px; background: white; border: 1px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.feature-row .fico svg { width: 20px; height: 20px; stroke: var(--blue); }
.feature-row h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.feature-row p { font-size: 0.95rem; font-weight: 500; color: var(--slate); line-height: 1.5; }

/* ---------- SERVICES ---------- */
.services { background: white; }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.svc-card { background: white; padding: 2.2rem; transition: background 0.15s; }
.svc-card:hover { background: var(--paper-2); }
.svc-card .mark { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, #01173d, #0258eb); display: flex; align-items: center; justify-content: center; margin-bottom: 1.25rem; }
.svc-card .mark svg { width: 20px; height: 20px; stroke: white; }
.svc-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; }
.svc-card p { font-size: 0.9rem; font-weight: 500; color: var(--slate); margin-bottom: 1.2rem; line-height: 1.5; }
.svc-card .link { font-size: 0.9rem; font-weight: 700; color: var(--blue); }
.svc-more { padding: 1.5rem 2rem; text-align: center; background: white; }
.svc-more a { font-weight: 700; color: var(--navy); font-size: 1rem; border-bottom: 2px solid var(--ink); }

/* ---------- INDUSTRIES ---------- */
.industries { background: var(--ink); color: white; }
.industries .section-head h2, .industries .kicker { color: white; }
.industries .kicker { color: var(--sky); }
.industries .section-head p { color: #AEBBDA; }
.ind-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.ind-chip { border: 1.5px solid rgba(255, 255, 255, 0.18); padding: 1rem 1.8rem; border-radius: 60px; font-size: 1rem; font-weight: 700; color: #DCE4F5; transition: all 0.2s; }
.ind-chip:hover { border-color: var(--sky); color: white; background: rgba(23, 180, 255, 0.1); }

/* ---------- TESTIMONIAL ---------- */
.testimonial { background: var(--paper-2); }
.test-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 4rem; align-items: center; }
.test-img { border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(10, 23, 48, 0.25); }
.test-img img { width: 100%; height: 400px; object-fit: cover; }
.quote-mark { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 5rem; color: var(--sky); line-height: 1; margin-bottom: 0.5rem; font-weight: 700; }
.test-grid blockquote { font-family: 'Plus Jakarta Sans', sans-serif; font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; color: var(--navy); line-height: 1.3; }
.test-author { margin-top: 2rem; display: flex; align-items: center; gap: 1rem; }
.test-author .dot { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--sky)); display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-family: 'Plus Jakarta Sans', sans-serif; }
.test-author .name { font-weight: 700; font-size: 1rem; }
.test-author .role { font-size: 0.9rem; color: var(--slate-light); font-weight: 600; }

/* ---------- WHY / STATS ---------- */
.why { background: white; }
.why-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
.why-list { display: flex; flex-direction: column; }
.why-item { display: flex; gap: 1.5rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-item .n { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; font-weight: 700; color: var(--slate-light); padding-top: 0.2rem; min-width: 2rem; }
.why-item h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.3rem; }
.why-item p { font-size: 0.95rem; font-weight: 500; color: var(--slate); line-height: 1.6; }

/* ---------- HOW IT WORKS ---------- */
.how { background: var(--paper-2); }
.how-track { position: relative; }
.how-line { position: absolute; top: 24px; left: 0; right: 0; height: 2px; background: var(--line); }
.how-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.5rem; position: relative; }
.how-step .dot { width: 48px; height: 48px; border-radius: 50%; background: white; border: 2px solid var(--line); display: flex; align-items: center; justify-content: center; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; color: var(--navy); font-size: 1rem; margin-bottom: 1.5rem; position: relative; z-index: 2; }
.how-step:nth-child(odd) .dot { border-color: var(--blue); color: var(--blue); }
.how-step h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.how-step p { font-size: 0.9rem; font-weight: 500; color: var(--slate); line-height: 1.5; }

/* ---------- CTA BAND ---------- */
.cta-band-wrap { padding: 0 32px; margin-top:5rem}
.cta-band { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 60%, #103a70 100%); color: white; border-radius: 32px; padding: 4rem 3.5rem; display: flex; align-items: center; justify-content: space-between; gap: 2.5rem; position: relative; overflow: hidden; max-width: 1240px; margin: 0 auto; }
.cta-band::after { content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(23, 180, 255, 0.25), transparent 70%); }
.cta-band h2 { color: white; font-size: clamp(1.8rem, 3.5vw, 2.8rem); max-width: 16ch; position: relative; z-index: 1; font-weight: 800; }
.cta-band p { color: #AEBBDA; margin-top: 0.75rem; font-size: 1rem; font-weight: 500; position: relative; z-index: 1; }
.cta-band .btn-primary { background: white; color: var(--navy); position: relative; z-index: 1; }
.cta-band .btn-primary:hover { background: var(--sky); color: white; }
.cta-band-actions { display: flex; flex-direction: column; gap: 0.75rem; align-items: flex-start; }
.cta-secondary { font-size: 0.85rem; color: #AEBBDA; font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { background: white; margin-top:5rem }
.faq-list { max-width: 800px; }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 1.5rem 0; display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-size: 1.1rem; font-weight: 700; color: var(--navy); font-family: 'Inter', sans-serif; gap: 1.5rem; }
.faq-q .plus { width: 20px; height: 20px; position: relative; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: var(--navy); transition: transform 0.2s; }
.faq-q .plus::before { width: 100%; height: 2px; top: 50%; left: 0; transform: translateY(-50%); }
.faq-q .plus::after { height: 100%; width: 2px; left: 50%; top: 0; transform: translateX(-50%); }
.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding-bottom: 1.5rem; color: var(--slate); font-size: 0.95rem; font-weight: 500; max-width: 65ch; line-height: 1.6; }

/* ---------- FOOTER ---------- */
footer { background: var(--ink); color: #AEBBDA; padding: 4rem 0 2rem; margin-top: 5rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.foot-brand img { height: 34px; margin-bottom: 1rem; filter: brightness(0) invert(1); }
.foot-brand p { font-size: 0.9rem; font-weight: 500; max-width: 30ch; color: #8FA0C4; }
.foot-col h4 { font-size: 0.8rem; color: white; font-weight: 800; margin-bottom: 1.2rem; letter-spacing: 0.05em; text-transform: uppercase; }
.foot-col a { display: block; font-size: 0.9rem; font-weight: 600; color: #9FB2D9; margin-bottom: 0.75rem; transition: color 0.15s; }
.foot-col a:hover { color: white; }
.foot-bottom { display: flex; justify-content: space-between; padding-top: 1.5rem; font-size: 0.85rem; color: #7386AD; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .model-grid { grid-template-columns: repeat(2, 1fr); }
  .model-cell:nth-child(3) { border-left: none; }
  .model-cell { border-top: 1px solid var(--line); }
  .model-cell:nth-child(1), .model-cell:nth-child(2) { border-top: none; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .wc-grid { grid-template-columns: 1fr 1fr; }
  .split-grid { grid-template-columns: 1fr; }
  .split-img img { height: 320px; }
  .test-grid { grid-template-columns: 1fr; }
  .test-img img { height: 300px; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
  .how-steps { grid-template-columns: repeat(3, 1fr); }
  .how-line { display: none; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 3rem 2rem; }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-cta .btn-primary { display: none; }
  .burger { display: flex; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav { padding: 1rem 20px; }
  .svc-grid { grid-template-columns: 1fr; }
  .model-grid { grid-template-columns: 1fr; }
  .model-cell { border-left: none; border-top: 1px solid var(--line); }
  .model-cell:first-child { border-top: none; }
  .how-steps { grid-template-columns: 1fr; }
  .cta-band-wrap { padding: 0 16px; }
  .cta-band { padding: 2.5rem 1.5rem; }
  .hero-checks { gap: 1rem; }
  section { padding: 3.5rem 0; }
  .wc-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .legend { flex-direction: column; gap: 0.6rem; }
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  background: radial-gradient(1200px 500px at 90% -20%, rgba(23, 180, 255, 0.12), transparent 60%), var(--paper);
  padding: 5rem 0 3rem;
}
.page-hero h1 { max-width: 18ch; }
.page-hero .text-large { max-width: 55ch; }

/* =========================================================
   CONTACT FORM
   ========================================================= */
.contact-section { padding-top: 1rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-row { display: flex; flex-direction: column; gap: 0.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-label { font-size: 0.75rem; font-weight: 800; color: var(--slate-light); text-transform: uppercase; letter-spacing: 0.08em; }
.contact-value { font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.contact-value a { color: var(--blue); }

.contact-form { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 2.2rem; box-shadow: 0 30px 60px -24px rgba(8,18,42,0.15); }
.form-row { margin-bottom: 1.2rem; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; }
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: white;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.8rem; color: var(--slate-light); text-align: center; margin-top: 0.9rem; }

.form-message {
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: none;
}
.form-message.success { background: rgba(23,214,147,0.1); color: #0a7a52; border: 1px solid rgba(23,214,147,0.35); display: block; }
.form-message.error   { background: rgba(220,53,69,0.08); color: #a4222e; border: 1px solid rgba(220,53,69,0.3); display: block; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* =========================================================
   SERVICES — detail hero variant
   ========================================================= */
.services-hero {
  background: radial-gradient(1200px 500px at 90% -20%, rgba(23,180,255,0.14), transparent 60%), var(--paper-2);
}

/* =========================================================
   FEATURE / BENEFIT GRID (used on services + industries)
   ========================================================= */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.benefit-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2rem;
}
.benefit-card .num {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 0.1em;
  margin-bottom: 0.8rem;
}
.benefit-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.benefit-card p  { font-size: 0.92rem; color: var(--slate); font-weight: 500; line-height: 1.55; }

@media (max-width: 1024px) { .benefit-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px)  { .benefit-grid { grid-template-columns: 1fr; } }

/* =========================================================
   404 PAGE
   ========================================================= */
.notfound {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 0;
}
.notfound .code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(5rem, 18vw, 10rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--blue), var(--sky));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.notfound h1 { font-size: clamp(1.5rem, 3vw, 2.2rem); margin: 1rem 0; }
.notfound p  { color: var(--slate); font-weight: 500; max-width: 45ch; margin: 0 auto 2rem; }



/* =========================================================
   NAVBAR — SERVICES 3-LEVEL CASCADING DROPDOWN
   ========================================================= */

.nav-links .nav-item { position: relative; }

.nav-links .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  transition: color 0.15s;
  padding: 0.5rem 0;
}
.nav-links .nav-link:hover { color: var(--navy); }
.nav-links .chev { transition: transform 0.2s ease; opacity: 0.7; }
.nav-item.has-drop:hover .chev { transform: rotate(180deg); }

/* --- L1 dropdown (category list) --- */
.drop-l1 {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px -18px rgba(8, 18, 42, 0.25);
  padding: 0.5rem;
  list-style: none;
  margin-top: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 150;
  pointer-events: none;
}
.nav-item.has-drop:hover .drop-l1,
.nav-item.has-drop:focus-within .drop-l1 {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.drop-l1 > li { position: relative; }

.drop-l1 > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  transition: background 0.12s, color 0.12s;
  white-space: nowrap;
}
.drop-l1 > li > a:hover,
.drop-l1 > li.has-sub:hover > a {
  background: var(--paper);
  color: var(--blue);
}

.drop-l1 .arrow {
  font-size: 1.05rem;
  color: var(--slate-light);
  transition: transform 0.15s, color 0.15s;
  line-height: 1;
}
.drop-l1 > li.has-sub:hover .arrow {
  color: var(--blue);
  transform: translateX(3px);
}

/* --- L2 flyout (sub-services) --- */
.drop-l2 {
  position: absolute;
  top: -0.5rem;
  left: 100%;
  margin-left: 6px;
  min-width: 300px;
  max-height: 70vh;
  overflow-y: auto;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 24px 60px -18px rgba(8, 18, 42, 0.25);
  padding: 0.5rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 160;
  pointer-events: none;
}
.drop-l1 > li.has-sub:hover > .drop-l2,
.drop-l1 > li.has-sub:focus-within > .drop-l2 {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.drop-l2 a {
  display: block;
  padding: 0.45rem 0.85rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--slate);
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.12s, color 0.12s;
}
.drop-l2 a:hover {
  background: var(--paper-2);
  color: var(--blue);
}

/* --- View all services row --- */
.drop-l1 .drop-viewall { margin-top: 0.35rem; border-top: 1px solid var(--line); padding-top: 0.35rem; }
.drop-l1 .drop-viewall a {
  display: block;
  padding: 0.6rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue);
  border-radius: 10px;
}
.drop-l1 .drop-viewall a:hover { background: var(--paper); }

/* --- Scrollbar on long L2 lists --- */
.drop-l2::-webkit-scrollbar { width: 6px; }
.drop-l2::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }

/* --- Hide on mobile/tablet (drawer takes over) --- */
@media (max-width: 1024px) {
  .drop-l1, .drop-l2 { display: none; }
}

/* =========================================================
   MOBILE DRAWER — Accordion for Services
   ========================================================= */

.m-acc {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.m-acc-head {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  padding: 1rem 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.m-acc-chev {
  font-size: 1rem;
  transition: transform 0.2s;
}
.m-acc-head.open .m-acc-chev { transform: rotate(180deg); }

.m-acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.m-acc-body.open { max-height: 4000px; }

/* --- L2 accordion inside mobile --- */
.m-sub-acc {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.m-sub-head {
  width: 100%;
  background: none;
  border: none;
  color: #DCE4F5;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 0;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.m-sub-head span { transition: transform 0.2s; font-size: 0.8rem; }
.m-sub-head.open span { transform: rotate(180deg); }

.m-sub-body {
  list-style: none;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 0.5rem;
  border-left: 2px solid rgba(23, 180, 255, 0.35);
  margin-left: 0.25rem;
  margin-bottom: 0.25rem;
}
.m-sub-body.open { max-height: 2000px; }
.m-sub-body li a {
  display: block;
  color: #9FB2D9;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.4rem 0 0.4rem 0.6rem;
  border-bottom: none;
  transition: color 0.15s;
}
.m-sub-body li a:hover { color: white; }
