/* ============================================
   O'Donnell Medical — Custom Styles
   Plum + Amber | Clean Minimalist
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.7;
  color: #1a1a2e;
  background: #faf9f7;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Headers --- */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7d3c98;
  margin-bottom: 12px;
  position: relative;
  padding: 0 16px;
}

.section-label::before,
.section-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 24px;
  height: 1px;
  background: #d4b2e5;
}

.section-label::before {
  left: -8px;
}

.section-label::after {
  right: -8px;
}

.section-label--light {
  color: #fde68a;
}

.section-label--light::before,
.section-label--light::after {
  background: rgba(253, 230, 138, 0.4);
}

.section-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.25;
  color: #1a1a2e;
  margin-bottom: 16px;
}

.section-title--light {
  color: #f9f5fd;
}

.section-subtitle {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.75;
}

.section-subtitle--light {
  color: rgba(249, 245, 253, 0.75);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: #7d3c98;
  color: #fff;
  box-shadow: 0 4px 16px rgba(125, 60, 152, 0.3);
}

.btn-primary:hover {
  background: #6a3284;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(125, 60, 152, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #7d3c98;
  border: 1px solid rgba(125, 60, 152, 0.3);
}

.btn-ghost:hover {
  background: rgba(125, 60, 152, 0.06);
  border-color: #7d3c98;
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.35s ease;
  background: transparent;
}

.nav.scrolled {
  background: rgba(250, 249, 247, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(91, 44, 111, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  transition: color 0.3s;
}

.nav.scrolled .nav-logo {
  color: #1a1a2e;
}

.nav-logo svg {
  color: #7d3c98;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 400;
  color: #444;
  transition: color 0.3s;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: #7d3c98;
  transition: width 0.3s;
}

.nav-menu a:hover {
  color: #7d3c98;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 20px !important;
  background: #7d3c98;
  color: #fff !important;
  border-radius: 6px;
  font-weight: 500 !important;
  transition: all 0.3s !important;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: #6a3284 !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  padding: 8px;
  color: #1a1a2e;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-gradient-1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #3b1d48 0%, #5B2C6F 30%, #7d3c98 60%, #9b59b6 100%);
}

.hero-gradient-2 {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero-gradient-3 {
  position: absolute;
  bottom: -10%;
  left: -10%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(155, 89, 182, 0.4) 0%, transparent 70%);
  pointer-events: none;
}

.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(253, 230, 138, 0.15);
  border: 1px solid rgba(253, 230, 138, 0.3);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: #fde68a;
  margin-bottom: 32px;
  letter-spacing: 0.04em;
}

.hero-badge svg {
  color: #fcd34d;
}

.hero-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 500;
  line-height: 1.2;
  color: #f9f5fd;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-subheadline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(249, 245, 253, 0.8);
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto 40px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-actions .btn-ghost {
  color: #f9f5fd;
  border-color: rgba(249, 245, 253, 0.3);
}

.hero-actions .btn-ghost:hover {
  background: rgba(249, 245, 253, 0.1);
  border-color: rgba(249, 245, 253, 0.6);
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-stat {
  text-align: center;
}

.hero-stat-number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #fde68a;
}

.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(249, 245, 253, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(249, 245, 253, 0.2);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(249, 245, 253, 0.4);
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* --- Services --- */
.services {
  padding: 100px 0;
  background: #faf9f7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  padding: 36px 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: all 0.35s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 44, 111, 0.1);
  border-color: rgba(125, 60, 152, 0.15);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 60, 152, 0.08), rgba(155, 89, 182, 0.12));
  border-radius: 12px;
  color: #7d3c98;
  margin-bottom: 20px;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 10px;
  line-height: 1.4;
}

.service-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* --- About --- */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-wrapper {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-accent {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 2px solid rgba(125, 60, 152, 0.15);
  border-radius: 16px;
  z-index: -1;
}

.about-content {
  max-width: 520px;
}

.about-text {
  font-size: 1rem;
  color: #555;
  line-height: 1.85;
  margin-bottom: 20px;
}

.about-values {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-value-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 60, 152, 0.08), rgba(155, 89, 182, 0.12));
  border-radius: 8px;
  color: #7d3c98;
}

.about-value strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 2px;
}

.about-value-desc {
  font-size: 0.875rem;
  color: #777;
  line-height: 1.6;
}

/* --- Approach --- */
.approach {
  padding: 100px 0;
  background: linear-gradient(135deg, #3b1d48 0%, #5B2C6F 50%, #7d3c98 100%);
  position: relative;
  overflow: hidden;
}

.approach::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
  z-index: 2;
}

.approach-step {
  position: relative;
}

.approach-step-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3rem;
  font-weight: 500;
  color: rgba(253, 230, 138, 0.2);
  line-height: 1;
  margin-bottom: 16px;
}

.approach-step-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #f9f5fd;
  margin-bottom: 8px;
}

.approach-step-desc {
  font-size: 0.9rem;
  color: rgba(249, 245, 253, 0.65);
  line-height: 1.75;
}

/* --- Testimonials --- */
.testimonials {
  padding: 100px 0;
  background: #faf9f7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 36px 28px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(91, 44, 111, 0.06);
  transition: all 0.35s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(91, 44, 111, 0.08);
}

.testimonial-quote {
  margin-bottom: 20px;
  color: #7d3c98;
}

.testimonial-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-author-avatar {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 60, 152, 0.1), rgba(155, 89, 182, 0.15));
  border-radius: 50%;
  color: #7d3c98;
}

.testimonial-author-info {
  display: flex;
  flex-direction: column;
}

.testimonial-author-name {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a2e;
}

.testimonial-author-detail {
  font-size: 0.8rem;
  color: #999;
}

/* --- Contact --- */
.contact {
  padding: 100px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-detail-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 60, 152, 0.08), rgba(155, 89, 182, 0.12));
  border-radius: 10px;
  color: #7d3c98;
}

.contact-detail strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7d3c98;
  margin-bottom: 4px;
}

.contact-detail a,
.contact-detail span {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.6;
}

.contact-detail a:hover {
  color: #7d3c98;
}

.contact-insurance {
  padding: 20px 24px;
  background: rgba(125, 60, 152, 0.04);
  border-radius: 10px;
  border-left: 3px solid #7d3c98;
}

.contact-insurance strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7d3c98;
  margin-bottom: 6px;
}

.contact-insurance p {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

/* --- Form --- */
.contact-form-wrapper {
  background: #faf9f7;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(91, 44, 111, 0.06);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #555;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid #e0d8e8;
  border-radius: 8px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: #1a1a2e;
  background: #fff;
  transition: all 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #7d3c98;
  box-shadow: 0 0 0 3px rgba(125, 60, 152, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #bbb;
}

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

/* Form Success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 20px;
  gap: 16px;
}

.form-success.active {
  display: flex;
}

.form-success-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(125, 60, 152, 0.1), rgba(155, 89, 182, 0.15));
  border-radius: 50%;
  color: #7d3c98;
}

.form-success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #1a1a2e;
}

.form-success p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.7;
  max-width: 320px;
}

/* --- Map Banner --- */
.map-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, #f9f5fd 0%, #f3eaf8 100%);
}

.map-banner-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.map-banner-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 500;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.3;
}

.map-banner-desc {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 28px;
}

.map-banner-visual {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/2;
  box-shadow: 0 8px 32px rgba(91, 44, 111, 0.12);
}

.map-banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 0;
  background: #1a1a2e;
  color: rgba(249, 245, 253, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(249, 245, 253, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  font-weight: 500;
  color: #f9f5fd;
  margin-bottom: 16px;
}

.footer-logo svg {
  color: #d4b2e5;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(249, 245, 253, 0.5);
  max-width: 280px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links strong {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(249, 245, 253, 0.4);
  margin-bottom: 4px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(249, 245, 253, 0.6);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #fde68a;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(249, 245, 253, 0.35);
}

.footer-disclaimer {
  max-width: 480px;
  text-align: right;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Menu --- */
.nav-menu.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(250, 249, 247, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 24px;
  gap: 20px;
  border-bottom: 1px solid rgba(91, 44, 111, 0.08);
  box-shadow: 0 8px 24px rgba(91, 44, 111, 0.08);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .approach-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .nav.scrolled .nav-toggle {
    color: #1a1a2e;
  }
  
  .hero {
    padding: 100px 20px 60px;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .approach-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .contact-form-wrapper {
    padding: 28px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .map-banner-content {
    grid-template-columns: 1fr;
  }
  
  .map-banner-visual {
    order: -1;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-disclaimer {
    text-align: center;
    max-width: 100%;
  }
  
  .section-header {
    margin-bottom: 48px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero-stat-divider {
    width: 40px;
    height: 1px;
  }
  
  .container {
    padding: 0 16px;
  }
}
