/* =============================================
   SEADEN DESIGN — Global Styles
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Lora:ital,wght@0,400;0,600;1,400&family=Inter:wght@300;400;500&display=swap');

/* ---------- Tokens ---------- */
:root {
  --bg:          #F7F6F3;
  --bg-alt:      #EEECEA;
  --ink:         #1C1C1E;
  --ink-mid:     #4A4A4A;
  --ink-light:   #8A8A8A;
  --accent:      #4A7C74;
  --accent-dark: #376059;
  --accent-pale: #E6EFEE;
  --white:       #FFFFFF;
  --border:      #DDDBD7;

  --ff-display: 'Lora', Georgia, serif;
  --ff-ui:      'DM Sans', system-ui, sans-serif;
  --ff-body:    'Inter', system-ui, sans-serif;

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

  --max-w: 1160px;
  --section-gap: 96px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--ff-display); font-weight: 400; line-height: 1.2; }
h4, h5, h6, nav, label, .ui-text { font-family: var(--ff-ui); }

.eyebrow {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: var(--section-gap) 0; }

/* ---------- Navigation ---------- */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(247, 246, 243, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}

.site-nav.scrolled { border-bottom-color: var(--border); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

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

.nav-logo .logo-img {
  height: 30px;
  width: auto;
  display: block;
}


.nav-links {
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-links a {
  font-family: var(--ff-ui);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  font-family: var(--ff-ui);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 22px;
  background: var(--ink);
  color: var(--white);
  border-radius: 100px;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--accent); }
.nav-cta::after { display: none !important; }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--ff-ui);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 100px;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); transform: translateY(-1px); }

.btn-ghost {
  color: var(--accent);
  padding-left: 0;
  padding-right: 0;
}
.btn-ghost:hover { color: var(--accent-dark); }
.btn-ghost .arrow { transition: transform 0.2s; }
.btn-ghost:hover .arrow { transform: translateX(4px); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--white);
  padding: 60px 0 40px;
}

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

.footer-brand .footer-logo {
  display: inline-flex;
  margin-bottom: 14px;
}

.footer-brand .footer-logo .logo-img {
  height: 34px;
  width: auto;
  display: block;
}


.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 220px;
}

.footer-col h4 {
  font-family: var(--ff-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col ul a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: all 0.2s;
}

.social-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding-top: 140px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--border);
}

.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); max-width: 640px; }
.page-header p { margin-top: 20px; font-size: 1.1rem; color: var(--ink-mid); max-width: 560px; line-height: 1.7; }

/* ---------- Utility ---------- */
.pt-nav { padding-top: 68px; }
.text-accent { color: var(--accent); }
.text-light { color: var(--ink-light); }

.tag {
  display: inline-block;
  font-family: var(--ff-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  background: var(--accent-pale);
  color: var(--accent-dark);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  :root { --section-gap: 72px; }

  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 16px 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 24px; font-size: 1rem; }
  .nav-links a::after { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  :root { --section-gap: 56px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .page-header { padding-top: 100px; padding-bottom: 40px; }
  .page-header h1 { font-size: 1.9rem; }
  .page-header p { font-size: 1rem; margin-top: 14px; }
}
