/* ==========================================================================
   Skyview Dentistry
   Visual match to the site's original Dentalia WordPress theme: black top bar,
   marble-textured header, light info strip, full-bleed photo tiles, square
   black buttons, cyan uppercase section headings.
   ========================================================================== */

:root {
  --cyan: #00bcd4;
  --cyan-dark: #00a5bb;
  --cyan-light: #29c1d6;

  --black: #1f1f21;        /* top bar + buttons */
  --header: #313332;       /* header base under the marble texture */
  --ink: #4a4a4a;          /* headings */
  --body: #7a7a7a;         /* body copy */
  --muted: #959595;
  --line: #e4e4e4;
  --wash: #f7f7f7;
  --white: #fff;

  --font-head: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1170px;
  --gutter: 15px;
  --t: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.8;
  color: var(--body);
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--ink);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 .6em;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.95rem; }
h3 { font-size: 1.35rem; }
h4 { font-size: 1.1rem; }

p { margin: 0 0 1.2em; }
a { color: var(--cyan); text-decoration: none; transition: color var(--t); }
a:hover { color: var(--cyan-dark); }
img { max-width: 100%; height: auto; display: block; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1400px; }

.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-link { position: absolute; left: -9999px; top: 0; z-index: 999; background: var(--cyan); color: #fff; padding: 12px 20px; font-weight: 600; }
.skip-link:focus { left: 0; color: #fff; }

/* ---------- buttons: square, black, uppercase ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 15px 32px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--t);
  text-align: center;
  background: var(--black);
  color: #fff;
}
.btn:hover { background: var(--cyan); color: #fff; }
.btn--cyan { background: var(--cyan); color: #fff; }
.btn--cyan:hover { background: var(--black); color: #fff; }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--black); }

/* ---------- top bar ---------- */
.topbar { background: var(--black); color: #fff; }
.topbar__inner {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; min-height: 58px; position: relative; flex-wrap: wrap;
}
.topbar__btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 11px 20px; transition: all var(--t);
}
.topbar__btn svg { width: 15px; height: 15px; fill: currentColor; flex: 0 0 auto; }
.topbar__btn--call { background: var(--cyan); color: #fff; }
.topbar__btn--call:hover { background: #fff; color: var(--black); }
.topbar__btn--book { border: 1px solid rgba(255, 255, 255, .45); color: #fff; }
.topbar__btn--book:hover { background: #fff; color: var(--black); border-color: #fff; }
.topbar__social { position: absolute; right: var(--gutter); display: flex; gap: 16px; }
.topbar__social a { color: #fff; display: grid; place-items: center; }
.topbar__social a:hover { color: var(--cyan); }
.topbar__social svg { width: 17px; height: 17px; fill: currentColor; }

/* ---------- header: marble texture ---------- */
.header {
  background: var(--header) url("/assets/images/marble-bg7.jpg") repeat-x left top;
  position: sticky; top: 0; z-index: 100;
}
.header__inner { display: flex; align-items: stretch; justify-content: space-between; gap: 24px; min-height: 90px; }
.header__logo { display: flex; align-items: center; }
.header__logo img { max-height: 52px; width: auto; }

.nav { display: flex; align-items: stretch; }
.nav__list { display: flex; align-items: stretch; gap: 0; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; display: flex; align-items: stretch; }
.nav__link {
  display: flex; align-items: center;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  color: #fff; padding: 0 18px;
  white-space: nowrap;              /* items must never wrap to two lines */
  transition: background var(--t), color var(--t);
}
.nav__link:hover { background: var(--cyan); color: #fff; }
.nav__item--active > .nav__link { background: var(--cyan); color: #fff; }

.nav__sub {
  position: absolute; top: 100%; left: 0; min-width: 262px;
  background: var(--black); list-style: none; margin: 0; padding: 6px 0;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: all var(--t); box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
}
.nav__item:hover > .nav__sub, .nav__item:focus-within > .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  display: block; padding: 10px 22px; font-size: .84rem;
  color: rgba(255, 255, 255, .8); font-family: var(--font-body);
}
.nav__sub a:hover { background: var(--cyan); color: #fff; }

.burger { display: none; width: 46px; height: 46px; border: 0; background: transparent; cursor: pointer; padding: 11px; align-self: center; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; transition: all var(--t); }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- info strip (site-wide, under the header) ---------- */
.infostrip { background: var(--wash); border-bottom: 1px solid var(--line); }
.infostrip__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.infocard { display: flex; align-items: center; gap: 15px; padding: 22px 18px; color: inherit; }
a.infocard:hover .infocard__t { color: var(--cyan); }
.infocard__icon {
  flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(0, 188, 212, .45); display: grid; place-items: center;
}
.infocard__icon svg { width: 19px; height: 19px; fill: var(--cyan); }
.infocard__t { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); line-height: 1.3; transition: color var(--t); }
.infocard__s { display: block; font-size: .82rem; color: var(--muted); line-height: 1.4; }

/* ---------- hero ---------- */
.hero { position: relative; background: var(--header); }
.hero__img { width: 100%; height: auto; display: block; }
.hero__text {
  position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%);
  pointer-events: none;
}
.hero__eyebrow {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 400;
  letter-spacing: .04em; color: #fff; margin: 0 0 .35em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.hero__title {
  font-family: var(--font-head); font-size: 3rem; font-weight: 600;
  color: #fff; margin: 0; line-height: 1.15;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}

/* Inner-page banner (`page-heading primary-color-bg` on the original): a flat
   cyan band holding a left-aligned h1 and nothing else - no subtitle, no
   breadcrumb, no photo. Only the six service pages use it. */
.banner { padding: 52px 0; background: var(--cyan); }
.banner h1 { color: #fff; font-size: 2.3rem; margin: 0; }

/* date line above a blog post title */
.post-meta {
  color: var(--body); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .06em; margin: 26px 0 6px;
}

/* ---------- sections + headings ---------- */
.section { padding: 78px 0; }
.section--wash { background: var(--wash); }
.section--flush { padding: 0; }
.section--tight { padding: 46px 0; }

.shead { text-align: center; max-width: 760px; margin: 0 auto 52px; }
.shead h2, .shead h1.as-h2 {
  color: var(--cyan); text-transform: uppercase; font-size: 1.75rem;
  letter-spacing: .02em; margin-bottom: .5em;
}
.shead p { margin: 0; }

/* centred triple-dash divider */
.dash { display: flex; align-items: center; justify-content: center; gap: 7px; margin: 0 auto; }
.dash i { display: block; height: 2px; width: 26px; background: var(--line); }
.dash i:nth-child(2) { width: 34px; background: var(--cyan); }

/* left-aligned heading + rule */
.lhead h2 { color: var(--cyan); text-transform: uppercase; font-size: 1.6rem; margin-bottom: .55em; }
.lhead .rule { position: relative; height: 2px; background: var(--line); margin: 0 0 26px; max-width: 430px; }
.lhead .rule::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 2px; background: var(--cyan); }
.lhead--plain h2 { color: var(--ink); text-transform: none; font-size: 2.2rem; }

/* ---------- feature row (Dentalia line-art icons) ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); }
.feature { text-align: center; padding: 46px 26px; border-right: 1px solid var(--line); }
.feature:last-child { border-right: 0; }
.feature__icon { width: 74px; height: 74px; margin: 0 auto 22px; }
.feature__icon svg { width: 100%; height: 100%; fill: var(--cyan); }
.feature h3 { font-size: 1.3rem; font-weight: 400; color: var(--ink); margin-bottom: .35em; }
.feature p { font-size: .88rem; margin: 0; color: var(--muted); }

/* ---------- full-bleed split (image edge-to-edge) ---------- */
.bleed { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.bleed--rev .bleed__media { order: 2; }
.bleed__media { position: relative; min-height: 460px; }
.bleed__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bleed__body { display: flex; align-items: center; padding: 70px 60px; }
.bleed__body > div { max-width: 560px; }
.bleed--wash { background: var(--wash); }

/* mission bullet grid (Meet The Team) */
.mission {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 34px;
  list-style: none; margin: 0; padding: 0; max-width: 900px; margin-inline: auto;
}
.mission li { position: relative; padding-left: 28px; font-family: var(--font-head); color: var(--ink); }
.mission li::before { content: "\\2713"; position: absolute; left: 0; color: var(--cyan); font-weight: 700; }

/* social band (Contact) - photo background with a dark wash */
.social-band {
  position: relative; padding: 72px 0; text-align: center;
  background: var(--header) center/cover no-repeat; isolation: isolate;
}
.social-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(31, 31, 33, .68); }
.social-band h2 { color: #fff; margin-bottom: .9em; }
.social-band p { margin: 0; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* contained two-column layout (contact details / team mission) */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.cols--center { align-items: center; }
.cols img { width: 100%; }
.cols__media img { width: 100%; }

/* small cyan kicker above a heading */
.eyebrow {
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--cyan);
  margin: 0 0 10px;
}

/* ---------- cyan band ---------- */
.band { background: var(--cyan); color: #fff; padding: 62px 0; text-align: center; }
.band h2 { color: #fff; font-size: 1.95rem; margin-bottom: .5em; text-transform: none; }
.band p { color: rgba(255, 255, 255, .95); margin: 22px auto 0; max-width: 900px; }
.band .dash i { background: rgba(255, 255, 255, .5); }
.band .dash i:nth-child(2) { background: #fff; }

/* ---------- service photo tiles (full-bleed, 4 across) ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); }
.tile {
  position: relative; min-height: 336px; display: grid; place-items: center;
  text-align: center; overflow: hidden; isolation: isolate;
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(31, 31, 33, .5); transition: background var(--t); }
.tile:hover img { transform: scale(1.06); }
.tile:hover::after { background: rgba(0, 188, 212, .62); }
/* These are spans (the tile is an <a>), so they must be made block-level for
   width/height to apply - otherwise the SVG expands to its intrinsic size. */
.tile__inner { display: block; padding: 30px 22px; }
.tile__icon { display: block; width: 66px; height: 66px; margin: 0 auto 14px; }
.tile__icon svg { display: block; width: 100%; height: 100%; fill: #fff; }
.tile__label { display: block; font-family: var(--font-head); font-size: 1.25rem; color: #fff; font-weight: 400; }
.tile__blurb {
  display: block; margin: 12px auto 0; max-width: 260px;
  font-size: .87rem; line-height: 1.6; color: rgba(255, 255, 255, .88);
}
.tile__more {
  display: block; margin-top: 14px; font-family: var(--font-head);
  font-size: .76rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; color: #fff;
}
.tile__more::after { content: " \203A"; }
.tile:hover .tile__more { text-decoration: underline; }
.tiles--3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- /services/ overview ----------
   Matches the original: no cyan page banner, a dark service nav + photo CTA
   on the left, and the 12 circular treatment badges on the right. */
.shead h1 { color: var(--ink); font-size: 2.4rem; margin-bottom: .3em; }
.shead--tag { margin-top: -18px; }
.shead .tagline {
  color: var(--cyan); text-transform: uppercase; font-family: var(--font-head);
  font-size: 1.45rem; letter-spacing: .02em; margin-bottom: .55em;
}

.svcsplit { display: grid; grid-template-columns: 44% 1fr; align-items: stretch; }

.svcsplit__side { background: var(--black); display: flex; flex-direction: column; }
.svcnav { padding: 46px 40px 10px; }
.svcnav h2 { color: #fff; text-transform: uppercase; font-size: 1.5rem; margin-bottom: .55em; }
.svcnav .rule { display: block; position: relative; height: 2px; background: rgba(255, 255, 255, .16); margin-bottom: 20px; }
.svcnav .rule::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 2px; background: #fff; }
.svcnav ul { list-style: none; margin: 0; padding: 0; }
.svcnav li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
.svcnav li:last-child { border-bottom: 0; }
.svcnav a {
  display: block; position: relative; padding: 17px 26px 17px 0; color: #fff;
  font-family: var(--font-head); font-size: .82rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
}
.svcnav a::after {
  content: "\203A"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.15rem; color: rgba(255, 255, 255, .45);
}
.svcnav a:hover { color: var(--cyan); }
.svcnav a:hover::after { color: var(--cyan); }

/* photo call-to-action pinned under the nav */
.svccta { position: relative; flex: 1; min-height: 260px; display: grid; place-items: center; overflow: hidden; }
.svccta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svccta::after { content: ""; position: absolute; inset: 0; background: rgba(31, 31, 33, .45); }
.svccta__text { position: relative; z-index: 1; text-align: center; padding: 34px 24px; }
.svccta__text p {
  margin: 0; color: #fff; font-family: var(--font-head); font-size: 1.45rem;
  line-height: 1.45; text-shadow: 0 2px 14px rgba(0, 0, 0, .5);
}
.svccta__text a { color: #fff; }
.svccta__text a:hover { color: var(--cyan); }

.svcsplit__grid { background: var(--wash); padding: 58px 46px; display: flex; align-items: center; }
.txgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 24px; width: 100%; }
.tx { display: block; text-align: center; }
.tx__badge {
  display: grid; place-items: center; width: 132px; height: 132px; margin: 0 auto 16px;
  background: #fff; border-radius: 50%; transition: background .18s ease;
}
.tx__badge svg { display: block; width: 62px; height: 62px; fill: var(--cyan); transition: fill .18s ease; }
.tx__label { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); }
.tx:hover .tx__badge { background: var(--cyan); }
.tx:hover .tx__badge svg { fill: #fff; }
.tx:hover .tx__label { color: var(--cyan); }

/* ---------- content prose ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.7em; color: var(--cyan); text-transform: uppercase; }
.prose h3 { font-size: 1.25rem; margin-top: 1.5em; }
.prose > :first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 0; list-style: none; margin: 0 0 1.3em; }
.prose ul li { position: relative; padding-left: 26px; margin-bottom: 9px; }
.prose ul li::before { content: ""; position: absolute; left: 3px; top: .68em; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 34px; margin-bottom: 9px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: .15em;
  width: 22px; height: 22px; background: var(--cyan); color: #fff;
  font-size: .74rem; font-weight: 700; display: grid; place-items: center;
}

.layout { display: grid; grid-template-columns: 1fr 300px; gap: 50px; align-items: start; }
.sidebar { position: sticky; top: 120px; display: grid; gap: 24px; }
.widget { background: var(--wash); padding: 26px 24px; }
.widget h3 { font-size: 1rem; text-transform: uppercase; color: var(--cyan); margin-bottom: .9em; }
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { border-top: 1px solid var(--line); }
.widget li a { display: block; padding: 10px 0; color: var(--body); font-size: .89rem; }
.widget li a:hover, .widget li.is-active a { color: var(--cyan); }
.widget li.is-active a { font-weight: 600; }
.widget--cta { background: var(--black); color: rgba(255, 255, 255, .8); text-align: center; }
.widget--cta h3 { color: #fff; }
.widget--cta p { font-size: .88rem; }
.widget--cta .phone { display: block; font-family: var(--font-head); font-size: 1.35rem; color: #fff; margin-bottom: .5em; }

/* ---------- team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.member { text-align: center; }
.member__media { aspect-ratio: 1 / 1; overflow: hidden; background: var(--wash); margin-bottom: 16px; }
.member__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.member:hover .member__media img { transform: scale(1.05); }
.member__body { padding: 0 6px; }
.member h3 { font-size: 1.15rem; margin-bottom: .1em; }
.member .role { font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; color: var(--cyan); font-family: var(--font-head); margin: 0; }

/* ---------- blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.post-card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: box-shadow var(--t); }
.post-card:hover { box-shadow: 0 12px 30px rgba(0, 0, 0, .08); }
.post-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--wash); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 24px 22px 26px; flex: 1; display: flex; flex-direction: column; }
.post-card h3 { font-size: 1.05rem; line-height: 1.45; margin-bottom: .5em; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--cyan); }
.post-card p { font-size: .87rem; flex: 1; }
.post-meta { font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); margin-bottom: .7em; }
.more { font-family: var(--font-head); font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--cyan); display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: transform var(--t); }
.post-card:hover .more::after { transform: translateX(4px); }

.post-hero img { width: 100%; margin-bottom: 36px; }
.post-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); }
.post-nav a { display: block; padding: 20px 22px; background: var(--wash); transition: all var(--t); }
.post-nav a:hover { background: var(--cyan); }
.post-nav a:hover span, .post-nav a:hover strong { color: #fff; }
.post-nav span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-family: var(--font-head); margin-bottom: 5px; }
.post-nav strong { color: var(--ink); font-family: var(--font-head); font-size: .93rem; font-weight: 600; line-height: 1.4; }
.post-nav .is-next { text-align: right; }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); padding: 36px 34px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-head); font-size: .8rem; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.field .req { color: #d64545; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: .94rem; color: #333; background: #fff;
  transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 188, 212, .13); }
.field textarea { resize: vertical; min-height: 128px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.form-note { font-size: .79rem; color: var(--muted); margin: 14px 0 0; }
.form-status { margin-top: 16px; padding: 13px 17px; font-size: .88rem; display: none; }
.form-status.is-ok { display: block; background: rgba(0, 188, 212, .1); color: #0a7c8c; border: 1px solid rgba(0, 188, 212, .3); }
.form-status.is-err { display: block; background: rgba(214, 69, 69, .08); color: #b83232; border: 1px solid rgba(214, 69, 69, .25); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; }
.contact-list li { display: flex; gap: 15px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 19px; height: 19px; fill: var(--cyan); flex: 0 0 auto; margin-top: 5px; }
.contact-list strong { display: block; font-family: var(--font-head); color: var(--ink); font-size: .9rem; }
.hours { list-style: none; margin: 0; padding: 0; }
.hours li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .89rem; }
.hours li:last-child { border-bottom: 0; }
.hours .day { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.hours .closed { color: var(--muted); }
.map { line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- footer: marble texture ---------- */
.footer {
  background: var(--header) url("/assets/images/marble-bg6.jpg") repeat left top;
  color: rgba(255, 255, 255, .68); padding: 66px 0 0; font-size: .89rem;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 42px; padding-bottom: 50px; }
.footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 1.2em; }
.footer a { color: rgba(255, 255, 255, .68); }
.footer a:hover { color: var(--cyan); }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 8px; }
.footer__logo { max-height: 42px; width: auto; margin-bottom: 20px; }
.footer__social { display: flex; gap: 12px; margin-top: 16px; }
.footer__social a { width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.footer__social a:hover { background: var(--cyan); border-color: var(--cyan); }
.footer__social svg { width: 15px; height: 15px; fill: #fff; }
.footer .hours li { border-bottom-color: rgba(255, 255, 255, .1); font-size: .84rem; }
.footer .hours .day { color: rgba(255, 255, 255, .85); font-weight: 400; }
.footer .hours .closed { color: rgba(255, 255, 255, .45); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255, 255, 255, .5);
}

.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .features, .tiles, .tiles--3, .team, .mission { grid-template-columns: repeat(2, 1fr); }
  .svcsplit { grid-template-columns: 40% 1fr; }
  .svcsplit__grid { padding: 46px 30px; }
  .txgrid { grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }
  .tx__badge { width: 112px; height: 112px; }
  .tx__badge svg { width: 54px; height: 54px; }
  .feature:nth-child(2n) { border-right: 0; }
  .feature:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .infostrip__grid { grid-template-columns: repeat(2, 1fr); }
  .bleed__body { padding: 54px 40px; }
  .hero__title { font-size: 2.2rem; }
  .posts { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  .section { padding: 56px 0; }

  .burger { display: block; }
  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(320px, 84vw);
    background: var(--black); padding: 80px 20px 30px;
    transform: translateX(100%); transition: transform .3s ease;
    overflow-y: auto; z-index: 120; display: block;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list { flex-direction: column; align-items: stretch; }
  .nav__item { display: block; }
  .nav__link { padding: 13px 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); display: block; }
  .nav__sub {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; padding: 0 0 6px 14px; display: none; background: transparent;
  }
  .nav__item.is-open > .nav__sub { display: block; }
  .burger { z-index: 130; position: relative; }
  .nav-scrim { position: fixed; inset: 0; background: rgba(31, 31, 33, .55); opacity: 0; visibility: hidden; transition: all var(--t); z-index: 110; }
  .nav-scrim.is-open { opacity: 1; visibility: visible; }

  .bleed, .bleed--rev .bleed__media { grid-template-columns: 1fr; order: 0; }
  .svcsplit { grid-template-columns: 1fr; }
  .svcnav { padding: 38px 24px 6px; }
  .svcsplit__grid { padding: 44px 24px; }
  .cols { grid-template-columns: 1fr; gap: 34px; }
  .bleed__media { min-height: 300px; }
  .bleed__body { padding: 44px 24px; }
  .hero__text { position: static; transform: none; background: var(--black); padding: 26px 0; }
  .hero__title { font-size: 1.75rem; text-shadow: none; }
  .hero__eyebrow { text-shadow: none; }
  .topbar__social { position: static; }
  .topbar__inner { padding: 12px 0; gap: 10px; }

  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--line); }
  .callbar a { background: var(--cyan); color: #fff; text-align: center; padding: 14px 8px; font-family: var(--font-head); font-size: .79rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
  .callbar a:last-child { background: var(--black); }
  body { padding-bottom: 52px; }
}

@media (max-width: 620px) {
  .features, .tiles, .tiles--3, .team, .mission, .posts, .cols, .field-row, .post-nav, .sidebar, .footer__grid, .infostrip__grid { grid-template-columns: 1fr; }
  /* the original drops the treatment grid to 2 across on small screens (col-sm-6) */
  .txgrid { grid-template-columns: repeat(2, 1fr); }
  .feature { border-right: 0; border-bottom: 1px solid var(--line); }
  .post-nav .is-next { text-align: left; }
  .form-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
