/* ============================================================
   Cholcom Limited — stylesheet
   Design system from the approved Phase 3 mockups.
   Palette (source of truth):
     Deep Security Blue #0F2747  primary
     Cyber Teal         #0F766E  secondary
     Trust Amber        #F4A300  accent / CTA ONLY
     Midnight Navy      #081826  dark background
     Cloud White        #F8FAFC  light background
     Graphite           #1F2937  main text
     Logo Sky Blue      #43B8F1  sparing accent
     Logo Indigo Blue   #5570F4
   ============================================================ */

:root{
  --navy:#0F2747; --teal:#0F766E; --amber:#F4A300; --midnight:#081826;
  --cloud:#F8FAFC; --graphite:#1F2937; --sky:#43B8F1; --indigo:#5570F4;
  --line:rgba(67,184,241,.14);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  --wrap:1080px;
}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{ font-family:var(--font); background:var(--cloud); color:var(--graphite);
  line-height:1.6; -webkit-font-smoothing:antialiased; }
a{color:var(--teal);}
img{max-width:100%; display:block;}
.wrap{ max-width:var(--wrap); margin:0 auto; }

/* skip link for accessibility */
.skip{position:absolute; left:-9999px;}
.skip:focus{left:12px; top:12px; background:#fff; padding:8px 14px; z-index:100; border-radius:6px;}

/* ---------- NAV ---------- */
.nav{ background:rgba(8,24,38,.92); backdrop-filter:blur(6px); position:sticky; top:0; z-index:20; }
.nav-inner{ max-width:1200px; margin:0 auto; display:flex; align-items:center; justify-content:space-between; padding:16px 32px; }
.brand{ display:flex; align-items:center; gap:11px; text-decoration:none; }
.brand-logo{ width:34px; height:34px; border-radius:8px; background:#fff; display:grid; place-items:center; flex:none; box-shadow:0 2px 8px rgba(0,0,0,.25); }
.brand-logo svg{ width:20px; height:20px; }
.brand-name{ color:#fff; font-weight:700; font-size:19px; }
.nav-links ul{ list-style:none; display:flex; gap:26px; align-items:center; }
.nav-links a{ color:#cbd5e1; text-decoration:none; font-size:14.5px; font-weight:500; }
.nav-links a:hover{ color:var(--sky); }
.nav-links a.active{ color:#fff; }
.nav-cta{ background:var(--amber); color:var(--navy) !important; padding:9px 18px; border-radius:8px; font-weight:700; }
.nav-cta:hover{ filter:brightness(1.06); }
.hamburger{ display:none; flex-direction:column; gap:5px; cursor:pointer; background:none; border:none; padding:6px; }
.hamburger span{ width:24px; height:2.5px; background:#fff; border-radius:2px; display:block; }
.mobile-menu{ background:var(--midnight); border-top:1px solid var(--line); }
.mobile-menu ul{ list-style:none; padding:12px 0; }
.mobile-menu li{ padding:0; }
.mobile-menu a{ display:block; color:#cbd5e1; text-decoration:none; padding:12px 32px; font-weight:500; }
.mobile-menu a.active,.mobile-menu a:hover{ color:#fff; background:rgba(67,184,241,.08); }
.mobile-menu .nav-cta{ margin:10px 32px; text-align:center; border-radius:8px; }

/* ---------- BUTTONS ---------- */
.btn{ display:inline-block; padding:14px 26px; border-radius:9px; font-weight:700; font-size:15px; text-decoration:none; cursor:pointer; border:none; transition:.15s; }
.btn-primary{ background:var(--amber); color:var(--navy); }
.btn-primary:hover{ filter:brightness(1.06); transform:translateY(-1px); }
.btn-ghost{ background:transparent; color:#fff; border:1.5px solid rgba(255,255,255,.4); }
.btn-ghost:hover{ border-color:var(--sky); color:var(--sky); }

/* ---------- HERO (home) ---------- */
.hero{ position:relative; background:
  radial-gradient(1100px 500px at 80% -10%, rgba(67,184,241,.16), transparent 60%),
  linear-gradient(180deg, var(--midnight), var(--navy)); color:#fff; padding:92px 44px 104px; overflow:hidden; }
.hero-inner{ position:relative; max-width:var(--wrap); margin:0 auto; display:grid; grid-template-columns:1.15fr .85fr; gap:40px; align-items:center; }
.eyebrow{ display:inline-block; font-size:12.5px; letter-spacing:.2em; text-transform:uppercase; color:var(--sky); font-weight:700; margin-bottom:18px; }
.hero h1{ font-size:46px; line-height:1.1; font-weight:800; letter-spacing:-.02em; margin-bottom:20px; }
.hero h1 .accent{ color:var(--sky); }
.hero .sub{ font-size:18px; color:#c5d2e0; max-width:520px; margin-bottom:32px; }
.hero .btns{ display:flex; gap:14px; flex-wrap:wrap; }

/* hero orbit signature (oval rings + orbiting planets + flipping shield) */
.hero-visual{ position:relative; height:340px; display:grid; place-items:center; }
.stage{ position:relative; width:360px; height:320px; }
.stage .ring{ position:absolute; border-radius:50%; border:1.5px solid rgba(67,184,241,.35); }
.stage .r1{ inset:6px 8px; }
.stage .r2{ inset:56px 66px; border-color:rgba(85,112,244,.4); }
.stage .r3{ inset:106px 124px; border-color:rgba(67,184,241,.5); }
.stage .core{ position:absolute; inset:120px 138px; display:grid; place-items:center; z-index:2; perspective:600px; }
.stage .core svg{ width:58px; height:58px; animation:flip 60s linear infinite; transform-style:preserve-3d; }
.stage .planet{ position:absolute; top:0; left:0; border-radius:50%; offset-rotate:0deg; animation:orbit linear infinite; }
.stage .planet.o1{ width:12px; height:12px; background:var(--sky); box-shadow:0 0 10px 1px rgba(67,184,241,.7);
  offset-path:ellipse(172px 154px at 180px 160px); animation-duration:20s; }
.stage .planet.o2{ width:10px; height:10px; background:var(--indigo); box-shadow:0 0 10px 1px rgba(85,112,244,.7);
  offset-path:ellipse(114px 104px at 180px 160px); animation-duration:14s; animation-direction:reverse; }
.stage .planet.o3{ width:8px; height:8px; background:#fff; box-shadow:0 0 9px 1px rgba(255,255,255,.6);
  offset-path:ellipse(56px 54px at 180px 160px); animation-duration:9s; }
@keyframes orbit{ from{ offset-distance:0%; } to{ offset-distance:100%; } }
@keyframes flip{ from{ transform:rotateY(0deg); } to{ transform:rotateY(360deg); } }
@media (prefers-reduced-motion: reduce){ .stage .planet{ animation:none; } .stage .core svg{ animation:none; } }

/* ---------- TRUST STRIP ---------- */
.trust{ background:var(--navy); border-top:1px solid var(--line); padding:22px 32px; }
.trust-inner{ max-width:var(--wrap); margin:0 auto; display:flex; justify-content:space-between; gap:20px; flex-wrap:wrap; }
.pill{ display:flex; align-items:center; gap:11px; color:#e2e8f0; font-weight:600; font-size:15px; }
.pill svg{ width:22px; height:22px; color:var(--sky); flex:none; }

/* ---------- SECTIONS ---------- */
.section{ padding:76px 44px; }
.section.light{ background:var(--cloud); }
.section.dark{ background:linear-gradient(180deg, var(--navy), var(--midnight)); color:#fff; }
.section-head{ max-width:var(--wrap); margin:0 auto 44px; }
.section-head .eyebrow{ color:var(--teal); }
.section.dark .section-head .eyebrow{ color:var(--sky); }
.section-head h2{ font-size:32px; font-weight:800; letter-spacing:-.015em; color:var(--navy); margin-bottom:12px; }
.section.dark .section-head h2{ color:#fff; }
.section-head p{ font-size:17px; color:#5b6b7c; max-width:600px; }
.section.dark .section-head p{ color:#c5d2e0; }

/* ---------- CARDS (services overview, values) ---------- */
.cards{ max-width:var(--wrap); margin:0 auto; display:grid; gap:22px; }
.cards.c4{ grid-template-columns:repeat(4,1fr); }
.cards.c2{ grid-template-columns:repeat(2,1fr); }
.card{ background:#fff; border:1px solid #e6eaf0; border-top:3px solid var(--teal); border-radius:12px; padding:26px 22px; transition:.18s; }
.card:hover{ transform:translateY(-4px); box-shadow:0 18px 40px -18px rgba(15,39,71,.3); border-top-color:var(--sky); }
.card .ico{ width:44px; height:44px; border-radius:10px; background:rgba(15,118,110,.1); display:grid; place-items:center; margin-bottom:16px; }
.card .ico svg{ width:23px; height:23px; color:var(--teal); }
.card h3{ font-size:17px; color:var(--navy); margin-bottom:8px; }
.card p{ font-size:14px; color:#64748b; }
.card a.more{ display:inline-block; margin-top:14px; font-size:13.5px; font-weight:700; color:var(--teal); text-decoration:none; }
.card a.more:hover{ color:var(--sky); }

/* ---------- PORTFOLIO TEASER ---------- */
.pf-inner{ max-width:var(--wrap); margin:0 auto; display:grid; grid-template-columns:1.3fr .7fr; gap:34px; align-items:center; }
.pf-frame{ background:#0b1a2c; border:1px solid rgba(67,184,241,.25); border-radius:12px; overflow:hidden; box-shadow:0 30px 60px -25px rgba(0,0,0,.6); }
.pf-frame .bar{ background:#12263c; padding:9px 12px; display:flex; gap:6px; align-items:center; }
.pf-frame .bar i{ width:9px; height:9px; border-radius:50%; background:#3b4d63; }
.pf-frame .bar .u{ margin-left:10px; font-size:11px; color:#7d93aa; background:#0b1a2c; padding:3px 10px; border-radius:5px; }
.pf-shot{ height:230px; background:linear-gradient(135deg,var(--navy),var(--teal)); display:grid; place-items:center; }
.pf-shot .demo{ text-align:center; color:rgba(255,255,255,.9); }
.pf-shot .demo b{ font-size:22px; display:block; }
.pf-shot .demo span{ font-size:12px; opacity:.7; }
.pf-copy h3{ font-size:22px; margin-bottom:10px; color:#fff; }
.pf-copy p{ color:#c5d2e0; font-size:15px; margin-bottom:8px; }
.pf-copy .meta{ font-size:13px; color:var(--sky); margin-bottom:22px; }
.pf-copy .link{ color:#fff; font-weight:700; text-decoration:none; border-bottom:2px solid var(--amber); padding-bottom:2px; }

/* ---------- CLOSING CTA BAND ---------- */
.cta-band{ background:var(--teal); color:#fff; padding:60px 44px; text-align:center; }
.cta-band h2{ font-size:30px; font-weight:800; margin-bottom:10px; letter-spacing:-.015em; }
.cta-band p{ color:rgba(255,255,255,.85); margin-bottom:26px; font-size:17px; }

/* ---------- FOOTER ---------- */
.footer{ background:var(--midnight); color:#93a4b7; padding:54px 44px 26px; }
.footer-inner{ max-width:var(--wrap); margin:0 auto; display:grid; grid-template-columns:1.6fr 1fr 1fr 1.2fr; gap:30px; }
.footer h4{ color:#fff; font-size:14px; margin-bottom:14px; }
.footer-blurb{ font-size:14px; line-height:1.7; max-width:250px; margin-top:12px; }
.footer-brand{ display:flex; flex-wrap:wrap; align-items:center; gap:10px; }
.footer-brand .brand-logo{ width:30px; height:30px; }
.footer-brand-name{ color:#fff; font-weight:700; font-size:17px; }
.footer-col ul{ list-style:none; }
.footer-col li{ margin-bottom:9px; font-size:14px; }
.footer-col a{ color:#93a4b7; text-decoration:none; }
.footer-col a:hover{ color:var(--sky); }
.footer-bottom{ max-width:var(--wrap); margin:34px auto 0; padding-top:20px; border-top:1px solid rgba(255,255,255,.08); display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; font-size:12.5px; color:#64798f; }
.footer-legal a{ color:#64798f; text-decoration:none; margin-left:16px; }
.footer-legal a:hover{ color:var(--sky); }

/* ---------- RESPONSIVE ---------- */
@media (max-width:860px){
  .nav-links{ display:none; }
  .hamburger{ display:flex; }
  .hero{ padding:56px 22px 64px; }
  .hero-inner{ grid-template-columns:1fr; gap:30px; }
  .hero h1{ font-size:32px; }
  .hero-visual{ order:-1; height:220px; }
  .stage{ transform:scale(.72); }
  .btn{ width:100%; text-align:center; }
  .trust-inner{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
  .section{ padding:48px 22px; }
  .section-head h2{ font-size:25px; }
  .cards.c4,.cards.c2{ grid-template-columns:1fr; }
  .pf-inner{ grid-template-columns:1fr; gap:22px; }
  .cta-band{ padding:44px 22px; }
  .cta-band h2{ font-size:24px; }
  .footer-inner{ grid-template-columns:1fr 1fr; gap:22px; }
  .footer-bottom{ flex-direction:column; }
}

/* ============================================================
   INTERIOR PAGE COMPONENTS (About, Services, Portfolio, Contact)
   ============================================================ */

/* compact page hero */
.phero{ position:relative; background:
  radial-gradient(900px 400px at 82% -20%, rgba(67,184,241,.15), transparent 60%),
  linear-gradient(180deg, var(--midnight), var(--navy)); color:#fff; padding:66px 44px 58px; overflow:hidden; }
.phero-inner{ position:relative; max-width:var(--wrap); margin:0 auto; }
.phero h1{ font-size:40px; line-height:1.12; font-weight:800; letter-spacing:-.02em; margin-bottom:14px; max-width:760px; }
.phero p{ font-size:18px; color:#c5d2e0; max-width:600px; }

/* value/story cards use existing .cards/.card; add 2-col helper already present (c2) */

/* badges row (credentials) */
.badges{ display:flex; flex-wrap:wrap; gap:16px; max-width:var(--wrap); margin:0 auto; }
.badge-chip{ display:flex; align-items:center; gap:10px; background:#fff; border:1px solid #e6eaf0; border-radius:10px; padding:12px 18px; font-size:13.5px; font-weight:600; color:var(--navy); }
.badge-chip svg{ width:20px; height:20px; color:var(--teal); flex:none; }

/* service detail blocks (modular, anchored) */
.svc{ background:#fff; border:1px solid #e6eaf0; border-radius:14px; padding:34px 32px; margin-bottom:22px;
  display:grid; grid-template-columns:56px 1fr; gap:22px; scroll-margin-top:90px; max-width:var(--wrap); margin-left:auto; margin-right:auto; }
.svc .badge{ width:56px; height:56px; border-radius:13px; background:rgba(15,118,110,.1); display:grid; place-items:center; }
.svc .badge svg{ width:28px; height:28px; color:var(--teal); }
.svc h3{ font-size:21px; color:var(--navy); margin-bottom:4px; }
.svc .lede{ color:var(--teal); font-weight:600; font-size:14.5px; margin-bottom:12px; }
.svc p{ color:#5b6b7c; font-size:15px; margin-bottom:14px; max-width:640px; }
.svc ul.incl{ list-style:none; display:grid; grid-template-columns:1fr 1fr; gap:8px 22px; margin-bottom:16px; max-width:640px; }
.svc ul.incl li{ font-size:14px; color:var(--graphite); padding-left:24px; position:relative; }
.svc ul.incl li::before{ content:""; position:absolute; left:0; top:7px; width:14px; height:14px; background:var(--teal);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12l5 5L20 6' fill='none' stroke='black' stroke-width='2.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.svc a.cta-link{ font-size:14px; font-weight:700; color:var(--navy); text-decoration:none; border-bottom:2px solid var(--amber); padding-bottom:2px; }

/* portfolio full cards */
.pf-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px; max-width:var(--wrap); margin:0 auto; }
.pf-card{ background:#0b1a2c; border:1px solid rgba(67,184,241,.2); border-radius:13px; overflow:hidden; }
.pf-card .bar{ background:#12263c; padding:9px 12px; display:flex; gap:6px; align-items:center; }
.pf-card .bar i{ width:9px; height:9px; border-radius:50%; background:#3b4d63; }
.pf-card .bar .u{ margin-left:10px; font-size:11px; color:#7d93aa; background:#0b1a2c; padding:3px 10px; border-radius:5px; }
.pf-card .shot{ height:200px; display:grid; place-items:center; background:linear-gradient(135deg,var(--navy),var(--teal)); }
.pf-card .shot .demo{ text-align:center; color:rgba(255,255,255,.9); }
.pf-card .shot .demo b{ font-size:20px; display:block; }
.pf-card .shot .demo span{ font-size:12px; opacity:.7; }
.pf-card .body{ padding:20px 22px; background:#fff; }
.pf-card .body h3{ color:var(--navy); font-size:18px; margin-bottom:6px; }
.pf-card .body p{ color:#64748b; font-size:14px; margin-bottom:10px; }
.pf-card .body .meta{ font-size:12.5px; color:var(--teal); font-weight:600; }

/* stats row */
.stats{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; max-width:var(--wrap); margin:0 auto; }
.stat{ text-align:center; }
.stat b{ display:block; font-size:34px; font-weight:800; color:var(--sky); }
.stat span{ font-size:13.5px; color:#c5d2e0; }

/* contact layout */
.contact-grid{ display:grid; grid-template-columns:1.2fr .8fr; gap:34px; max-width:var(--wrap); margin:0 auto; }
.form{ background:#fff; border:1px solid #e6eaf0; border-radius:14px; padding:30px; }
.form .row{ margin-bottom:16px; }
.form label{ display:block; font-size:13px; font-weight:700; color:var(--navy); margin-bottom:6px; }
.form input, .form textarea{ width:100%; border:1px solid #d5dbe3; border-radius:9px; padding:12px 14px; font-size:14px; font-family:inherit; color:var(--graphite); background:var(--cloud); }
.form input:focus, .form textarea:focus{ outline:2px solid var(--sky); outline-offset:1px; border-color:var(--sky); }
.form textarea{ min-height:120px; resize:vertical; }
.form .btn{ width:100%; margin-top:4px; }
.form .note{ font-size:12px; color:#94a3b8; margin-top:12px; text-align:center; }
.form .hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-msg{ padding:12px 16px; border-radius:9px; margin-bottom:16px; font-size:14px; }
.form-msg.ok{ background:rgba(15,118,110,.1); color:var(--teal); border:1px solid rgba(15,118,110,.3); }
.form-msg.err{ background:rgba(220,38,38,.08); color:#b91c1c; border:1px solid rgba(220,38,38,.25); }
.cinfo .block{ background:#fff; border:1px solid #e6eaf0; border-radius:14px; padding:24px; margin-bottom:18px; }
.cinfo .block h4{ color:var(--navy); font-size:15px; margin-bottom:10px; }
.cinfo .block p{ font-size:14px; color:#5b6b7c; margin-bottom:4px; }
.cinfo .wa{ display:flex; align-items:center; gap:12px; }
.cinfo .wa .dot{ width:38px; height:38px; border-radius:10px; background:rgba(67,184,241,.12); display:grid; place-items:center; flex:none; }
.cinfo .wa .dot svg{ width:20px; height:20px; color:var(--sky); }
.cinfo .wa .resv{ font-size:11px; color:#94a3b8; font-style:italic; }

/* center helper */
.center{ text-align:center; }

@media (max-width:860px){
  .phero{ padding:44px 22px 40px; }
  .phero h1{ font-size:29px; }
  .svc{ grid-template-columns:1fr; gap:14px; }
  .svc ul.incl{ grid-template-columns:1fr; }
  .pf-grid,.contact-grid,.stats{ grid-template-columns:1fr; }
  .stats{ grid-template-columns:1fr 1fr; gap:24px; }
}

/* ============================================================
   LEGAL PAGES (privacy, cookies, terms) — readable prose
   ============================================================ */
.legal{ max-width:760px; margin:0 auto; }
.legal .updated{ font-size:14px; color:#94a3b8; margin-bottom:28px; padding-bottom:20px; border-bottom:1px solid #eef1f5; }
.legal h2{ font-size:22px; color:var(--navy); margin:32px 0 12px; }
.legal h3{ font-size:17px; color:var(--navy); margin:22px 0 8px; }
.legal p{ font-size:16px; color:#374151; margin-bottom:14px; line-height:1.75; }
.legal ul{ margin:0 0 16px 22px; color:#374151; }
.legal ul li{ margin-bottom:8px; font-size:16px; line-height:1.7; }
.legal a{ color:var(--teal); }
.legal .review{ background:rgba(244,163,0,.1); border-left:3px solid var(--amber); padding:10px 14px; font-size:14px; color:#7a5a00; margin:12px 0; border-radius:0 6px 6px 0; }
.legal table{ width:100%; border-collapse:collapse; margin:12px 0 20px; }
.legal table th,.legal table td{ text-align:left; padding:10px 12px; border:1px solid #e6eaf0; font-size:14.5px; }
.legal table th{ background:var(--cloud); color:var(--navy); font-weight:700; }
