/* drmertcanli.com.tr — static rebuild of the one-page clinic site */

@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/marcellus-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Marcellus'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/marcellus-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/bevietnampro-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/bevietnampro-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/bevietnampro-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Be Vietnam Pro'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/bevietnampro-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --cream: #FAF8F4;
  --ink: #1C2321;
  --green: #4E7569;
  --green-dark: #1B4635;
  --text: #6E7370;
  --line: #E1E1E1;
  --white-50: rgba(255, 255, 255, .5);
  --serif: 'Marcellus', Georgia, serif;
  --sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; background: var(--cream); color: var(--text);
  font-family: var(--sans); font-size: 18px; line-height: 1.3;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--serif); font-weight: 400; color: var(--ink); margin: 0; }
p { margin: 0; }
.container { width: 100%; max-width: calc(var(--container) + 30px); margin: 0 auto; padding: 0 15px; position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 100; }
.skip-link:focus { left: 8px; }

.eyebrow {
  font-family: var(--serif); font-size: 12px; line-height: 1; letter-spacing: .3em;
  text-transform: uppercase; color: var(--green); margin-bottom: 15px;
}
.section-title { font-size: 48px; line-height: 1.15; }
.section-title .accent { color: var(--green); }
.deco { position: absolute; pointer-events: none; user-select: none; max-width: none; }
.glow { width: 155px; filter: blur(30px); }

/* ---------- Header ---------- */
.site-header { position: absolute; top: 0; left: 0; right: 0; z-index: 30; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 139px; padding-top: 10px; }
.main-nav { margin-top: -4px; }
.brand img { width: 200px; height: 69px; object-fit: contain; }
.brand .logo-dark { display: none; }
.main-nav { display: flex; align-items: center; }
.main-nav > a, .lang > button {
  font-family: var(--serif); font-size: 15px; line-height: 23.4px; color: #fff;
  padding: 10px 25px; display: inline-flex; align-items: center; gap: 6px;
  background: none; border: 0; cursor: pointer; transition: opacity .2s;
}
.main-nav > a:hover, .lang > button:hover { opacity: .7; }
.main-nav > .lang:last-child > button { padding-right: 0; }
.flag { width: 16px; height: 11px; display: inline-block; flex: none; }
.lang { position: relative; }
.lang-menu {
  position: absolute; right: 0; top: 100%; min-width: 180px; background: #fff; border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1); padding: 6px 0; margin: 0; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s;
}
.lang:hover .lang-menu, .lang:focus-within .lang-menu { opacity: 1; visibility: visible; transform: none; }
.lang-menu a { display: flex; align-items: center; gap: 8px; padding: 11px 26px; font-family: var(--serif); font-size: 15px; color: rgba(0, 0, 0, .55); }
.lang-menu a:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 24px; height: 24px; display: block; }

/* Sticky header that slides in when scrolling back up */
.site-header.is-sticky { position: fixed; background: #fff; box-shadow: 0 10px 40px rgba(0, 0, 0, .07); animation: header-in .3s ease; }
.site-header.is-sticky .container { height: 90px; padding-top: 0; }
.site-header.is-sticky .brand img { width: 160px; height: 55px; }
.site-header.is-sticky .logo-light { display: none; }
.site-header.is-sticky .logo-dark { display: block; }
.site-header.is-sticky .main-nav > a, .site-header.is-sticky .lang > button, .site-header.is-sticky .nav-toggle { color: var(--ink); }
@keyframes header-in { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center;
  background: #2b2f2e url(/assets/img/hero-1920.webp) center / cover no-repeat; color: #fff; overflow: hidden;
}
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(260deg, rgba(0, 0, 0, .5) 60%, rgba(0, 0, 0, .35) 100%); }
.hero .container { z-index: 2; }
.hero-content { max-width: 720px; }
.hero .eyebrow { color: #fff; margin-bottom: 15.6px; }
.hero h1 { font-size: 70px; line-height: 1.1; color: #fff; }
.hero h1 span { display: block; }
.hero-lead { margin-top: 35px; max-width: 555px; color: var(--white-50); font-size: 18px; line-height: 1.3; }
.hero-actions { margin-top: 29px; display: flex; align-items: center; gap: 60px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; background: var(--green-dark); color: #fff;
  font-family: var(--serif); font-size: 13px; line-height: 1.2; letter-spacing: .06em; text-transform: uppercase;
  padding: 15.6px 32.5px; border-radius: 12px; border: 0; cursor: pointer; transition: background .25s, transform .25s;
}
.btn:hover { background: var(--green); }
.hero-phone { font-family: var(--serif); font-size: 13px; letter-spacing: .06em; color: #fff; }
.wave { position: absolute; left: 0; width: calc(100% + 1.3px); height: 100px; display: block; pointer-events: none; }
.wave path { fill: var(--cream); }
.hero .wave { bottom: -1px; transform: rotate(180deg); z-index: 1; }

/* ---------- Services ---------- */
.services { position: relative; padding: 120px 0 8px; }
.services .deco.line { left: 6px; top: 22px; width: 1707px; height: 587px; }
.services .deco.glow { left: calc(50% + 55px); top: 45px; }
.services-head { text-align: center; padding-bottom: 50px; position: relative; }
.services-list { list-style: none; margin: 0; padding: 0; position: relative; }
.service { display: grid; grid-template-columns: 96px 1fr 540px; align-items: center; padding: 35px 0; border-bottom: 1px solid var(--line); }
.service-no { font-family: var(--serif); font-size: 12px; line-height: 1; color: var(--ink); }
.service h3 { font-size: 30px; line-height: 1.3; color: #000; }
.service p { font-size: 14px; line-height: 1.5; color: rgba(110, 115, 112, .7); }

/* ---------- About ---------- */
.about { position: relative; padding: 152px 0 132px; z-index: 1; }
.about .container { display: grid; grid-template-columns: 1fr 540px; gap: 0 0; }
.about-media { position: relative; min-height: 500px; }
.about .deco.c1 { left: 283px; top: -110px; width: 380px; opacity: .25; }
.about .deco.c2 { left: 341px; top: -110px; width: 325px; opacity: .25; }
.about-photo { position: absolute; left: -20px; bottom: -85px; width: 346px; height: 500px; object-fit: cover; border-radius: 24px; }
.about-text { position: relative; }
.about .deco.glow { left: 190px; top: -8px; width: 385px; }
.about h2 { margin-bottom: 31.2px; position: relative; }
.about-body { position: relative; max-width: 486px; color: var(--text); font-size: 18px; line-height: 1.3; }
.about-body p + p { margin-top: 23.4px; }

/* ---------- Process ---------- */
.process { position: relative; padding: 100px 0 179px; }
.process-head { text-align: center; max-width: 720px; margin: 0 auto; position: relative; }
.process .deco.glow { left: -10px; top: 70px; width: 220px; }
.process h2 { margin-bottom: 31.2px; position: relative; }
.process-intro { max-width: 648px; margin: 0 auto; font-size: 18px; line-height: 1.3; position: relative; }
.steps { display: grid; grid-template-columns: repeat(3, 300px); justify-content: space-between; margin-top: 80px; }
.step svg { width: 50px; height: 50px; display: block; margin-bottom: 25px; }
.step h3 { font-size: 24px; line-height: 1; margin-bottom: 16.8px; }
.step p { font-size: 14px; line-height: 1.5; }

/* ---------- Appointment form ---------- */
.appointment { position: relative; overflow-x: clip; background: linear-gradient(#fff 0%, var(--cream) 98%); padding: 240px 0 100px; }
.appointment .wave { top: -1px; height: 55px; }
.appointment .container { display: grid; grid-template-columns: 1fr 540px; align-items: center; }
.appointment-head { position: relative; }
.appointment .deco.glow { left: -20px; top: -95px; width: 220px; }
.appointment-head > :not(.deco) { position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.form-grid .full { grid-column: 1 / -1; }
.field input, .field textarea {
  width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 4px; background: transparent;
  padding: 1px 28px; font: 14px/21px var(--sans); color: var(--text); outline: none; transition: border-color .2s;
}
.field textarea { height: 156px; padding: 14px 28px; border-radius: 0; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.field ::placeholder { color: var(--text); opacity: 1; }
.consent { min-height: 52px; display: flex; align-items: center; gap: 14px; font-size: 14px; line-height: 1.6; color: var(--text); margin: 0; cursor: pointer; }
.consent input { width: 26px; height: 26px; flex: none; margin: 0; accent-color: var(--green-dark); border: 1px solid var(--line); }
.consent span { flex: 1; text-align: center; max-width: 430px; margin: 0 auto; }
.consent a { text-decoration: underline; text-underline-offset: 2px; }
.submit { width: 100%; height: 40px; border-radius: 4px; text-transform: none; padding: 0 36px; margin-top: 5px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lead-form { position: relative; }
.form-status { position: absolute; left: 0; right: 0; top: 100%; font-size: 14px; line-height: 1.5; margin-top: 12px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--green-dark); }
.form-status.err { color: #a33a2b; }

/* EN: the same form opens in a lightbox from "Book an Appointment" */
.form-dialog { border: 0; padding: 0; width: min(1170px, calc(100% - 40px)); max-width: none; max-height: calc(100vh - 40px); background: transparent; overflow: visible; }
.form-dialog::backdrop { background: rgba(0, 0, 0, .8); }
.form-dialog .dialog-box { position: relative; background: linear-gradient(#fff 0%, var(--cream) 98%); padding: 0 15px; min-height: 705px; display: flex; align-items: center; overflow: auto; max-height: calc(100vh - 40px); }
.form-dialog .dialog-box .wave { top: 0; height: 80px; }
.form-dialog .dialog-inner { display: grid; grid-template-columns: 1fr 513px; gap: 40px; width: 100%; padding: 140px 15px 60px; align-items: center; }
.dialog-close { position: fixed; top: 22px; right: 28px; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; }
.dialog-close svg { width: 22px; height: 22px; display: block; }

/* ---------- Contact strip ---------- */
.contact-strip { position: relative; padding: 50px 0 0; height: 344px; }
.contact-strip .deco.line { left: 2px; top: -165px; width: 2092px; height: 909px; }
.contact-strip .deco.glow { left: calc(50% - 150px); top: -12px; width: 150px; }
.contact-row { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 0 10px; position: relative; }
.contact-item { padding-left: 8px; font-size: 14px; line-height: 1.5; white-space: nowrap; }
.contact-item strong { white-space: nowrap; display: block; margin-top: 7px; font: 15px/1 var(--serif); color: var(--ink); text-transform: uppercase; }
.contact-item.address strong { text-transform: none; margin-top: 15px; }
.contact-sep { flex: 0 1 144px; height: 1px; background: var(--ink); }

.map { position: relative; display: block; width: 100%; height: 300px; border: 0; background: #e8e6e1; }

/* ---------- Footer ---------- */
.site-footer { background: #27503E; color: #fff; padding: 60px 0 0; }
.footer-logo img { width: 200px; height: 69px; object-fit: contain; }
.footer-row { display: flex; align-items: center; justify-content: space-between; margin-top: 55px; padding-bottom: 30px; border-bottom: 1px solid rgba(225, 225, 225, .2); }
.footer-tagline { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }
.footer-nav { display: flex; align-items: center; gap: 54px; }
.footer-nav a { font: 15px/23.4px var(--serif); color: #fff; display: inline-flex; align-items: center; gap: 6px; }
.footer-nav a:hover { opacity: .7; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding: 37px 0 60px; }
.footer-bottom .social { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; color: #fff; margin-left: -1px; }
.footer-bottom .social svg { width: 16px; height: 16px; }
.copyright { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .72); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  .main-nav > a { padding: 10px 14px; }
  .service { grid-template-columns: 60px 1fr 1fr; gap: 20px; }
  .about .container, .appointment .container { grid-template-columns: 1fr 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .contact-strip { height: auto; padding: 50px 0 60px; }
  .contact-row { flex-direction: column; gap: 22px; padding: 0; text-align: center; }
  .contact-item { width: 100%; white-space: normal; padding-left: 0; }
  .contact-sep { flex: none; width: 60%; }
  .footer-nav { gap: 28px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  body { font-size: 16px; }
  .site-header .container { height: 112px; padding-top: 0; }
  .brand img { width: 170px; height: 59px; }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; inset: 0 0 auto 0; top: 0; flex-direction: column; align-items: stretch; background: #fff;
    padding: 100px 20px 30px; box-shadow: 0 20px 40px rgba(0, 0, 0, .12);
    transform: translateY(-105%); transition: transform .35s ease; z-index: -1;
  }
  .site-header.menu-open .main-nav { transform: none; }
  .site-header.menu-open .nav-toggle { color: var(--ink); }
  .site-header.menu-open .logo-light { display: none; }
  .site-header.menu-open .logo-dark { display: block; }
  .main-nav > a, .lang > button { color: var(--ink); padding: 14px 6px; border-bottom: 1px solid var(--line); font-size: 17px; width: 100%; }
  .main-nav > .lang:last-child > button { padding-right: 6px; }
  .lang-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; padding: 0; }
  .lang-menu a { padding: 12px 6px; }

  .hero { align-items: flex-start; padding-top: 112px; min-height: 840px; background-image: url(/assets/img/hero-960.webp); background-position: 30% center; }
  .hero h1 { font-size: 12vw; }
  .hero-lead { margin-top: 20px; }
  .hero-actions { gap: 20px; justify-content: space-between; margin-top: 30px; }
  .btn { padding: 15px 32px; }
  .wave { height: 60px; }

  .section-title { font-size: 9vw; }
  .services { padding-top: 90px; }
  .services .deco.line { width: 900px; height: 310px; }
  .services-head { padding-bottom: 40px; }
  .service { grid-template-columns: 1fr; text-align: center; gap: 12px; padding: 40px 0; }
  .service h3 { font-size: 30px; }
  .service p { font-size: 14px; }

  .about { padding: 80px 0 40px; }
  .about .container { grid-template-columns: 1fr; }
  .about-media { order: 2; min-height: 0; margin-top: 40px; }
  .about-photo { position: relative; left: 0; bottom: 0; width: 100%; max-width: 346px; height: auto; aspect-ratio: 346 / 500; margin: 0 auto; }
  .about .deco.c1, .about .deco.c2 { display: none; }
  .about-text { text-align: center; }
  .about-body { margin: 0 auto; font-size: 18px; }
  .about .deco.glow { left: 30%; width: 260px; }

  .process { padding: 80px 0 90px; }
  .steps { grid-template-columns: 1fr; gap: 60px; margin-top: 70px; }

  .appointment { padding: 140px 0 70px; }
  .appointment .container { grid-template-columns: 1fr; gap: 50px; }
  .appointment-head { text-align: center; }
  .form-grid { grid-template-columns: 1fr; }

  .form-dialog .dialog-inner { grid-template-columns: 1fr; padding: 100px 5px 40px; }
  .form-dialog .dialog-box { min-height: 0; }

  .contact-strip { height: auto; padding: 50px 0 60px; }
  .contact-row { flex-direction: column; gap: 22px; padding: 0; text-align: center; }
  .contact-item { width: 100%; }
  .contact-sep { flex: none; width: 80%; }

  .footer-row { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 40px; }
  .footer-nav { flex-wrap: wrap; gap: 18px 46px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
}
