/* Nova Terra — relocation & migration to Australia
   Palette: warm chocolate-brown dominant + soft blush-pink + cream
   Editorial overlap, rounded image cards, diagonal dividers, narrative bands */

:root {
  --choc: #3f2620;
  --choc-2: #57352c;
  --choc-soft: #6b4438;
  --blush: #e9b7a9;
  --blush-soft: #f6dcd3;
  --cream: #f7efe7;
  --cream-2: #fbf6f0;
  --accent: #c2603f;          /* one restrained terracotta accent */
  --ink: #2c1c17;
  --muted: #7a6258;
  --line: rgba(63, 38, 32, 0.12);
  --radius: 28px;
  --radius-lg: 44px;
  --shadow: 0 26px 60px -28px rgba(63, 38, 32, 0.45);
  --shadow-soft: 0 14px 36px -22px rgba(63, 38, 32, 0.38);
  --maxw: 1180px;
  --head: "Gilda Display", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--head);
  font-weight: 400;
  line-height: 1.08;
  color: var(--choc);
  margin: 0 0 .5em;
  letter-spacing: .2px;
}

p { margin: 0 0 1em; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  font-family: var(--body);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 1rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 239, 231, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--head);
  font-size: 1.35rem;
  color: var(--choc);
  text-decoration: none;
  letter-spacing: .5px;
}
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; }
.brand span small {
  display: block;
  font-family: var(--body);
  font-size: .6rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 2px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a.navlink {
  color: var(--choc-2);
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
}
.nav a.navlink:hover { color: var(--accent); }

.lang-switch {
  display: inline-flex;
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: 0;
  background: transparent;
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .18s ease;
}
.lang-switch button.active {
  background: var(--choc);
  color: var(--cream);
}

.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 26px;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 26px -14px var(--accent);
}
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--choc);
  border-color: var(--choc-soft);
}
.btn-ghost:hover { background: var(--choc); color: var(--cream); text-decoration: none; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 76px 0 120px;
  background:
    radial-gradient(1100px 500px at 88% -8%, var(--blush-soft), transparent 60%),
    var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.4vw, 4.4rem);
  margin-bottom: .35em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero .lead {
  font-size: 1.18rem;
  color: var(--choc-2);
  max-width: 36ch;
  margin-bottom: 1.8em;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-media {
  position: relative;
  min-height: 420px;
}
.hero-media .card-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 5;
}
.hero-media .card-main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .card-float {
  position: absolute;
  bottom: -34px;
  left: -38px;
  width: 56%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--cream);
}
.hero-media .card-float img { aspect-ratio: 1 / 1; width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute;
  top: -22px;
  right: 22px;
  background: var(--choc);
  color: var(--cream);
  font-family: var(--head);
  font-size: 1rem;
  padding: 16px 20px;
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
  line-height: 1.1;
  text-align: center;
}
.hero-media .badge b { font-size: 1.7rem; display: block; }

/* ---------- Diagonal dividers ---------- */
.diag {
  position: relative;
}
.band-choc {
  background: var(--choc);
  color: var(--cream);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding: 120px 0 110px;
  margin-top: -30px;
}
.band-choc h2, .band-choc h3 { color: var(--cream); }
.band-choc .eyebrow { color: var(--blush); }
.band-blush {
  background: var(--blush-soft);
  clip-path: polygon(0 0, 100% 4%, 100% 100%, 0 96%);
  padding: 120px 0;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 56ch; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* Narrative bands — alternating, not identical cards */
.narrative {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 96px;
}
.narrative:last-child { margin-bottom: 0; }
.narrative.flip .narrative-media { order: 2; }
.narrative-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.narrative-media img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.narrative-body h3 { font-size: 1.85rem; }
.narrative-body p { color: var(--choc-2); }
.band-choc .narrative-body p { color: var(--blush-soft); }
.narrative-list { list-style: none; padding: 0; margin: 1.2em 0 0; }
.narrative-list li {
  padding: 9px 0 9px 30px;
  position: relative;
  color: var(--choc-2);
}
.band-choc .narrative-list li { color: var(--blush-soft); }
.narrative-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 16px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

/* Services — soft varied cards */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.service .ic {
  width: 50px; height: 50px;
  border-radius: 16px;
  background: var(--blush-soft);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}
.service:nth-child(2) .ic { background: var(--cream); border: 1px solid var(--line); }
.service:nth-child(5) .ic { background: var(--cream); border: 1px solid var(--line); }
.service h3 { font-size: 1.3rem; }
.service p { color: var(--muted); font-size: .98rem; margin: 0; }

/* Stats inside choc band */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}
.stat b {
  font-family: var(--head);
  font-size: clamp(2.2rem, 4vw, 3.1rem);
  color: var(--blush);
  display: block;
}
.stat span { color: var(--blush-soft); font-size: .95rem; letter-spacing: .04em; }

/* Steps as narrative band, not stepper grid */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.story-points { display: flex; flex-direction: column; gap: 26px; }
.story-point {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.story-point .n {
  font-family: var(--head);
  font-size: 1.4rem;
  color: var(--accent);
  min-width: 42px;
  border-bottom: 2px solid var(--blush);
  padding-bottom: 6px;
}
.story-point h4 { font-size: 1.25rem; margin-bottom: .25em; }
.story-point p { color: var(--muted); margin: 0; }
.story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: sticky;
  top: 100px;
}
.story-img img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }

/* Testimonial */
.quote-band {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 50px;
  align-items: center;
}
.quote-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.quote-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.quote-text blockquote {
  font-family: var(--head);
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  line-height: 1.28;
  color: var(--choc);
  margin: 0 0 1rem;
}
.quote-text cite {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--choc), var(--choc-soft));
  border-radius: var(--radius-lg);
  padding: 70px 56px;
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
  align-items: center;
}
.cta h2 { color: var(--cream); font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.cta p { color: var(--blush-soft); margin: 0; }
.cta-form { display: flex; flex-direction: column; gap: 12px; }
.cta-form input {
  padding: 14px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-family: var(--body);
  font-size: 1rem;
}
.cta-form input::placeholder { color: rgba(247,239,231,.6); }
.cta-form .note { font-size: .8rem; color: rgba(247,239,231,.65); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--choc);
  color: var(--blush-soft);
  padding: 64px 0 40px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: var(--cream); margin-bottom: 14px; }
.footer-legal address {
  font-style: normal;
  line-height: 1.8;
  font-size: .92rem;
  color: var(--blush-soft);
}
.footer-legal address a { color: var(--blush); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { color: var(--blush-soft); font-size: .92rem; }
.footer-links a:hover { color: var(--blush); }
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(247,239,231,.14);
  font-size: .85rem;
  color: rgba(247,239,231,.55);
}

/* ---------- Legal pages ---------- */
.legal {
  padding: 72px 0 96px;
  background: var(--cream);
}
.legal-wrap { max-width: 800px; margin: 0 auto; }
.legal h1 { font-size: clamp(2.2rem, 4vw, 3rem); margin-bottom: .3em; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 2.4em; }
.legal h2 { font-size: 1.5rem; margin-top: 2em; }
.legal p, .legal li { color: var(--choc-2); }
.legal ul { padding-left: 22px; }
.legal .back {
  display: inline-block;
  margin-top: 2.6em;
  font-weight: 600;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .narrative, .narrative.flip .narrative-media,
  .story, .quote-band, .cta { grid-template-columns: 1fr; }
  .narrative.flip .narrative-media { order: 0; }
  .services { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
  .hero-media { margin-top: 30px; }
  .hero-media .card-float { left: 0; }
  .story-img { position: static; }
  .nav .navlink { display: none; }
  .menu-toggle { display: block; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta { padding: 44px 28px; }
  .band-choc, .band-blush { clip-path: none; }
}
