/* ═══════════════════════════════════════════════════════════════
   TLF base.css — Design tokens, reset, nav, footer, shared components
   Loaded by: ALL pages
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ──────────────────────────────── */
:root {
  --white: #ffffff;
  --off-white: #F8F8F8;
  --dark: #1a1b1f;
  --text: rgba(0,0,0,0.85);
  --text-dim: rgba(0,0,0,0.6);
  --text-muted: rgba(0,0,0,0.4);
  --border: rgba(0,0,0,0.08);
  --border-strong: rgba(0,0,0,0.15);
  --teal: #68ccd1;
  --teal-dim: #4ba8ad;
  --coral: #F04726;
  --coral-dim: #d93c1e;
  --green: #73ad21;
  --green-dim: #5f8f1a;
  --radius: 12px;
  --radius-sm: 8px;
  --font-serif: 'Montserrat', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --accent-glow: rgba(0,0,0,0.04);
  --dark-glow: rgba(0,0,0,0.04);
}

/* ── RESET & GLOBALS ────────────────────────────── */
*, *::before, *::after { box-sizing:border-box; margin:0; padding:0; }
html { font-size:16px; scroll-behavior:smooth; }
img { max-width:100%; height:auto; }

a, a:visited { color:var(--dark); text-decoration:underline; text-underline-offset:4px; transition:color 0.2s; }
a:hover { color:var(--coral); }

a.nav-cta, a.nav-cta:visited, a.btn-dark, a.btn-dark:visited, a.btn-green, a.btn-green:visited { color:#ffffff; text-decoration:none; }
a.nav-cta:hover, a.btn-dark:hover, a.btn-green:hover { color:#ffffff; }

body {
  font-family:var(--font-sans);
  background:var(--white);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

.container { max-width:1000px; margin:0 auto; padding:0 1.5rem; }

/* ── NAV ────────────────────────────────────────── */
.nav {
  position:sticky; top:0; z-index:100;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:0.6rem 1.5rem;
  display:flex; align-items:center; justify-content:space-between;
  gap:1.5rem;
}
.nav-brand { display:flex; align-items:center; gap:0.5rem; text-decoration:none; }
.nav-logo { height:40px; width:auto; display:block; max-width:280px; }
.nav-links { display:flex; align-items:center; gap:1.75rem; }
.nav-links a {
  color:var(--text-dim); text-decoration:none;
  font-size:0.85rem; font-weight:500; transition:color 0.2s;
  font-family:var(--font-serif); letter-spacing:0.01em;
}
.nav-links a:hover { color:var(--teal); }
.nav-cta {
  background:var(--dark); color:var(--white);
  padding:0.5rem 1.2rem; border-radius:1px;
  font-size:0.78rem; font-weight:600; text-decoration:none;
  letter-spacing:0.06em; white-space:nowrap; transition:background 0.2s;
  text-transform:uppercase; font-family:var(--font-serif);
  border:1px solid rgba(0,0,0,0.06);
}
.nav-cta:hover { background:var(--green); color:var(--white); }

/* ── SECTIONS ───────────────────────────────────── */
section { padding:6rem 0; }
.section-label {
  display:inline-block; font-size:0.62rem; color:var(--teal);
  text-transform:uppercase; letter-spacing:0.16em; margin-bottom:0.5rem;
  font-family:var(--font-sans); font-weight:700;
}
.section-title {
  font-family:var(--font-serif); font-size:2.4rem; font-weight:300;
  color:var(--dark); letter-spacing:-0.03em; line-height:1.15; margin-bottom:1rem;
}
.section-subtitle { color:var(--text-dim); font-size:1.05rem; max-width:560px; line-height:1.7; }
.section-tinted { background:linear-gradient(180deg, rgba(104,204,209,0.06) 0%, rgba(104,204,209,0.02) 100%); border-radius:4px; padding:5rem 1.5rem; }

/* ── DIVIDERS ───────────────────────────────────── */
.section-divider { width:100%; height:1px; background:linear-gradient(90deg, transparent 0%, var(--border) 20%, var(--border) 80%, transparent 100%); margin:0 auto; max-width:1000px; }
.section-divider-accent { width:100%; height:1px; background:linear-gradient(90deg, transparent 0%, var(--teal) 30%, var(--teal) 70%, transparent 100%); margin:0 auto; max-width:1000px; opacity:0.4; }

/* ── FOOTER ─────────────────────────────────────── */
.footer { border-top:1px solid var(--border); padding:4rem 0 3rem; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit, minmax(160px, 1fr)); gap:2rem; margin-bottom:2rem; }
.footer-col h4 { font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.12em; margin-bottom:1rem; font-family:var(--font-serif); }
.footer-col a { display:block; color:var(--text-dim); text-decoration:none; font-size:0.9rem; margin-bottom:0.4rem; }
.footer-col a:hover { color:var(--coral); }
.footer-brand { display:flex; align-items:center; gap:0.5rem; margin-bottom:1.5rem; }
.footer-logo { height:24px; width:auto; display:block; }
.footer-copy { color:var(--text-muted); font-size:0.78rem; }
.footer-bottom { margin-top:1rem; }

/* ── BUTTONS ────────────────────────────────────── */
.btn-dark {
  background:var(--dark); color:#fff; border:none;
  padding:0.9rem 2.5rem; font-size:0.78rem;
  font-weight:600; cursor:pointer; letter-spacing:0.10em;
  transition:all 0.25s; text-decoration:none; display:inline-block;
  text-transform:uppercase; font-family:var(--font-sans);
}
.btn-dark:hover { background:#2a2a2a; color:#fff; }

.btn-green {
  background:var(--green); color:#fff; border:none;
  padding:1rem 2.5rem; font-size:0.85rem; font-weight:600; cursor:pointer;
  letter-spacing:0.06em; font-family:var(--font-sans); display:inline-block;
  text-decoration:none; transition:background 0.25s;
}
.btn-green:hover { background:var(--green-dim); color:#fff; }

/* ── HAMBURGER ──────────────────────────────────── */
.hamburger {
  display:none; flex-direction:column; gap:5px;
  background:none; border:none; cursor:pointer;
  padding:8px; z-index:1001;
}
.hamburger span {
  display:block; width:22px; height:2px;
  background:var(--dark); border-radius:1px;
  transition:all 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity:0; }
.hamburger.open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* ── MOBILE MENU ────────────────────────────────── */
.mobile-menu {
  display:none; position:fixed; top:0; left:0;
  width:100%; height:100%; background:var(--white);
  z-index:1000; flex-direction:column; align-items:center;
  justify-content:center; gap:1.75rem;
  opacity:0; transition:opacity 0.2s ease;
}
.mobile-menu.open { display:flex; opacity:1; }
.mobile-menu a {
  font-family:var(--font-serif); font-size:1.3rem;
  color:var(--dark); text-decoration:none;
  font-weight:500; letter-spacing:-0.01em;
}
.mobile-menu a:hover { color:var(--teal); }
.mobile-menu .mobile-cta {
  background:var(--dark); color:var(--white)!important;
  padding:0.75rem 2rem; border-radius:1px;
  font-size:0.9rem; text-transform:uppercase;
  letter-spacing:0.06em; margin-top:0.5rem;
}
.mobile-menu .mobile-close {
  position:absolute; top:1.25rem; right:1.5rem;
  background:none; border:none; font-size:1.75rem;
  color:var(--dark); cursor:pointer; line-height:1;
}

@media(max-width:768px) {
  .nav-cta { display:none; }
  .hamburger { display:flex; }
  .mobile-menu { display:flex; visibility:hidden; opacity:0; }
  .mobile-menu.open { visibility:visible; opacity:1; }
}

/* ── ANIMATIONS ─────────────────────────────────── */
@keyframes fadeSlide {
  from { opacity:0; transform:translateY(12px); }
  to { opacity:1; transform:translateY(0); }
}

/* ── RESPONSIVE ─────────────────────────────────── */
@media (max-width:768px) {
  .hero h1, .service-hero h1 { font-size:1.8rem; }
  .section-title { font-size:1.7rem; }
  .hero .desc, .service-hero .desc { font-size:0.95rem; max-width:100%; }
  .section-subtitle { font-size:0.92rem; max-width:100%; }

  .container { max-width:100%; padding:0 1.25rem; }
  section { padding:3.5rem 0; }
  .hero { padding:4rem 1rem 2rem; }
  .section-tinted { padding:3rem 1rem; border-radius:0; }

  .nav { padding:0.6rem 1rem; }
  .nav-links { display:none; }
  .nav-logo { height:36px; max-width:240px; }

  .footer { padding:3rem 0 2rem; }
  .footer-grid { grid-template-columns:1fr 1fr; }

  .section-divider, .section-divider-accent { max-width:100%; }

  .btn-dark, .btn-green { width:100%; text-align:center; }
}

@media (max-width:480px) {
  .hero h1, .service-hero h1 { font-size:1.5rem; }
  .hero .desc { font-size:0.85rem; }
  .section-title { font-size:1.4rem; }
  .nav-logo { height:32px; max-width:220px; }
  section { padding:2.5rem 0; }

  .footer-grid { grid-template-columns:1fr; }
  .container { padding:0 1rem; }

  .section-divider, .section-divider-accent { margin:1rem auto 0; }
}
