/* Riverside Plastic Surgery - Design System */

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

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

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.7;
  color: #333;
  background-color: #fff;
}

/* Typography - Clear hierarchy */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.3;
  color: #1a3a5c;
}

h1 {
  font-size: 2.5rem;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #2a7fba;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Sections - Consistent spacing scale (24/32/48px) */
section {
  padding: 4rem 0;
}

section:nth-child(even) {
  background-color: #f8fafb;
}

.section-title {
  text-align: center;
  margin-bottom: 2rem;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.btn-primary {
  background-color: #2a7fba;
  color: #fff;
}

.btn-primary:hover {
  background-color: #1e6a9e;
  text-decoration: none;
}

.btn-secondary {
  background-color: transparent;
  color: #2a7fba;
  border: 2px solid #2a7fba;
}

.btn-secondary:hover {
  background-color: #2a7fba;
  color: #fff;
  text-decoration: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.card h3 {
  color: #1a3a5c;
}

.card ul {
  list-style: none;
  margin-top: 1rem;
}

.card ul li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.card ul li::before {
  content: "\2713";
  color: #2a7fba;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Grid layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e8f4fa 0%, #f8fafb 100%);
  padding: 5rem 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #1a3a5c;
}

.hero .subline {
  font-size: 1.1rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.trust-strip {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  border-top: 1px solid #d9e6ed;
  padding-top: 2rem;
  margin-top: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #555;
  font-size: 0.95rem;
}

.trust-item .icon {
  color: #2a7fba;
  font-size: 1.25rem;
}

/* Trust Pillars */
.trust-pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.pillar {
  padding: 1.5rem;
}

.pillar .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.pillar h3 {
  margin-bottom: 0.75rem;
}

.pillar p {
  color: #666;
  font-size: 0.95rem;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  background: #2a7fba;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 1rem;
}

.step h3 {
  margin-bottom: 0.75rem;
}

.step p {
  color: #666;
  font-size: 0.95rem;
}

/* Gallery / Before-After */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.gallery-item {
  background: #e8f4fa;
  border-radius: 12px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2a7fba;
  font-weight: 500;
  border: 2px dashed #c5dce8;
}

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.testimonial p {
  font-style: italic;
  color: #555;
  margin-bottom: 1rem;
}

.testimonial .author {
  font-weight: 600;
  color: #1a3a5c;
  font-style: normal;
}

/* FAQ Section */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #e0e8ed;
  padding: 1.5rem 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-weight: 600;
  color: #1a3a5c;
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: #555;
  line-height: 1.7;
}

/* CTA Strip */
.cta-strip {
  background: linear-gradient(135deg, #1a3a5c 0%, #2a5a8c 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 0;
}

.cta-strip h2 {
  color: #fff;
  margin-bottom: 1.5rem;
}

.cta-strip .btn-primary {
  background: #fff;
  color: #1a3a5c;
}

.cta-strip .btn-primary:hover {
  background: #e8f4fa;
}

/* "Right for me" section */
.fit-section {
  max-width: 800px;
  margin: 0 auto;
}

.fit-section ul {
  list-style: none;
  margin: 1.5rem 0;
}

.fit-section ul li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.fit-section ul li::before {
  content: "\2192";
  color: #2a7fba;
  position: absolute;
  left: 0;
}

/* Header */
header {
  background: #fff;
  padding: 1rem 0;
  border-bottom: 1px solid #e0e8ed;
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a3a5c;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #333;
  font-weight: 500;
}

nav a:hover {
  color: #2a7fba;
}

/* Footer */
footer {
  background: #1a3a5c;
  color: #c5dce8;
  padding: 2rem 0;
  text-align: center;
}

footer p {
  margin-bottom: 0.5rem;
}

/* Plastic / cosmetic surgery theme */
.theme-plastic {
  --accent: #9B7BC7;
  --accent-soft: #2D3A4A;
  --accent-hover: #B59AD8;
  --accent-hover-dark: #8A6AB8;
  --bg-dark: #1C2833;
  --bg-darker: #17212B;
  --bg-light: #243342;
  --bg-card: #2A3E50;
  --text-primary: #F4F6F7;
  --text-secondary: #BDC3C7;
  --text-muted: #95A5A6;
  --text-on-accent: #F9FAFB;
}

/* Dark background for plastic theme - warmer navy/charcoal */
.theme-plastic {
  background-color: var(--bg-dark);
  color: var(--text-secondary);
}

.theme-plastic h1,
.theme-plastic h2,
.theme-plastic h3,
.theme-plastic h4 {
  color: var(--text-primary);
}

.theme-plastic a {
  color: var(--accent);
}

.theme-plastic a:hover {
  color: var(--accent-hover);
}

/* Primary buttons - softer purple accent */
.theme-plastic .btn-primary {
  background-color: var(--accent);
  color: #fff;
  font-weight: 600;
}

.theme-plastic .btn-primary:hover,
.theme-plastic .btn-primary:focus-visible {
  background-color: var(--accent-hover-dark);
  color: var(--text-on-accent);
}

/* Secondary buttons - ghost/outline style */
.theme-plastic .btn-secondary {
  color: var(--text-secondary);
  border-color: var(--text-muted);
  background-color: transparent;
}

.theme-plastic .btn-secondary:hover {
  background-color: var(--bg-light);
  color: var(--text-primary);
  border-color: var(--text-secondary);
}

/* Header styling */
.theme-plastic header {
  background: var(--bg-darker);
  border-bottom-color: var(--accent-soft);
}

.theme-plastic .logo {
  color: var(--text-primary);
}

.theme-plastic nav a {
  color: var(--text-secondary);
}

.theme-plastic nav a:hover {
  color: var(--accent);
}

/* Hero section - Two column layout */
.theme-plastic .hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
  padding: 5rem 0;
}

.theme-plastic .hero h1 {
  color: var(--text-primary);
}

.theme-plastic .hero .subline {
  color: var(--text-secondary);
}

.theme-plastic .trust-strip {
  border-top-color: var(--accent-soft);
}

.theme-plastic .trust-item {
  color: var(--text-secondary);
}

.theme-plastic .trust-item .icon {
  color: var(--accent);
}

/* Hero two-column layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-content h1 {
  margin-bottom: 1rem;
}

.hero-content .subline {
  text-align: left;
  margin: 0 0 1.5rem 0;
}

.hero-content .hero-buttons {
  justify-content: flex-start;
  margin-bottom: 2rem;
}

.hero-content .trust-strip {
  justify-content: flex-start;
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.hero-image-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--accent-soft);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.hero-image-placeholder {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-soft) 100%);
  border-radius: 12px;
  height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  text-align: center;
  padding: 1.5rem;
}

.hero-image-placeholder .placeholder-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.hero-image-caption {
  margin-top: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Section backgrounds */
.theme-plastic section {
  background-color: var(--bg-dark);
}

.theme-plastic section:nth-child(even) {
  background-color: var(--bg-darker);
}

.theme-plastic .section-subtitle {
  color: var(--text-muted);
}

/* Cards with cleaner styling */
.theme-plastic .card {
  background: var(--bg-card);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.theme-plastic .card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 24px rgba(155, 123, 199, 0.1);
}

.theme-plastic .card h3 {
  color: var(--text-primary);
}

.theme-plastic .card p {
  color: var(--text-secondary);
}

.theme-plastic .card ul li::before {
  color: var(--accent);
}

/* Card icons */
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: block;
}

/* Trust pillars */
.theme-plastic .pillar p {
  color: var(--text-muted);
}

/* Combined Trust & Journey Section */
.trust-journey-section {
  padding: 4rem 0;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.trust-row .pillar {
  text-align: center;
  padding: 1rem;
}

.trust-row .pillar .icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.trust-row .pillar p {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

/* Journey Timeline */
.journey-timeline {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding-top: 1rem;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--accent-soft);
}

.timeline-step {
  text-align: center;
  flex: 1;
  position: relative;
  z-index: 1;
}

.timeline-step .step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 auto 0.75rem;
}

.timeline-step h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0;
}

/* Process steps */
.theme-plastic .step-number {
  background: var(--accent);
}

.theme-plastic .step p {
  color: var(--text-muted);
}

/* Gallery items - Results section */
.theme-plastic .gallery-item {
  background: var(--bg-card);
  border-color: var(--accent-soft);
  color: var(--accent);
}

/* Hero before/after card */
.hero-result-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--accent-soft);
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.hero-result-card .result-image {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--accent-soft) 100%);
  border-radius: 12px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-result-card .result-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.5rem;
}

.results-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  font-style: italic;
}

/* Testimonials */
.theme-plastic .testimonial {
  background: var(--bg-card);
  border: 1px solid var(--accent-soft);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.theme-plastic .testimonial p {
  color: var(--text-secondary);
}

.theme-plastic .testimonial .author {
  color: var(--text-primary);
}

/* Fit section - Surgery right for me card */
.theme-plastic .fit-section ul li::before {
  color: var(--accent);
}

.fit-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.5rem;
  border: 1px solid var(--accent-soft);
  max-width: 900px;
  margin: 0 auto;
}

.fit-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 1.5rem 0;
}

.fit-column h4 {
  color: var(--text-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.fit-column.good h4 {
  color: #7FB77E;
}

.fit-column.not-good h4 {
  color: #E8A87C;
}

.fit-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.fit-column ul li {
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.fit-column.good ul li::before {
  content: "✓";
  color: #7FB77E;
  position: absolute;
  left: 0;
}

.fit-column.not-good ul li::before {
  content: "✗";
  color: #E8A87C;
  position: absolute;
  left: 0;
}

.fit-reassurance {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--accent-soft);
  color: var(--text-muted);
  font-style: italic;
}

/* FAQ Section - Accordion style */
.theme-plastic .faq-item {
  border-bottom-color: var(--accent-soft);
  padding: 1.5rem 0;
}

.theme-plastic .faq-question {
  color: var(--text-primary);
  font-size: 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  font-family: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.theme-plastic .faq-question:hover {
  color: var(--accent);
}

.theme-plastic .faq-question:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.theme-plastic .faq-question::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--accent);
  font-weight: 400;
  flex-shrink: 0;
  margin-left: 1rem;
}

.theme-plastic .faq-item--open .faq-question::after {
  content: "–";
}

.theme-plastic .faq-answer {
  color: var(--text-muted);
  margin-top: 0.75rem;
  padding-left: 0;
  line-height: 1.7;
  display: none;
}

.theme-plastic .faq-item--open .faq-answer {
  display: block;
}

/* CTA strip with softer gradient */
.theme-plastic .cta-strip {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--accent-soft) 100%);
  padding: 4rem 0;
}

.theme-plastic .cta-strip h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.theme-plastic .cta-strip p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.theme-plastic .cta-strip .btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 1rem 2.5rem;
}

.theme-plastic .cta-strip .btn-primary:hover,
.theme-plastic .cta-strip .btn-primary:focus-visible {
  background: var(--accent-hover-dark);
  color: var(--text-on-accent);
}

/* Footer */
.theme-plastic footer {
  background: var(--bg-darker);
  color: var(--text-muted);
}

/* Section title underlines with accent */
.theme-plastic .section-title {
  position: relative;
  padding-bottom: 0.75rem;
}

.theme-plastic .section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
}

/* Demo Banner */
.demo-banner {
  background-color: var(--bg-darker);
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.demo-banner a {
  color: var(--accent);
}

.demo-banner a:hover {
  color: var(--accent-hover);
}

/* Demo Note in Footer */
.demo-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--accent-soft);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.demo-note p {
  margin-bottom: 0.5rem;
}

.demo-note a {
  color: var(--text-muted);
}

.demo-note a:hover {
  color: var(--accent);
}

/* Brand links - scroll to top */
.brand-link,
.footer-brand {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover,
.footer-brand:hover {
  text-decoration: none;
  color: inherit;
}

/* Responsive */
@media (max-width: 992px) {
  .grid-4,
  .trust-pillars,
  .process-steps,
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-grid,
  .testimonials {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-content .subline {
    text-align: center;
  }
  
  .hero-content .hero-buttons {
    justify-content: center;
  }
  
  .hero-content .trust-strip {
    justify-content: center;
  }
  
  .hero-result-card {
    grid-template-columns: 1fr;
  }
  
  .journey-timeline {
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .journey-timeline::before {
    display: none;
  }
  
  .fit-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .grid-2,
  .grid-3,
  .grid-4,
  .trust-pillars,
  .process-steps,
  .trust-row,
  .gallery-grid,
  .testimonials {
    grid-template-columns: 1fr;
  }
  
  .trust-strip {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav ul {
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .fit-card {
    padding: 1.5rem;
  }
}
