/* drhalil.com: one shared stylesheet for both languages. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(/assets/fonts/inter-latin-wght-normal.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: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/lora-cyrillic-wght-normal.woff2) format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Lora"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/lora-latin-wght-normal.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 {
  --bg: #faf6ef;
  --bg-alt: #f3ecdf;
  --card: #fffdf9;
  --ink: #0d4f57;        /* deep teal: headings, primary buttons */
  --ink-2: #0a3d43;
  --text: #283638;
  --muted: #586668;
  --line: #e6dccb;
  --teal: #00c3d4;       /* brand: decoration only */
  --teal-tint: #dff4f2;
  --orange: #fa8743;     /* brand: decoration only */
  --orange-ink: #a8481a; /* orange that passes as text */
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;
  --radius: 22px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--orange-ink); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--serif); color: var(--ink); font-weight: 600; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; }
h3 { font-size: 20px; line-height: 1.3; }
p { margin: 0 0 1em; }
.icon { width: 20px; height: 20px; flex: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: #fff;
  font: 600 16px/1 var(--sans); text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { background: var(--ink-2); border-color: var(--ink-2); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-small { min-height: 42px; padding: 0 18px; font-size: 15px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.header-row { display: flex; align-items: center; gap: 28px; min-height: 72px; }
.logo img { width: 101px; height: 36px; }
.nav { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding: 0 10px;
  border: 1.5px solid var(--line); border-radius: 999px;
  font-weight: 600; font-size: 14px; letter-spacing: .04em; text-decoration: none; color: var(--ink);
}
.lang:hover { border-color: var(--ink); color: var(--ink); }

/* ---------- hero ---------- */
.hero {
  overflow-x: clip;
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 88px); align-items: center;
  padding-top: clamp(40px, 7vw, 96px); padding-bottom: clamp(56px, 8vw, 112px);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 20px;
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-ink);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 70px); line-height: 1.04; letter-spacing: -.02em; max-width: 13ch; }
.tagline { margin: 18px 0 0; font: 500 clamp(20px, 2vw, 24px)/1.3 var(--serif); color: var(--orange-ink); }
.lead { margin: 18px 0 0; max-width: 34ch; font-size: clamp(18px, 1.6vw, 20px); color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-media { position: relative; margin: 0; }
.hero-media::before, .hero-media::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background-image: radial-gradient(currentColor 2px, transparent 2.6px);
  background-size: 20px 20px;
}
.hero-media::before { color: var(--teal); width: 46%; height: 42%; left: -9%; bottom: -8%; opacity: .55; }
.hero-media::after { color: var(--orange); width: 38%; height: 34%; right: -6%; top: -7%; opacity: .55; }
.hero-img {
  width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover;
  border-radius: calc(var(--radius) * 1.6) calc(var(--radius) * 1.6) calc(var(--radius) * 1.6) 6px;
  box-shadow: 0 30px 60px -30px rgba(13, 79, 87, .35);
  background: #f2c14e;
}
.hours-card {
  position: absolute; left: clamp(-28px, -2vw, -12px); bottom: 28px;
  display: grid; gap: 2px; padding: 16px 20px;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 18px 40px -18px rgba(13, 79, 87, .3);
  font-size: 15px; color: var(--text);
}
.hours-card strong { color: var(--ink); font-size: 17px; }
.hours-title { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.hours-title .icon { width: 16px; height: 16px; color: var(--orange-ink); }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head p { margin: 0; color: var(--muted); font-size: 18px; max-width: 40ch; }
.rounded { border-radius: var(--radius); background: #f2c14e; }
.tall { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-reverse { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
.split-text h2 { margin-bottom: 24px; }
.split-text > p { max-width: 58ch; }

.approach { background: var(--bg-alt); }
.stats { display: flex; gap: 48px; margin: 32px 0 0; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { display: flex; flex-direction: column-reverse; }
.stat dd { margin: 0; font: 600 clamp(36px, 4vw, 48px)/1 var(--serif); color: var(--ink); }
.stat dt { margin-top: 8px; font-size: 14px; color: var(--muted); }

/* services */
.services-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2fr); gap: 24px; align-items: stretch; }
.services-img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; list-style: none; margin: 0; padding: 0; }
.card {
  padding: 26px 26px 22px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--teal) 45%, var(--line)); box-shadow: 0 20px 40px -26px rgba(13, 79, 87, .35); }
.card h3 { margin: 18px 0 8px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon-badge { width: 48px; height: 48px; padding: 12px; border-radius: 14px; background: var(--teal-tint); color: var(--ink); }
.card:nth-child(even) .icon-badge { background: #fde6d6; color: var(--orange-ink); }

/* help */
.help { background: var(--bg-alt); }
.checklist { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist strong { color: var(--ink); font-weight: 600; }
.icon-check { width: 26px; height: 26px; padding: 4px; margin-top: 1px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.4; }

/* team */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.person { padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.person-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: calc(var(--radius) - 8px); margin-bottom: 18px; }
.monogram {
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, #e9f7f5, var(--teal-tint) 60%, #cfeeea);
  font: 600 clamp(56px, 7vw, 84px)/1 var(--serif); color: var(--ink); letter-spacing: .02em;
}
.person:nth-child(even) .monogram { background: radial-gradient(circle at 30% 25%, #fff1e7, #fde6d6 60%, #f9d6bf); color: var(--orange-ink); }
.person h3 { font-size: 22px; }
.person p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }

/* contact */
.contact-card {
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(32px, 5vw, 72px);
  padding: clamp(32px, 5vw, 64px); border-radius: calc(var(--radius) * 1.5);
  background: var(--ink); color: #e3efee; position: relative; overflow: hidden; isolation: isolate;
}
.contact-card::after {
  content: ""; position: absolute; left: -20px; bottom: -30px; width: 240px; height: 130px; z-index: -1;
  background-image: radial-gradient(var(--teal) 2px, transparent 2.6px); background-size: 20px 20px; opacity: .35;
}
.contact-card h2 { color: #fff; }
.contact-intro p { margin-top: 18px; color: #c6dcda; font-size: 18px; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 40px; }
.contact-item h3 {
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
  font: 600 13px/1.3 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9fd9d6;
}
.contact-item h3 .icon { width: 18px; height: 18px; color: var(--orange); }
.contact-item p, .contact-item address { margin: 0; font-style: normal; font-size: 18px; color: #fff; }
.contact-item a { color: #fff; text-decoration-color: rgba(255, 255, 255, .4); }
.contact-item a:hover { color: #ffd2b5; text-decoration-color: currentColor; }
.stack { display: grid; gap: 4px; }
.maps { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 15px; }
.maps .icon { width: 16px; height: 16px; }
.hours { border-collapse: collapse; font-size: 17px; }
.hours th { text-align: left; font-weight: 400; color: #c6dcda; padding: 0 0 4px; display: block; }
.hours td { color: #fff; padding: 0; display: block; }

/* footer */
.site-footer { padding: 40px 0 48px; border-top: 1px solid var(--line); }
.footer-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px 40px; align-items: center; }
.footer-row img { width: 84px; height: 30px; }
.footer-meta { margin: 0; justify-self: end; display: flex; gap: 20px; font-size: 14px; color: var(--muted); }

/* mobile call bar */
.call-bar { display: none; }

/* 404 */
.notfound { min-height: 100svh; display: grid; align-content: center; justify-items: start; gap: 0; }
.notfound .logo { margin-bottom: 48px; }
.notfound h1 { font-size: clamp(36px, 5vw, 60px); }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .nav { display: none; }
}
@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 84px; }
  .hero, .split, .split-reverse, .section-head, .services-grid, .contact-card, .footer-row { grid-template-columns: 1fr; }
  .hero { padding-top: 32px; }
  .hero-media { order: -1; }
  .hero-img { aspect-ratio: 4 / 3; }
  .hours-card { left: 12px; bottom: -22px; }
  .hero-text { padding-top: 16px; }
  .split-reverse .split-media { order: -1; }
  .tall { aspect-ratio: 4 / 3; }
  .services-img { display: none; }
  .contact-card::after { display: none; }
  .people { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .person { padding: 14px; }
  .person h3 { font-size: 18px; }
  .footer-meta { flex-wrap: wrap; }
  .btn-small span { display: none; }
  .btn-small { width: 42px; padding: 0; justify-content: center; }
  .call-bar {
    position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom));
    z-index: 60; display: flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 56px; border-radius: 999px;
    background: var(--ink); color: #fff; text-decoration: none; font-weight: 600;
    box-shadow: 0 14px 34px -12px rgba(10, 61, 67, .55);
  }
  .call-bar:hover { color: #fff; }
}
@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .stats { gap: 32px; }
  .cta-row .btn { flex: 1 1 auto; justify-content: center; }
}

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