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

:root {
  --teal:      #6ECFCB;
  --teal-dark: #4BADA9;
  --gold:      #F5C542;
  --gold-dark: #d4a832;
  --text:      #2c3e50;
  --text-mid:  #5a6a7a;
  --light:     #f7f9f9;
  --border:    #e4ecec;
  --white:     #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

h1, h2, h3, h4 { line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { color: var(--text-mid); }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ── Top Bar ───────────────────────────────────────────── */
.top-bar {
  background: var(--teal-dark);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}
.top-bar a { color: var(--white); opacity: 0.9; }
.top-bar a:hover { opacity: 1; }
.top-bar-phone { display: flex; align-items: center; gap: 8px; }
.top-bar-phone-label { opacity: 0.75; font-size: 12px; }
.top-bar-book {
  background: var(--gold);
  color: var(--text) !important;
  opacity: 1 !important;
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
}

/* ── Header ────────────────────────────────────────────── */
header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  gap: 16px;
}
.logo { flex-shrink: 0; }
.logo img { width: 280px; height: auto; }

nav ul { display: flex; align-items: center; gap: 4px; }
nav ul li a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 6px;
  transition: color 0.2s;
}
nav ul li a:hover,
nav ul li a.active { color: var(--teal-dark); }

nav ul li a.btn-book {
  background: var(--gold);
  color: var(--text);
  border-radius: 24px;
  padding: 8px 18px;
  font-weight: 700;
  margin-left: 8px;
}
nav ul li a.btn-book:hover { background: var(--gold-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  background: url('../images/background-ocean.jpg') center center / cover no-repeat;
  color: var(--white);
  padding: 72px 0 64px;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(75,173,169,0.55) 0%, rgba(46,125,120,0.65) 100%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-text { flex: 1; }
.hero-text h1 {
  color: var(--white);
  font-weight: 300;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  line-height: 1.5;
  margin-bottom: 28px;
}
.hero-image {
  flex: 0 0 360px;
  text-align: center;
}
.hero-image img {
  max-height: 420px;
  width: auto;
  margin: 0 auto;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 28px;
  font-weight: 700;
  font-size: 15px;
  transition: 0.2s;
  cursor: pointer;
  border: none;
}
.btn-gold { background: var(--gold); color: var(--text); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
  margin-left: 12px;
}
.btn-outline:hover { border-color: var(--white); }
.btn-teal { background: var(--teal-dark); color: var(--white); }
.btn-teal:hover { background: #3d9994; }

/* ── Contact Strip ─────────────────────────────────────── */
.contact-strip {
  background: var(--light);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.contact-strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 4px;
}
.strip-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.strip-value a { color: var(--text); }

/* ── Sections ──────────────────────────────────────────── */
.section { padding: 72px 0; }
.section-light { background: var(--light); }

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-dark);
  margin-bottom: 10px;
  display: block;
}

/* ── Page Hero (inner pages) ───────────────────────────── */
.page-hero {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 48px 0;
}
.page-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 4px; }
.page-hero p { font-size: 1rem; }

/* ── Two Column ────────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Team ──────────────────────────────────────────────── */
.doctor {
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}
.doctor:last-child { border-bottom: none; padding-bottom: 0; }
.doctor-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 52px;
  margin: 0 auto;
  overflow: hidden;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.doctor h3 { font-size: 1.3rem; margin-bottom: 2px; }
.doctor-reg { font-size: 13px; color: var(--teal-dark); font-weight: 700; margin-bottom: 16px; }
.doctor p { margin-bottom: 12px; }
.doctor p:last-child { margin-bottom: 0; }

/* ── Services Grid ─────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-tile {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow 0.2s;
}
.service-tile:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.service-tile summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--teal-dark);
  cursor: pointer;
  user-select: none;
  gap: 12px;
}
.service-tile summary::-webkit-details-marker { display: none; }
.service-tile summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  flex-shrink: 0;
  opacity: 0.8;
}
.service-tile[open] { grid-column: 1 / -1; }
.service-tile[open] summary { background: var(--teal-dark); }
.service-tile[open] summary::after { content: '−'; }
.service-tile-body {
  padding: 20px 24px;
}
.service-tile-body p { margin-bottom: 10px; color: var(--text-mid); font-size: 15px; }
.service-tile-body p:last-child { margin-bottom: 0; }
.service-tile-body ul { margin: 8px 0 10px; }
.service-tile-body ul li {
  padding: 3px 0 3px 16px;
  position: relative;
  color: var(--text-mid);
  font-size: 14px;
}
.service-tile-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--teal);
}

/* ── FAQ Accordion ─────────────────────────────────────── */
.faq {
  border-bottom: 1px solid var(--border);
}
.faq:last-child { border-bottom: none; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  user-select: none;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--teal-dark);
  flex-shrink: 0;
  transition: transform 0.2s;
}
.faq[open] summary::after { content: '−'; }
.faq p {
  padding-bottom: 24px;
  margin: 0;
}

/* ── Contact ───────────────────────────────────────────── */
.locations-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
.location h3 { font-size: 1rem; color: var(--teal-dark); margin-bottom: 12px; }
.location p { margin-bottom: 4px; font-size: 15px; }
.location a { color: var(--teal-dark); font-weight: 600; }

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  margin-bottom: 14px;
  transition: border-color 0.2s;
  display: block;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { outline: none; border-color: var(--teal); }
.contact-form textarea { height: 120px; resize: vertical; }

/* ── Blog ──────────────────────────────────────────────── */
.blog-empty {
  text-align: center;
  padding: 96px 24px;
}
.blog-empty h2 { margin-bottom: 12px; }
.blog-empty p { max-width: 400px; margin: 0 auto; }

/* ── Footer ────────────────────────────────────────────── */
footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 56px 0 0;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-logo img { width: 600px; height: auto; margin: 0 auto 16px; max-width: 100%; display: block; }
footer h4 {
  color: var(--white);
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
footer ul li { margin-bottom: 8px; }
footer ul li a, footer ul li span {
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
footer ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 13px;
  text-align: center;
}

/* ── Footer Social ─────────────────────────────────────── */
.footer-social { display: flex; gap: 12px; justify-content: flex-start; margin-top: 12px; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
  transition: background 0.2s, color 0.2s;
}
.footer-social a:hover { background: var(--teal-dark); color: var(--white); opacity: 1; }
.footer-social svg { width: 18px; height: 18px; fill: currentColor; }

/* ── Utilities ─────────────────────────────────────────── */
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  }
  nav.open { display: block; }
  nav ul { flex-direction: column; align-items: flex-start; gap: 4px; }
  nav ul li a.btn-book { margin-left: 0; margin-top: 8px; }

  .hero-inner { flex-direction: row; gap: 16px; align-items: center; }
  .hero-image { display: block; }
  .hero-image img { max-height: 200px; }

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

  .two-col { grid-template-columns: 1fr; gap: 32px; }

  .doctor { grid-template-columns: 1fr; gap: 20px; }
  .doctor-photo { margin: 0; }

  .services-grid { grid-template-columns: 1fr; }
  .locations-grid { grid-template-columns: 1fr; gap: 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-logo { grid-column: 1 / -1; }
}
