/* ==========================================================================
   Global Settlers — Premium Design System
   Display: Playfair Display / Body: Lato / Accent: IBM Plex Mono
   ========================================================================== */

:root{
  --navy:        #0A1F36;
  --ink-soft:    #495A6F;
  --primary:     #1B5A9A;
  --primary-dark:#0F3A67;
  --sky:         #5BA3D0;
  --sky-soft:    #E8F3FC;
  --gold:        #D4A574;
  --gold-accent: #C29A5D;
  --paper:       #FAFBFC;
  --paper-alt:   #F0F3F7;
  --white:       #FFFFFF;
  --line:        #D9DEE6;
  --text-muted:  #6B7A8D;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;

  --shadow-sm: 0 2px 12px rgba(10,31,54,0.08);
  --shadow-md: 0 16px 40px rgba(10,31,54,0.12);
  --shadow-lg: 0 32px 80px rgba(10,31,54,0.16);
  --shadow-xl: 0 40px 100px rgba(10,31,54,0.2);

  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family:'Lato',-apple-system,sans-serif;
  color:var(--navy);
  background:var(--paper);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  font-size:16px;
  line-height:1.65;
  font-weight:400;
}
h1,h2,h3,h4{
  font-family:'Cormorant Garamond',serif;
  color:var(--navy);
  line-height:1.2;
  margin:0 0 .6em;
  letter-spacing:-0.015em;
  font-weight:700;
}
h1{ font-size:clamp(36px,5vw,64px); }
h2{ font-size:clamp(28px,3.8vw,48px); }
h3{ font-size:clamp(20px,2.4vw,32px); }
h4{ font-size:18px; }
p{ margin:0 0 1.2em; color:var(--text-muted); line-height:1.75; font-size:15.5px; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ margin:0; padding:0; list-style:none; }
.mono{ font-family:'IBM Plex Mono',monospace; }

::selection{ background:var(--sky); color:var(--white); }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 28px;
}

.eyebrow{
  font-family:'IBM Plex Mono',monospace;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--primary);
  display:inline-flex;
  align-items:center;
  gap:12px;
  margin-bottom:18px;
  font-weight:600;
}
.eyebrow::before{
  content:'';
  width:28px;height:1px;
  background:var(--gold-accent);
  display:inline-block;
}

section{ padding:96px 0; position:relative; }
@media (max-width:768px){ section{ padding:64px 0; } }

.section-head{ max-width:640px; 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; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:15px 32px;
  border-radius:8px;
  font-family:'Lato',sans-serif;
  font-weight:600;
  font-size:15px;
  letter-spacing:.03em;
  border:none;
  cursor:pointer;
  transition:all .25s cubic-bezier(0.2,0.6,0.3,1);
  white-space:nowrap;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{
  background:var(--primary);
  color:var(--white);
  box-shadow:var(--shadow-md);
}
.btn-primary:hover{ background:var(--primary-dark); box-shadow:var(--shadow-lg); }
.btn-gold{
  background:var(--gold);
  color:var(--navy);
  box-shadow:var(--shadow-sm);
}
.btn-gold:hover{ background:var(--gold-accent); box-shadow:var(--shadow-md); }
.btn-ghost{
  background:transparent;
  color:var(--primary);
  border:2px solid var(--line);
}
.btn-ghost:hover{ border-color:var(--primary); background:rgba(27,90,154,0.04); }
.btn-ghost-light{
  background:rgba(255,255,255,.12);
  color:var(--white);
  border:none;
}
.btn-ghost-light:hover{ background:rgba(255,255,255,.22); }
.btn-sm{ padding:11px 20px; font-size:13px; }
.btn svg{ width:16px; height:16px; }

/* ---------- Nav ---------- */
.nav{
  position:sticky; top:0; z-index:100;
  background:rgba(250,251,252,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--line);
}
.nav .container{
  display:flex; align-items:center; justify-content:space-between;
  height:80px;
}
.nav-brand{ display:flex; align-items:center; gap:14px; }
.nav-brand img{ height:40px; width:auto; }
.nav-brand .word{
  font-family:'Cormorant Garamond',serif;
  font-weight:700;
  font-size:18px;
  color:var(--navy);
  line-height:1.1;
  letter-spacing:-.01em;
}
.nav-brand .word span{ display:block; font-size:11px; font-weight:600; letter-spacing:.16em; color:var(--primary); margin-top:2px; font-family:'IBM Plex Mono',monospace;}
.nav-links{ display:flex; align-items:center; gap:40px; }
.nav-links a{
  font-size:14px; font-weight:500; color:var(--text-muted);
  position:relative; padding:6px 0;
  transition:color .2s ease;
}
.nav-links a:hover, .nav-links a.active{ color:var(--primary); }
.nav-links a.active::after{
  content:''; position:absolute; left:0; right:0; bottom:-6px; height:2px; background:var(--gold-accent);
}
.nav-actions{ display:flex; align-items:center; gap:16px; }
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; padding:6px; }
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--navy); margin:5px 0; transition:.2s; }

@media (max-width:940px){
  .nav-links{
    position:fixed; inset:80px 0 0 0; background:var(--white);
    flex-direction:column; padding:40px 28px; gap:24px;
    transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:opacity .2s ease, transform .2s ease;
  }
  .nav-links.open{ opacity:1; pointer-events:auto; transform:translateY(0); }
  .nav-toggle{ display:block; }
  .nav-actions .btn-label{ display:none; }
}

/* ---------- Hero / flight-path signature ---------- */
.hero{
  position:relative;
  padding:88px 0 56px;
  overflow:hidden;
}
.hero-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr;
  gap:56px;
  align-items:center;
}
@media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; } }

.hero h1{ font-size:clamp(40px,5.2vw,66px); margin-bottom:.4em; }
.hero h1 em{ font-style:normal; color:var(--primary); }
.hero-lede{ font-size:17.5px; max-width:560px; margin-bottom:32px; line-height:1.8; }
.hero-actions{ display:flex; gap:16px; flex-wrap:wrap; margin-bottom:48px; }

.hero-stats{ display:flex; gap:48px; flex-wrap:wrap; }
.hero-stats div strong{
  display:block; font-family:'Playfair Display',serif; font-size:32px; color:var(--navy); font-weight:700;
}
.hero-stats div span{ font-size:12px; color:var(--text-muted); text-transform:uppercase; letter-spacing:.08em; font-weight:600; }

/* Hero right side image */
.hero-image{ border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-xl); }
.hero-image img{ width:100%; height:auto; display:block; object-fit:cover; aspect-ratio:4/5; }

.hero-map{
  position:absolute; right:-80px; top:50%; transform:translateY(-50%);
  width:360px; opacity:.22; pointer-events:none;
}
@media (max-width:1180px){ .hero-map{ display:none; } }

/* ---------- Trust bar ---------- */
.trustbar{
  background:var(--navy);
  padding:26px 0;
}
.trustbar .container{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:18px;
}
.trustbar span{
  color:rgba(255,255,255,.72);
  font-family:'IBM Plex Mono',monospace;
  font-size:12.5px; letter-spacing:.06em;
}
.trustbar strong{ color:var(--white); font-family:'Space Grotesk',sans-serif; font-weight:600;}

/* ---------- Service cards ---------- */
.card-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:28px;
}
@media (max-width:940px){ .card-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:640px){ .card-grid{ grid-template-columns:1fr; } }

.svc-card{
  background:var(--white);
  border-radius:var(--radius-md);
  border:1px solid var(--line);
  padding:32px 28px;
  transition:all .3s cubic-bezier(0.2,0.6,0.3,1);
  position:relative;
}
.svc-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.svc-card .code{
  font-family:'IBM Plex Mono',monospace; font-size:11px; letter-spacing:.12em;
  color:var(--primary); text-transform:uppercase; margin-bottom:16px; display:block; font-weight:600;
}
.svc-card .icon{
  width:52px; height:52px; border-radius:12px;
  background:var(--sky-soft); color:var(--primary);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.svc-card h3{ font-size:20px; margin-bottom:12px; }
.svc-card p{ font-size:14.5px; margin-bottom:0; }
.svc-card a.more{
  display:inline-flex; align-items:center; gap:7px; margin-top:18px;
  font-size:13.5px; font-weight:600; color:var(--primary);
  transition:gap .2s ease;
}
.svc-card a.more:hover{ gap:11px; }

/* ---------- Process ---------- */
.process{
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  border-top:1px solid var(--line); border-bottom:1px solid var(--line);
}
.process-step{
  padding:34px 24px; border-right:1px solid var(--line); position:relative;
}
.process-step:last-child{ border-right:none; }
.process-step .num{
  font-family:'IBM Plex Mono',monospace; color:var(--gold); font-size:13px; margin-bottom:14px; display:block;
}
.process-step h4{ font-size:17px; margin-bottom:8px; }
.process-step p{ font-size:14px; margin-bottom:0; }
@media (max-width:860px){
  .process{ grid-template-columns:1fr 1fr; }
  .process-step{ border-bottom:1px solid var(--line); }
  .process-step:nth-child(2){ border-right:none; }
}
@media (max-width:560px){
  .process{ grid-template-columns:1fr; }
  .process-step{ border-right:none; }
}

/* ---------- Stamp badge (signature) ---------- */
.stamp{
  width:132px; height:132px; border-radius:50%;
  border:2px solid var(--gold);
  display:flex; align-items:center; justify-content:center;
  transform:rotate(-9deg);
  position:relative;
  flex-shrink:0;
}
.stamp::before{
  content:''; position:absolute; inset:8px; border:1px dashed var(--gold);
  border-radius:50%;
}
.stamp .txt{
  font-family:'IBM Plex Mono',monospace; text-align:center; color:var(--gold-text,#B4791F);
  font-size:11px; letter-spacing:.06em; line-height:1.5; font-weight:700; text-transform:uppercase;
}

/* ---------- Testimonials ---------- */
.testi-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(300px, 1fr)); gap:24px; }
@media (max-width:940px){ .testi-grid{ grid-template-columns:repeat(2, 1fr); } }
@media (max-width:640px){ .testi-grid{ grid-template-columns:1fr; } }
.testi-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:28px; display:flex; flex-direction:column; gap:18px; transition:all .3s ease;
}
.testi-card:hover{ box-shadow:var(--shadow-md); border-color:transparent; transform:translateY(-2px); }
.testi-card .quote{ font-size:15px; color:var(--navy); line-height:1.7; font-weight:500; }
.testi-card .who{ display:flex; align-items:center; gap:12px; margin-top:auto; }
.testi-avatar{
  width:44px; height:44px; border-radius:50%;
  background:linear-gradient(135deg, var(--primary), var(--sky));
  color:var(--white);
  display:flex; align-items:center; justify-content:center;
  font-family:'Cormorant Garamond',serif; font-weight:700; font-size:18px;
  flex-shrink:0;
}
.who strong{ display:block; font-size:14px; font-weight:600; }
.who span{ font-size:12.5px; color:var(--text-muted); font-family:'Lato',sans-serif; }

/* ---------- CTA banner ---------- */
.cta-banner{
  background:linear-gradient(135deg,var(--primary),var(--primary-dark));
  border-radius:var(--radius-lg);
  padding:56px;
  display:flex; align-items:center; justify-content:space-between; gap:30px; flex-wrap:wrap;
  color:var(--white);
  position:relative; overflow:hidden;
}
.cta-banner h2{ color:var(--white); margin-bottom:8px; font-size:clamp(24px,3vw,34px); }
.cta-banner p{ color:rgba(255,255,255,.78); margin-bottom:0; max-width:440px; }
.cta-banner .actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---------- Footer ---------- */
footer{ background:var(--navy); color:rgba(255,255,255,.68); padding:72px 0 28px; }
.foot-grid{
  display:grid; grid-template-columns:1.5fr 1.1fr 1.1fr 1.3fr; gap:48px;
  padding-bottom:48px; border-bottom:1px solid rgba(255,255,255,.1);
}
@media (max-width:860px){ .foot-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .foot-grid{ grid-template-columns:1fr; } }
.foot-brand{ display:flex; align-items:center; gap:14px; margin-bottom:18px;}
.foot-brand img{ height:36px; }
.foot-brand strong{ font-family:'Cormorant Garamond',serif; color:var(--white); font-size:18px; font-weight:700; }
footer h5{
  color:var(--white); font-family:'Cormorant Garamond',serif; font-size:15px;
  text-transform:uppercase; letter-spacing:.08em; margin-bottom:20px; font-weight:700;
}
footer ul li{ margin-bottom:12px; }
footer ul li a{ font-size:14px; color:rgba(255,255,255,.68); transition:color .2s ease; }
footer ul li a:hover{ color:var(--gold-accent); }
.foot-bottom{
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;
  padding-top:28px; font-size:13px;
}
.foot-social{ display:flex; gap:12px; }
.foot-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.2);
  display:flex; align-items:center; justify-content:center; transition:all .2s ease;
}
.foot-social a:hover{ background:var(--gold-accent); border-color:var(--gold-accent); color:var(--navy); }

/* ---------- Page hero (sub-pages) ---------- */
.page-hero{
  padding:64px 0 56px;
  background:var(--paper-alt);
  border-bottom:1px solid var(--line);
}
.page-hero h1{ font-size:clamp(30px,4vw,46px); margin-bottom:12px; }
.breadcrumb{
  font-family:'IBM Plex Mono',monospace; font-size:12.5px; color:var(--ink-soft); letter-spacing:.04em;
  display:flex; gap:8px; align-items:center; margin-bottom:18px;
}
.breadcrumb a{ color:var(--primary); }
.breadcrumb span{ color:var(--ink-soft); }

/* ---------- Utility layout ---------- */
.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:60px; align-items:center; }
@media (max-width:860px){ .two-col{ grid-template-columns:1fr; gap:36px; } }
.tag-row{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:20px;}
.tag{
  font-family:'IBM Plex Mono',monospace; font-size:11.5px; letter-spacing:.06em;
  background:var(--sky-soft); color:var(--primary); padding:6px 12px; border-radius:999px;
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.reveal.in{ opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  .reveal{ opacity:1; transform:none; transition:none; }
  .pass-path .plane{ animation:none; }
  .btn:hover{ transform:none; }
}

/* ---------- Placeholder media tile (gallery) ---------- */
.media-tile{
  border-radius:var(--radius-md);
  background:linear-gradient(135deg,var(--sky-soft),var(--paper-alt));
  border:1px solid var(--line);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  gap:10px; color:var(--primary); text-align:center; padding:24px;
  aspect-ratio:4/3;
}
.media-tile svg{ width:34px; height:34px; opacity:.8; }
.media-tile span{ font-family:'IBM Plex Mono',monospace; font-size:11.5px; color:var(--ink-soft); letter-spacing:.04em; }

/* ---------- Form ---------- */
.form-field{ margin-bottom:20px; }
.form-field label{
  display:block; font-size:13px; font-weight:600; margin-bottom:8px; color:var(--navy);
  font-family:'Space Grotesk',sans-serif;
}
.form-field input, .form-field select, .form-field textarea{
  width:100%; padding:13px 16px; border-radius:var(--radius-sm); border:1px solid var(--line);
  font-family:'Inter',sans-serif; font-size:14.5px; background:var(--white); color:var(--navy);
  transition:border-color .15s ease, box-shadow .15s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color:var(--primary); box-shadow:0 0 0 3px var(--sky-soft);
}
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:18px; }
@media (max-width:560px){ .form-row{ grid-template-columns:1fr; } }

.contact-card{
  background:var(--white); border:1px solid var(--line); border-radius:var(--radius-md);
  padding:26px; display:flex; gap:16px; align-items:flex-start;
}
.contact-card .icon{
  width:44px; height:44px; border-radius:12px; background:var(--sky-soft); color:var(--primary);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-card h4{ font-size:15.5px; margin-bottom:4px; }
.contact-card p{ font-size:14px; margin-bottom:0; }

.map-frame{ border-radius:var(--radius-md); overflow:hidden; border:1px solid var(--line); }
.map-frame iframe{ width:100%; height:340px; border:0; display:block; }
