/* ==========================================================================
   EVG - dogalgaztamiri.com
   Display: Space Grotesk. Body: Inter. Both self-hosted, Turkish subset.
   ========================================================================== */

@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/space-grotesk-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

@layer reset, tokens, base, layout, components, utilities;

/* ------------------------------------------------------------------ reset */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
  ul, ol { padding: 0; list-style: none; }
  img, svg, video { display: block; max-width: 100%; }
  img { height: auto; }
  button, input, textarea, select { font: inherit; color: inherit; }
  a { color: inherit; text-decoration: none; }
  table { border-collapse: collapse; width: 100%; }
  summary::-webkit-details-marker { display: none; }
}

/* ----------------------------------------------------------------- tokens */
@layer tokens {
  :root {
    /* Brand - sampled from the supplied logo. Do not invent new values. */
    --dgt-lacivert: #00346C;
    --dgt-lacivert-k: #00234A;
    --dgt-mavi: #0A6FBF;
    --dgt-mavi-koyu: #085A9B;
    --dgt-yesil: #3FD730;
    --dgt-yesil-koyu: #1A7D13;
    --dgt-gradyan: linear-gradient(135deg, var(--dgt-mavi), var(--dgt-yesil));

    /* Surfaces and text */
    --dgt-zemin: #FFFFFF;
    --dgt-zemin-alt: #F3F6F8;
    --dgt-metin: #14181D;
    --dgt-ikincil: #5A6470;
    --dgt-hairline: color-mix(in srgb, var(--dgt-ikincil), transparent 70%);
    --dgt-hairline-ters: color-mix(in srgb, #FFFFFF, transparent 78%);

    /* Type */
    --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, sans-serif;

    /* Rhythm */
    --content: min(1220px, 92vw);
    --measure: 68ch;
    --space-section: clamp(74px, 9vw, 132px);
    --radius: 4px;
  }
}

/* ------------------------------------------------------------------- base */
@layer base {
  html { scroll-behavior: smooth; }

  body {
    min-width: 320px;
    background: var(--dgt-zemin);
    color: var(--dgt-metin);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
  }

  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--dgt-lacivert);
    text-wrap: balance;
  }

  h1 { font-size: clamp(38px, 6vw, 68px); font-weight: 700; }
  h2 { font-size: clamp(29px, 3.8vw, 46px); }
  h3 { font-size: clamp(20px, 2vw, 25px); }
  h4 { font-size: 18px; }

  p { color: var(--dgt-ikincil); }
  p + p { margin-top: 1em; }

  strong { font-weight: 500; color: var(--dgt-metin); }

  a { color: var(--dgt-mavi); }
  a:hover { color: var(--dgt-mavi-koyu); }

  :focus-visible {
    outline: 3px solid var(--dgt-mavi);
    outline-offset: 3px;
    border-radius: 2px;
  }

  ::selection { background: var(--dgt-lacivert); color: #fff; }

  /* Turkish text: keep the dotted/dotless I distinction intact. */
  :lang(tr) { font-variant-ligatures: none; }
}

/* ----------------------------------------------------------------- layout */
@layer layout {
  .container { width: var(--content); margin-inline: auto; }
  .container--narrow { width: min(820px, 92vw); margin-inline: auto; }

  .section { padding-block: var(--space-section); }
  .section--alt { background: var(--dgt-zemin-alt); }
  .section--dark { background: var(--dgt-lacivert); color: #fff; }
  .section--dark h2, .section--dark h3 { color: #fff; }
  .section--dark p { color: color-mix(in srgb, #fff, transparent 22%); }

  .skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 12px 18px;
    background: var(--dgt-lacivert);
    color: #fff;
  }
  .skip-link:focus { left: 8px; top: 8px; }

  main { display: block; }
}

/* ------------------------------------------------------------- components */
@layer components {

  /* ---- shared bits ---- */

  .label {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 12px;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    font-variant-numeric: tabular-nums;
    color: var(--dgt-mavi);
    display: inline-block;
  }
  .section--dark .label { color: var(--dgt-yesil); }

  .num {
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
  }

  /* The logo gradient, allowed ONLY as a thin rule or a small icon fill. */
  .accent-rule {
    display: block; /* a bare span is inline and would ignore width/height */
    height: 3px;
    width: 68px;
    background: var(--dgt-gradyan);
    border-radius: 2px;
  }

  .label__num { color: inherit; opacity: .75; }

  .section-head { max-width: var(--measure); }
  .section-head .label { margin-bottom: 14px; }
  .section-head h2 { margin-bottom: 16px; }

  .button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 14px 22px;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.01em;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background-color .18s ease, color .18s ease, border-color .18s ease;
  }
  .button--primary { background: var(--dgt-mavi); color: #fff; }
  .button--primary:hover { background: var(--dgt-mavi-koyu); color: #fff; }
  .button--ghost { border-color: var(--dgt-hairline); color: var(--dgt-lacivert); background: transparent; }
  .button--ghost:hover { border-color: var(--dgt-lacivert); color: var(--dgt-lacivert); }
  .button--on-dark { border-color: var(--dgt-hairline-ters); color: #fff; background: transparent; }
  .button--on-dark:hover { border-color: #fff; background: color-mix(in srgb, #fff, transparent 90%); color: #fff; }
  .button .icon { flex: none; }

  /* ---- urgency strip (signature detail) ---- */

  .urgency {
    background: var(--dgt-lacivert-k);
    color: #fff;
    font-size: 14px;
  }
  .urgency__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 18px;
    padding-block: 9px;
  }
  .urgency__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--dgt-yesil);
    flex: none;
    animation: dgt-pulse 2.4s ease-in-out infinite;
  }
  .urgency__text { font-family: var(--font-display); font-weight: 500; letter-spacing: .02em; }
  .urgency__note { color: color-mix(in srgb, #fff, transparent 35%); }
  .urgency__call {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff;
    font-variant-numeric: tabular-nums;
    font-family: var(--font-display);
    font-weight: 500;
  }
  .urgency__call:hover { color: var(--dgt-yesil); }

  @keyframes dgt-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.78); }
  }

  /* ---- header ---- */

  .site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: color-mix(in srgb, var(--dgt-zemin), transparent 4%);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--dgt-hairline);
  }
  .header-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 14px;
  }
  .brand { display: inline-flex; align-items: center; gap: 11px; min-width: 0; }
  .brand img { width: auto; height: 40px; }
  .brand__text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
  .brand__name {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 19px;
    letter-spacing: .01em;
    color: var(--dgt-lacivert);
  }
  .brand__sub {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 10px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--dgt-ikincil);
  }

  .site-nav { margin-inline-start: auto; }
  .nav-list { display: flex; align-items: center; gap: 26px; }
  .nav-link {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 15px;
    color: var(--dgt-lacivert);
    padding-block: 6px;
    position: relative;
  }
  .nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--dgt-gradyan);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .2s ease;
  }
  .nav-link:hover::after,
  .current-menu-item > .nav-link::after { transform: scaleX(1); }

  .header-call { flex: none; }

  .nav-toggle {
    display: none;
    margin-inline-start: auto;
    padding: 9px 12px;
    background: transparent;
    border: 1px solid var(--dgt-hairline);
    border-radius: var(--radius);
    color: var(--dgt-lacivert);
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
  }

  /* ---- hero: full navy field, no photo required ---- */

  .hero {
    background: var(--dgt-lacivert);
    color: #fff;
    position: relative;
    overflow: hidden;
    padding-block: clamp(58px, 8vw, 108px);
  }
  /* Faint technical rule-work stands in for photography. */
  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
      linear-gradient(color-mix(in srgb, #fff, transparent 94%) 1px, transparent 1px),
      linear-gradient(90deg, color-mix(in srgb, #fff, transparent 94%) 1px, transparent 1px);
    background-size: 68px 68px;
    mask-image: radial-gradient(ellipse 80% 70% at 78% 25%, #000 20%, transparent 75%);
    pointer-events: none;
  }
  .hero > * { position: relative; }
  .hero__label { color: var(--dgt-yesil); margin-bottom: 18px; }
  .hero h1 { color: #fff; max-width: 15ch; }
  .hero__copy {
    margin-top: 20px;
    max-width: 54ch;
    font-size: clamp(17px, 1.6vw, 19px);
    color: color-mix(in srgb, #fff, transparent 20%);
  }
  .hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

  .hero__media { margin-top: 40px; border-radius: var(--radius); overflow: hidden; }
  .hero__media img { width: 100%; height: auto; }

  /* Technical data rail */
  .hero__rail {
    margin-top: clamp(38px, 5vw, 60px);
    padding-top: 26px;
    border-top: 1px solid var(--dgt-hairline-ters);
    display: grid;
    gap: 22px;
    grid-template-columns: 1fr;
  }
  .rail__item { display: flex; flex-direction: column; gap: 5px; }
  .rail__label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: color-mix(in srgb, #fff, transparent 48%);
  }
  .rail__value {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 17px;
    font-variant-numeric: tabular-nums;
    color: #fff;
  }
  a.rail__value:hover { color: var(--dgt-yesil); }

  /* ---- services: numbered index table, not a card grid ---- */

  .service-index { margin-top: clamp(34px, 4vw, 54px); border-top: 1px solid var(--dgt-hairline); }

  .service-row {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 4px 18px;
    align-items: center;
    padding: 22px 4px;
    border-bottom: 1px solid var(--dgt-hairline);
    position: relative;
    transition: background-color .18s ease, padding-inline-start .18s ease;
  }
  .service-row::before {
    content: "";
    position: absolute;
    left: 0; top: -1px; bottom: -1px;
    width: 3px;
    background: var(--dgt-gradyan);
    transform: scaleY(0);
    transition: transform .2s ease;
  }
  .service-row:hover { background: var(--dgt-zemin-alt); padding-inline-start: 16px; }
  .service-row:hover::before { transform: scaleY(1); }
  .service-row:focus-within { background: var(--dgt-zemin-alt); }

  .service-row__num {
    grid-row: span 2;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
    font-size: 13px;
    color: var(--dgt-mavi);
    align-self: start;
    padding-top: 5px;
  }
  .service-row__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(19px, 2.1vw, 25px);
    color: var(--dgt-lacivert);
    letter-spacing: -0.015em;
  }
  .service-row__title a::after { content: ""; position: absolute; inset: 0; }
  .service-row__excerpt { grid-column: 2; color: var(--dgt-ikincil); font-size: 15px; }
  .service-row__go {
    grid-row: span 2;
    color: var(--dgt-mavi);
    transition: transform .2s ease;
  }
  .service-row:hover .service-row__go { transform: translateX(4px); }

  .services__foot { margin-top: 30px; }

  /* ---- process: horizontal stepper ---- */

  .process__steps {
    margin-top: clamp(34px, 4vw, 56px);
    display: grid;
    gap: 26px;
    counter-reset: step;
  }
  .step { position: relative; padding-inline-start: 44px; }
  .step__node {
    position: absolute;
    left: 0; top: 3px;
    width: 26px; height: 26px;
    border-radius: 50%;
    border: 1.5px solid var(--dgt-hairline);
    background: var(--dgt-zemin);
    display: grid;
    place-items: center;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: var(--dgt-ikincil);
  }
  .step:first-child .step__node {
    border-color: var(--dgt-yesil-koyu);
    background: var(--dgt-yesil-koyu);
    color: #fff;
  }
  /* Connector line between nodes. */
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 13px; top: 32px; bottom: -26px;
    width: 1px;
    background: var(--dgt-hairline);
  }
  .step h3 { font-size: 18px; margin-bottom: 5px; }
  .step p { font-size: 15px; }

  /* ---- safety: inverted two-column ---- */

  .safety__grid { margin-top: clamp(30px, 4vw, 50px); display: grid; gap: 0; }

  .safety__signs { padding: clamp(26px, 3vw, 40px); background: var(--dgt-zemin-alt); }
  .safety__steps { padding: clamp(26px, 3vw, 40px); background: var(--dgt-lacivert); color: #fff; }
  .safety__steps h3 { color: #fff; }
  .safety__panel-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 18px; margin-bottom: 18px;
  }
  .safety__signs .icon { color: var(--dgt-mavi); }
  .safety__steps .icon { color: var(--dgt-yesil); }

  .sign-list li {
    display: flex; gap: 11px;
    padding-block: 11px;
    border-bottom: 1px solid var(--dgt-hairline);
    font-size: 15px;
    color: var(--dgt-metin);
  }
  .sign-list li:last-child { border-bottom: 0; }
  .sign-list .icon { color: var(--dgt-mavi); flex: none; margin-top: 3px; }

  .step-list { counter-reset: safety; }
  .step-list li {
    counter-increment: safety;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 12px;
    padding-block: 11px;
    border-bottom: 1px solid var(--dgt-hairline-ters);
    font-size: 15px;
    color: color-mix(in srgb, #fff, transparent 12%);
  }
  .step-list li:last-child { border-bottom: 0; }
  .step-list li::before {
    content: counter(safety, decimal-leading-zero);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    font-weight: 500;
    color: var(--dgt-yesil);
    padding-top: 3px;
  }
  .safety__note {
    margin-top: 20px;
    padding: 14px 16px;
    border-inline-start: 3px solid var(--dgt-yesil);
    background: color-mix(in srgb, #fff, transparent 92%);
    font-size: 14px;
    color: #fff;
  }

  /* ---- coverage: the one grid on the page, 2x3 ---- */

  .coverage__grid {
    margin-top: clamp(30px, 4vw, 50px);
    display: grid;
    gap: 1px;
    background: var(--dgt-hairline);
    border: 1px solid var(--dgt-hairline);
  }
  .coverage__cell { background: var(--dgt-zemin); padding: clamp(20px, 2.4vw, 30px); }
  .coverage__cell h3 { font-size: 18px; margin-bottom: 8px; }
  .coverage__cell p { font-size: 15px; }
  .coverage__cell .accent-rule { width: 34px; height: 2px; margin-bottom: 14px; }

  /* ---- gallery: fixed-ratio cell, contain, no cropping (A5) ---- */

  .gallery__grid { margin-top: clamp(30px, 4vw, 50px); display: grid; gap: 18px; }
  .gallery__item { background: var(--dgt-zemin-alt); border: 1px solid var(--dgt-hairline); }
  .gallery__frame { aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
  .gallery__frame img { width: 100%; height: 100%; object-fit: contain; }
  .gallery__caption { padding: 12px 14px; font-size: 14px; font-family: var(--font-display); font-weight: 500; color: var(--dgt-lacivert); }

  /* ---- faq: native details, zero JS ---- */

  .faq__list { margin-top: clamp(28px, 3.5vw, 46px); border-top: 1px solid var(--dgt-hairline); }
  .faq__item { border-bottom: 1px solid var(--dgt-hairline); }
  .faq__q {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 2px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(17px, 1.7vw, 20px);
    color: var(--dgt-lacivert);
    list-style: none;
  }
  .faq__q::after {
    content: "";
    flex: none;
    width: 13px; height: 13px;
    margin-top: 6px;
    border-right: 1.5px solid var(--dgt-mavi);
    border-bottom: 1.5px solid var(--dgt-mavi);
    transform: rotate(45deg);
    transition: transform .2s ease;
  }
  .faq__item[open] .faq__q::after { transform: rotate(-135deg); }
  .faq__a { padding: 0 2px 22px; max-width: var(--measure); font-size: 15.5px; }

  /* ---- blog: dated list, not cards ---- */

  .post-list { margin-top: clamp(28px, 3.5vw, 46px); border-top: 1px solid var(--dgt-hairline); }
  .post-item {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 22px 2px;
    border-bottom: 1px solid var(--dgt-hairline);
    position: relative;
    transition: padding-inline-start .18s ease;
  }
  .post-item:hover { padding-inline-start: 12px; }
  .post-item__date {
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    color: var(--dgt-mavi);
  }
  .post-item__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(18px, 1.9vw, 23px);
    color: var(--dgt-lacivert);
    line-height: 1.25;
  }
  .post-item__title a::after { content: ""; position: absolute; inset: 0; }
  .post-item__excerpt { font-size: 15px; color: var(--dgt-ikincil); max-width: 72ch; }

  /* ---- homepage SEO copy block ---- */

  .seo__body { margin-top: 26px; max-width: var(--measure); }
  .seo__body h3 {
    margin-top: 34px;
    margin-bottom: 10px;
    font-size: clamp(19px, 1.9vw, 23px);
  }
  .seo__body p { font-size: 16.5px; }
  .seo__body > p:first-child { font-size: 18px; color: var(--dgt-metin); }

  /* ---- contact ---- */

  .contact__grid { margin-top: clamp(30px, 4vw, 50px); display: grid; gap: 40px; }

  .contact-details { display: grid; gap: 2px; }
  .contact-details__row {
    display: grid;
    grid-template-columns: 22px 1fr;
    gap: 14px;
    padding-block: 15px;
    border-bottom: 1px solid var(--dgt-hairline);
    align-items: start;
  }
  .contact-details__row .icon { color: var(--dgt-mavi); margin-top: 3px; }
  .contact-details__label {
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--dgt-ikincil);
    display: block;
    margin-bottom: 3px;
  }
  .contact-details__value {
    font-size: 16px;
    color: var(--dgt-metin);
    font-variant-numeric: tabular-nums;
  }
  a.contact-details__value:hover { color: var(--dgt-mavi); }
  .contact-details__owner { color: var(--dgt-ikincil); font-size: 14px; }

  .contact-form { background: var(--dgt-zemin-alt); padding: clamp(24px, 3vw, 36px); border-radius: var(--radius); }
  /* Inside an alt section the form would blend into the background. */
  .section--alt .contact-form { background: var(--dgt-zemin); border: 1px solid var(--dgt-hairline); }
  .section--alt .coverage__cell { background: var(--dgt-zemin); }
  .section--alt .safety__signs { background: var(--dgt-zemin); }
  .contact-form h3 { margin-bottom: 6px; }
  .field { display: block; margin-top: 16px; }
  .field__label {
    display: block;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--dgt-lacivert);
    margin-bottom: 6px;
  }
  .field__req { color: var(--dgt-mavi); }
  .field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 13px;
    background: var(--dgt-zemin);
    border: 1px solid var(--dgt-hairline);
    border-radius: var(--radius);
    font-size: 16px;
  }
  .field textarea { min-height: 120px; resize: vertical; }
  .field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dgt-mavi); }
  .form-note { margin-top: 14px; font-size: 13px; }
  .form-actions { margin-top: 18px; }
  .honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

  .form-message {
    margin-bottom: 18px;
    padding: 13px 15px;
    border-inline-start: 3px solid var(--dgt-mavi);
    background: var(--dgt-zemin);
    font-size: 15px;
  }
  .form-message--success { border-color: var(--dgt-yesil-koyu); color: var(--dgt-yesil-koyu); }

  /* ---- page shells ---- */

  .page-hero { padding-block: clamp(44px, 6vw, 78px) 0; }
  .page-hero .label { margin-bottom: 12px; }
  .page-hero h1 { max-width: 20ch; }
  .page-hero__intro { margin-top: 16px; max-width: var(--measure); font-size: 18px; }

  .entry-content { max-width: var(--measure); margin-top: 26px; }
  .entry-content > * + * { margin-top: 1.1em; }
  .entry-content h2 { margin-top: 1.7em; font-size: clamp(23px, 2.6vw, 31px); }
  .entry-content h3 { margin-top: 1.5em; }
  .entry-content ul, .entry-content ol { padding-inline-start: 4px; }
  .entry-content li {
    position: relative;
    padding-inline-start: 22px;
    margin-block: 9px;
    color: var(--dgt-ikincil);
  }
  .entry-content ul li::before {
    content: "";
    position: absolute;
    left: 2px; top: 11px;
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--dgt-mavi);
  }
  .entry-content ol { counter-reset: ol; }
  .entry-content ol li { counter-increment: ol; }
  .entry-content ol li::before {
    content: counter(ol) ".";
    position: absolute;
    left: 0; top: 0;
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 14px;
    font-weight: 500;
    color: var(--dgt-mavi);
  }
  .entry-content blockquote {
    padding: 4px 0 4px 20px;
    border-inline-start: 3px solid var(--dgt-hairline);
  }
  .entry-content img { border-radius: var(--radius); }

  .child-nav { margin-top: clamp(44px, 5vw, 70px); padding-top: 30px; border-top: 1px solid var(--dgt-hairline); }
  .child-nav h2 { font-size: 21px; margin-bottom: 16px; }
  /*
   * Separators are real borders, not a 1px grid gap over a coloured backdrop:
   * with an odd number of items the gap trick paints the empty trailing cell.
   */
  .child-nav__list {
    display: grid;
    background: var(--dgt-zemin);
    border: 1px solid var(--dgt-hairline);
  }
  .child-nav__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 18px;
    border-top: 1px solid var(--dgt-hairline);
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 16px;
    color: var(--dgt-lacivert);
  }
  .child-nav__list a:first-child { border-top: 0; }
  .child-nav__list a:hover { background: var(--dgt-zemin-alt); }
  .child-nav__list .icon { color: var(--dgt-mavi); flex: none; }

  .post-meta {
    margin-top: 14px;
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .05em;
    font-variant-numeric: tabular-nums;
    text-transform: uppercase;
    color: var(--dgt-ikincil);
  }

  .pagination { margin-top: 40px; display: flex; gap: 8px; flex-wrap: wrap; }
  .pagination .page-numbers {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding-inline: 10px;
    border: 1px solid var(--dgt-hairline);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-variant-numeric: tabular-nums;
    font-size: 15px;
    color: var(--dgt-lacivert);
  }
  .pagination .page-numbers.current { background: var(--dgt-lacivert); border-color: var(--dgt-lacivert); color: #fff; }
  .pagination a.page-numbers:hover { border-color: var(--dgt-lacivert); }

  .search-form { display: flex; gap: 8px; max-width: 460px; }
  .search-form input[type="search"] {
    flex: 1;
    padding: 12px 13px;
    border: 1px solid var(--dgt-hairline);
    border-radius: var(--radius);
    font-size: 16px;
  }

  .notice-empty {
    margin-top: 24px;
    padding: 20px;
    background: var(--dgt-zemin-alt);
    border-inline-start: 3px solid var(--dgt-mavi);
    font-size: 15px;
  }

  /* ---- footer ---- */

  .site-footer {
    background: var(--dgt-lacivert);
    color: #fff;
    padding-block: clamp(46px, 6vw, 74px) 0;
    margin-top: var(--space-section);
  }
  .is-front .site-footer { margin-top: 0; }
  .footer-grid { display: grid; gap: 34px; }
  .site-footer h3 {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .09em;
    text-transform: uppercase;
    margin-bottom: 14px;
  }
  .footer-brand .brand__name, .footer-brand .brand__sub { color: #fff; }
  .footer-brand .brand__sub { color: color-mix(in srgb, #fff, transparent 45%); }
  .footer-brand p {
    margin-top: 14px;
    max-width: 40ch;
    font-size: 15px;
    color: color-mix(in srgb, #fff, transparent 32%);
  }
  .footer-tagline {
    margin-top: 12px;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--dgt-yesil);
  }
  .footer-links li { margin-bottom: 9px; }
  .footer-links a, .footer-links span {
    font-size: 15px;
    color: color-mix(in srgb, #fff, transparent 25%);
    font-variant-numeric: tabular-nums;
  }
  .footer-links a:hover { color: #fff; }
  .footer-widget { margin-bottom: 18px; }

  .footer-bottom {
    margin-top: clamp(34px, 4vw, 54px);
    padding-block: 20px;
    border-top: 1px solid var(--dgt-hairline-ters);
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    align-items: center;
    font-size: 14px;
    color: color-mix(in srgb, #fff, transparent 35%);
  }
  .footer-bottom a { color: color-mix(in srgb, #fff, transparent 25%); }
  .footer-bottom a:hover { color: #fff; }
  .site-footer__credit { margin-inline-start: auto; color: color-mix(in srgb, #fff, transparent 35%); }

  /* ---- mobile quick bar ---- */

  .mobile-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 45;
    display: none;
    background: var(--dgt-lacivert-k);
    border-top: 1px solid var(--dgt-hairline-ters);
  }
  .mobile-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 8px;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 14px;
  }
  .mobile-bar a + a { border-inline-start: 1px solid var(--dgt-hairline-ters); }
}

/* -------------------------------------------------------------- utilities */
@layer utilities {
  /* No !important anywhere: the cascade layer already wins over core styles. */
  .screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
  }
  .screen-reader-text:focus {
    position: static;
    width: auto; height: auto;
    margin: 0;
    overflow: visible;
    clip-path: none;
  }
  .stack-sm > * + * { margin-top: 8px; }
}

/* =========================================================== breakpoints */

/* >= 600px */
@media (min-width: 600px) {
  @layer components {
    .hero__rail { grid-template-columns: repeat(2, 1fr); gap: 24px 30px; }
    .coverage__grid { grid-template-columns: repeat(2, 1fr); }
    .gallery__grid { grid-template-columns: repeat(2, 1fr); }
    .post-item { grid-template-columns: 120px 1fr; gap: 4px 20px; }
    .post-item__date { grid-row: span 2; padding-top: 5px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
  }
}

/* >= 860px */
@media (min-width: 860px) {
  @layer components {
    .hero__rail { grid-template-columns: repeat(4, 1fr); }
    .safety__grid { grid-template-columns: 1fr 1fr; }

    /*
     * Two columns only when there are contact details to fill the first one.
     * While the company fields are still blank the details column renders
     * nothing, and a fixed two-column grid would leave half the row empty.
     */
    .contact__grid:has(.contact-details) { grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
    .contact__grid:not(:has(.contact-details)) .contact-form { max-width: 680px; }
    .coverage__grid { grid-template-columns: repeat(3, 1fr); }
    .gallery__grid { grid-template-columns: repeat(3, 1fr); }
    .child-nav__list { grid-template-columns: repeat(2, 1fr); }
    .child-nav__list a:nth-child(-n+2) { border-top: 0; }
    .child-nav__list a:nth-child(odd) { border-inline-end: 1px solid var(--dgt-hairline); }

    /* Stepper turns horizontal. */
    .process__steps { grid-template-columns: repeat(5, 1fr); gap: 22px; }
    .step { padding-inline-start: 0; padding-top: 44px; }
    .step__node { top: 0; }
    .step:not(:last-child)::before {
      left: 32px; right: -22px;
      top: 13px; bottom: auto;
      width: auto; height: 1px;
    }
    .service-row { grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr) auto; align-items: center; }
    .service-row__excerpt { grid-column: 3; text-align: start; }
    .service-row__num, .service-row__go { grid-row: auto; padding-top: 0; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  }
}

/* < 560px: the brand descriptor would push the nav toggle off-screen */
@media (max-width: 559px) {
  @layer components {
    .brand__sub { display: none; }
    .brand img { height: 34px; }
    .urgency__note { display: none; }
  }
}

/* < 860px: mobile navigation and the quick bar */
@media (max-width: 859px) {
  @layer components {
    .nav-toggle { display: block; }
    .header-call { display: none; }

    .site-nav {
      position: absolute;
      left: 0; right: 0;
      top: 100%;
      background: var(--dgt-zemin);
      border-bottom: 1px solid var(--dgt-hairline);
      padding: 10px 4vw 20px;
      display: none;
    }
    .site-nav.is-open { display: block; }
    .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
    .nav-link { padding: 13px 0; border-bottom: 1px solid var(--dgt-hairline); font-size: 16px; }
    .nav-link::after { display: none; }

    .site-header { position: relative; }
    .mobile-bar { display: flex; }
    /* Clear the fixed bar so it never covers the footer's last line. */
    body { padding-bottom: 52px; }
  }
}

/* Print-ish / reduced motion */
@media (prefers-reduced-motion: reduce) {
  @layer utilities {
    *, *::before, *::after {
      animation-duration: 0.001ms;
      animation-iteration-count: 1;
      transition-duration: 0.001ms;
      scroll-behavior: auto;
    }
    .urgency__dot { animation: none; }
  }
}
