/**
 * Love to Ride — Website styles
 * Based on LoveToRide-style-guide.md
 */

/* Design tokens */
:root {
  --ltr-coral: #EB635C;
  --ltr-teal: #40C0AC;
  --ltr-gold: #FFC61E;
  --ltr-dark-teal: #00525A;
  --ltr-light-aqua: #C7E6E3;
  --ltr-gray-light: #F0F0F0;
  --ltr-gray-medium: #979797;
  --ltr-gray-dark: #4C464E;
  --ltr-black: #292828;
  --ltr-primary: var(--ltr-teal);
  --ltr-accent: var(--ltr-coral);
  --ltr-highlight: var(--ltr-gold);
  --ltr-surface: var(--ltr-light-aqua);
  --ltr-text: var(--ltr-black);
  --ltr-text-muted: var(--ltr-gray-dark);
  --ltr-bg: var(--ltr-gray-light);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --space: 1.25rem;
  --radius: 12px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--ltr-text);
  background: var(--ltr-bg);
}

/* Typography hierarchy (style guide) */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 var(--space); color: var(--ltr-text-muted); }
p:last-child { margin-bottom: 0; }

a { color: var(--ltr-dark-teal); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--space); }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.625rem 0;
  background: #fff;
  border-bottom: 1px solid var(--ltr-gray-light);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: block;
  text-decoration: none;
  color: inherit;
}
.logo:hover { text-decoration: none; }
.logo:hover .logo-wrap { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); }
.logo-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #fff;
  padding: 0.5rem 0.75rem 0.5rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.logo-img {
  display: block;
  height: 100px;
  width: auto;
  object-fit: contain;
  background: #fff;
}
.logo-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.logo-title-main {
  font-weight: 700;
  color: var(--ltr-black);
}
.logo-title-sub {
  font-weight: 600;
  color: #5a735a;
  letter-spacing: 0.12em;
}
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a {
  font-weight: 500;
  color: var(--ltr-text);
}
.nav a:hover { color: var(--ltr-dark-teal); }
.nav-social {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid var(--ltr-gray-light);
}
.nav-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ltr-text-muted);
  padding: 0.25rem;
}
.nav-social-link:hover { color: var(--ltr-dark-teal); text-decoration: none; }
.nav-icon {
  width: 22px;
  height: 22px;
}
@media (max-width: 768px) {
  .nav-social { margin-left: 0; padding-left: 0; border-left: none; gap: 0.5rem; }
  .nav-icon { width: 20px; height: 20px; }
}

/* Hero — diagonal colour blocks (style guide) */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: calc(4rem + 40px) var(--space) 4rem;
  overflow: hidden;
}
.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.shape {
  position: absolute;
  border-radius: 0;
}
.shape--gold {
  top: -20%;
  right: -10%;
  width: 55%;
  height: 70%;
  background: var(--ltr-gold);
  transform: skewY(-8deg);
}
.shape--coral {
  bottom: -15%;
  left: -5%;
  width: 45%;
  height: 50%;
  background: var(--ltr-coral);
  transform: skewY(6deg);
}
.shape--teal {
  top: 30%;
  right: 25%;
  width: 30%;
  height: 45%;
  background: var(--ltr-dark-teal);
  transform: skewY(4deg);
  opacity: 0.95;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--space);
}
.hero-blurb-box {
  background: var(--ltr-gray-light);
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  margin-top: 60px;
  margin-bottom: 1.5rem;
}
.hero-title {
  color: var(--ltr-black);
  margin: 0 0 var(--space);
  max-width: 14ch;
}
.hero-lead {
  font-size: 1.125rem;
  max-width: 60ch;
  margin-bottom: 1rem;
}
.hero-tagline {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ltr-text);
  margin: 1.25rem 0 0.5rem;
}
.hero-cta-text {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn--primary {
  background: var(--ltr-teal);
  color: var(--ltr-black);
}
.btn--dark {
  background: var(--ltr-dark-teal);
  color: white;
}

/* Features */
.features {
  padding: 4rem 0;
  background: white;
}
.section-title {
  text-align: center;
  margin: 0 0 2.5rem;
  color: var(--ltr-text);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space);
}
.feature-card {
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.feature-card h3 { margin: 0 0 0.5rem; color: var(--ltr-black); }
.feature-card p { font-size: 0.9375rem; margin: 0; }
.feature-card__number {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  opacity: 0.25;
}
.feature-card--aqua { background: var(--ltr-light-aqua); color: var(--ltr-dark-teal); }
.feature-card--aqua .feature-card__number { color: var(--ltr-dark-teal); }
.feature-card--gold { background: var(--ltr-gold); color: var(--ltr-black); }
.feature-card--gold .feature-card__number { color: var(--ltr-black); }
.feature-card--coral { background: var(--ltr-coral); color: white; }
.feature-card--coral p { color: rgba(255,255,255,0.9); }
.feature-card--coral .feature-card__number { color: white; }

/* Testimonials */
.testimonials {
  padding: 4rem 0;
  background: white;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space);
}
.testimonial-card {
  margin: 0;
  padding: 2rem;
  background: var(--ltr-gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--ltr-teal);
}
.testimonial-quote {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ltr-text);
  margin: 0 0 1rem;
  font-style: normal;
}
.testimonial-cite {
  display: block;
  font-size: 0.875rem;
  color: var(--ltr-text-muted);
  font-style: normal;
}
.testimonial-website {
  display: block;
  font-size: 0.8125rem;
  color: var(--ltr-gray-medium);
  margin-top: 0.25rem;
}

/* FAQ */
.faq {
  padding: 4rem 0;
  background: var(--ltr-gray-light);
}
.faq-list {
  max-width: 640px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.faq-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.faq-question {
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ltr-text);
  margin: 0 0 0.5rem;
}
.faq-answer {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ltr-text-muted);
}
.faq-answer a { color: var(--ltr-dark-teal); }

/* Work / case study */
.work-section {
  padding: 4rem 0;
  background: white;
}
.work-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--ltr-light-aqua);
  border-radius: var(--radius);
  color: var(--ltr-dark-teal);
}
.work-card-title {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}
.work-card-desc {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.work-card-meta {
  margin: 0;
  font-size: 0.8125rem;
  opacity: 0.85;
}

/* CTA — overlapping circles (style guide) */
.cta {
  position: relative;
  padding: 4rem var(--space);
  background: var(--ltr-gray-light);
  overflow: hidden;
}
.cta-inner {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.cta-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.cta-content {
  position: relative;
  z-index: 2;
}
.cta-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.5;
}
.cta-circle--1 {
  width: 280px;
  height: 280px;
  background: var(--ltr-coral);
  top: -80px;
  left: -60px;
}
.cta-circle--2 {
  width: 200px;
  height: 200px;
  background: var(--ltr-light-aqua);
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
}
.cta-circle--3 {
  width: 160px;
  height: 160px;
  background: var(--ltr-gold);
  bottom: -40px;
  left: 20%;
}
.cta-title { margin: 0 0 0.5rem; color: var(--ltr-text); }
.cta-text { margin-bottom: 1.5rem; }
.cta .btn--dark { color: white; }

/* Footer */
.site-footer {
  padding: 2.5rem var(--space);
  background: var(--ltr-dark-teal);
  color: var(--ltr-light-aqua);
}
.footer-inner { text-align: center; }
.footer-brand {
  font-weight: 700;
  font-size: 1.125rem;
  margin: 0 0 0.25rem;
  color: white;
}
.footer-tagline {
  font-size: 0.9375rem;
  margin: 0 0 0.75rem;
  opacity: 0.9;
}
.footer-social {
  margin-bottom: 1rem;
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
.footer-social a {
  color: var(--ltr-light-aqua);
  font-size: 0.9375rem;
}
.footer-social a:hover { opacity: 0.9; text-decoration: none; }
.footer-copy {
  font-size: 0.8125rem;
  margin: 0;
  opacity: 0.7;
}
.site-footer a { color: var(--ltr-light-aqua); }

/* ========== Services / Pricing page ========== */
.page-main { padding-top: 124px; }
.page-hero {
  padding: 2.5rem 0;
  background: var(--ltr-light-aqua);
  margin-bottom: 2rem;
}
.page-hero-badge {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ltr-dark-teal);
  margin: 0 0 0.5rem;
}
.page-hero-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--ltr-text);
}
.container--wide { max-width: 1200px; }

.pricing-section {
  margin-bottom: 3rem;
}
.pricing-section-title {
  font-size: 1.5rem;
  margin: 0 0 1.25rem;
  color: var(--ltr-dark-teal);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  background: var(--ltr-dark-teal);
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
}
.pricing-section-intro {
  margin: -0.5rem 0 1.25rem;
  color: var(--ltr-text-muted);
  font-size: 1rem;
}
.pricing-section--highlight .pricing-section-title { color: var(--ltr-dark-teal); }

.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space);
}
.package-grid--two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.package-grid--three { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.package-card {
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
}
.package-card--aqua { background: var(--ltr-light-aqua); color: var(--ltr-dark-teal); }
.package-card--gold { background: var(--ltr-gold); color: var(--ltr-black); }
.package-card--coral { background: var(--ltr-coral); color: white; }
.package-card--coral .package-desc,
.package-card--coral .package-best-for,
.package-card--coral .package-includes { color: rgba(255,255,255,0.95); }
.package-card--teal { background: var(--ltr-dark-teal); color: white; }
.package-card--teal .package-includes,
.package-card--teal .package-best-for { color: var(--ltr-light-aqua); }
.package-card--outline {
  background: white;
  border-color: var(--ltr-gray-light);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.package-card--bundle { position: relative; padding-top: 2.25rem; }

.package-badge {
  position: absolute;
  top: 0;
  right: 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ltr-dark-teal);
  background: white;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}
.package-card--coral .package-badge,
.package-card--teal .package-badge { background: rgba(255,255,255,0.25); color: white; }

.package-name {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}
.package-desc {
  margin: 0 0 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.package-includes {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.6;
}
.package-includes li { margin-bottom: 0.35rem; }
.package-best-for {
  margin: 0;
  font-size: 0.875rem;
  font-style: italic;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}
.addon-item {
  background: white;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  border: 1px solid var(--ltr-gray-light);
}

.pricing-section--why { background: var(--ltr-gray-light); padding: 1.5rem; border-radius: var(--radius); }
.why-list {
  margin: 0;
  padding-left: 1.5rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ltr-text-muted);
}
.why-list li { margin-bottom: 0.25rem; }

.page-cta {
  text-align: center;
  padding: 3rem 0 4rem;
}
.page-cta-text {
  margin: 0 0 1.25rem;
  font-size: 1.125rem;
  color: var(--ltr-text);
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}
.nav-active { font-weight: 700; color: var(--ltr-dark-teal); }

/* ========== Contact page ========== */
.page-hero-sub {
  margin: 0.5rem 0 0;
  font-size: 1.125rem;
  color: var(--ltr-text-muted);
}
.contact-page { padding-bottom: 4rem; }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; }
}

.contact-form-wrap {
  background: white;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.contact-form label {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ltr-text);
  margin-bottom: 0.35rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid var(--ltr-gray-light);
  border-radius: 8px;
  color: var(--ltr-text);
  background: #fff;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--ltr-teal);
  box-shadow: 0 0 0 2px rgba(64, 192, 172, 0.2);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button[type="submit"] { margin-top: 0.25rem; cursor: pointer; }

.contact-details {
  background: var(--ltr-light-aqua);
  padding: 1.75rem;
  border-radius: var(--radius);
  color: var(--ltr-dark-teal);
}
.contact-details-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}
.contact-details-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact-details-list li {
  margin-bottom: 1rem;
  font-size: 0.9375rem;
}
.contact-details-list li:last-child { margin-bottom: 0; }
.contact-details-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2rem;
  color: var(--ltr-dark-teal);
}
.contact-details-list a {
  color: var(--ltr-dark-teal);
}
.contact-details-list a:hover { text-decoration: underline; }
.contact-details-list span { color: var(--ltr-dark-teal); }

/* ========== About page ========== */
.about-page { padding-bottom: 4rem; }
.about-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .about-layout { grid-template-columns: 1fr; }
}
.about-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  background: white;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.about-content p {
  margin: 0 0 1.5rem;
  color: var(--ltr-text-muted);
}
.about-content p:last-child { margin-bottom: 0; }
.about-photo-box {
  background: white;
  padding: 2rem 2.25rem;
  border-radius: var(--radius);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  text-align: center;
}
.about-photo {
  display: block;
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1rem;
}
.about-photo-caption {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ltr-text);
}

/* About wrappers when embedded as part of the team card grid */
.team-card .about-content {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.team-card .about-photo-box {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* About the team */
.team-section {
  padding: 4rem 0;
  background: var(--ltr-gray-light);
  margin-top: 2rem;
}
.team-section-title {
  margin: 0 0 2rem;
  font-size: 1.75rem;
  color: var(--ltr-text);
  text-align: center;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}
.team-card {
  background: white;
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}
.team-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  object-fit: cover;
}

/* Nudge Charlotte's portrait down inside her circular crop */
.team-photo--charlotte {
  object-position: center calc(50% + 10px);
}
.team-photo--placeholder {
  background: var(--ltr-light-aqua);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  color: var(--ltr-dark-teal);
}
.team-card img.team-photo {
  display: block;
}
.team-name {
  margin: 0 0 0.25rem;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--ltr-text);
}
.team-role {
  margin: 0 0 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ltr-dark-teal);
}
.team-bio {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ltr-text-muted);
}
.team-bio + .team-bio {
  margin-top: 0.75rem;
}
