/* ============================================================
   EndTech Ventures — endtechventures.com
   Design system: cream / golden yellow / deep green
   ============================================================ */

:root {
  --bg: #FBF8EA;
  --bg-soft: #F5F0DB;
  --surface: #FFFEF8;
  --ink: #16332C;
  --ink-soft: #3C554D;
  --muted: #64756E;
  --yellow: #F5C518;
  --yellow-deep: #E4B305;
  --yellow-tint: #FBEEBE;
  --dark: #142420;
  --dark-2: #1C312A;
  --teal-tint: #DCE9E3;
  --line: #E7E0C8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 2px 10px rgba(22, 51, 44, 0.06);
  --shadow-md: 0 14px 40px rgba(22, 51, 44, 0.10);
  --font-head: "Poppins", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--yellow); color: var(--dark); }

img, video { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

.container { max-width: 1180px; margin-inline: auto; padding-inline: 24px; }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

/* ---------- Typography ---------- */

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.05rem; }

.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 640px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--yellow);
}

.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head p { margin-top: 16px; color: var(--ink-soft); font-size: 1.08rem; }

.accent-underline {
  background-image: linear-gradient(transparent 68%, var(--yellow) 68%, var(--yellow) 94%, transparent 94%);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary { background: var(--yellow); color: var(--dark); box-shadow: 0 6px 18px rgba(245, 197, 24, 0.35); }
.btn-primary:hover { background: var(--yellow-deep); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 197, 24, 0.45); }

.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

.btn-light-outline { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: transparent; }
.btn-light-outline:hover { background: #fff; color: var(--dark); transform: translateY(-2px); }

.btn-dark { background: var(--dark); color: var(--yellow); }
.btn-dark:hover { background: var(--dark-2); transform: translateY(-2px); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-header.scrolled,
.site-header.solid {
  background: rgba(251, 248, 234, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(22, 51, 44, 0.06);
}
.site-header.on-dark:not(.scrolled) { --header-ink: #FDFBF0; }
.site-header { --header-ink: var(--ink); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 78px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--header-ink);
  letter-spacing: -0.01em;
}
.logo img, .logo svg { width: 40px; height: 40px; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--header-ink);
  position: relative;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.main-nav a:hover { opacity: 1; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 3px;
  border-radius: 2px;
  background: var(--yellow);
  transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { opacity: 1; font-weight: 600; }

.header-cta { display: flex; align-items: center; gap: 16px; }
.header-cta .btn { padding: 12px 24px; font-size: 0.92rem; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: var(--header-ink);
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -8px; }
.nav-toggle span::after { position: absolute; top: 8px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 160px 0 110px;
  overflow: hidden;
  background: var(--dark);
}
.hero-media, .hero-media video, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 27, 23, 0.78) 0%, rgba(15, 27, 23, 0.66) 45%, rgba(15, 27, 23, 0.88) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 780px; }
.hero .eyebrow { color: rgba(255, 255, 255, 0.8); }
.hero h1 { color: #FDFBF0; }
.hero h1 .hl { color: var(--yellow); }
.hero .lead { color: rgba(253, 251, 240, 0.82); margin-top: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 38px; }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.hero-stat .num {
  font-family: var(--font-head);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--yellow);
  line-height: 1.1;
}
.hero-stat .label { color: rgba(253, 251, 240, 0.75); font-size: 0.92rem; margin-top: 6px; }

/* ---------- Verticals strip ---------- */

.verticals {
  background: var(--dark);
  padding: 26px 0;
  border-top: 1px solid var(--line-dark);
}
.verticals-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 38px;
}
.verticals-track span {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(253, 251, 240, 0.55);
  display: inline-flex;
  align-items: center;
  gap: 38px;
}
.verticals-track span:not(:last-child)::after {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.7;
}

/* ---------- Cards ---------- */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
.card h3 { margin: 20px 0 10px; font-size: 1.22rem; }
.card p { color: var(--ink-soft); font-size: 0.98rem; flex-grow: 1; }
.card .card-link {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.card .card-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }

.icon-tile {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--yellow-tint);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
}
.icon-tile svg { width: 26px; height: 26px; }

/* ---------- Split sections ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse > .split-media { order: -1; }

.split-media { position: relative; }
.split-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.split-media::before {
  content: "";
  position: absolute;
  inset: 24px -18px -18px 24px;
  border-radius: var(--radius);
  background: var(--yellow-tint);
  z-index: -1;
}
.split.reverse .split-media::before { inset: 24px 24px -18px -18px; }

.feature-list { list-style: none; margin-top: 30px; display: grid; gap: 22px; }
.feature-list li { display: flex; gap: 16px; align-items: flex-start; }
.feature-list .icon-tile { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; }
.feature-list .icon-tile svg { width: 22px; height: 22px; }
.feature-list h4 { margin-bottom: 4px; }
.feature-list p { color: var(--ink-soft); font-size: 0.95rem; }

/* ---------- Checklist ---------- */

.checklist { list-style: none; display: grid; gap: 12px; margin-top: 22px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); font-size: 0.98rem; }
.checklist svg { width: 20px; height: 20px; color: var(--yellow-deep); flex-shrink: 0; margin-top: 3px; }

/* ---------- Service detail blocks ---------- */

.service-block { padding: 84px 0; border-top: 1px solid var(--line); }
.service-block:first-of-type { border-top: 0; }
.service-block.alt { background: var(--bg-soft); }

.service-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}
.meta-chip svg { width: 16px; height: 16px; color: var(--yellow-deep); }
.meta-chip.solid { background: var(--yellow); border-color: var(--yellow); }

.anchor-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.anchor-chips a {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: var(--surface);
  color: var(--ink-soft);
  transition: all 0.2s ease;
}
.anchor-chips a:hover { border-color: var(--yellow); background: var(--yellow-tint); color: var(--ink); }

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  padding: 170px 0 80px;
  background:
    radial-gradient(60% 90% at 85% 10%, rgba(245, 197, 24, 0.16) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { max-width: 800px; }
.page-hero .lead { margin-top: 20px; }

/* ---------- Dark band ---------- */

.dark-band { background: var(--dark); color: #FDFBF0; position: relative; overflow: hidden; }
.dark-band::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.14) 0%, transparent 65%);
  top: -180px; right: -120px;
}
.dark-band h2, .dark-band h3, .dark-band h4 { color: #FDFBF0; }
.dark-band .eyebrow { color: rgba(253, 251, 240, 0.7); }
.dark-band p { color: rgba(253, 251, 240, 0.75); }
.dark-band .container { position: relative; z-index: 1; }

.flow-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 54px; }
.flow-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.flow-step:hover { transform: translateY(-4px); border-color: rgba(245, 197, 24, 0.5); background: rgba(255, 255, 255, 0.08); }
.flow-step .num {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--yellow);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
}
.flow-step h4 { margin: 12px 0 8px; }
.flow-step p { font-size: 0.92rem; }

/* ---------- Process timeline ---------- */

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; counter-reset: step; }
.process-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.process-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.process-card .step-num {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--yellow);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.process-card h4 { font-size: 1.08rem; }
.process-card .duration {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow-deep);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin: 4px 0 10px;
}
.process-card p { color: var(--ink-soft); font-size: 0.94rem; }

/* ---------- Work / portfolio ---------- */

.work-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--yellow); }
.work-thumb { position: relative; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-soft); }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.4s ease; }
.work-card:hover .work-thumb img { transform: scale(1.03); }
.work-body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex-grow: 1; }
.work-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.tag {
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow-tint);
  color: var(--ink);
}
.tag.live { background: var(--dark); color: var(--yellow); }
.work-body h3 { font-size: 1.25rem; margin-bottom: 8px; }
.work-body > p { color: var(--ink-soft); font-size: 0.96rem; flex-grow: 1; }
.work-body .checklist { margin: 18px 0 4px; gap: 8px; }
.work-body .checklist li { font-size: 0.92rem; }
.work-link {
  margin-top: 20px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
}
.work-link svg { width: 16px; height: 16px; transition: transform 0.2s ease; }
.work-card:hover .work-link svg { transform: translateX(4px); }

.featured-work {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-work .work-thumb { aspect-ratio: auto; min-height: 100%; }
.featured-work .work-body { padding: 44px 42px; }

/* ---------- Founders ---------- */

.founder-card { text-align: left; }
.founder-top { display: flex; align-items: center; gap: 18px; margin-bottom: 18px; }
.avatar {
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.founder-card h3 { margin: 0 0 2px; font-size: 1.2rem; }
.founder-card .role { color: var(--yellow-deep); font-family: var(--font-head); font-weight: 600; font-size: 0.88rem; }
.contact-lines { display: grid; gap: 10px; margin-top: 6px; }
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.contact-lines a:hover { color: var(--ink); }
.contact-lines svg { width: 17px; height: 17px; color: var(--yellow-deep); flex-shrink: 0; }

/* ---------- Values ---------- */

.value-card { text-align: left; }
.value-card .icon-tile { margin-bottom: 4px; }

/* ---------- Stack strip ---------- */

.stack-strip { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.stack-strip span {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 11px 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */

.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
details.faq {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
details.faq[open] { border-color: var(--yellow); }
details.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--yellow-deep);
  transition: transform 0.25s ease;
  flex-shrink: 0;
  line-height: 1;
}
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .faq-body { padding: 0 26px 24px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */

.cta-band { background: var(--yellow); padding: 84px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: "";
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.22);
  top: -160px; right: -120px;
}
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--dark); max-width: 560px; }
.cta-inner p { color: rgba(20, 36, 32, 0.75); margin-top: 12px; max-width: 520px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Contact page ---------- */

.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: start; }

.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px 40px;
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; }
.form-group label .req { color: var(--yellow-deep); }
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--bg);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--yellow-deep);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.25);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 14px; }
.form-status {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid var(--line);
  background: var(--bg);
  color: var(--ink-soft);
}
.form-status[hidden] { display: none; }
.form-status.is-ok { border-color: var(--yellow-deep); background: var(--yellow-tint); color: var(--ink); }
.form-status.is-error { border-color: #D9534F; background: #FBE9E7; color: #8C2F2B; }

.contact-side { display: grid; gap: 20px; }
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.contact-card h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.contact-card h3 .icon-tile { width: 40px; height: 40px; border-radius: 10px; }
.contact-card h3 .icon-tile svg { width: 20px; height: 20px; }
.contact-card p, .contact-card a { color: var(--ink-soft); font-size: 0.96rem; }
.contact-card a:hover { color: var(--ink); }
.contact-card .contact-lines { margin-top: 0; }

.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  margin-top: 64px;
}
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }

/* ---------- Thanks page ---------- */

.thanks-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
  padding: 160px 0 80px;
}
.thanks-hero .icon-tile { width: 80px; height: 80px; border-radius: 22px; margin: 0 auto 28px; }
.thanks-hero .icon-tile svg { width: 38px; height: 38px; }
.thanks-hero .lead { margin: 18px auto 34px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--dark); color: rgba(253, 251, 240, 0.72); padding: 76px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer .logo { color: #FDFBF0; margin-bottom: 18px; }
.footer-about { font-size: 0.95rem; max-width: 320px; }
.site-footer h4 {
  color: #FDFBF0;
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer-links { list-style: none; display: grid; gap: 12px; }
.footer-links a { font-size: 0.95rem; color: rgba(253, 251, 240, 0.72); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--yellow); }
.footer-contact { list-style: none; display: grid; gap: 14px; font-size: 0.95rem; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact svg { width: 18px; height: 18px; color: var(--yellow); flex-shrink: 0; margin-top: 3px; }
.footer-contact a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid var(--line-dark);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.88rem;
}
.footer-bottom a { color: rgba(253, 251, 240, 0.72); }
.footer-bottom a:hover { color: var(--yellow); }

/* ---------- WhatsApp FAB ---------- */

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.whatsapp-fab:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5); }
.whatsapp-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- Reveal animations ---------- */

.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(26px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.4s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 44px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .featured-work { grid-template-columns: 1fr; }
  .featured-work .work-thumb { aspect-ratio: 3 / 2; min-height: 0; }
}

@media (max-width: 860px) {
  section { padding: 72px 0; }
  .main-nav {
    position: fixed;
    top: 78px;
    left: 0; right: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 12px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px rgba(22, 51, 44, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .main-nav a { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; color: var(--ink); }
  .main-nav a:last-child { border-bottom: 0; }
  body.nav-open .main-nav { transform: none; opacity: 1; visibility: visible; }
  body.nav-open .site-header,
  body.nav-open .site-header.on-dark:not(.scrolled) { background: var(--bg); --header-ink: var(--ink); }
  .nav-toggle { display: flex; }
  .header-cta .btn { display: none; }
  .split, .split.reverse { grid-template-columns: 1fr; }
  .split.reverse > .split-media { order: 0; }
  .contact-layout { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .flow-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .grid-3, .grid-2, .process-grid, .flow-steps { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; min-height: 0; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 22px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .container { padding-inline: 20px; }
  .contact-form-card { padding: 30px 24px; }
}
