/* Sensydent - mobile-first, no external fonts, no !important, CSP-safe (no inline styles) */
:root {
  --ink: #0b1f2e;
  --ink-2: #1d3646;
  --muted: #4b6070;
  --bg: #ffffff;
  --tint: #f2f8f8;
  --line: #dbe7ea;
  --primary: #0b7a75;
  --primary-2: #07524f;
  --mint: #d8f3ee;
  --urgent: #b3261e;
  --wa: #0a6b3a;
  --r-lg: 24px;
  --r-md: 16px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 46, .06);
  --shadow: 0 18px 50px -18px rgba(11, 31, 46, .28);
  --gutter: 18px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.65;
  color: var(--ink); background: var(--bg); padding-bottom: 84px;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary-2); text-underline-offset: 3px; }
a:hover { color: var(--primary); }
h1, h2, h3 { line-height: 1.12; margin: 0 0 .55em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 8.5vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 5.5vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2em; }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: 64px; }
.section--tint { background: var(--tint); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.eyebrow {
  display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--mint); color: var(--primary-2); font-size: .78rem; font-weight: 800;
  letter-spacing: .09em; text-transform: uppercase;
}
.section-head { max-width: 680px; margin-bottom: 36px; }
.note { font-size: .92rem; color: var(--muted); }

.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 12px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprite { position: absolute; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 13px 24px; border: 2px solid transparent; border-radius: 999px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  background: var(--primary); color: #fff;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:hover { background: var(--primary-2); color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(7, 82, 79, .7); }
.btn--ghost { background: transparent; color: var(--primary-2); border-color: var(--primary); }
.btn--ghost:hover { background: var(--mint); color: var(--primary-2); box-shadow: none; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--mint); color: var(--ink); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .14); color: #fff; box-shadow: none; }
.btn--wa { background: var(--wa); }
.btn--wa:hover { background: #07502b; }
.btn--urgent { background: var(--urgent); }
.btn--urgent:hover { background: #8c1c16; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .65; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.brand img { width: 38px; height: 38px; }
.nav-toggle { min-width: 52px; min-height: 48px; padding: 0 16px; background: #fff; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
.nav { display: none; position: absolute; inset: 68px 0 auto 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 18px; box-shadow: var(--shadow); }
.nav.is-open { display: block; }
.nav a { display: block; padding: 15px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.header-cta { display: none; }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #0b1f2e 0%, #0b4a52 58%, #0b7a75 100%);
  padding-block: 56px 64px;
}
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 520px; height: 520px; right: -180px; top: -160px; background: radial-gradient(circle, rgba(94, 234, 212, .30), transparent 68%); }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%); }
.hero .container { position: relative; z-index: 1; display: grid; gap: 40px; }
.hero .eyebrow { background: rgba(255, 255, 255, .14); color: #d8f3ee; }
.hero h1 { max-width: 16ch; }
.hero h1 span { color: #7ee8d6; }
.hero .lead { color: #cfe3e6; }
.hero .btn-row { margin-top: 28px; }
.panel {
  background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--r-lg); padding: 26px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.panel h2 { font-size: 1.15rem; margin-bottom: 14px; letter-spacing: 0; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .16); color: #e6f2f4; }
.panel li:first-child { border-top: 0; padding-top: 0; }
.panel .icon { margin-top: .3em; color: #7ee8d6; }
.panel strong { color: #fff; }
.panel a { color: #fff; }

/* Services - bento */
.bento { display: grid; gap: 16px; }
.tile {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #b5d6d4; }
.tile__n {
  display: inline-grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px;
  border-radius: 14px; background: var(--mint); color: var(--primary-2); font-weight: 800;
}
.tile p:last-child { margin-bottom: 0; color: var(--muted); }
.tile--urgent { background: #fff6f5; border-color: #f0c4c0; }
.tile--urgent .btn { margin-top: 18px; }

/* Team */
.team { display: grid; gap: 16px; }
.person { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.avatar { flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 22px; background: linear-gradient(140deg, #0b4a52, #0b7a75); color: #fff; font-weight: 800; font-size: 1.5rem; letter-spacing: .02em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.card p:last-child { margin-bottom: 0; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); }
table { width: 100%; border-collapse: collapse; min-width: 440px; }
th, td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); vertical-align: middle; }
thead th { background: var(--tint); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
tbody th { font-weight: 600; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
.todo { background: #fff3cd; color: #5c4400; padding: 1px 8px; border-radius: 6px; font-weight: 700; }

/* Booking */
.booking { display: grid; gap: 32px; align-items: start; }
.steps { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink-2); }
.steps .tile__n { margin: 0; width: 38px; height: 38px; border-radius: 12px; }
.form { display: grid; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow); }
.field label { display: block; font-weight: 700; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; font: inherit; color: var(--ink);
  background: var(--tint); border: 1.5px solid transparent; border-radius: 14px;
  transition: border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.field input, .field select, .field textarea { box-shadow: inset 0 0 0 1px #aebfc7; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { background: #fff; border-color: var(--primary); outline: none; box-shadow: 0 0 0 4px rgba(11, 122, 117, .18); }
.field .error { color: var(--urgent); font-size: .9rem; margin: 6px 0 0; }
.field input[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--urgent); }
.field--check { display: flex; gap: 12px; align-items: flex-start; }
.field--check input { width: 24px; min-height: 24px; height: 24px; margin-top: 3px; flex: none; accent-color: var(--primary); }
.field--check label { font-weight: 400; margin: 0; font-size: .93rem; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 14px; font-weight: 600; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #e4f4ea; color: #0a4d27; }
.form-status--err { background: #fdeceb; color: #7a1812; }

/* Contact / map */
.contact-grid { display: grid; gap: 28px; }
.hours { list-style: none; padding: 0; margin: 0 0 1.2em; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
address { font-style: normal; }
.map {
  position: relative; min-height: 340px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(140deg, #e3f1f0, #f2f8f8); display: grid; place-items: center; text-align: center; padding: 24px;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Footer */
.site-footer { background: var(--ink); color: #c4d6dc; padding-block: 44px; font-size: .95rem; }
.site-footer a { color: #fff; }
.site-footer .container { display: grid; gap: 28px; }

/* Mobile action bar */
.action-bar {
  position: fixed; inset: auto 12px calc(12px + env(safe-area-inset-bottom)) 12px; z-index: 60;
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; padding: 6px;
  background: rgba(11, 31, 46, .94); border-radius: 22px; box-shadow: var(--shadow);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.action-bar .btn { min-height: 50px; padding: 8px; font-size: .95rem; border-radius: 16px; }

@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  :root { --gutter: 28px; }
  body { padding-bottom: 0; }
  .section { padding-block: 96px; }
  .hero { padding-block: 96px; }
  .hero .container { grid-template-columns: 1.25fr .75fr; align-items: center; gap: 56px; }
  .nav-toggle { display: none; }
  .nav { display: flex; position: static; border: 0; padding: 0; gap: 2px; background: none; box-shadow: none; }
  .nav a { border: 0; padding: 10px 14px; border-radius: 999px; font-size: .95rem; }
  .nav a:hover { background: var(--mint); color: var(--primary-2); }
  .header-cta { display: inline-flex; min-height: 46px; padding: 9px 20px; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .booking { grid-template-columns: .9fr 1.1fr; gap: 56px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 48px; }
  .site-footer .container { grid-template-columns: 2fr 1fr 1fr; }
  .action-bar { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
  .btn:hover, .tile:hover { transform: none; }
}

/* ===== Services page ===== */
.page-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(140deg, #0b1f2e 0%, #0b4a52 60%, #0b7a75 100%);
  padding-block: 40px 48px;
}
.page-hero::before { content: ""; position: absolute; width: 440px; height: 440px; right: -160px; top: -180px; border-radius: 50%; background: radial-gradient(circle, rgba(94, 234, 212, .28), transparent 68%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero .lead { color: #cfe3e6; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .14); color: #d8f3ee; }
.page-hero h1 { font-size: clamp(2rem, 7vw, 3.2rem); max-width: 20ch; }
.crumbs { font-size: .9rem; margin: 0 0 18px; color: #b8d3d6; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.crumbs a { color: #fff; }

.chips-wrap { position: sticky; top: 68px; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.chips { list-style: none; margin: 0; padding: 10px var(--gutter); display: flex; gap: 8px; overflow-x: auto; max-width: 1180px; margin-inline: auto; scrollbar-width: thin; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; white-space: nowrap; text-decoration: none; }
.chips a:hover { background: var(--mint); color: var(--primary-2); border-color: #b5d6d4; }

.svc { padding-block: 40px; border-bottom: 1px solid var(--line); scroll-margin-top: 140px; }
.svc:last-of-type { border-bottom: 0; }
.svc__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.svc__head .tile__n { margin: 0; flex: none; }
.svc__head h2 { margin: 0; }
.svc__cols { display: grid; gap: 16px; margin-top: 22px; }
.svc__col { background: var(--tint); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.svc__col h3 { font-size: 1.05rem; margin-bottom: .6em; }
.svc__col ul, .svc__col ol { margin: 0; padding-left: 1.25em; }
.svc__col li + li { margin-top: .45em; }
.svc details { margin-top: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); }
.svc summary { cursor: pointer; padding: 16px 20px; font-weight: 700; min-height: 48px; list-style-position: inside; }
.svc details[open] summary { border-bottom: 1px solid var(--line); }
.svc details > div { padding: 16px 20px 6px; }
.svc details ul { margin-top: 0; }
.svc .btn-row { margin-top: 22px; }
.info-note { margin-top: 36px; padding: 20px 24px; border-radius: var(--r-md); background: #fff8e6; border: 1px solid #f0dca0; color: #4d3b00; font-size: .95rem; }
.cta-band { margin-top: 56px; padding: 36px 28px; border-radius: var(--r-lg); color: #fff; background: linear-gradient(140deg, #0b1f2e, #0b5a5e); display: grid; gap: 18px; }
.cta-band h2 { margin: 0; font-size: clamp(1.4rem, 4.5vw, 2rem); }
.cta-band p { margin: 0; color: #cfe3e6; }
.tile__link { display: inline-block; margin-top: 14px; font-weight: 700; }

@media (min-width: 640px) {
  .svc__cols { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .page-hero { padding-block: 64px 72px; }
  .chips-wrap { position: static; }
  .chips { flex-wrap: wrap; overflow: visible; padding-block: 18px; }
  .svc { scroll-margin-top: 90px; }
  .svc { padding-block: 56px; }
  .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 44px; }
}

/* ===== Dedicated service pages ===== */
.svc--page { border-bottom: 0; padding-block: 40px 8px; }
.svc--page .svc__cols { margin-top: 0; }
.tile__title { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; margin: 0 0 .6em; line-height: 1.2; }
.tile__title a { color: inherit; text-decoration: none; }
.tile__title a:hover { text-decoration: underline; }
.more { margin-top: 40px; }
.more h2 { font-size: 1.3rem; }
.more__list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.more__list a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none; }
.more__list a:hover { background: var(--mint); color: var(--primary-2); border-color: #b5d6d4; }
@media (min-width: 960px) {
  .svc--page { padding-block: 56px 8px; }
}

/* ===== Offer buttons ===== */
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: .92rem; white-space: nowrap; }
.form-mode { margin: 0; padding: 12px 16px; border-radius: 14px; background: var(--mint); color: var(--primary-2); font-weight: 600; }
.form-mode[hidden] { display: none; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--primary-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; min-height: 44px; }
.link-btn:hover { color: var(--primary); }
