/* ---------- City To Surf Mobile Cafe — Site Styles ---------- */

:root {
  --teal: #00b1a9;
  --teal-dark: #008e87;
  --orange: #faa41a;
  --orange-dark: #e08e09;
  --tan: #d8d2c0;
  --tan-soft: #e6e1d2;
  --cream: #f5f1e6;
  --ink: #163e3a;           /* dark teal text */
  --ink-soft: #2a4f4b;
  --black: #000000;
  --white: #ffffff;
  --shadow: 0 1px 0 #00000010;

  --max: 1280px;
  --pad: clamp(20px, 4vw, 56px);

  --font-display: "Oswald", "Arial Narrow", Arial, sans-serif;
  --font-body: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-button: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-script: "Yellowtail", "Caveat", cursive;
  --font-spectral: "Spectral", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  font-size: 17px;
  line-height: 1.55;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--tan);
  border-bottom: 1px solid #00000010;
}
.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--pad);
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}
.brand small {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-top: 4px;
}
.brand em {
  font-style: italic;
  font-family: var(--font-spectral);
  font-weight: 300;
  letter-spacing: 0.01em;
}
/* Image logo (Secondary wordmark, trimmed) in header + footer */
.brand__logo {
  display: block;
  height: 54px;
  width: auto;
}
.brand__logo--footer { height: 78px; }
@media (max-width: 960px) {
  .brand__logo { height: 44px; }
}
.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 6px 4px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}
.nav a:hover,
.nav a.is-active { border-color: var(--teal); }

.nav__dropdown {
  position: relative;
}
.nav__dropdown > a::after {
  content: "▾";
  font-size: 10px;
  margin-left: 5px;
  opacity: 0.6;
}
.nav__menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: var(--white);
  border: 1px solid #00000018;
  border-radius: 4px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s;
  box-shadow: 0 8px 24px #00000018;
}
.nav__dropdown:hover .nav__menu,
.nav__dropdown:focus-within .nav__menu {
  opacity: 1;
  pointer-events: auto;
}
.nav__menu a {
  display: block;
  padding: 8px 18px;
  font-size: 15px;
  border: none;
}
.nav__menu a:hover { background: var(--tan-soft); border: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-button);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  text-transform: none;
  padding: 13px 30px;
  background: var(--orange);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
  white-space: nowrap;
}

/* Hide the in-nav CTA on desktop — header-cta on the right is the canonical one */
.nav > .btn { display: none; }
@media (max-width: 960px) {
  .nav > .btn { display: inline-flex; }
}
.btn:hover { background: var(--teal); color: #fff; }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--orange); color: var(--ink); }
.btn--lg { padding: 18px 38px; font-size: 18px; }

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--ink);
  width: 42px;
  height: 42px;
  margin-left: auto;
  cursor: pointer;
  position: relative;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  content: "";
}
.nav-toggle span::before { top: -7px; left: 0; transform: none; }
.nav-toggle span::after { top: 7px; left: 0; transform: none; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .header-cta { display: none; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tan);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--pad) 24px;
    gap: 0;
    border-bottom: 1px solid #00000020;
    display: none;
  }
  .site-header.is-open .nav { display: flex; }
  .nav a {
    padding: 14px 4px;
    border-bottom: 1px solid #00000010;
  }
  .nav__menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    background: transparent;
  }
  .nav__menu a { padding: 10px 4px; }
  .nav .btn { margin-top: 12px; text-align: center; }
}

/* ---------- Hero (V2: 16:9 with floated heading + button) ---------- */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;     /* V2 banner ratio */
  max-height: 760px;
  overflow: hidden;
  background: #d8d2c0;
}
.hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__content {
  position: absolute;
  top: clamp(28px, 6vw, 72px);
  left: clamp(20px, 5vw, 64px);
  max-width: min(520px, 62%);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(18px, 3vw, 30px);
}
.hero__title {
  font-family: var(--font-spectral);
  font-style: italic;
  font-weight: 500;
  text-transform: none;
  font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.08;
  letter-spacing: 0;
  margin: 0;
  color: var(--ink);
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.45);
}
.hero__cta { flex-shrink: 0; }
@media (max-width: 640px) {
  .hero { aspect-ratio: 4 / 5; }
  /* Left-anchored: heading at top, button floated to the bottom of the image */
  .hero__content {
    top: clamp(28px, 6vw, 72px);
    bottom: clamp(20px, 5vw, 36px);
    left: clamp(16px, 4vw, 28px);
    right: auto;
    width: min(82%, 330px);
    max-width: none;
    align-items: flex-start;
    justify-content: space-between;
    text-align: left;
  }
  .hero__title {
    font-size: clamp(30px, 8vw, 46px);
    text-shadow: 0 1px 16px rgba(255, 255, 255, 0.7);
  }
  .hero__cta { width: auto; }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 9vw, 120px) var(--pad);
}
.section--tan { background: var(--tan-soft); }
.section--cream { background: var(--cream); }
.section__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.section__inner--narrow { max-width: 880px; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 16px;
}
.h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.0;
  letter-spacing: 0;
  margin: 0 0 12px;
  color: var(--ink);
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.05;
  letter-spacing: 0;
  margin: 0 0 16px;
  color: var(--ink);
}
.h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  margin: 0 0 10px;
  color: var(--ink);
}
.h-sub {
  font-family: var(--font-spectral);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(20px, 2.4vw, 28px);
  color: var(--ink-soft);
  margin: 0 0 28px;
}
.lead {
  font-size: clamp(18px, 1.4vw, 20px);
  line-height: 1.6;
  color: var(--ink-soft);
}
p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.intro {
  text-align: center;
}
/* "Sip Boldly" tagline PNG on the white intro background */
.sip-mark-img {
  display: block;
  width: clamp(220px, 34vw, 420px);
  height: auto;
  margin: clamp(28px, 4vw, 48px) auto 0;
}
/* Tighter top padding so the vans section sits close under "Sip Boldly" */
.section--tight-top { padding-top: clamp(28px, 4vw, 52px); }
.intro p {
  max-width: 760px;
  margin: 0 auto 20px;
}
.intro .h2 { margin-bottom: 8px; }

/* ---------- Van cards grid ---------- */
.vans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .vans-grid { grid-template-columns: 1fr; }
}
.van-card {
  background: var(--teal);          /* all cards start teal (uniform) */
  color: var(--ink);               /* green text inside the boxes */
  display: flex;
  flex-direction: column;
  border: 1px solid #00000018;
  transition: background 0.25s, color 0.25s;
  overflow: hidden;
}
/* Rollover: whole card goes orange (box + button), text stays green */
.van-card:hover { background: var(--orange); color: var(--ink); }
.van-card__img {
  aspect-ratio: 16 / 10;
  background: #c9c3b1;
  overflow: hidden;
}
.van-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.van-card:hover .van-card__img img { transform: scale(1.04); }
.van-card__body {
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 14px;
}
.van-card__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 32px;
  line-height: 1.05;
  margin: 0;
}
.van-card__body p { font-size: 15.5px; line-height: 1.55; }
.van-card__body .btn {
  align-self: flex-start;
  margin-top: auto;
  background: var(--orange);   /* orange button on the teal card */
  color: var(--ink);
  border: 2px solid var(--ink);
}
/* On hover the button stays orange too, so the whole card reads as orange */
.van-card:hover .btn { background: var(--orange); color: var(--ink); }

/* ---------- Subscribe call-to-action band ---------- */
.subscribe-cta {
  background: var(--ink);
  border-top: 6px solid var(--teal);   /* divider */
  padding: clamp(40px, 6vw, 64px) var(--pad);
}
.subscribe-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.subscribe-cta__title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 22px;
}
.subscribe-cta__socials {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.subscribe-cta__socials a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.subscribe-cta__socials a:hover {
  background: var(--teal);
  border-color: var(--teal);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--tan-soft);
  padding: 56px var(--pad) 36px;
  border-top: 1px solid #00000010;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 760px) {
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
}
.footer-col h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--ink);
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-col ul li a {
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--teal); }

.footer-bottom {
  max-width: var(--max);
  margin: 32px auto 0;
  padding-top: 24px;
  border-top: 1px solid #00000018;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

.footer-credit {
  max-width: var(--max);
  margin: 12px auto 0;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  text-align: center;
}
.footer-credit a {
  color: var(--ink-soft);
  text-decoration: underline;
}
.footer-credit a:hover { color: var(--teal); }

/* ---------- Inner page hero ---------- */
.page-hero {
  background: var(--tan-soft);
  padding: clamp(48px, 7vw, 88px) var(--pad) clamp(36px, 5vw, 64px);
}
.page-hero__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero .h1 { font-size: clamp(44px, 7vw, 84px); }

.banner-image {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}
.banner-image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}
.banner-image--full { padding: 0; max-width: none; }
.banner-image--full img { aspect-ratio: 16 / 6; }

/* ---------- 2-col layout (heading + content) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 80px);
}
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
}
.split--narrow { grid-template-columns: 1fr 1.2fr; }

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.feature-list__item h4 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  margin: 0 0 6px;
  color: var(--ink);
}
.feature-list__item p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #00000020;
}
.faq-item {
  border-bottom: 1px solid #00000020;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2vw, 24px);
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 28px;
  font-weight: 400;
  color: var(--teal);
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item__body {
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 820px;
}
.faq-item__body ul { padding-left: 18px; margin: 8px 0; }
.faq-item__body li { margin-bottom: 6px; }

/* ---------- Perfect Fit cards (smaller van picker) ---------- */
.fit-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}
@media (max-width: 760px) {
  .fit-grid { grid-template-columns: 1fr; }
}
.fit-card {
  background: var(--white);
  border: 1px solid #00000018;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background 0.2s;
}
.fit-card:hover { background: var(--tan-soft); }
.fit-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  margin: 0;
  color: var(--ink);
}
.fit-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.fit-card .btn {
  align-self: flex-start;
  margin-top: 8px;
  padding: 11px 22px;
  font-size: 14px;
}

/* ---------- Quote / contact form ---------- */
.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 24px;
}
.quote-form .full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .quote-form { grid-template-columns: 1fr; }
}
.field label {
  display: block;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-soft);
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid #00000028;
  background: #fff;
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  outline: none;
  transition: border-color 0.15s;
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-color: var(--teal); }
.field textarea { min-height: 140px; resize: vertical; }

/* ---------- Misc ---------- */
.muted { color: var(--ink-soft); }
.center { text-align: center; }
.spacer-sm { height: 32px; }
.spacer-md { height: 56px; }

.legal {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.legal h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--ink);
  margin: 32px 0 10px;
}
.legal h3:first-child { margin-top: 0; }

/* Hero overlay text variant for inner pages */
.hero-tan {
  background: var(--tan-soft);
  padding: 56px var(--pad) 24px;
}
.hero-tan__inner {
  max-width: var(--max);
  margin: 0 auto;
}
