/* =========================================
   LocalSites — Custom Landing Page Theme
   ========================================= */

:root {
  --green: #1B4D3E;
  --green-dark: #132D24;
  --green-light: #2A6B54;
  --cream: #FDFAF6;
  --cream-warm: #F7F3EC;
  --amber: #E8A838;
  --amber-light: #F5C36A;
  --charcoal: #2C2C2C;
  --mid: #6B6B6B;
  --light: #E8E4DE;
  --border: #D8D4CE;
  --bg: var(--cream);
  --fg: var(--charcoal);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- Typography ---- */
.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--green);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--mid);
  max-width: 560px;
  line-height: 1.7;
}

/* ---- Navigation ---- */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(253, 250, 246, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8125rem;
  color: var(--mid);
  display: none;
}

@media (min-width: 640px) {
  .nav-tagline { display: block; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--green); }

.nav-cta {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: var(--green);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nav-cta:hover { background: var(--green-light); }

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  padding-top: 5rem;
  padding-bottom: 4rem;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--cream);
}

.hero-bg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(27, 77, 62, 0.07) 0%, transparent 70%);
  top: -200px;
  right: -150px;
}

.hero-shape-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.1) 0%, transparent 70%);
  bottom: 0;
  left: -100px;
}

.hero-shape-3 {
  width: 200px;
  height: 200px;
  border: 1px solid rgba(27, 77, 62, 0.08);
  top: 30%;
  right: 35%;
  border-radius: 40% 60% 50% 50%;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (min-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-overline {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.0625rem;
  color: var(--mid);
  line-height: 1.7;
  max-width: 440px;
  margin-bottom: 2rem;
}

.hero-pricing {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.pricing-label {
  font-size: 0.75rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-value {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green);
}

.pricing-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ---- Browser Mock ---- */
.hero-visual {
  position: relative;
}

.hero-browser {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(27, 77, 62, 0.12), 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--border);
}

.browser-bar {
  background: var(--cream-warm);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }

.browser-url {
  font-size: 0.75rem;
  color: var(--mid);
  margin-left: 0.5rem;
  font-family: var(--font-body);
}

.browser-screen {
  padding: 1.5rem;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light);
}

.mock-logo {
  width: 80px;
  height: 12px;
  background: var(--green);
  border-radius: 3px;
}

.mock-links {
  display: flex;
  gap: 0.75rem;
}

.mock-link {
  width: 50px;
  height: 8px;
  background: var(--light);
  border-radius: 4px;
}

.mock-link-cta {
  background: var(--amber);
  width: 60px;
}

.mock-hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: start;
}

.mock-headline-block {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-line {
  height: 10px;
  background: var(--light);
  border-radius: 5px;
}
.mock-line-h1 { height: 14px; width: 100%; background: var(--green); opacity: 0.7; }
.mock-line-h1.short { width: 70%; }
.mock-line-body { width: 85%; height: 8px; }

.mock-cta-btn {
  width: 90px;
  height: 26px;
  background: var(--green);
  border-radius: 6px;
  margin-top: 0.5rem;
}

.mock-booking-card {
  background: var(--cream-warm);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mock-card-title {
  height: 10px;
  width: 70%;
  background: var(--green);
  border-radius: 5px;
  opacity: 0.6;
}

.mock-card-row {
  display: flex;
  gap: 0.5rem;
}

.mock-slot {
  flex: 1;
  height: 28px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 4px;
}

.mock-cta-secondary {
  height: 20px;
  width: 60%;
  background: var(--amber);
  border-radius: 4px;
  opacity: 0.7;
}

/* ---- Badge ---- */
.hero-badge {
  position: absolute;
  bottom: -16px;
  left: -16px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--green);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ---- Services ---- */
.services {
  background: var(--cream);
  padding: 6rem 0;
}

.services-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.services .section-headline { color: var(--green); }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27, 77, 62, 0.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: var(--cream-warm);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.service-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-price {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.03em;
}

/* ---- Process ---- */
.process {
  background: var(--green-dark);
  padding: 6rem 0;
}

.process-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.process .section-label { color: var(--amber-light); }
.process .section-headline { color: white; }
.process .section-sub { color: rgba(255,255,255,0.65); }

.process-timeline {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 768px) {
  .process-timeline {
    flex-direction: row;
    align-items: flex-start;
  }
  .timeline-connector {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin-top: 2rem;
  }
}

.timeline-step {
  display: flex;
  gap: 1rem;
  padding: 1.5rem 0;
}

@media (min-width: 768px) {
  .timeline-step { flex-direction: column; flex: 1; gap: 0; }
}

.step-number {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  flex-shrink: 0;
}

.step-body {
  padding-top: 0.2rem;
}

.step-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.step-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

.process-revenue {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

@media (max-width: 600px) {
  .process-revenue { grid-template-columns: 1fr; }
}

.revenue-block {}

.revenue-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.revenue-path {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
}

.revenue-equals {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--amber);
}

.revenue-total {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
}

/* ---- Niches ---- */
.niches {
  background: var(--cream-warm);
  padding: 6rem 0;
}

.niches-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.niches .section-headline { color: var(--green); }

.niches-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 3rem;
}

@media (min-width: 640px) {
  .niches-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 960px) {
  .niches-grid { grid-template-columns: repeat(3, 1fr); }
}

.niche-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.75rem;
}

.niche-card-more {
  background: var(--green-dark);
  border-color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.niche-icon-wrap {
  width: 56px;
  height: 56px;
  background: var(--cream-warm);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 1rem;
}

.niche-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.5rem;
}

.niche-desc {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.65;
}

.niche-card-more .niche-more-text {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.6;
}

/* ---- Manifesto ---- */
.manifesto {
  background: var(--green);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.manifesto-bg-shape {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232, 168, 56, 0.12) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  pointer-events: none;
}

.manifesto-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.manifesto-quote {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: white;
  line-height: 1.4;
  margin-bottom: 2rem;
  quotes: none;
}

.manifesto-body {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.tools-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 0.75rem;
}

.tools-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.tool-tag {
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  font-size: 0.8125rem;
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.15);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--green-dark);
  padding: 4rem 0 2rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; }
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: white;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.footer-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-list li {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
}

.footer-bottom {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.5rem 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

/* ---- Portfolio ---- */
.portfolio {
  background: var(--cream);
  padding: 6rem 0;
}

.portfolio-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.portfolio .section-headline { color: var(--green); }

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

.portfolio-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-browser {
  background: var(--cream-warm);
  border-bottom: 1px solid var(--border);
}

.browser-bar {
  background: #E8E4DE;
  padding: 0.6rem 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.dot-red { background: #FF5F57; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #28CA41; }

.browser-url {
  font-size: 0.6875rem;
  color: var(--mid);
  margin-left: 0.4rem;
  font-family: var(--font-body);
}

.portfolio-screenshot {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}

.portfolio-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex: 1;
}

.portfolio-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-tag {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  background: rgba(232, 168, 56, 0.1);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.portfolio-price {
  font-family: var(--font-display);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--green);
}

.portfolio-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--green-dark);
}

.portfolio-problem {
  background: var(--cream-warm);
  border-radius: 8px;
  padding: 0.875rem;
}

.portfolio-problem-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mid);
  margin-bottom: 0.35rem;
}

.portfolio-problem p {
  font-size: 0.8125rem;
  color: var(--charcoal);
  line-height: 1.6;
}

.portfolio-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portfolio-result {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding-top: 0.875rem;
  border-top: 1px solid var(--light);
  margin-top: auto;
}

.result-stat {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.result-value {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--green);
  line-height: 1;
}

.result-label {
  font-size: 0.6875rem;
  color: var(--mid);
  line-height: 1.4;
}

/* ---- Contact Form ---- */
.contact-section {
  background: var(--cream-warm);
  padding: 6rem 0;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

@media (min-width: 900px) {
  .contact-inner {
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
  }
}

.contact-content .section-headline { color: var(--green); }

.contact-trust {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--charcoal);
}

.contact-form-wrap {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.lead-form {
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
}

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

@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.6875rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--charcoal);
  background: var(--cream);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--mid);
  opacity: 0.6;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-submit {
  background: var(--green);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.875rem 1.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
  width: 100%;
}

.form-submit:hover { background: var(--green-light); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success-msg {
  font-size: 0.9375rem;
  color: var(--green);
  font-weight: 500;
  text-align: center;
  padding: 0.875rem;
  background: rgba(27, 77, 62, 0.06);
  border-radius: 8px;
}

.form-error-msg {
  font-size: 0.875rem;
  color: #C0392B;
  text-align: center;
}
