/* Things to Do in Torquay — shared styles (v1 scaffold) */
:root {
  --ocean: #0a6e8a;
  --ocean-deep: #064a5e;
  --ocean-light: #e8f4f8;
  --sand: #f5f0e8;
  --sand-dark: #e8dfd0;
  --foam: #ffffff;
  --ink: #1a2b32;
  --ink-muted: #4a5d66;
  --accent: #e07a3d;
  --accent-hover: #c9652a;
  --featured: #0a6e8a;
  --top: #c9652a;
  --radius: 12px;
  --shadow: 0 4px 20px rgba(6, 74, 94, 0.08);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1100px, 100% - 2rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  background: var(--foam);
  border-bottom: 1px solid var(--sand-dark);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--ocean-deep);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo:hover { text-decoration: none; color: var(--ocean); }
.logo span { color: var(--accent); }

.nav-main {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.85rem;
  list-style: none;
  font-size: 0.85rem;
}
.nav-main a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
}
.nav-main a:hover { color: var(--ocean); }

.btn {
  display: inline-block;
  padding: 0.65rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  font-family: inherit;
}
.btn:hover { text-decoration: none; }
.btn-primary {
  background: var(--accent);
  color: var(--foam);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--foam); }
.btn-secondary {
  background: transparent;
  color: var(--ocean-deep);
  border-color: var(--ocean);
}
.btn-secondary:hover { background: var(--ocean-light); color: var(--ocean-deep); }
.btn-white {
  background: var(--foam);
  color: var(--ocean-deep);
}
.btn-white:hover { background: var(--sand); color: var(--ocean-deep); }

/* Hero */
.hero {
  background:
    linear-gradient(160deg, var(--ocean-deep) 0%, var(--ocean) 45%, #1a8a9e 100%);
  color: var(--foam);
  padding: 3rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 48px;
  background: var(--sand);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero h1 {
  font-size: clamp(1.85rem, 5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
  line-height: 1.15;
}
.hero .tagline {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 32rem;
  margin: 0 auto 1.75rem;
}
.hero-search {
  display: flex;
  max-width: 420px;
  margin: 0 auto 1.25rem;
  background: var(--foam);
  border-radius: 999px;
  padding: 0.35rem;
  box-shadow: var(--shadow);
}
.hero-search input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
  outline: none;
  min-width: 0;
}
.hero-search input::placeholder { color: #8a9aa3; }
.hero-search button {
  background: var(--ocean);
  color: var(--foam);
  border: none;
  border-radius: 999px;
  padding: 0.65rem 1.15rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
}
.hero-search button:hover { background: var(--ocean-deep); }
.hero-meta {
  font-size: 0.85rem;
  opacity: 0.85;
}

/* Sections */
.section { padding: 2.5rem 0; }
.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
  color: var(--ocean-deep);
}
.section-lead {
  color: var(--ink-muted);
  margin-bottom: 1.5rem;
  max-width: 36rem;
}

/* Category cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
}
.cat-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s, box-shadow 0.15s;
  border: 1px solid transparent;
}
.cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(6, 74, 94, 0.12);
  text-decoration: none;
  color: var(--ink);
  border-color: var(--ocean-light);
}
.cat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--ocean-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}
.cat-card h3 {
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.3;
}

/* CTA band */
.cta-band {
  background: var(--ocean-deep);
  color: var(--foam);
  padding: 2.5rem 0;
  margin: 1rem 0 0;
}
.cta-band h2 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.cta-band p {
  opacity: 0.9;
  max-width: 36rem;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Pricing cards */
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}
.price-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
}
.price-card.featured, .price-card.single { border-color: var(--featured); }
.price-card.top { border-color: var(--top); }
.price-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  width: fit-content;
}
.price-badge.free { background: var(--sand-dark); color: var(--ink-muted); }
.price-badge.feat { background: var(--ocean-light); color: var(--ocean-deep); }
.price-badge.tops { background: #fde8d8; color: var(--top); }
.price-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.35rem;
  color: var(--ocean-deep);
}
.price-amount {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
}
.price-amount small {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-muted);
}
.price-summer {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 1rem;
}
.price-card ul {
  list-style: none;
  flex: 1;
  margin-bottom: 1.25rem;
}
.price-card li {
  padding: 0.4rem 0;
  padding-left: 1.4rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--ink-muted);
  border-bottom: 1px solid var(--sand);
}
.price-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--ocean);
  font-weight: 700;
}

/* Page hero (inner) */
.page-hero {
  background: var(--ocean-light);
  padding: 2rem 0 1.75rem;
  border-bottom: 1px solid var(--sand-dark);
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--ocean-deep);
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}
.page-hero p { color: var(--ink-muted); max-width: 36rem; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}
.breadcrumb a { color: var(--ocean); }

/* Forms */
.form-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--sand-dark);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--foam);
  color: var(--ink);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--ocean);
  outline-offset: 1px;
  border-color: var(--ocean);
}
.form-note {
  background: var(--ocean-light);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  color: var(--ocean-deep);
  margin-top: 1rem;
}

/* Listing cards */
.listing-grid {
  display: grid;
  gap: 1rem;
}
.listing-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.5rem;
  border-left: 4px solid var(--sand-dark);
  position: relative;
}
.listing-card.example { border-left-color: #c9a227; }
.example-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f5e6a8;
  color: #6b5500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}
.listing-card h3 {
  font-size: 1.1rem;
  color: var(--ocean-deep);
}
.listing-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.listing-desc {
  font-size: 0.9rem;
  color: var(--ink-muted);
}
.listing-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.25rem;
}
.tag {
  font-size: 0.7rem;
  background: var(--ocean-light);
  color: var(--ocean-deep);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--ocean-deep);
  color: rgba(255,255,255,0.85);
  padding: 2rem 0 1.5rem;
  margin-top: 2rem;
  font-size: 0.85rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
}
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer a:hover { color: var(--foam); }
.footer-brand { font-weight: 700; color: var(--foam); margin-bottom: 0.35rem; }
.footer-domain { opacity: 0.7; font-size: 0.8rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem; list-style: none; }
.footer-copy {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  opacity: 0.65;
  font-size: 0.8rem;
}

@media (max-width: 640px) {
  .nav-main { display: none; }
  .header-inner { justify-content: space-between; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Seed listing extras */
.listing-card.free-seed { border-left-color: var(--ocean); }
.listing-card.verify { border-left-color: #c9a227; }
.verify-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #f5e6a8;
  color: #6b5500;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  width: fit-content;
}
.listing-contact {
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.listing-contact a { font-weight: 500; }
.package-note {
  margin-top: 1.75rem;
  font-size: 0.9rem;
  color: var(--ink-muted);
}


/* === v2 additions: hero photo, stars, blog, mid CTA, brand === */
.hero.has-photo {
  background-size: cover;
  background-position: center;
  min-height: 320px;
  display: flex;
  align-items: center;
}
.hero.has-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(6,74,94,0.72) 0%, rgba(10,110,138,0.55) 50%, rgba(6,74,94,0.65) 100%);
  z-index: 0;
}
.hero.has-photo .hero-inner { z-index: 1; }
.hero-credit {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-top: 0.75rem;
}

.stars {
  color: #e6a817;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.stars .rating-num {
  color: var(--ink-muted);
  font-size: 0.8rem;
  font-weight: 500;
  margin-left: 0.35rem;
  letter-spacing: 0;
}
.stars-source {
  font-size: 0.7rem;
  color: var(--ink-muted);
  font-weight: 400;
}

.mid-cta {
  background: var(--foam);
  border: 2px dashed var(--ocean);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  margin: 2rem 0;
}
.mid-cta h2 {
  font-size: 1.2rem;
  color: var(--ocean-deep);
  margin-bottom: 0.35rem;
}
.mid-cta p {
  color: var(--ink-muted);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  max-width: 28rem;
  margin-inline: auto;
}
.mid-cta .btn { width: 100%; max-width: 280px; }

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.highlight-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.highlight-card h3 {
  font-size: 1rem;
  color: var(--ocean-deep);
  margin-bottom: 0.35rem;
}
.highlight-card p {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.blog-card {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: transform 0.15s;
}
.blog-card:hover {
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ink);
}
.blog-card h3 {
  font-size: 1.05rem;
  color: var(--ocean-deep);
  margin-bottom: 0.4rem;
}
.blog-card p {
  font-size: 0.88rem;
  color: var(--ink-muted);
}
.blog-meta {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.blog-article {
  background: var(--foam);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
}
.blog-article h2 {
  font-size: 1.25rem;
  color: var(--ocean-deep);
  margin: 1.5rem 0 0.5rem;
}
.blog-article p, .blog-article li {
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
  font-size: 0.98rem;
}
.blog-article ul { margin: 0 0 1rem 1.25rem; }
.blog-article a { font-weight: 500; }
.related-posts {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand-dark);
}
.related-posts h2 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.related-posts ul { list-style: none; margin: 0; padding: 0; }
.related-posts li { margin-bottom: 0.4rem; }

.listing-grid.cols-2 {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

body.brand-gor {
  --ocean: #0a5c6e;
  --ocean-deep: #053d4a;
  --accent: #c45c26;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

@media (max-width: 640px) {
  .hero.has-photo { min-height: 280px; padding: 2.25rem 0 3rem; }
  .mid-cta { padding: 1.25rem 1rem; }
  .mid-cta .btn { display: block; width: 100%; max-width: none; text-align: center; }
  .header-inner .btn-primary { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
}


/* Single-price layout + self-serve list form */
.price-grid-single {
  max-width: 420px;
  margin-inline: auto;
}
.optional {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 0.8rem;
}
.field-hint {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 0.35rem;
}
.abn-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: stretch;
}
.abn-row input { flex: 1 1 12rem; }
.abn-row .btn { flex: 0 0 auto; white-space: nowrap; }
.abn-status {
  font-size: 0.85rem;
  margin-top: 0.4rem;
  min-height: 1.2em;
}
.abn-status.abn-pass { color: #0a6e3c; font-weight: 600; }
.abn-status.abn-fail { color: #a12828; font-weight: 600; }
.btn-pay {
  width: 100%;
  text-align: center;
  font-size: 1.05rem;
  padding: 0.85rem 1.25rem;
}
.btn-pay:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}
.success-card .success-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ocean-deep);
}
