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

:root {
  --green-dark:   #006d77;
  --green-mid:    #00a8b5;
  --green-light:  #17c5d4;
  --green-pale:   #e0f7fa;
  --green-tint:   #f0fcfd;
  --gold:         #c8973f;
  --text-dark:    #0d1f2d;
  --text-mid:     #2d4a5a;
  --text-muted:   #637d8a;
  --white:        #ffffff;
  --off-white:    #f5fbfc;
  --border:       #d0edf0;

  --font-display: 'Lora', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.07);
  --shadow-md: 0 6px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.13);
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s, box-shadow 0.35s;
  padding: 26px 0;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: 14px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-body);
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.01em;
  transition: color 0.3s;
}
.navbar.scrolled .brand { color: var(--text-dark); }
.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  transition: filter 0.3s;
}
.navbar.scrolled .brand-logo {
  filter: none;
}
.brand strong { color: var(--green-light); }
.navbar.scrolled .brand strong { color: var(--green-mid); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 9px 18px;
  border-radius: 24px;
  transition: background 0.2s, color 0.2s;
}
.navbar.scrolled .nav-link { color: var(--text-mid); }
.nav-link:hover { background: rgba(255,255,255,0.15); color: var(--white); }
.navbar.scrolled .nav-link:hover { background: var(--green-pale); color: var(--green-dark); }
.btn-nav {
  background: var(--green-mid);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 24px;
  font-size: 1rem;
  font-weight: 600;
}
.btn-nav:hover { background: var(--green-dark) !important; }
.navbar.scrolled .btn-nav { background: var(--green-mid); }

.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(--white);
  border-radius: 2px;
  transition: background 0.3s;
}
.navbar.scrolled .hamburger span { background: var(--text-dark); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 80px 0;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #004a52 0%, #006d77 45%, #00a8b5 100%);
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q15 10 30 30 Q45 50 60 30' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='1.5'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  padding: 120px 24px 80px;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  border: 1px solid rgba(255,255,255,0.2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .accent { color: #80e8f0; }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.82);
  max-width: 640px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.5);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 40px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.22s;
  text-decoration: none;
}
.btn-primary {
  background: var(--white);
  color: var(--green-dark);
}
.btn-primary:hover { background: #e8fff6; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ===== INFO BAND ===== */
.info-band {
  background: var(--green-dark);
  padding: 20px 0;
}
.info-band-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  flex: 1;
  min-width: 200px;
  padding: 8px 0;
}
.info-item i {
  font-size: 1.2rem;
  color: #80e8f0;
  flex-shrink: 0;
}
.info-item div { display: flex; flex-direction: column; gap: 2px; }
.info-item span { font-size: 0.9rem; color: var(--white); line-height: 1.5; }
.info-item strong { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.07em; color: rgba(255,255,255,0.55); }
.info-item span { font-size: 0.9rem; color: var(--white); }
.info-item a { color: var(--white); }
.info-item a:hover { color: #7ee8c4; }

/* ===== SECTIONS ===== */
.section { padding: 96px 0; }
.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section-title em { font-style: italic; color: var(--green-mid); }
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 56px;
}
.section-desc { color: var(--text-muted); font-size: 1.0rem; }

/* ===== ABOUT ===== */
.about-section { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.bina-foto-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.bina-foto {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.bina-foto-wrapper:hover .bina-foto { transform: scale(1.03); }
.bina-foto-badge {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 22px;
  border-radius: 24px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.bina-foto-badge i { color: #80e8f0; }
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.about-card {
  border-radius: var(--radius-md);
  padding: 28px 22px;
  box-shadow: var(--shadow-sm);
}
.card-main {
  grid-column: 1 / -1;
  background: var(--green-dark);
  color: var(--white);
  text-align: center;
}
.card-main i { color: #7ee8c4; margin-bottom: 14px; }
.card-main h3 { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 8px; }
.card-main p { font-size: 0.88rem; color: rgba(255,255,255,0.75); }
.card-stat {
  background: var(--green-pale);
  text-align: center;
}
.card-stat--green { background: var(--green-dark); color: var(--white); }
.stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-mid);
  line-height: 1;
  margin-bottom: 6px;
}
.card-stat--green .stat-number { color: #80e8f0; }
.stat-label { font-size: 0.8rem; color: var(--text-muted); }
.card-stat--green .stat-label { color: rgba(255,255,255,0.7); }

.about-text p {
  color: var(--text-mid);
  margin-bottom: 18px;
  font-size: 0.97rem;
  line-height: 1.8;
}
.about-highlights { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.about-highlights li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mid);
}
.about-highlights i { color: var(--green-mid); }

/* ===== SERVICES ===== */
.services-section { background: var(--off-white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.22s, box-shadow 0.22s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.service-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--icon-color) 12%, transparent);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  color: var(--icon-color);
  margin-bottom: 18px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ===== DOCTOR ===== */
.doctor-section { background: var(--white); }
.doctor-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
}
.doctor-portrait {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.portrait-placeholder {
  background: linear-gradient(145deg, var(--green-pale), var(--green-tint));
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.portrait-badge {
  position: absolute;
  bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--green-dark);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 20px;
  white-space: nowrap;
  display: flex; align-items: center; gap: 6px;
}
.portrait-badge i { color: #80e8f0; }

.doctor-info p {
  color: var(--text-mid);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: 0.97rem;
}
.doctor-title {
  color: var(--green-mid) !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  margin-bottom: 14px !important;
  margin-top: -8px;
  font-style: italic;
}
.doctor-credentials {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 24px 0 30px;
}
.credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-mid);
}
.credential i { color: var(--green-mid); font-size: 1rem; }
.doctor-info .btn-primary {
  background: var(--green-dark);
  color: var(--white);
}
.doctor-info .btn-primary:hover { background: var(--green-mid); }

/* ===== APPOINTMENT ===== */
.appointment-section { background: var(--off-white); }
.appointment-card {
  background: linear-gradient(135deg, #004a52, #006d77);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}
.appointment-actions { display: flex; flex-direction: column; gap: 14px; }
.appt-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 22px;
  border-radius: var(--radius-md);
  transition: all 0.22s;
  cursor: pointer;
  font-family: var(--font-body);
  text-decoration: none;
}
.appt-btn i { font-size: 1.4rem; flex-shrink: 0; }
.appt-btn span { display: flex; flex-direction: column; line-height: 1.3; }
.appt-btn strong { font-size: 0.95rem; }
.appt-btn span:last-child:not(strong) { font-size: 0.8rem; }
.appt-btn--primary {
  background: var(--white);
  color: var(--green-dark);
}
.appt-btn--primary i { color: var(--green-mid); }
.appt-btn--primary:hover { background: #e8fff6; transform: translateX(4px); }
.appt-btn--secondary {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
}
.appt-btn--secondary:hover { background: rgba(255,255,255,0.2); transform: translateX(4px); }
.appt-btn--outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.15);
}
.appt-btn--outline:hover { background: rgba(255,255,255,0.08); color: var(--white); transform: translateX(4px); }

/* ===== CONTACT ===== */
.contact-section { background: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--green-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--green-mid);
  font-size: 1.0rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-block strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-block p { font-size: 0.92rem; color: var(--text-mid); line-height: 1.6; }
.contact-block a { color: var(--green-mid); font-weight: 500; }
.contact-block a:hover { color: var(--green-dark); }
.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 400px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--text-dark);
  padding: 56px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.footer .brand { color: var(--white); }
.footer .brand strong { color: #80e8f0; }
.footer-desc { color: rgba(255,255,255,0.5); font-size: 0.875rem; line-height: 1.7; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  justify-content: center;
  margin-top: 8px;
}
.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
}
.footer-bottom span { font-size: 0.8rem; color: rgba(255,255,255,0.35); }

.footer-logo {
  filter: brightness(0) invert(1) opacity(0.7);
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { grid-column: 1 / -1; }
  .doctor-grid { grid-template-columns: 1fr; }
  .portrait-placeholder { height: 280px; }
  .appointment-card { grid-template-columns: 1fr; gap: 32px; padding: 36px 28px; }
  .contact-grid { grid-template-columns: 1fr; }
  .map-wrapper { height: 300px; }
}

@media (max-width: 680px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--green-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-link { font-size: 1.2rem; color: var(--white) !important; padding: 12px 24px; }
  .btn-nav { background: var(--green-light) !important; }
  .hamburger { display: flex; z-index: 1001; }
  .info-band-inner { flex-direction: column; gap: 12px; }
  .info-item { min-width: auto; }
  .section { padding: 64px 0; }
  .hero-content { padding: 100px 24px 60px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .services-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
