/* ==========================================================================
   Well Delivery Services — Design System
   Brand: Navy #1F3265 · Orange #F04F23 · White
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Sora:wght@500;600;700;800&display=swap');

:root{
  /* Brand */
  --navy: #1F3265;
  --navy-dark: #0D1730;
  --navy-deep: #0A1226;
  --navy-mid: #2C447F;
  --navy-soft: #3E5698;
  --orange: #F04F23;
  --orange-dark: #D13F17;
  --orange-light: #FF7A4D;
  --orange-100: #FDECE6;
  --orange-050: #FFF5F1;

  /* Neutrals */
  --white: #FFFFFF;
  --ink: #0E1526;
  --slate-700: #384260;
  --slate-600: #566079;
  --slate-500: #7A84A0;
  --slate-300: #C7CDDE;
  --slate-200: #E1E5F0;
  --slate-100: #EFF2F8;
  --slate-050: #F7F9FC;
  --border: #E4E8F2;

  /* Type */
  --font-display: 'Sora', 'Manrope', sans-serif;
  --font-body: 'Manrope', sans-serif;

  /* Layout */
  --container: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --header-h: 84px;

  /* Motion */
  --ease: cubic-bezier(.22,.68,.31,1);
  --shadow-sm: 0 2px 10px rgba(13,23,48,.06);
  --shadow-md: 0 12px 32px rgba(13,23,48,.10);
  --shadow-lg: 0 24px 60px rgba(13,23,48,.16);
  --shadow-orange: 0 14px 30px rgba(240,79,35,.28);
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--slate-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--navy-dark);
  margin: 0 0 .5em;
  line-height: 1.18;
  letter-spacing: -.01em;
}
p{ margin:0 0 1em; }
.container{
  width: 90%;
  max-width: 90%;
  margin: 0 auto;
  padding: 0 20px;
}

/* Selection */
::selection{ background: var(--orange); color: var(--white); }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-flex; align-items:center; gap:9px;
  font-family: var(--font-display);
  font-size: 12.5px; font-weight:700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.eyebrow::before{
  content:''; width:26px; height:2px; background: var(--orange); border-radius:2px;
}
.eyebrow.on-dark{ color: var(--orange-light); }

.section{ padding: 108px 0; position: relative; }
.section-tight{ padding: 76px 0; }
@media (max-width: 900px){
  .section{ padding: 76px 0; }
  .section-tight{ padding: 56px 0; }
}

.section-head{ max-width: 680px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(28px,3.6vw,42px); }
.section-head p{ font-size: 17px; color: var(--slate-600); }

.bg-navy{ background: var(--navy-dark); color: var(--slate-300); }
.bg-navy h2, .bg-navy h3, .bg-navy h4{ color: var(--white); }
.bg-slate{ background: var(--slate-050); }

.grad-navy{
  background:
    radial-gradient(1100px 520px at 12% -10%, rgba(240,79,35,.16), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(62,86,152,.35), transparent 55%),
    linear-gradient(160deg, var(--navy-deep) 0%, var(--navy-dark) 46%, var(--navy) 100%);
}

.divider-line{ height:1px; background: var(--border); border:0; margin:0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  font-family: var(--font-display); font-weight:700; font-size: 14.5px;
  letter-spacing: .01em;
  padding: 16px 30px; border-radius: 100px;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn svg{ width:16px; height:16px; transition: transform .3s var(--ease); flex-shrink:0; }
.btn:hover svg{ transform: translateX(4px); }
.btn:hover{ transform: translateY(-2px); }

.btn-orange{ background: var(--orange); color: var(--white); box-shadow: var(--shadow-orange); }
.btn-orange:hover{ background: var(--orange-dark); box-shadow: 0 18px 38px rgba(240,79,35,.36); }

.btn-navy{ background: var(--navy); color: var(--white); }
.btn-navy:hover{ background: var(--navy-mid); }

.btn-outline{ background: transparent; color: var(--navy-dark); border-color: var(--slate-300); }
.btn-outline:hover{ border-color: var(--navy); background: var(--navy); color: var(--white); }

.btn-outline-light{ background: transparent; color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-outline-light:hover{ border-color: var(--white); background: rgba(255,255,255,.1); }

.btn-block{ width:100%; }

/* ---------- Header ---------- */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 999;
  height: var(--header-h);
  display:flex; align-items:center;
  background: rgba(10,18,38,.0);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .3s var(--ease), border-color .4s;
}
.site-header .container{ display:flex; align-items:center; justify-content:space-between; gap: 24px; }
.site-header.is-scrolled{
  height: 72px;
  background: rgba(10,18,38,.92);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 10px 30px rgba(4,8,20,.25);
  border-color: rgba(255,255,255,.06);
}
.brand{ display:flex; align-items:center; flex-shrink:0; }
.brand img{ height: 70px; width:auto; max-width:none; transition: height .3s var(--ease); }
.site-header.is-scrolled .brand img{ height: 56px; }
@media (max-width: 560px){
  .brand img{ height: 46px; }
  .site-header.is-scrolled .brand img{ height: 40px; }
}

.nav-desktop{ display:flex; align-items:center; gap: 4px; }
.nav-desktop a{
  font-family: var(--font-display); font-weight:600; font-size: 14px;
  color: rgba(255,255,255,.82);
  padding: 10px 16px; border-radius: 100px;
  transition: color .25s, background .25s;
  position: relative;
}
.nav-desktop a:hover{ color:#fff; background: rgba(255,255,255,.08); }
.nav-desktop a.active{ color:#fff; background: rgba(240,79,35,.18); }

.header-actions{ display:flex; align-items:center; gap:18px; }
.header-actions .btn{ padding: 12px 24px; font-size: 13.5px; }
.header-phone{ display:flex; align-items:center; gap:8px; color: rgba(255,255,255,.85); font-size:13.5px; font-weight:600; white-space:nowrap; flex-shrink:0; }
.header-phone svg{ width:16px; height:16px; color: var(--orange-light); flex-shrink:0; }
.nav-desktop{ flex-wrap:nowrap; }
.nav-desktop a{ white-space:nowrap; }
@media (max-width: 1560px){
  .header-actions .header-phone{ display:none; }
}

.nav-toggle{
  display:none; width:44px; height:44px; border-radius:10px; border:1px solid rgba(255,255,255,.2);
  background: transparent; align-items:center; justify-content:center; flex-direction:column; gap:5px;
}
.nav-toggle span{ width:20px; height:2px; background:#fff; border-radius:2px; transition: transform .3s var(--ease), opacity .3s; }
.nav-toggle.is-active span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2){ opacity:0; }
.nav-toggle.is-active span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-nav{
  position: fixed; inset: 72px 0 0 0; z-index: 998;
  background: var(--navy-dark);
  transform: translateY(-8px); opacity:0; visibility:hidden;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  overflow-y:auto;
}
.mobile-nav.is-open{ opacity:1; transform: translateY(0); visibility:visible; }
.mobile-nav .container{ padding-top: 20px; padding-bottom: 40px; }
.mobile-nav a{
  display:block; font-family: var(--font-display); font-weight:700; font-size: 22px;
  color:#fff; padding: 16px 4px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-nav .btn{ margin-top: 24px; }

@media (max-width: 1320px){
  .nav-desktop, .header-actions{ display:none; }
  .nav-toggle{ display:flex; }
}
@media (min-width: 1321px){
  .mobile-nav{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  position: relative; color: #fff; overflow:hidden;
  padding: calc(var(--header-h) + 96px) 0 120px;
}
.hero-grid{
  position:absolute; inset:0; opacity:.5; pointer-events:none;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(1100px 640px at 70% 20%, #000 30%, transparent 78%);
}
.hero-ring{
  position:absolute; border-radius:50%; border: 1px solid rgba(240,79,35,.28);
  pointer-events:none;
}
.hero-rig-bg{
  position:absolute; inset:0; z-index:1; pointer-events:none;
  background-image: url('../assets/img/hero-rig.svg');
  background-repeat: no-repeat;
  background-position: bottom right;
  background-size: min(60%, 780px) auto;
  opacity: .92;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, #000 26%);
  mask-image: linear-gradient(100deg, transparent 0%, #000 26%);
}
@media (max-width: 900px){
  .hero-rig-bg{ background-size: min(85%, 560px) auto; opacity:.5; }
}
@media (max-width: 560px){
  .hero-rig-bg{ display:none; }
}
.hero .hero-content{ position:relative; z-index:2; max-width: 760px; }
.hero h1{
  color:#fff; font-size: clamp(38px, 5.4vw, 66px); font-weight:800;
}
.hero h1 em{ font-style:normal; color: var(--orange-light); }
.hero .lead{ font-size: 18.5px; color: rgba(255,255,255,.78); max-width: 560px; margin-bottom: 36px; }
.hero-cta{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom: 64px; }

.hero-pillars{
  position:relative; z-index:2;
  display:grid; grid-template-columns: repeat(4,1fr); gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-md);
  overflow:hidden;
}
.hero-pillar{
  background: rgba(255,255,255,.045);
  padding: 22px 22px;
  display:flex; align-items:center; gap:14px;
}
.hero-pillar svg{ width:26px; height:26px; color: var(--orange-light); flex-shrink:0; }
.hero-pillar span{ font-family: var(--font-display); font-weight:600; font-size: 13.5px; color: rgba(255,255,255,.92); letter-spacing:.01em; }
@media (max-width: 820px){
  .hero-pillars{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 560px){
  .hero-pillars{ grid-template-columns: 1fr; }
  .hero{ padding: calc(var(--header-h) + 56px) 0 72px; }
}

/* ---------- Page header (inner pages) ---------- */
.page-hero{
  position:relative; color:#fff; overflow:hidden;
  padding: calc(var(--header-h) + 76px) 0 76px;
}
.page-hero .container{ position:relative; z-index:2; }
.breadcrumb{ display:flex; align-items:center; gap:8px; font-size:13px; color: rgba(255,255,255,.55); margin-bottom:22px; font-weight:600; }
.breadcrumb a:hover{ color: var(--orange-light); }
.page-hero h1{ color:#fff; font-size: clamp(32px,4.6vw,52px); max-width: 780px; }
.page-hero .lead{ color: rgba(255,255,255,.72); max-width: 620px; font-size: 17px; margin:0; }

/* ---------- Cards ---------- */
.card{
  background:#fff; border: 1px solid var(--border); border-radius: var(--radius-md);
  padding: 34px 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.card-icon{
  width: 54px; height:54px; border-radius: 14px;
  background: var(--orange-100); color: var(--orange);
  display:flex; align-items:center; justify-content:center; margin-bottom: 20px;
}
.card-icon svg{ width:26px; height:26px; }
.card h3{ font-size: 19px; margin-bottom:10px; }
.card p{ font-size: 15px; color: var(--slate-600); margin-bottom:0; }

/* ---------- Grids ---------- */
.grid{ display:grid; gap: 26px; }
.grid-2{ grid-template-columns: repeat(2,1fr); }
.grid-3{ grid-template-columns: repeat(3,1fr); }
.grid-4{ grid-template-columns: repeat(4,1fr); }
@media (max-width: 980px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

/* ---------- Split (image/content) ---------- */
.split{ display:grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items:center; }
@media (max-width: 900px){
  .split{ grid-template-columns: 1fr; gap: 40px; }
  .split.reverse .split-media{ order:-1; }
}
.split-media{ position:relative; }
.split-media .media-frame{
  border-radius: var(--radius-lg); overflow:hidden; position:relative;
  aspect-ratio: 4/3.1;
}
.split-badge{
  position:absolute; left:-20px; bottom:-20px; z-index:3;
  background:#fff; border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
  padding: 20px 24px; display:flex; align-items:center; gap:14px; max-width: 260px;
}
.split-badge .card-icon{ margin:0; width:46px; height:46px; }
.split-badge strong{ display:block; font-family: var(--font-display); color: var(--navy-dark); font-size:14.5px; }
.split-badge span{ font-size: 12.5px; color: var(--slate-500); }
@media (max-width: 560px){ .split-badge{ left:10px; bottom:-16px; padding:14px 16px; } }

/* ---------- Value / pillar list ---------- */
.check-list{ display:flex; flex-direction:column; gap: 14px; margin: 24px 0 0; }
.check-list li{ display:flex; align-items:flex-start; gap: 12px; font-size: 15.5px; color: var(--slate-700); }
.check-list svg{ width:20px; height:20px; color: var(--orange); flex-shrink:0; margin-top:2px; }

/* ---------- Process steps ---------- */
.process{ position:relative; }
.process-row{ display:grid; grid-template-columns: 90px 1fr; gap: 20px; }
.process-step{ position:relative; padding-bottom: 44px; }
.process-step:last-child{ padding-bottom:0; }
.step-num{
  font-family: var(--font-display); font-weight:800; font-size: 15px;
  width:56px; height:56px; border-radius:50%; background: var(--navy-dark); color:#fff;
  display:flex; align-items:center; justify-content:center; position:relative; z-index:2;
}
.process-step::before{
  content:''; position:absolute; left:27px; top:56px; bottom:-16px; width:2px;
  background: repeating-linear-gradient(to bottom, var(--slate-300) 0 6px, transparent 6px 12px);
}
.process-step:last-child::before{ display:none; }
.step-body h3{ font-size:19px; margin-bottom:8px; }
.step-body p{ color: var(--slate-600); font-size:15px; margin-bottom:0; }

/* ---------- CTA band ---------- */
.cta-band{
  position:relative; overflow:hidden; border-radius: var(--radius-lg);
  padding: 64px 56px; color:#fff;
  display:flex; align-items:center; justify-content:space-between; gap: 40px; flex-wrap:wrap;
}
.cta-band h2{ color:#fff; margin-bottom:10px; font-size: clamp(24px,3vw,34px); }
.cta-band p{ color: rgba(255,255,255,.72); margin:0; max-width: 460px; }
.cta-band-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Stats strip ---------- */
.stats-strip{
  display:grid; grid-template-columns: repeat(4,1fr); border-top:1px solid var(--border); border-bottom:1px solid var(--border);
}
.stat-item{ padding: 34px 24px; text-align:center; border-left:1px solid var(--border); }
.stat-item:first-child{ border-left:none; }
.stat-num{ font-family: var(--font-display); font-weight:800; font-size: clamp(28px,3.4vw,40px); color: var(--navy-dark); display:flex; align-items:baseline; justify-content:center; gap:2px; }
.stat-num .suffix{ color: var(--orange); font-size:.6em; }
.stat-label{ font-size: 13px; color: var(--slate-500); margin-top:6px; font-weight:600; letter-spacing:.01em; }
@media (max-width: 820px){
  .stats-strip{ grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2n+1){ border-left:none; }
  .stat-item:nth-child(n+3){ border-top:1px solid var(--border); }
}

/* ---------- Timeline (about) ---------- */
.pill-tag{
  display:inline-flex; align-items:center; gap:8px; background: var(--orange-050); color: var(--orange-dark);
  border:1px solid var(--orange-100); border-radius:100px; padding:8px 16px; font-size:13px; font-weight:700;
}

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-deep); color: rgba(255,255,255,.62); padding: 84px 0 0; position:relative; overflow:hidden; }
.footer-top{ display:grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 60px; }
.footer-brand img{ height:85px; margin-bottom:20px; }
.footer-brand p{ font-size:14.5px; max-width: 300px; color: rgba(255,255,255,.5); }
.footer-social{ display:flex; gap:10px; margin-top:22px; }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.16);
  display:flex; align-items:center; justify-content:center; transition: background .3s, border-color .3s;
}
.footer-social a:hover{ background: var(--orange); border-color: var(--orange); }
.footer-social svg{ width:16px; height:16px; color:#fff; }
.footer-col h4{ color:#fff; font-size: 14px; letter-spacing:.06em; text-transform:uppercase; margin-bottom: 20px; }
.footer-col ul{ display:flex; flex-direction:column; gap:12px; }
.footer-col a{ font-size:14.5px; transition: color .25s, padding-left .25s; }
.footer-col a:hover{ color:#fff; padding-left:4px; }
.footer-contact li{ display:flex; gap:12px; font-size:14.5px; margin-bottom:16px; align-items:flex-start; }
.footer-contact svg{ width:18px; height:18px; color: var(--orange-light); flex-shrink:0; margin-top:2px; }
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.08); padding: 24px 0; font-size:13px;
  display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; color: rgba(255,255,255,.4);
}
.footer-bottom a{ color: rgba(255,255,255,.65); font-weight:600; transition: color .25s; }
.footer-bottom a:hover{ color: var(--orange-light); }
@media (max-width: 980px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .footer-top{ grid-template-columns: 1fr; gap:36px; }
}

/* ---------- Reveal animation ---------- */
[data-reveal]{ opacity:0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-visible{ opacity:1; transform: translateY(0); }
[data-reveal-group] > *{ transition-delay: calc(var(--i,0) * 90ms); }

/* ---------- Marquee (logo/values strip) ---------- */
.marquee{ overflow:hidden; position:relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track{ display:flex; gap: 64px; width:max-content; animation: marquee 28s linear infinite; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
.marquee-item{ display:flex; align-items:center; gap:10px; font-family: var(--font-display); font-weight:700; color: var(--slate-500); font-size:14px; white-space:nowrap; }
.marquee-item svg{ width:18px; height:18px; color: var(--orange); }

/* ---------- Forms ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap:18px; }
.form-grid .full{ grid-column: 1/-1; }
@media (max-width:640px){ .form-grid{ grid-template-columns:1fr; } }
.field label{ display:block; font-size:13px; font-weight:700; color: var(--navy-dark); margin-bottom:8px; letter-spacing:.02em; }
.field input, .field select, .field textarea{
  width:100%; border:1.5px solid var(--slate-200); border-radius: var(--radius-sm);
  padding: 14px 16px; font-family: var(--font-body); font-size:14.5px; color: var(--ink);
  background: #fff; transition: border-color .25s, box-shadow .25s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color: var(--orange); box-shadow: 0 0 0 4px rgba(240,79,35,.12);
}
.field textarea{ resize: vertical; min-height: 130px; }

/* ---------- Schematic panels (abstract engineering graphics, no stock photos) ---------- */
.schematic-panel{
  position:relative; width:100%; height:100%; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
}
.schematic-panel svg{ position:relative; z-index:2; width:100%; height:100%; }
.schematic-panel::before{
  content:''; position:absolute; inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(420px 420px at 50% 40%, #000, transparent 75%);
}
.schematic-panel.light::before{
  background-image:
    linear-gradient(rgba(31,50,101,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31,50,101,.07) 1px, transparent 1px);
}

/* ---------- Contact info cards ---------- */
.info-tile{ display:flex; gap:18px; align-items:flex-start; padding: 22px 0; border-bottom:1px solid var(--border); }
.info-tile:last-child{ border-bottom:none; }
.info-tile .card-icon{ margin-bottom:0; flex-shrink:0; }
.info-tile h4{ font-size:15.5px; margin-bottom:4px; }
.info-tile p{ font-size:14.5px; margin:0; color: var(--slate-600); }

/* ---------- Misc ---------- */
.tag-row{ display:flex; flex-wrap:wrap; gap:10px; }
.tag{ font-size:13px; font-weight:700; color: var(--navy); background: var(--slate-100); border-radius:100px; padding:8px 16px; }
.text-orange{ color: var(--orange); }
.center{ text-align:center; }
.mt-0{ margin-top:0; }
.note-box{
  background: var(--orange-050); border:1px solid var(--orange-100); border-radius: var(--radius-md);
  padding: 22px 24px; font-size:14.5px; color: var(--slate-700); display:flex; gap:14px; align-items:flex-start;
}
.note-box svg{ width:20px; height:20px; color: var(--orange); flex-shrink:0; margin-top:2px; }
