/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary:       #52a9c5;
  --primary-dark:  #3a8aa6;
  --primary-light: #EAF5FA;
  --accent:        #B8E0EE;
  --text:          #1A2B30;
  --text-muted:    #4A6B78;
  --bg:            #FFFFFF;
  --bg-alt:        #f4f4f4;
  --border:        #CDE6F0;
  --radius:        10px;
  --shadow:        0 2px 16px rgba(30, 70, 62, 0.08);
  --shadow-lg:     0 8px 40px rgba(30, 70, 62, 0.12);
  --nav-height:    70px;
  --font:          'Inter', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text);
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.25rem; }

p {
  color: var(--text-muted);
  max-width: 68ch;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 1rem;
}

/* =============================================
   LAYOUT
   ============================================= */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 88px 0;
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid transparent;
  font-family: var(--font);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(62, 123, 110, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.nav-brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
}

.nav-brand-title {
  font-size: 0.75rem;
  color: var(--primary);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-links a.active {
  color: var(--primary);
}

.nav-links .btn {
  padding: 9px 18px;
  font-size: 0.875rem;
  margin-left: 8px;
  color: #fff;
}

.nav-links .nav-facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  transition: background 0.2s;
}

.nav-links .nav-facebook:hover {
  background: var(--primary-light);
}

.nav-links .nav-facebook svg {
  width: 18px;
  height: 18px;
  fill: var(--primary);
}

/* Mobile menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.2s;
  background: none;
  border: none;
}

.nav-toggle:hover {
  background: var(--primary-light);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.25s ease;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  padding-top: calc(var(--nav-height) + 72px);
  padding-bottom: 88px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%);
  overflow: hidden;
}

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

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

.hero-content h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.hero-text {
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-image-wrap {
  position: relative;
}

.hero-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.hero-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: linear-gradient(160deg, var(--accent) 0%, var(--primary-light) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--primary);
  border: 2px dashed var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
  padding: 24px;
}

.hero-photo-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.5;
}

.hero-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-badge-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

.hero-badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text);
}

.hero-badge-text span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  direction: rtl;
}

.about-inner > * {
  direction: ltr;
}

.about-content h2 {
  margin-bottom: 1.5rem;
}

.about-content p {
  margin-bottom: 1rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2rem;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--primary);
}

.credential-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.credential-item span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.about-image-wrap {
  position: relative;
}

.about-image-bg {
  position: absolute;
  inset: -20px -20px 20px 20px;
  background: var(--primary-light);
  border-radius: 20px;
  z-index: 0;
}

.about-image {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.about-image-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: 16px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  border: 2px dashed var(--primary);
  text-align: center;
  padding: 24px;
}

/* =============================================
   OSTEOPATHY SECTION
   ============================================= */
.osteopathy {
  background: var(--bg-alt);
}

.osteopathy-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.osteopathy-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 2rem;
}

.feature-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
}

.feature-text strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 0.95rem;
}

.feature-text p {
  font-size: 0.875rem;
  margin: 0;
}

.osteopathy-quote {
  background: var(--primary);
  color: #fff;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.osteopathy-quote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 160px;
  font-family: Georgia, serif;
  color: rgba(255,255,255,0.1);
  line-height: 1;
}

.osteopathy-quote blockquote {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.95);
  font-style: italic;
  position: relative;
  z-index: 1;
  margin-bottom: 1.5rem;
}

.osteopathy-quote-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 2px solid rgba(255,255,255,0.4);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}

.osteopathy-quote-cta:hover {
  border-color: #fff;
}

/* =============================================
   CTA BANNER
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  padding: 72px 0;
}

.cta-banner-inner {
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin: 0 auto 2rem;
  max-width: 52ch;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
  padding-top: calc(var(--nav-height) + 56px);
  padding-bottom: 56px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--primary-light) 100%);
  text-align: center;
}

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

.page-hero p {
  font-size: 1.1rem;
  margin: 0 auto;
  max-width: 56ch;
}

/* =============================================
   CONSULTATION REASONS PAGE
   ============================================= */
.reasons-intro {
  text-align: center;
  margin-bottom: 56px;
}

.reasons-intro p {
  margin: 0 auto;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.reason-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.reason-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.reason-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.reason-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.reason-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
}

.reason-card h3 {
  color: var(--text);
}

.reason-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reason-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.reason-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}

.reasons-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: var(--primary-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.reasons-note strong {
  color: var(--text);
}

/* =============================================
   CONTACT PAGE
   ============================================= */
.contact-inner {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 0.75rem;
}

.contact-info > p {
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 2rem;
}

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

.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
}

.contact-detail-text strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 2px;
}

.contact-detail-text a,
.contact-detail-text span {
  font-size: 0.95rem;
  color: var(--text);
  font-weight: 500;
}

.contact-detail-text a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 0.5rem;
}

.contact-social a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg-alt);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  border: 1px solid var(--border);
}

.contact-social a:hover {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary);
}

.contact-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.contact-form-wrap {
  background: var(--bg-alt);
  border-radius: 20px;
  padding: 40px;
}

.contact-form-wrap h3 {
  margin-bottom: 1.5rem;
  color: var(--text);
}

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

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

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(62, 123, 110, 0.12);
}

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

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

.form-submit {
  width: 100%;
  justify-content: center;
  padding: 15px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 24px;
  background: var(--primary-light);
  border-radius: var(--radius);
  color: var(--primary);
  font-weight: 600;
  margin-top: 16px;
}

.form-success.show {
  display: block;
}

/* =============================================
   MAP
   ============================================= */
.map-section {
  padding: 0 0 88px;
}

.map-embed {
  width: 100%;
  height: 380px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand-name {
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 4px;
}

.footer-brand-title {
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.footer p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  max-width: none;
}

.footer-heading {
  font-weight: 700;
  font-size: 0.875rem;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

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

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item svg {
  width: 15px;
  height: 15px;
  stroke: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-image-wrap {
    order: -1;
    max-width: 320px;
    margin: 0 auto;
  }

  .hero-badge {
    bottom: -16px;
    left: 0;
  }

  .about-inner,
  .osteopathy-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-image-wrap {
    max-width: 360px;
  }

  .about-image-bg {
    display: none;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  section {
    padding: 64px 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links .btn {
    margin-left: 0;
    margin-top: 8px;
    width: 100%;
    justify-content: center;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    justify-content: center;
  }

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

  .contact-form-wrap {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
