/* Stoma4u Turda — structură și stil măsurate după dentalist.ro, cu verdele clinicii în locul portocaliului. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-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: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/poppins-300-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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-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: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/poppins-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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-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: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/poppins-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; }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-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: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700-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: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700i-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: "Poppins"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/poppins-700i-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 {
  --green: #17883a;       /* verdele firmei „Stoma 4U”: titluri pe fundal deschis, butoane */
  --green-dark: #116c2d;
  --lime: #b4e431;        /* unda din logo: titluri pe fundal negru */
  --black: #000000;
  --light: #fafafa;
  --ink: #181818;
  --grey: #222222;
  --foot: #2a2a2a;
  --soft: #6b6b6b;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, serif;
  --wrap: 940px;
  --gutter: 20px;
  --section: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--light); color: var(--ink); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, svg { display: block; }
img { max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure, blockquote, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.dark :focus-visible { outline-color: var(--lime); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nums { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.dark { background: var(--black); color: #fff; }
.white { background: #fff; }

/* Titluri: Poppins 700, în culoarea de accent */
h1, h2 { font-weight: 700; color: var(--green); text-wrap: balance; }
.dark h1, .dark h2 { color: var(--lime); }
h1 { font-size: clamp(2.375rem, 1.4rem + 4.2vw, 4.8125rem); line-height: 1.1; }
h2 { font-size: clamp(1.875rem, 1.3rem + 2.3vw, 3.125rem); line-height: 1.2; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
.sub { font-size: clamp(1.125rem, 1.05rem + 0.5vw, 1.375rem); font-weight: 500; line-height: 1.4; color: var(--green); margin-top: 6px; }
.dark .sub { color: var(--lime); }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 1.2rem + 2.4vw, 3.125rem); line-height: 1.1; }
.tag { display: inline-block; padding: 5px 16px; border-radius: 999px; background: #747474; color: #fff; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.dark .tag { background: #3c3c3c; }
.small { font-size: 0.9375rem; }

/* Butoane: capsule, ca la Dentalist */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 0 28px; border-radius: 999px; border: 2px solid var(--green); background: var(--green); color: #fff; font-family: var(--sans); font-weight: 700; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .1s ease; }
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn:active { transform: translateY(1px); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-white { background: #fff; border-color: #fff; color: var(--green); box-shadow: 0 0 12px rgba(0, 0, 0, .4); }
.btn-white:hover { background: var(--lime); border-color: var(--lime); color: var(--black); }
.btn-line { background: transparent; border-color: currentColor; color: inherit; }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.dark .btn-line:hover { background: #fff; border-color: #fff; color: var(--black); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 2px; text-decoration-color: var(--green); }
.link:hover { color: var(--green); }
.dark .link { text-decoration-color: var(--lime); }
.dark .link:hover { color: var(--lime); }

/* Antet alb, 60px, lipit sus */
.top { position: sticky; top: 0; z-index: 20; background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, .08); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; max-width: 1020px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-size: 1.375rem; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; white-space: nowrap; line-height: 1; color: var(--green); }
.brand svg { width: 34px; height: 34px; flex: none; color: var(--green); }
.brand small { font-size: inherit; font-weight: 400; color: var(--ink); }
.foot .brand small { color: #fff; }
.nav { display: flex; align-items: center; gap: 34px; }
.nav a:not(.btn) { font-size: 1rem; font-weight: 400; letter-spacing: 0.05em; text-decoration: none; padding: 8px 0; }
.nav a:not(.btn):hover, .nav a[aria-current] { color: var(--green); }
.nav .btn { min-height: 36px; padding: 0 18px; font-weight: 400; gap: 8px; }
.nav .btn svg { width: 18px; height: 18px; }

/* Prima secțiune: titlu centrat, fotografie, o frază cu serife */
.wrap-wide { width: 100%; max-width: 1300px; margin-inline: auto; padding-inline: var(--gutter); }
.hero h1 { font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem); }
.btn-row.center { justify-content: center; margin-top: 26px; }
.say { border-left: 3px solid var(--green); padding: 4px 0 4px 20px; }
.say p { font-size: clamp(1.125rem, 1.05rem + .5vw, 1.375rem); font-weight: 500; line-height: 1.45; }
.say footer { margin-top: 10px; font-size: .875rem; color: var(--soft); }
.hero { background: #fff; text-align: center; padding-block: clamp(28px, 4vw, 44px) clamp(40px, 6vw, 72px); }
.hero h1 span { display: block; }
.hero h1 .thin { font-weight: 400; }
.hero-pic { margin-top: clamp(24px, 4vw, 44px); border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: #e9ece8; }
.hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.hero .serif { margin-top: clamp(28px, 4vw, 48px); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.125rem); line-height: 1.4; }
.down { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-top: 18px; border-radius: 50%; background: var(--green); color: #fff; transition: background-color .15s ease, transform .15s ease; }
.down:hover { background: var(--green-dark); transform: translateY(3px); }
.down svg { width: 20px; height: 20px; }

/* Două coloane: text + fotografie */
.two { display: grid; gap: 36px; align-items: center; }
.two-text > * + * { margin-top: 22px; }
.two-text .serif { margin-top: 36px; }
.two-text .btn { margin-top: 12px; }
.two-pic { border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 5; background: #1c1c1c; }
.two-pic img { width: 100%; height: 100%; object-fit: cover; }
.dots { display: grid; gap: 8px; }
.dots li { position: relative; padding-left: 24px; }
.dots li::before { content: ""; position: absolute; left: 6px; top: .66em; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

.head > * + * { margin-top: 18px; }
.head .sub { margin-top: 6px; }
.head p:not(.sub) { max-width: 34em; }
.head { margin-bottom: clamp(28px, 4vw, 44px); }

/* Carduri de tratament: fundal negru, titlu mare alb, buton alb */
.cards { display: grid; gap: 16px; }
.tcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; min-height: 300px; padding: 24px 22px 22px; border-radius: 20px; background: var(--black); color: #fff; text-decoration: none; overflow: hidden; transition: transform .18s ease; }
.tcard:hover { transform: translateY(-4px); }
.tcard-name { font-size: clamp(1.625rem, 1.4rem + 1vw, 2.125rem); font-weight: 700; line-height: 1.12; }
.tcard-art { flex: 1; display: grid; place-items: center; color: #fff; min-height: 120px; }
.tcard-art svg { width: 112px; height: 112px; transition: transform .25s ease; }
.tcard:hover .tcard-art svg { transform: scale(1.06); }
.tcard .btn { width: 100%; min-height: 40px; padding: 0 16px; }
.tcard:hover .btn { background: var(--lime); border-color: var(--lime); color: var(--black); }
.tcard-call { background: var(--green); min-height: 0; justify-content: space-between; }
.tcard-call .tcard-name { max-width: none; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.tcard-call .tel { font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem); font-weight: 700; line-height: 1; }
.art .ac { stroke: var(--lime); }
.art .af { fill: var(--lime); stroke: none; }

/* Recenzii Google */
.rev-head { display: grid; gap: 20px; align-items: center; margin-bottom: clamp(28px, 4vw, 44px); }
.score { display: flex; align-items: center; gap: 20px; }
.score-num { font-size: 4.375rem; font-weight: 500; line-height: 1; }
.score-side { padding-left: 20px; border-left: 1px solid #bdbdbd; font-size: 1.125rem; line-height: 1.35; }
.score-side b { display: block; font-weight: 700; font-size: 1.25rem; }
.stars { display: inline-flex; gap: 2px; color: #f6b10a; }
.stars svg { width: 18px; height: 18px; }
.score .stars { display: flex; margin-top: 6px; }
.revs { display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 12px var(--gutter) 16px; scroll-padding-inline: var(--gutter); scrollbar-width: none; }
.revs::-webkit-scrollbar { display: none; }
.rev { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: #fff; box-shadow: 0 1px 12px rgba(0, 0, 0, .2); }
.rev-who { display: flex; align-items: center; gap: 12px; }
.rev-av { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 1rem; flex: none; }
.rev:nth-child(3n+2) .rev-av { background: #5a7d12; }
.rev:nth-child(3n) .rev-av { background: #0f5c3f; }
.rev-name { font-weight: 700; font-size: 1.0625rem; line-height: 1.2; }
.rev-meta { display: flex; align-items: center; gap: 8px; margin-top: 3px; font-size: 0.8125rem; color: var(--soft); }
.rev-meta .stars svg { width: 14px; height: 14px; }
.rev blockquote { font-size: 1rem; line-height: 1.5; }
.rev-foot { margin-top: clamp(24px, 3vw, 36px); display: grid; gap: 16px; justify-items: center; text-align: center; }

/* Cifre */
.stats { background: var(--grey); color: #fff; padding-block: clamp(36px, 5vw, 56px); }
.stats-in { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 0; text-align: center; }
.stat { padding-inline: 12px; }
.stat svg { width: 58px; height: 58px; margin-inline: auto; }
.stat b { display: block; margin-top: 14px; font-size: 1.625rem; font-weight: 700; line-height: 1.1; }
.stat span { display: block; margin-top: 4px; font-size: 1.125rem; font-weight: 300; line-height: 1.25; }

/* Clinica: mozaic de fotografii */
.mosaic { display: grid; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; aspect-ratio: 4 / 3; }
.after { margin-top: clamp(24px, 3vw, 40px); display: grid; gap: 20px; align-items: center; }

/* Contact pe negru */
.contact-head { padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.ways { display: grid; gap: 24px; margin-top: 28px; }
.way { display: flex; gap: 14px; align-items: flex-start; text-decoration: none; }
.way svg { width: 30px; height: 30px; flex: none; color: var(--lime); margin-top: 2px; }
.way span { display: block; font-weight: 300; font-size: 1rem; }
.way b { display: block; font-weight: 700; font-size: 1.0625rem; }
a.way:hover b { color: var(--lime); }
.open-now { display: inline-flex; align-items: center; gap: 9px; }
.open-now::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #9a9a9a; flex: none; }
.open-now.is-open::before { background: var(--lime); }
.open-now.is-closed::before { background: #ef5a50; }
.place { display: grid; gap: 16px; margin-top: 40px; }
.panel { background: #171717; border-radius: 20px; padding: clamp(20px, 3vw, 30px); }
.panel > * + * { margin-top: 18px; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 9px 0; border-top: 1px solid rgba(255, 255, 255, .16); font-weight: 400; text-align: left; }
.hours tr:first-child th, .hours tr:first-child td { border-top: 0; }
.hours td { text-align: right; }
.hours .off { color: #a9a9a9; font-weight: 300; }
.hours .is-today th, .hours .is-today td { color: var(--lime); font-weight: 700; }
.hours .is-today th::after { content: " · azi"; font-weight: 400; }
.map { border-radius: 20px; overflow: hidden; background: #171717; min-height: 320px; }
.map iframe { display: block; width: 100%; height: 100%; min-height: 320px; border: 0; }
.contact-cta { margin-top: 32px; }

/* Subsol gri închis, coloane centrate */
.foot { background: var(--foot); color: #fff; padding-block: 48px 24px; text-align: center; }
.foot .brand { color: #fff; font-size: 1.5rem; }
.foot .brand svg { color: #fff; }
.foot-top { display: grid; gap: 14px; justify-items: center; margin-bottom: 36px; }
.foot-grid { display: grid; gap: 32px; }
.foot h3 { font-size: 1rem; font-weight: 700; padding-bottom: 10px; margin-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .5); }
.foot li { font-weight: 300; font-size: 0.9375rem; }
.foot li + li { margin-top: 8px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot-legal { margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .25); font-size: 0.8125rem; font-weight: 300; letter-spacing: 0.04em; color: #cfcfcf; }

/* Bara de pe telefon */
.callbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: #fff; box-shadow: 0 -1px 12px rgba(0, 0, 0, .2); }
.callbar .btn { min-height: 50px; padding: 0 12px; }
.callbar .btn-line { color: var(--ink); }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }

/* Pagini de tratament și contact */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.875rem; color: var(--soft); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--green); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .6; }
.page-hero { background: #fff; padding-block: clamp(24px, 4vw, 40px) clamp(40px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(2.125rem, 1.5rem + 2.6vw, 3.125rem); }
.page-hero .two-text .btn-row { margin-top: 30px; }
.page-hero .two-text .btn { margin-top: 0; }
.art-card { display: grid; place-items: center; border-radius: 20px; background: var(--black); color: #fff; aspect-ratio: 5 / 4; }
.art-card svg { width: 46%; height: auto; }
.prose { max-width: 40em; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem); margin-top: 52px; }
.prose h2:first-child { margin-top: 0; }
.prose .dots li::before { background: var(--green); width: 7px; height: 7px; }
.prose .src { font-size: 0.9375rem; color: var(--soft); }
.prose .serif { margin-block: 36px; font-size: clamp(1.625rem, 1.2rem + 1.8vw, 2.5rem); line-height: 1.2; }
.prose .rev { margin-top: 20px; }

@media (min-width: 640px) {
  :root { --gutter: 32px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tcard-call { grid-column: 1 / -1; }
  .revs { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(2, 1fr); overflow: visible; margin-inline: 0; padding: 0; }
  .stats-in { grid-template-columns: repeat(4, 1fr); gap: 0; }
  .stat + .stat { border-left: 1px solid rgba(255, 255, 255, .7); }
  .mosaic { grid-template-columns: 1.5fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic img { aspect-ratio: auto; }
  .mosaic img:first-child { grid-row: 1 / 3; aspect-ratio: 4 / 3.400; }
  .ways { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .prose .cols2 { grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .rev-foot { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .callbar { display: none; }
  .hero-pic { aspect-ratio: 16 / 8.200; }
  .two { grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 6vw, 72px); }
  .two.flip > :first-child { order: 2; }
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tcard-call { grid-column: span 2; }
  .cards-6 .tcard-call { grid-column: 1 / -1; flex-direction: row; align-items: center; min-height: 0; }
  .rev-head { grid-template-columns: 1fr auto; column-gap: 48px; }
  .revs { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .after { grid-template-columns: 1fr auto; column-gap: 48px; }
  .place { grid-template-columns: minmax(0, 380px) 1fr; }
  .map, .map iframe { min-height: 100%; }
}

@media (max-width: 899px) {
  .nav a:not(.nav-keep):not(.btn) { display: none; }
  .nav { gap: 16px; }
  .nav .btn { display: none; }
  .hero-text .btn, .two-text .btn { width: 100%; }
  .two-pic { aspect-ratio: 4 / 3; }
}

@media (max-width: 639px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .tcard { min-height: 220px; padding: 16px 14px 14px; gap: 12px; border-radius: 16px; }
  .tcard-name { font-size: 1.1875rem; }
  .tcard-art { min-height: 80px; }
  .tcard-art svg { width: 72px; height: 72px; }
  .tcard .btn { min-height: 38px; font-size: .9375rem; }
  .tcard-call { grid-column: 1 / -1; min-height: 0; }
  .tcard-call .tel { font-size: 2rem; }
}

@media (max-width: 479px) {
  .nav a[href="contact.html"] { display: none; }
  .brand { font-size: 1.25rem; }
}

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