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

/* ── Variables ────────────────────────────────────────────── */
:root {
  --bg: #FAF8F5;
  --blue: #7B9BB8;
  --blue-light: #B8CCE0;
  --sage: #8FAF8A;
  --text: #2C2C2C;
  --white: #FFFFFF;
  --border: rgba(44,44,44,0.12);
  --shadow: 0 2px 20px rgba(44,44,44,0.08);
  --shadow-lg: 0 8px 40px rgba(44,44,44,0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', -apple-system, sans-serif;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: var(--font-sans); }
input, textarea, select { font-family: var(--font-sans); font-size: 16px; }

/* ── Logo ────────────────────────────────────────────────── */
.logo {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: var(--text);
}
.logo-sub {
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 5px;
  color: var(--text);
  margin-top: 2px;
  opacity: 0.75;
}
.logo-flower {
  width: 20px;
  height: 30px;
  flex-shrink: 0;
  color: var(--text);
  margin-left: 2px;
}
/* White version of logo */
.logo-white .logo-name,
.logo-white .logo-sub { color: var(--white); }
.logo-white .logo-flower path,
.logo-white .logo-flower circle { fill: var(--white); stroke: var(--white); }
.logo-white .logo-flower [stroke-only] { fill: none; stroke: var(--white); }

/* ── Navigation ──────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}
.nav.scrolled {
  background: var(--white);
  box-shadow: var(--shadow);
}
.nav.scrolled .logo-name,
.nav.scrolled .logo-sub { color: var(--text); }
.nav.scrolled .logo-flower path { fill: var(--text); }
.nav.scrolled .logo-flower [data-stem] { stroke: var(--text); fill: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.5px;
  opacity: 0.85;
  transition: opacity var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  opacity: 1 !important;
  font-weight: 500;
  transition: background var(--transition);
}
.nav-cta:hover { background: #6a8aa7 !important; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}
.nav.hero-nav .nav-links a { color: var(--white); }
.nav.hero-nav .nav-hamburger span { background: var(--white); }

/* ── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3px;
  border: none;
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
}
.btn-primary:hover { background: #6a8aa7; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(123,155,184,0.35); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: white; }

.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }

.btn-sage {
  background: var(--sage);
  color: var(--white);
}
.btn-sage:hover { background: #7d9e78; }

.btn-sm { padding: 9px 20px; font-size: 13px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-full { width: 100%; }

/* ── Section scaffolding ─────────────────────────────────── */
.section { padding: 96px 40px; }
.section-sm { padding: 64px 40px; }
.container { max-width: 1160px; margin: 0 auto; }
.container-sm { max-width: 760px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 500;
  margin-bottom: 12px;
}
.section-heading {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: #666;
  max-width: 580px;
  line-height: 1.7;
}
.section-center { text-align: center; }
.section-center .section-sub { margin: 0 auto; }
.divider { width: 48px; height: 2px; background: var(--blue); margin: 20px 0; }
.divider-center { margin: 20px auto; }

/* ── Cards ───────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }

/* ── Forms ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-bottom: 7px;
  color: var(--text);
}
.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}
.form-control:focus { border-color: var(--blue); }
.form-control::placeholder { color: #aaa; }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232C2C2C' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.checkbox-group { display: flex; flex-direction: column; gap: 10px; }
.checkbox-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.checkbox-item input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 2px solid var(--border);
  border-radius: 3px;
  cursor: pointer;
  accent-color: var(--blue);
}
.checkbox-item span { font-size: 14px; }

/* ── Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.8);
  padding: 60px 40px 36px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand .logo-name { color: var(--white); }
.footer-brand .logo-sub { color: rgba(255,255,255,0.6); }
.footer-brand .logo-flower path { fill: var(--white); }
.footer-brand .logo-flower [data-stem] { stroke: var(--white); fill: none; }
.footer-tagline { font-size: 14px; line-height: 1.6; margin-top: 14px; color: rgba(255,255,255,0.6); }
.footer-col h4 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--blue-light); margin-bottom: 16px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.7); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── Toast / Alert ───────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
  white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--sage); }
.toast.error { background: #c0392b; }

/* ── Mobile logo scaling + touch targets ───────────────── */
@media (max-width: 640px) {
  .logo-name { font-size: 20px; }
  .logo-sub { font-size: 12px; letter-spacing: 3px; }
  .logo-flower { width: 18px; height: 27px; }
  .nav { padding: 14px 20px; }
  .btn { min-height: 44px; }
  .btn-sm { min-height: 44px; padding: 11px 18px; }
}

/* ── Mobile nav ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .nav { padding: 16px 20px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--text); font-size: 16px; }
  .nav.hero-nav .nav-links a { color: var(--text); }
}
@media (max-width: 768px) {
  .section { padding: 64px 20px; }
  .section-sm { padding: 48px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
