/* ============================================================
   Cornell Global Inc. — Main Stylesheet  (Light Theme)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;500;600;700;800&family=Montserrat:wght@400;500;600;700;800;900&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Colours */
  --white:          #ffffff;
  --bg-light:       #f7f7f7;
  --bg-dark:        #0f1117;   /* dark sections / footer */
  --bg-dark-2:      #181c25;

  --accent:         #e07b3c;   /* orange/amber brand highlight */
  --accent-hover:   #c9672c;
  --accent-light:   #faeee6;

  --text-primary:   #000000;
  --text-secondary: #000000;
  --text-muted:     #808184;
  --text-white:     #f5f5f5;
  --text-white-dim: #aab0be;

  --border:         #e5e5e5;
  --border-dark:    #2a2f3d;

  --btn-dark:       #32373c;   /* dark button colour from WP source */
  --navy:           #1e3550;   /* service heading navy */

  /* Typography */
  --font-heading: 'Merriweather Sans', sans-serif;
  --font-body:    'Montserrat', sans-serif;

  /* Spacing */
  --section-py:  88px;
  --container:   1180px;

  /* Misc */
  --radius:    10px;
  --radius-sm:  6px;
  --shadow:     0 4px 24px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.12);
  --transition: 0.28s ease;
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; transition: color var(--transition); }
ul    { list-style: none; }
button, input, textarea { font-family: var(--font-body); }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.15;
  color: var(--text-primary);
  font-weight: 700;
}

.text-accent    { color: var(--accent); }
.text-gray      { color: var(--text-secondary); }
.text-highlight { /* orange underline on inline name */
  color: var(--accent);
  font-weight: 600;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.13;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
}

/* ── Layout ───────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
.section     { padding: var(--section-py) 0; }
.section-bg  { background: var(--bg-light); }
.section-dark { background: var(--bg-dark); }

/* Two-column split */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.split.wide-right  { grid-template-columns: 1fr 1.15fr; }
.split.wide-left   { grid-template-columns: 1.15fr 1fr; }

/* Generic grids */
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; }
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }

.text-center  { text-align: center; }
.mx-auto      { margin-left: auto; margin-right: auto; }

/* Spacing helpers */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mt-56 { margin-top: 56px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 26px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-dark {
  background: var(--btn-dark);
  color: #fff;
  border-color: var(--btn-dark);
  border-radius: 6px;
}
.btn-dark:hover {
  background: #1e2226;
  border-color: #1e2226;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: #555;
  border-color: #c0c0c0;
  border-radius: 6px;
}
.btn-outline:hover {
  border-color: #888;
  color: #222;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: var(--text-white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
  color: #fff;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(224,123,60,0.35);
  color: #fff;
}

.btn-lg {
  padding: 14px 36px;
  font-size: 0.95rem;
}

/* ── Navbar ───────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 14px 0;
  background: #fff;            /* always white — matches WP site */
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 6px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
}

.nav-logo {
  flex-shrink: 0;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Nav links fill the center, centred */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #444;
  letter-spacing: 0.01em;
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: #444;
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: #111; }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* CTA button — outlined, pushed to right */
.nav-cta {
  flex-shrink: 0;
  background: transparent;
  color: #555;
  border: 1px solid #c0c0c0;
  border-radius: 4px;
  padding: 9px 22px;
  font-size: 0.85rem;
  font-weight: 400;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover {
  border-color: #888;
  color: #222;
  background: transparent;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
}
.nav-mobile a:hover { color: var(--accent); }
.nav-mobile-close {
  position: absolute;
  top: 22px; right: 22px;
  background: none; border: none;
  font-size: 2rem; cursor: pointer;
  color: var(--text-primary);
  line-height: 1;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  min-height: 100vh;
  align-items: stretch;
  background: var(--white);
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 48px 72px 40px;  /* top accounts for navbar ~72px */
  max-width: 640px;
  margin-left: auto;
}

.hero-title {
  font-size: clamp(2.6rem, 4.5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  color: #000000;
}
/* "Driven by" rendered in muted gray */
.hero-title .word-gray  { color: #808184; font-weight: 400; }
/* "growth." stays bold black */
.hero-title .word-black { color: #000000; font-weight: 900; }

.hero-body {
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.8;
  margin-bottom: 14px;
}

/* Cornell Global name in hero — no special colour, same as body */
.hero-body .brand-name {
  font-weight: 400;
  color: inherit;
}

.hero-tagline {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.hero-values {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 6px 0 20px;
}

.hero-founder {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-image {
  position: relative;
  overflow: hidden;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  min-height: 100vh;
}

/* ── Page hero (inner pages) ──────────────────────────────── */
.page-hero {
  padding: 110px 0 64px;   /* top = navbar height + breathing room */
  background: var(--bg-light);
  border-bottom: 1px solid var(--border);
}

.page-hero-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 14px;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* ── About section ────────────────────────────────────────── */
.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-content h2 { margin-bottom: 20px; }

.about-content p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 14px;
}

/* ── Services grid ────────────────────────────────────────── */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
  margin-top: 40px;
}

.service-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  margin-bottom: 10px;
  font-family: var(--font-heading);
}

.service-item p {
  font-size: 0.85rem;
  color: #000000;
  line-height: 1.8;
}

/* ── Success Stories ─────────────────────────────────────── */
.stories-section { background: var(--white); }

.stories-intro { margin-bottom: 48px; }
.stories-intro p {
  color: var(--text-secondary);
  font-size: 0.93rem;
  line-height: 1.85;
  margin-bottom: 14px;
  max-width: 860px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 32px;
}

.testi-card { padding: 0; }

.testi-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}
.testi-stars svg {
  width: 15px; height: 15px;
  fill: none;
  stroke: #808184;
  stroke-width: 1.5;
}

.testi-text {
  font-size: 0.9rem;
  color: #000;
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: normal;
  font-weight: 700;
}

.testi-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}

/* ── CTA / Careers dark section ───────────────────────────── */
.dark-cta {
  position: relative;
  background: var(--bg-dark);
  overflow: hidden;
  padding: var(--section-py) 0;
}

.dark-cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.22;
  transition: none;
}

.dark-cta .container { position: relative; z-index: 1; }

.dark-cta-title {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--text-white);
  margin-bottom: 20px;
  max-width: 720px;
}

.dark-cta-text {
  font-size: 0.93rem;
  color: var(--text-white-dim);
  line-height: 1.85;
  max-width: 700px;
  margin-bottom: 36px;
}

/* ── Stats bar ────────────────────────────────────────────── */
.stats-bar {
  background: var(--bg-light);
  padding: 64px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
}

.stat-item {
  padding: 0 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 15%; height: 70%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--text-primary);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-number .hl { color: var(--accent); }

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ── Leadership / Team ────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  overflow: hidden;
}

.team-card-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.team-card-body {
  padding: 14px 0 0;
  background: var(--white);
}

.team-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: #000000;
}
.team-role { font-size: 0.85rem; color: #808184; font-weight: 400; }

/* ── Values grid ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 28px;
  margin-top: 48px;
}

.value-card {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.value-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.value-icon svg {
  width: 22px; height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-title { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-text  { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.75; }

/* ── Benefits grid ────────────────────────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 20px;
  margin-top: 36px;
}

.benefit-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.benefit-item:hover { box-shadow: var(--shadow); }

.benefit-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.benefit-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; }
.benefit-text  { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.6; }

/* ── Contact form ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-cards { display: flex; flex-direction: column; gap: 16px; }

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: box-shadow var(--transition);
}
.contact-card:hover { box-shadow: var(--shadow); }

.c-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-light);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-icon svg {
  width: 18px; height: 18px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.c-label { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 3px; }
.c-value { font-size: 0.88rem; color: var(--text-primary); font-weight: 500; }
.c-value a:hover { color: var(--accent); }

.contact-form-box {
  background: transparent;
  border: none;
  padding: 0;
}

/* Simple contact info rows (no bordered cards) */
.contact-info-rows { display: flex; flex-direction: column; gap: 18px; margin-top: 20px; }
.contact-info-row  { display: flex; align-items: flex-start; gap: 14px; }
.ci-icon {
  width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px;
  color: #ffa500;
}
.ci-icon svg { width: 20px; height: 20px; stroke: #ffa500; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ci-text { font-size: 0.9rem; color: #000; line-height: 1.6; }
.ci-text a { color: #000; }
.ci-text a:hover { color: #ffa500; }

.form-group { margin-bottom: 18px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffa500;
  margin-bottom: 7px;
}

.form-input,
.form-textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(224,123,60,0.12);
}
.form-input::placeholder,
.form-textarea::placeholder { color: #bbb; }
.form-textarea { min-height: 130px; resize: vertical; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #ffa500;
  line-height: 1.55;
  margin-bottom: 22px;
  cursor: pointer;
}
.form-check input { accent-color: #ffa500; width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.form-check a { color: #ffa500; }
.form-check a:hover { text-decoration: underline; }

/* Contact submit button */
.btn-submit {
  background: rgb(128, 129, 132);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-submit:hover { background: rgba(128, 129, 132, 0.8); }

.form-success {
  display: none;
  padding: 14px 18px;
  background: #ecfdf5;
  border: 1px solid #6ee7b7;
  border-radius: var(--radius-sm);
  color: #047857;
  font-size: 0.85rem;
  margin-bottom: 14px;
  text-align: center;
}

/* ── Service detail ───────────────────────────────────────── */
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 72px;
}
.service-detail-block.rev { direction: rtl; }
.service-detail-block.rev > * { direction: ltr; }

.service-detail-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail-content h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 14px; color: var(--navy); }
.service-detail-content p  { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.85; margin-bottom: 14px; }

.check-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.check-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.88rem; color: var(--text-secondary); }
.check-item::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  line-height: 1.5;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  color: var(--text-white-dim);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr;
  gap: 48px;
  margin-bottom: 48px;
}

/* About page: 2-col top (heading left, para right) */
.about-top {
  padding: 110px 0 64px;
  background: var(--white);
}
.about-top-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: flex-start;
}
.about-top-heading {
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: #000000;
  line-height: 1.15;
}
.about-top-para {
  font-size: 0.93rem;
  color: #000000;
  line-height: 1.85;
  padding-top: 8px;
}
.about-wide-photo {
  width: 100%;
  height: auto;
  display: block;
}
.about-photo-wrap { background: var(--bg-light); padding: 40px 0; }
.about-photo-wrap img { width: 100%; height: 420px; object-fit: cover; display: block; }

.footer-logo { height: 38px; width: auto; margin-bottom: 14px; object-fit: contain; }

.footer-tagline { font-size: 0.83rem; color: var(--text-white-dim); line-height: 1.75; max-width: 260px; margin-bottom: 22px; }

.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 34px; height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,0.07);
  border: 1px solid var(--border-dark);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white-dim);
  transition: all var(--transition);
}
.social-btn:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); color: #fff; transform: translateY(-2px); }
.social-btn svg { width: 14px; height: 14px; fill: currentColor; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--text-white);
  margin-bottom: 20px;
}

.footer-links { display: flex; flex-direction: column; gap: 14px; }
.footer-links a { font-size: 0.88rem; color: var(--text-white-dim); transition: color var(--transition); }
.footer-links a:hover { color: #fff; }

.nl-form { display: flex; gap: 8px; margin-top: 4px; }
.nl-input {
  flex: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: #fff;
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition);
}
.nl-input:focus { border-color: rgba(255,255,255,0.3); }
.nl-input::placeholder { color: rgba(255,255,255,0.3); }
.nl-btn {
  padding: 10px 18px;
  background: #e07b3c;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.nl-btn:hover { background: #c9672c; }

.footer-bottom {
  border-top: 1px solid var(--border-dark);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.footer-legal { display: flex; gap: 18px; }
.footer-legal a { font-size: 0.8rem; color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

.footer-social-bottom { display: flex; gap: 10px; }
.footer-social-bottom a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-white-dim);
  transition: all var(--transition);
}
.footer-social-bottom a:hover { background: rgba(255,255,255,0.15); color: #fff; }
.footer-social-bottom svg { width: 13px; height: 13px; fill: currentColor; }

/* ── Legal pages ──────────────────────────────────────────── */
.legal-section { padding: 56px 0 96px; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 { font-size: 1.15rem; font-weight: 700; margin: 36px 0 10px; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { color: var(--text-secondary); line-height: 1.85; margin-bottom: 14px; font-size: 0.92rem; }
.legal-body ul { list-style: disc; padding-left: 22px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.8; margin-bottom: 14px; }
.legal-body ul li { margin-bottom: 5px; }
.legal-body a { color: var(--accent); }
.legal-body a:hover { text-decoration: underline; }

/* ── Scroll animations ────────────────────────────────────── */
.aos {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.aos.fade-left  { transform: translateX(-28px); }
.aos.fade-right { transform: translateX( 28px); }
.aos.fade-scale { transform: scale(0.95); opacity: 0; }
.aos.visible    { opacity: 1; transform: translate(0) scale(1); }

.d1 { transition-delay: 0.08s; }
.d2 { transition-delay: 0.16s; }
.d3 { transition-delay: 0.24s; }
.d4 { transition-delay: 0.32s; }
.d5 { transition-delay: 0.40s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid   { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-top-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 900px) {
  :root { --section-py: 68px; }
  .container { padding: 0 28px; }

  .hero               { grid-template-columns: 1fr; min-height: auto; }
  .hero-text          { padding: 110px 28px 48px; max-width: 100%; margin: 0; }
  .hero-image         { height: 380px; }
  .hero-image img     { min-height: 380px; }

  .split, .split.wide-right, .split.wide-left { grid-template-columns: 1fr; gap: 36px; }
  .team-grid, .values-grid { grid-template-columns: repeat(2,1fr); }
  .grid-3 { grid-template-columns: repeat(2,1fr); }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .service-detail-block { grid-template-columns: 1fr; }
  .service-detail-block.rev { direction: ltr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2)::after { display: none; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .nl-form { flex-direction: column; }
  .team-grid, .values-grid { grid-template-columns: 1fr; }
  .about-img { height: 280px; }
  .about-photo-wrap img { height: 260px; }
  .about-top-grid { grid-template-columns: 1fr; }
  .stats-bar { padding: 48px 0; }
  .stat-item::after { display: none !important; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 24px; }
}

@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-title { font-size: 2.4rem; }
  .page-hero  { padding: 120px 0 52px; }
  .contact-form-box { padding: 24px; }
}
