/* ---------- Base ---------- */
:root{
  --bg:#ffffff;
  --text:#1b1f2a;
  --muted:#6b7280;
  --line:#e5e7eb;
  --accent: #14b8a6;   /* teal accent */
  --accent-2:#0ea5a4;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:"Poppins",system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.6;
}

.container{max-width:1100px;margin-inline:auto;padding:0 20px}

/* ---------- Header ---------- */
.site-header{
  display:flex;align-items:center;justify-content:space-between;
  padding:18px 0;
  position:sticky;top:0;background:#ffffffc7;backdrop-filter:saturate(160%) blur(6px);
  border-bottom:0px solid var(--line); z-index:10;
}

.brand{display:flex;align-items:center;gap:10px;text-decoration:none}
.brand-type{display:flex;flex-direction:column;line-height:1}
.brand-name{font-weight:600;color:#30343f;font-size:18px;letter-spacing:.2px}
.brand-sub{font-size:11px;letter-spacing:.45em;color:#8a90a3;margin-top:3px}

.nav{display:flex;gap:16px;align-items:center}
.nav a{color:#374151;text-decoration:none;font-weight:500}
.nav .btn--small{padding:.55rem .9rem;font-size:.9rem}

/* ---------- Buttons ---------- */
.btn{
  display:inline-block;background:linear-gradient(90deg,#62E0D9,#2BC4BD 60%,#13A7A0);
  color:#fff;text-decoration:none;border-radius:10px;padding:.9rem 1.2rem;
  box-shadow:var(--shadow);font-weight:600;letter-spacing:.2px;
  transition:transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.btn:hover{transform:translateY(-1px);box-shadow:0 14px 40px rgba(20,184,166,.22)}
.btn:active{transform:translateY(0);opacity:.9}

.btn--ghost{
  background:transparent;border:1.5px solid #cbd5e1;color:#334155
}
.btn--ghost:hover{border-color:#94a3b8}

/* ---------- Hero ---------- */
.hero{
  display:grid;grid-template-columns:1.1fr .9fr;gap:40px;align-items:center;
  padding:0px 0 66px;
}
.hero h1{font-size:48px;line-height:1.15;margin:0 0 10px}
.hero .accent{color:#0ea5a4}
.hero p{color:var(--muted);margin:0 0 18px}
.cta-row{display:flex;gap:14px;flex-wrap:wrap}

.hero-art{display:flex;justify-content:center}
.glass-card{
  background:linear-gradient(180deg,#ffffffaa,#ffffff80);
  border:1px solid #e5e7eb;border-radius:16px;padding:18px 18px 10px;
  box-shadow:var(--shadow);min-width:260px
}
.glass-card h3{margin:0 0 6px 0}
.glass-card ul{margin:0;padding-left:18px;color:#374151}

/* ---------- Sections ---------- */
section {
  padding: 42px 0;
  border-top: none; /* remove global line */
}

.section-divider {
  position: relative;
}

h2{margin:16px 0 16px 0;font-size:28px}
.card{border:2px solid var(--line);border-radius:14px;padding:25px;box-shadow:var(--shadow);background:#fff;margin-bottom: 30px;}
.grid{display:grid;gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

@media (max-width: 900px) {
  .about-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-inner img {
    order: -1; /* Moves image above text */
    max-width: 100%;
    border-radius: 12px;
  }
}

.ticks{margin:35px;padding-left:20px}
.ticks li{margin:6px 0}
.note{background:#f1f5f9;border:1px dashed #cbd5e1;border-radius:12px;padding:14px}

/* ---------- Form ---------- */
.form{display:grid;gap:14px}
.form .row{display:grid;gap:14px;grid-template-columns:1fr 1fr}
.form .row-end{justify-content:end;display:flex}
label span{display:block;font-size:.9rem;color:#64748b;margin-bottom:6px}
input,textarea{
  width:100%;padding:12px 14px;border-radius:10px;border:1px solid #cbd5e1;
  background:#fff;font:inherit;color:#111827
}
input:focus,textarea:focus{outline:2px solid #22d3ee22;border-color:#22d3ee}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--line);padding:18px 0 30px;margin-top:16px;background:#fff}
.footer-inner{display:flex;justify-content:space-between;align-items:center;color:#6b7280}
.back{text-decoration:none;color:#6b7280}
.back:hover{color:#111827}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .hero{grid-template-columns:1fr;gap:22px}
  .about-inner{grid-template-columns:1fr}
  .grid{grid-template-columns:1fr}
}



/* --- About split section --- */
.about-split {
  background: var(--paper);
  padding: 60px 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.about-copy h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.about-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}
.bullets {
  list-style: none;
  padding-left: 0;
}
.bullets li::before {
  content: "✔";
  color: #2BC4BD;
  margin-right: 8px;
}
.about-media img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.card:hover { transform: translateY(-4px); box-shadow: 0 12px 25px rgba(0,0,0,.08); transition: all .25s ease; }
/* ---- Equal height Work Cards ---- */
.work-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.work-card,
.card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-actions {
  margin-top: auto; /* pushes button group to bottom */
  display: flex;
  gap: 10px;
  align-items: center;
}

/* ---- Perfectly aligned gradient dividers ---- */
.container.divider::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--line) 15%,
    var(--line) 85%,
    transparent 100%
  );
  opacity: 0.8;
  margin: 0 auto 42px auto; /* spacing below divider */
}

h1, h2, h3 {
  color: #111827; /* Slightly darker and richer than var(--ink) */
  line-height: 1.25;
}

h1 {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 4rem;
  color: #0f172a; /* deep slate for hero title */
}

h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
}

p {
  color: #475569; /* softer neutral for body copy */
}

.muted {
  color: #64748b;
  font-size: 0.95rem;
}

h2 {
  position: relative;
  display: inline-block;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #62E0D9, #13A7A0);
  border-radius: 2px;
}

.about-img { transition: transform 0.2s ease; }

/* ----------- Header Layout Refinement ----------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: #ffffffc7;
  backdrop-filter: saturate(160%) blur(6px);
  z-index: 10;
  border-bottom: 1px solid var(--line);
}

/* Ensure proper spacing for header items */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Desktop layout: logo left, nav center, CTA right */
.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-cta {
  margin-left: auto;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-right: 8px;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: all 0.3s ease;
}

/* ----------- Mobile Layout ----------- */
@media (max-width: 768px) {
  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
    justify-self: start;
    margin-left: 8px;
  }

  .brand {
    justify-self: center;
  }

  .nav-cta {
    justify-self: end;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px 0;
    z-index: 9;
  }

  .nav-links.active {
    display: flex;
  }

  /* Hamburger animation */
  .nav-toggle.is-open .bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle.is-open .bar:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open .bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* ---- About Section Layout ---- */
.about-grid,
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* Image Styling */
.about-media img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

/* ---- Responsive Stack Fix ---- */
@media (max-width: 900px) {
  .about-grid,
  .about-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
  }

  /* Ensure image moves above the text */
  .about-media {
    order: -1;
  }

  .about-media img {
    width: 90%;
    margin: 0 auto 20px;
    display: block;
  }

  .about-copy {
    text-align: center;
  }

  .bullets {
    display: inline-block;
    text-align: left;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .nav-cta {
    transform: scale(0.85);
    transform-origin: right center;
  }
}

/* === DESKTOP HEADER LAYOUT (brand | links | CTA) === */
@media (min-width: 769px) {
  .nav-inner{
    display: grid;
    grid-template-columns: auto 1fr auto;  /* logo | links | CTA */
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .brand{ justify-self: start; }
  .nav-links{
    display: flex !important;           /* ensure visible inline on desktop */
    position: static !important;         /* cancel mobile 'fixed' panel */
    background: transparent;
    box-shadow: none;
    border-top: 0;
    padding: 0;
    gap: 24px;
    justify-self: center;
    align-items: center;
  }
  .nav-cta{
    justify-self: end;
    margin-left: 24px;
  }

  /* Clean, consistent link styling */
  .nav-links a{
    color: #374151;
    text-decoration: none;
    font-weight: 500;
  }
  .nav-links a:hover{
    color: #111827;
  }
}

/* === MOBILE MENU (unchanged behavior) === */
@media (max-width: 768px) {
  .nav-inner{
    display: grid;
    grid-template-columns: auto 1fr auto; /* hamburger | brand | CTA */
    align-items: center;
  }
  .nav-toggle{ display: flex; justify-self: start; }
  .brand{ justify-self: center; }
  .nav-cta{ justify-self: end; }

  .nav-links{
    display: none;
    position: fixed;
    top: 64px;                /* header height */
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
    z-index: 9;
  }
  .nav-links.active{ display: flex; }
}



/* ---------- Process Page ---------- */
.hero-process {
  position: relative;
  background-size: cover;
  background-position: center;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-process .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-process .hero-box {
  position: relative;
  background: rgba(0, 255, 242, 0.158);
  padding: 60px 120px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.hero-process h1 {
  color: #fff;
  font-size: 2.4rem;
  margin: 0;
}

/* Section intro */
.intro {
  text-align: center;
  max-width: 800px;
  margin: 60px auto;
}

/* Alternating Process Steps */
.process-step-section {
  display: flex;
  align-items: stretch;
  min-height: 60vh;
  background: #fff;
}

.process-step-section.alt {
  background: #f8fafc;
}

.process-flex {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.process-text,
.process-img {
  flex: 1 1 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.process-text {
  flex-direction: column;
  text-align: left;
}

.process-step-section.alt .process-text {
  text-align: left;
}

.process-img {
  background-size: cover;
  background-position: center;
  min-height: 400px;
}

/* Responsive */
@media (max-width: 900px) {
  .process-text, .process-img {
    flex: 1 1 100%;
    padding: 40px 20px;
    text-align: left !important;
  }
  .process-step-section.alt .process-text {
    text-align: left;
  }
}

.small-hero {
  position: relative;
  background: url('/images/hero.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 120px 20px 80px;
}

.small-hero .overlay.teal-tint {
  position: absolute;
  inset: 0;
  background: rgba(13, 148, 136, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  cursor: pointer;
}

.faq-question {
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #0f172a;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s ease;
  color: #475569;
  margin-top: 5px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  opacity: 1;
}

.faq-icon {
  color: var(--teal, #14b8a6);
  transition: transform 0.3s;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.disclosure {
  max-width: 800px;
  font-size: .8rem;
}