@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --ivory:   #F7F3EE;
  --cream:   #EFE9DF;
  --charcoal:#1A1A2E;
  --navy:    #0D1B35;
  --gold:    #B8955A;
  --gold-lt: #D4AE72;
  --sage:    #4A7B65;
  --white:   #FFFFFF;
  --text:    #2C2C3A;
  --muted:   #7A7A8C;
  --border:  #DDD5C8;
  --shadow:  rgba(13,27,53,0.09);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--ivory); color: var(--text); line-height: 1.7; overflow-x: hidden; }

h1, h2, h3, h4 { font-family: 'Cormorant Garamond', serif; font-weight: 400; line-height: 1.2; color: var(--navy); }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.75rem); }
p { font-weight: 300; line-height: 1.8; }
a { text-decoration: none; color: inherit; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--dark { background: var(--navy); }
.section--dark h1,.section--dark h2,.section--dark h3,.section--dark h4 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--cream { background: var(--cream); }

.label { font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.divider { width: 44px; height: 2px; background: var(--gold); margin: 14px 0 30px; }
.divider--c { margin: 14px auto 30px; }
.text-center { text-align: center; }
.gold { color: var(--gold); }

.btn {
  display: inline-block; padding: 14px 36px; border-radius: 2px;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: all 0.28s;
  border: 1.5px solid transparent; font-family: 'DM Sans', sans-serif;
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-lt); border-color: var(--gold-lt); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(184,149,90,0.3); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-outline-w { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn-outline-w:hover { background: #fff; color: var(--navy); }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 999;
  background: rgba(247,243,238,0.95); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px var(--shadow); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; color: var(--navy); line-height: 1.25; }
.nav-logo small { display: block; font-family: 'DM Sans', sans-serif; font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 500; }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-size: 0.8rem; letter-spacing: 0.05em; color: var(--text); font-weight: 400; transition: color 0.2s; padding: 4px 0; border-bottom: 1.5px solid transparent; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); border-bottom-color: var(--gold); }
.nav-phone { font-size: 0.85rem; font-weight: 500; color: var(--navy); transition: color 0.2s; }
.nav-phone:hover { color: var(--gold); }
.nav-cta { display: flex; align-items: center; gap: 20px; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; }
.hamburger span { display: block; width: 22px; height: 1.5px; background: var(--navy); transition: all 0.3s; }

.mobile-menu {
  display: none; position: fixed; top: 72px; inset: 72px 0 0;
  background: var(--ivory); z-index: 998; padding: 32px 24px;
  flex-direction: column; gap: 8px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Cormorant Garamond', serif; font-size: 1.6rem;
  color: var(--navy); padding: 14px 0; border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mob-phone { font-size: 1rem; font-family: 'DM Sans', sans-serif; color: var(--gold); margin-top: 16px; }

/* HERO */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  background: linear-gradient(140deg, var(--navy) 0%, #152040 60%, #0E2644 100%);
  position: relative; overflow: hidden; padding-top: 72px;
}
.hero-bg-ring {
  position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
  width: 580px; height: 580px; border-radius: 50%;
  border: 1px solid rgba(184,149,90,0.12); pointer-events: none;
}
.hero-bg-ring::before { content: ''; position: absolute; inset: 50px; border-radius: 50%; border: 1px solid rgba(184,149,90,0.07); }
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: radial-gradient(var(--gold) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  background: rgba(184,149,90,0.12); border: 1px solid rgba(184,149,90,0.25);
  border-radius: 100px; padding: 7px 18px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.hero-badge span { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-lt); }
.hero h1 { color: #fff; font-weight: 300; margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub { color: rgba(255,255,255,0.68); font-size: 1.05rem; max-width: 520px; margin-bottom: 40px; font-weight: 300; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats {
  display: flex; gap: 44px; flex-wrap: wrap;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-n { font-family: 'Cormorant Garamond', serif; font-size: 2.6rem; color: #fff; line-height: 1; }
.hero-stat-l { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 4px; }

/* GOLD STRIP */
.strip { background: var(--gold); padding: 14px 0; overflow: hidden; }
.strip-inner { display: flex; align-items: center; gap: 0; }
.strip-item { display: flex; align-items: center; gap: 10px; padding: 0 32px; color: #fff; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; border-right: 1px solid rgba(255,255,255,0.25); white-space: nowrap; }
.strip-item:last-child { border-right: none; }
.strip-item svg { flex-shrink: 0; }

/* STATS BAND */
.stats-band { background: var(--navy); padding: 60px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; text-align: center; }
.stat-n { font-family: 'Cormorant Garamond', serif; font-size: 3rem; color: var(--gold); line-height: 1; }
.stat-l { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-top: 8px; }

/* CARD */
.card {
  background: var(--white); border-radius: 4px; padding: 36px;
  border: 1px solid var(--border); transition: all 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 48px var(--shadow); border-color: var(--gold-lt); }
.card-icon { width: 50px; height: 50px; background: linear-gradient(135deg,var(--gold),var(--gold-lt)); border-radius: 3px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; font-size: 1.3rem; }

/* SERVICE ITEM */
.svc-item { background: var(--white); border-radius: 4px; border: 1px solid var(--border); overflow: hidden; transition: all 0.3s; }
.svc-item:hover { box-shadow: 0 12px 40px var(--shadow); transform: translateY(-3px); }
.svc-body { padding: 32px; }
.svc-num { font-family: 'Cormorant Garamond', serif; font-size: 3.2rem; font-weight: 300; color: var(--border); line-height: 1; margin-bottom: 14px; }
.svc-item h3 { font-size: 1.25rem; margin-bottom: 10px; }
.svc-item p { font-size: 0.88rem; color: var(--muted); }
.svc-link { display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 20px; font-weight: 500; transition: gap 0.2s; }
.svc-link:hover { gap: 14px; }

/* ABOUT */
.about-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 72px; align-items: center; }
.about-img {
  aspect-ratio: 4/5; background: linear-gradient(150deg, var(--navy) 0%, var(--sage) 100%);
  border-radius: 4px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.about-img::after {
  content: 'DR. ELNUR ƏKBƏROV';
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(13,27,53,0.85); color: #fff; font-size: 0.65rem;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 10px 14px;
  border-left: 2px solid var(--gold);
}
.about-img-inner { font-size: 7rem; opacity: 0.2; }
.cert-list { list-style: none; }
.cert-list li { padding: 13px 0; border-bottom: 1px solid var(--border); display: flex; gap: 12px; font-size: 0.9rem; line-height: 1.5; color: var(--text); }
.cert-list li::before { content: '◆'; color: var(--gold); font-size: 0.5rem; margin-top: 6px; flex-shrink: 0; }

/* TIMELINE */
.tl { position: relative; padding-left: 30px; }
.tl::before { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: var(--border); }
.tl-item { position: relative; margin-bottom: 32px; }
.tl-item::before { content: ''; position: absolute; left: -27px; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: var(--gold); border: 3px solid var(--ivory); }
.tl-yr { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.tl-item h4 { color: var(--navy); font-family: 'Cormorant Garamond', serif; font-size: 1.15rem; margin-bottom: 5px; }
.tl-item p { font-size: 0.87rem; color: var(--muted); }

/* CONTACT */
.contact-wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.c-item { display: flex; gap: 18px; margin-bottom: 28px; }
.c-icon { width: 44px; height: 44px; flex-shrink: 0; background: var(--cream); border-radius: 3px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.c-label { font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.c-value { font-size: 0.98rem; color: var(--navy); font-weight: 400; }
.form-g { margin-bottom: 18px; }
.form-g label { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.form-g input, .form-g textarea, .form-g select {
  width: 100%; padding: 13px 15px; border: 1px solid var(--border); border-radius: 2px;
  background: var(--white); font-family: 'DM Sans', sans-serif; font-size: 0.93rem;
  color: var(--text); transition: border-color 0.2s; appearance: none;
}
.form-g input:focus, .form-g textarea:focus, .form-g select:focus { outline: none; border-color: var(--gold); }
.form-g textarea { min-height: 110px; resize: vertical; }
.form-row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  padding: 20px 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  font-size: 0.97rem; font-weight: 500; color: var(--navy); transition: color 0.2s;
}
.faq-q:hover { color: var(--gold); }
.faq-toggle { color: var(--gold); font-size: 1.3rem; line-height: 1; transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-q.open .faq-toggle { transform: rotate(45deg); }
.faq-a { display: none; padding-bottom: 18px; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }
.faq-a.open { display: block; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, #152040 100%);
  padding: 140px 0 72px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; right: -150px; bottom: -150px;
  width: 500px; height: 500px; border-radius: 50%;
  border: 1px solid rgba(184,149,90,0.08); pointer-events: none;
}
.page-hero .label { margin-bottom: 14px; }
.page-hero h1 { color: #fff; max-width: 580px; }
.page-hero p { color: rgba(255,255,255,0.58); max-width: 520px; margin-top: 16px; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 0.77rem; color: rgba(255,255,255,0.38); margin-bottom: 20px; }
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb span { opacity: 0.3; }

/* BLOG */
.blog-card { background: var(--white); border-radius: 4px; overflow: hidden; border: 1px solid var(--border); transition: all 0.3s; }
.blog-card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px var(--shadow); }
.blog-thumb { height: 190px; background: linear-gradient(135deg, var(--navy), var(--sage)); display: flex; align-items: center; justify-content: center; font-size: 2.8rem; }
.blog-body { padding: 26px; }
.blog-date { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.blog-card p { font-size: 0.87rem; color: var(--muted); }

/* TESTIMONIAL */
.testi { background: var(--white); border-radius: 4px; padding: 32px; border: 1px solid var(--border); }
.testi-q { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--gold); line-height: 0.6; margin-bottom: 14px; }
.testi p { font-size: 0.9rem; font-style: italic; color: var(--text); line-height: 1.8; margin-bottom: 22px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-av { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,var(--navy),var(--sage)); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.85rem; }
.testi-name { font-size: 0.87rem; font-weight: 500; color: var(--navy); }
.testi-meta { font-size: 0.73rem; color: var(--muted); }

/* FOOTER */
footer { background: var(--navy); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand h3 { color: #fff; font-size: 1.35rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.86rem; color: rgba(255,255,255,0.45); max-width: 250px; line-height: 1.7; }
.footer-col h5 { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { font-size: 0.86rem; color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.3); }
.socials { display: flex; gap: 12px; }
.soc-link { width: 34px; height: 34px; border-radius: 2px; border: 1px solid rgba(255,255,255,0.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.45); font-size: 0.8rem; transition: all 0.2s; }
.soc-link:hover { border-color: var(--gold); color: var(--gold); }

/* WA FLOAT */
.wa-btn {
  position: fixed; bottom: 28px; right: 28px; z-index: 997;
  width: 52px; height: 52px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  animation: wa-pulse 2.5s infinite;
  transition: transform 0.2s;
}
.wa-btn:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,0.35); }
  50% { box-shadow: 0 4px 32px rgba(37,211,102,0.55), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* SCROLL TOP */
.scroll-top { position: fixed; bottom: 90px; right: 28px; z-index: 996; width: 38px; height: 38px; border-radius: 2px; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; opacity: 0; pointer-events: none; transition: all 0.3s; cursor: pointer; border: none; }
.scroll-top.vis { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--gold); }

/* GRID HELPERS */
.g2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 28px; }
.g3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.g4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media(max-width:1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .g4 { grid-template-columns: repeat(2,1fr); }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
@media(max-width:768px) {
  .nav-links,.nav-cta .btn { display: none; }
  .hamburger { display: flex; }
  .hero { padding-top: 80px; min-height: auto; padding-bottom: 64px; }
  .hero-bg-ring { display: none; }
  .about-wrap { grid-template-columns: 1fr; gap: 36px; }
  .g2,.g3,.g4 { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .form-row2 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2,1fr); }
}
