/* ============================================================
   Senchenkov Plastic Surgery — stylesheet
   Palette: navy #0f2540, champagne #c9a96a, cream #faf7f2
   ============================================================ */

:root {
  --navy: #0f2540;
  --navy-dark: #0a1a2e;
  --navy-soft: #1b3557;
  --gold: #c9a96a;
  --gold-light: #e4cfa1;
  --cream: #faf7f2;
  --cream-warm: #f2ece1;
  --ink: #1d2733;
  --muted: #6a7787;
  --line: #e6ddcd;
  --white: #ffffff;

  --radius: 4px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 37, 64, 0.06);
  --shadow-md: 0 10px 30px rgba(15, 37, 64, 0.12);
  --shadow-lg: 0 24px 60px rgba(15, 37, 64, 0.18);

  --container: 1200px;

  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

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

a { color: var(--navy); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--gold); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: 0.2px;
}

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

p { color: var(--ink); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section {
  padding: clamp(64px, 9vw, 120px) 0;
}

.section-alt { background: var(--cream-warm); }
.section-dark { background: var(--navy); color: var(--cream); }
.section-dark h1, .section-dark h2, .section-dark h3 { color: var(--white); }
.section-dark p { color: rgba(250, 247, 242, 0.85); }
.section-dark .eyebrow { color: var(--gold-light); }

.divider {
  width: 56px;
  height: 2px;
  background: var(--gold);
  border: none;
  margin: 18px 0 26px;
}

.text-center { text-align: center; }
.text-center .divider { margin-left: auto; margin-right: auto; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: flex;
  gap: 38px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width .3s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--gold); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 12px 24px !important;
  border-radius: var(--radius);
  letter-spacing: 1.5px !important;
  transition: background .25s ease, transform .2s ease;
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--navy) !important;
}
.nav-cta::after { display: none; }

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 32px; height: 32px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 4px; right: 4px;
  height: 2px;
  background: var(--navy);
  transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 8px; }
.nav-toggle span:nth-child(2) { top: 15px; }
.nav-toggle span:nth-child(3) { top: 22px; }
.nav-toggle.open span:nth-child(1) { top: 15px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 15px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all .25s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
  border-color: var(--cream);
}
.btn-light:hover {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn + .btn { margin-left: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(201, 169, 106, 0.18), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(201, 169, 106, 0.10), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 70px;
  align-items: center;
  padding: clamp(70px, 10vw, 130px) 0 clamp(80px, 10vw, 140px);
}

.hero-text h1 {
  color: var(--white);
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  font-weight: 400;
  margin-bottom: 10px;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(250, 247, 242, 0.85);
  max-width: 520px;
  margin: 22px 0 36px;
  line-height: 1.7;
}

.hero-meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 42px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 169, 106, 0.25);
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-label {
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-weight: 600;
}
.hero-meta-value {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--white);
}

.hero-photo {
  position: relative;
  justify-self: center;
}
.hero-photo-frame {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--cream);
}
.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero-photo::before {
  content: "";
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

/* ---------- Credentials strip ---------- */
.credentials {
  background: var(--white);
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}
.credentials-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}
.credential {
  padding: 0 12px;
}
.credential-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  line-height: 1;
}
.credential-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 600;
}

/* ---------- Two-col content block ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.two-col-image {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.two-col-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

.lead {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--navy);
  font-style: italic;
  margin: 0 0 22px;
}

.body-text p { margin-bottom: 16px; color: var(--ink); }

/* ---------- Cards grid (procedures) ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width .35s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card:hover::before { width: 100%; }

.card-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--cream-warm);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; line-height: 1.65; }

/* ---------- Procedure list ---------- */
.proc-category {
  margin-bottom: 60px;
}
.proc-category:last-child { margin-bottom: 0; }

.proc-category-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.proc-category-header h2 {
  font-size: 2rem;
}
.proc-category-header .count {
  color: var(--gold);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.1rem;
}

.proc-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  list-style: none;
}
.proc-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  transition: padding-left .25s ease, color .25s ease;
}
.proc-list li:hover {
  padding-left: 8px;
  color: var(--navy);
}
.proc-list li::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---------- Education timeline ---------- */
.timeline {
  border-left: 2px solid var(--gold);
  padding-left: 32px;
  margin-top: 20px;
}
.timeline-item {
  position: relative;
  padding-bottom: 28px;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: "";
  position: absolute;
  left: -40px;
  top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
}
.timeline-label {
  font-size: 0.75rem;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 4px;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 169, 106, 0.18), transparent 60%);
}
.cta-banner .container { position: relative; }
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p {
  color: rgba(250, 247, 242, 0.85);
  max-width: 560px;
  margin: 0 auto 30px;
  font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 { margin-bottom: 6px; }
.contact-info .subtitle {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.info-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.info-block:last-of-type { border: none; }
.info-label {
  font-size: 0.72rem;
  letter-spacing: 2.4px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}
.info-value { font-size: 1.05rem; color: var(--navy); }
.info-value a:hover { color: var(--gold); }

.form {
  background: var(--white);
  padding: 44px 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 8px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--cream);
  font-family: var(--font-sans);
  font-size: 0.98rem;
  color: var(--ink);
  transition: border-color .2s ease, background .2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-submit { width: 100%; }
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 14px;
}

.map {
  width: 100%;
  height: 380px;
  border: none;
  border-radius: var(--radius-lg);
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
  filter: grayscale(25%) contrast(1.05);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(250, 247, 242, 0.75);
  padding: 48px 0;
}
.footer-simple {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
.footer-name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  letter-spacing: 0.5px;
}
.footer-copy {
  font-size: 0.86rem;
  color: rgba(250, 247, 242, 0.6);
  letter-spacing: 0.3px;
}
@media (max-width: 640px) {
  .footer-simple { justify-content: center; text-align: center; flex-direction: column; gap: 10px; }
}

/* ---------- Page header (non-home) ---------- */
.page-head {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: var(--cream);
  padding: clamp(80px, 12vw, 140px) 0 clamp(60px, 9vw, 100px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(201, 169, 106, 0.16), transparent 60%);
}
.page-head .container { position: relative; }
.page-head h1 { color: var(--white); margin-bottom: 12px; }
.page-head p {
  color: rgba(250, 247, 242, 0.85);
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.1rem;
}

/* ---------- Animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s ease, transform .8s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */

/* Tablet and smaller — stack layouts, mobile nav */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: clamp(50px, 8vw, 90px);
    padding-bottom: clamp(60px, 9vw, 110px);
  }
  .hero-photo-frame { max-width: 340px; margin: 0 auto; }
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .two-col-image { max-width: 480px; margin: 0 auto; aspect-ratio: 4/4.3; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .credentials-row { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .proc-list { grid-template-columns: 1fr; }

  .nav { height: 68px; }
  .nav-logo img { height: 34px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a { display: block; padding: 14px; }
  .nav-cta { margin: 10px 24px; }
}

/* Phones — single column, full-width buttons, tighter spacing */
@media (max-width: 700px) {
  .container { padding: 0 20px; }

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

  .btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 24px;
  }
  .btn + .btn { margin-left: 0; margin-top: 12px; }

  .hero-text h1 { font-size: clamp(2.2rem, 8vw, 3rem); }
  .hero-sub { font-size: 1.02rem; margin-bottom: 28px; }
  .hero-meta { gap: 20px 28px; margin-top: 34px; padding-top: 24px; }
  .hero-photo-frame { max-width: 280px; }
  .hero-photo::before {
    top: 14px; left: 14px; right: -14px; bottom: -14px;
  }

  .credentials { padding: 28px 0; }
  .credential-value { font-size: 1.8rem; }
  .credential-label { font-size: 0.68rem; letter-spacing: 1.6px; }

  .page-head {
    padding: clamp(60px, 14vw, 90px) 0 clamp(40px, 8vw, 64px);
  }
  .page-head p { font-size: 1rem; }

  .proc-category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .proc-category-header h2 { font-size: 1.7rem; }
  .proc-category-header .count { font-size: 0.98rem; }

  .form { padding: 28px 22px; }
  .map { height: 300px; }

  .cta-banner { padding: 60px 0; }
  .cta-banner p { font-size: 0.98rem; }

  .timeline { padding-left: 26px; }
  .timeline-item::before { left: -34px; width: 12px; height: 12px; }

  .lead { font-size: 1.25rem; }

  .section { padding: clamp(52px, 11vw, 80px) 0; }
}

/* Small phones — maximize readability */
@media (max-width: 420px) {
  .container { padding: 0 16px; }
  .hero-meta { gap: 14px 20px; }
  .hero-meta-value { font-size: 1.05rem; }
  .credentials-row { gap: 20px; }
  .credential { padding: 0 4px; }
  .card { padding: 28px 24px; }
  .form { padding: 24px 18px; }
  .nav-logo img { height: 30px; }
}
