/* ==========================================================================
   Özel Gaziantep Emek Hastanesi — the site
   --------------------------------------------------------------------------
   Calm confidence. A warm white page, the hospital's own teal deepened for
   type and used bright only where it means "go"; red only for the
   emergency. Fraunces (a soft serif) speaks in the headings, Plus Jakarta
   Sans does the work. Everything a patient needs is one tap from anywhere:
   the call, the appointment, the results, the way here.
   ========================================================================== */
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-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: "Fraunces"; font-style: normal; font-weight: 300 600; font-display: swap; src: url("../fonts/fraunces-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/jakarta-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: "Plus Jakarta Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/jakarta-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; }

:root {
  /* colour — the brand teal (#00a098, the logo's "g") and its deeper voices */
  --teal: #00a098;
  --teal-500: #0b938b;
  --teal-600: #0a7e77;
  --teal-700: #0b6660;
  --teal-800: #0c4f4b;
  --teal-900: #0b3936;
  --mint: #e6f3f0;
  --mint-2: #d3ebe6;
  --paper: #fbfaf6;
  --paper-2: #f4f2ec;
  --sand: #ece6da;
  --ink: #102422;
  --ink-2: #3a4b49;
  --ink-3: #5d6966;                 /* 5.1:1 on the paper (was 4.46) */
  --line: rgba(16, 36, 34, 0.1);
  --line-2: rgba(16, 36, 34, 0.18);
  --white: #ffffff;
  --red: #d33b3d;
  --red-soft: #fbeceb;
  --ok: #2f8a5b;

  /* type */
  --f-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --f-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --t-hero: clamp(2.7rem, 1.4rem + 4.6vw, 5.6rem);
  --t-h2: clamp(2rem, 1.25rem + 2.5vw, 3.4rem);
  --t-h3: clamp(1.3rem, 1.1rem + 0.6vw, 1.6rem);
  --t-lead: clamp(1.06rem, 0.98rem + 0.32vw, 1.24rem);
  --t-body: 1.0625rem;
  --t-small: 0.92rem;
  --t-label: 0.74rem;

  /* space & shape */
  --pad: clamp(1.1rem, 0.4rem + 2.8vw, 3.2rem);
  --max: 1320px;
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-1: 0 1px 2px rgba(16, 36, 34, 0.05), 0 6px 18px -10px rgba(16, 36, 34, 0.18);
  --shadow-2: 0 2px 6px rgba(16, 36, 34, 0.05), 0 26px 50px -28px rgba(11, 57, 54, 0.38);
  --hdr: 84px;

  /* motion */
  --e-out: cubic-bezier(0.22, 1, 0.36, 1);
  --e-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 180ms;
  --d-base: 320ms;
  --d-slow: 650ms;

  /* the reader's own size (accessibility: A / A+ / A++) */
  --scale: 1;
}
@media (max-width: 960px) { :root { --hdr: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; font-size: calc(100% * var(--scale)); scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.65 var(--f-body); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--mint-2); color: var(--teal-900); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; z-index: 200; left: var(--pad); top: -80px; padding: 0.7rem 1rem; border-radius: 999px; background: var(--teal-800); color: var(--white); font-weight: 600; }
.skip:focus { top: 12px; }

/* high contrast (accessibility switch) */

/* ---- layout ------------------------------------------------------------------------ */
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.62); }
.section--paper2 { background: var(--paper-2); }
.section--mint { background: var(--mint); }
.section--night { background: var(--teal-900); color: #eef6f4; }
.label { display: inline-flex; align-items: center; gap: 0.6rem; font: 650 var(--t-label)/1 var(--f-body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--teal-700); }
.label::before { content: ""; width: 1.4rem; height: 1.5px; background: currentColor; opacity: 0.6; }
.section--night .label { color: #8fd6cd; }
.h2 { font: 400 var(--t-h2)/1.06 var(--f-display); font-variation-settings: "opsz" 120; letter-spacing: -0.02em; text-wrap: balance; }
.h2 em, .hero__title em { font-style: italic; color: var(--teal-600); font-weight: 400; }
.section--night .h2 em { color: #7fd3c8; }
.h3 { font: 450 var(--t-h3)/1.2 var(--f-display); font-variation-settings: "opsz" 60; letter-spacing: -0.01em; }
.lead { font-size: var(--t-lead); line-height: 1.6; color: var(--ink-2); max-width: 40rem; }
.section--night .lead { color: rgba(238, 246, 244, 0.78); }
.head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.2rem, 1.4rem + 2.6vw, 3.6rem); }
.head--split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); align-items: end; gap: 1.1rem clamp(2rem, 1rem + 4vw, 5rem); }
.head--split > .lead { justify-self: end; }
@media (max-width: 880px) { .head--split { grid-template-columns: 1fr; } .head--split > .lead { justify-self: start; } }

/* ---- buttons ----------------------------------------------------------------------- */
.btn { --bg: var(--teal-700); --fg: var(--white); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 3rem; padding: 0 1.35rem;
  border-radius: 999px; background: var(--bg); color: var(--fg); font: 650 0.95rem/1 var(--f-body); letter-spacing: 0.005em; white-space: nowrap;
  transition: background var(--d-base) var(--e-out), color var(--d-base) var(--e-out), box-shadow var(--d-base) var(--e-out), transform var(--d-base) var(--e-out); }
.btn:hover { --bg: var(--teal-800); box-shadow: 0 12px 24px -14px rgba(11, 57, 54, 0.7); transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.985); }
.btn svg { width: 1.1rem; height: 1.1rem; flex: none; }
.btn--bright { --bg: #00837c; }                 /* the bright teal, a step deeper: white on it reads 4.6:1 (3.2 before) */
.btn--bright:hover { --bg: #007770; }
.btn--ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--ghost:hover { --bg: var(--white); box-shadow: inset 0 0 0 1.5px var(--ink), 0 10px 20px -16px rgba(16, 36, 34, 0.5); }
.btn--light { --bg: var(--white); --fg: var(--teal-900); }
.btn--light:hover { --bg: var(--mint); }
.btn--red { --bg: var(--red); }
.btn--red:hover { --bg: #b92e30; }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; font-size: 0.88rem; }
.btn--lg { min-height: 3.5rem; padding: 0 1.7rem; font-size: 1rem; }
.link { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; color: var(--teal-700); }
.link svg { width: 1rem; height: 1rem; transition: transform var(--d-base) var(--e-out); }
.link:hover svg { transform: translateX(3px); }
.icon { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
