/* Velmont Properties: shared styles (mobile-first). Matches design/home-page-reference.html */

:root {
  --navy: #0B2163;
  --navy-hover: #15307F;
  --navy-soft: #1A2C66;
  --periwinkle: #A3AED0;
  --label: #4E5B8C;       /* small labels on white (periwinkle fails contrast) */
  --ivory: #F7F5F0;
  --white: #FFFFFF;
  --text: #2B3150;
  --text-soft: #4A5070;
  --text-muted: #5C6380;
  --line: #E8E6E0;
  --line-soft: #ECEAE4;
  --placeholder: #E5E2D9;
  --on-navy: #D5DAEA;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: 20px;
  --section-y: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, picture { display: block; max-width: 100%; }
a { color: var(--navy); }
a:hover { color: #2A3F86; }
h1, h2, h3, p, figure, blockquote { margin: 0; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
.on-navy :focus-visible, .site-footer :focus-visible { outline-color: #FFFFFF; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.section--ivory { background: var(--ivory); }

/* ---------- Type ---------- */
.label {
  display: flex; align-items: center; gap: 14px;
  font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--label); font-weight: 500;
}
.label::before { content: ""; display: block; width: 40px; height: 1px; background: var(--periwinkle); flex: none; }
.label--center { justify-content: center; }
.label--center::after { content: ""; display: block; width: 40px; height: 1px; background: var(--periwinkle); flex: none; }
.on-navy .label { color: var(--periwinkle); }

.h1, .h2, .h3 { font-family: var(--serif); font-weight: 500; color: var(--navy); }
.h1 { font-size: 42px; line-height: 1.08; letter-spacing: -0.01em; }
.h1 em { font-style: italic; font-weight: 400; }
.h2 { font-size: 32px; line-height: 1.15; }
.on-navy .h2, .on-navy .h3 { color: #fff; }
.lead { font-size: 18px; line-height: 1.7; color: var(--text-soft); font-weight: 300; }

.head-stack { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 16px 30px;
  font: 500 15px/1.2 var(--sans); letter-spacing: 0.03em; text-decoration: none;
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  border-radius: 0; cursor: pointer; transition: background .2s, color .2s;
}
.btn:hover { background: var(--navy-hover); color: #fff; border-color: var(--navy-hover); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.btn--white { background: #fff; color: var(--navy); border-color: #fff; }
.btn--white:hover { background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  align-self: flex-start; display: inline-block; min-height: 44px;
  text-decoration: none; color: var(--navy); font-weight: 500; font-size: 15px; letter-spacing: 0.03em;
}
.text-link span { display: inline-block; border-bottom: 1px solid var(--navy); padding-bottom: 4px; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo img { height: 30px; width: auto; }
.nav { display: flex; align-items: center; gap: 12px; }
.nav-links {
  display: none; list-style: none; margin: 0; padding: 0;
  font-size: 14px; letter-spacing: 0.04em;
}
.nav-links a { text-decoration: none; color: var(--text); display: inline-flex; align-items: center; min-height: 44px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-links a[aria-current="page"] { font-weight: 500; }
.header-cta { padding: 12px 14px; font-size: 13px; white-space: nowrap; }

.menu-toggle {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 1px solid var(--line); color: var(--navy); cursor: pointer; padding: 0;
}
.menu-toggle svg { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

.nav-links.is-open {
  display: flex; flex-direction: column; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px;
  box-shadow: 0 18px 30px rgba(11, 33, 99, 0.08);
}
.nav-links.is-open a { width: 100%; border-bottom: 1px solid var(--line-soft); font-size: 16px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 72px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-text { display: flex; flex-direction: column; gap: 24px; }
.hero-text .lead { max-width: 500px; }
.trust {
  display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 12px; padding-top: 24px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-muted);
  list-style: none; padding-left: 0; margin-bottom: 0;
}
.trust li { display: flex; align-items: center; gap: 10px; }
.hero-photo-wrap { position: relative; }
.photo { position: relative; background: var(--placeholder); overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { height: 440px; }
.hero-photo img { object-position: 50% 12%; }
.name-card {
  position: absolute; left: 16px; bottom: 24px; background: #fff; padding: 16px 22px;
  box-shadow: 0 18px 40px rgba(11, 33, 99, 0.12); display: flex; flex-direction: column; gap: 2px;
}
.name-card strong { font-family: var(--serif); font-weight: 400; font-size: 22px; color: var(--navy); }
.name-card span { font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--label); }

/* Placeholder photo (used only when no real photo exists) */
.photo--empty { display: flex; align-items: flex-end; padding: 14px; }
.photo--empty::before {
  content: ""; position: absolute; left: 50%; top: 46%; width: 30%; max-width: 110px; aspect-ratio: 1;
  transform: translate(-50%, -50%); opacity: 0.09; background: url("../assets/logo/monogram.png") center / contain no-repeat;
}
.photo--empty .photo-note { position: relative; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #5E6378; }

/* ---------- Intro ---------- */
.intro-grid { display: grid; gap: 28px; align-items: start; }
.intro-body { display: flex; flex-direction: column; gap: 24px; }
.intro-body p { font-size: 18px; line-height: 1.8; color: #3A4160; font-weight: 300; }

/* ---------- Who I work with ---------- */
.stack-lg { display: flex; flex-direction: column; gap: 44px; }
.paths { display: grid; gap: 40px; }
.path { display: flex; flex-direction: column; gap: 20px; text-decoration: none; color: inherit; }
.path .photo { height: 260px; }
.path-body { display: flex; flex-direction: column; gap: 8px; }
.path-num { font-size: 12px; letter-spacing: 0.24em; color: var(--label); font-weight: 500; }
.path-title { font-family: var(--serif); font-weight: 500; font-size: 28px; color: var(--navy); }
.path:hover .path-title { text-decoration: underline; }
.path p { color: var(--text-soft); font-size: 15px; }
.path-link { margin-top: 6px; color: var(--navy); font-weight: 500; font-size: 14px; }

/* ---------- Featured properties ---------- */
.featured-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.cards { display: grid; gap: 24px; }
.card { background: #fff; display: flex; flex-direction: column; }
.card .photo { height: 210px; }
.tag {
  position: absolute; top: 14px; left: 14px; z-index: 1;
  background: var(--navy); color: #fff; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 10px; font-weight: 500;
}
.tag--outline { background: #fff; color: var(--navy); border: 1px solid var(--navy); font-weight: 600; }
.card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.card-loc { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.card-loc svg { flex: none; }
.card-title { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.3; color: var(--navy); }
.facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 12px; color: var(--text-soft); }
.facts li + li::before { content: "|"; color: var(--periwinkle); margin: 0 12px; }
.card-foot {
  margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
}
.price { font-family: var(--serif); font-size: 20px; color: var(--navy); font-weight: 600; }
.card-foot a { text-decoration: none; font-size: 13px; font-weight: 500; color: var(--navy); min-height: 44px; display: inline-flex; align-items: center; }
.card-foot a:hover { text-decoration: underline; }
.cards-message { grid-column: 1 / -1; color: var(--text-muted); font-size: 15px; }

/* ---------- Services ---------- */
.services-head { display: grid; gap: 20px; align-items: end; }
.services-head p { font-size: 16px; color: var(--text-soft); font-weight: 300; }
.services { display: grid; border-top: 1px solid var(--navy); }
.service { padding: 30px 0; display: flex; flex-direction: column; gap: 14px; border-bottom: 1px solid var(--line); }
.service h3 { font-family: var(--serif); font-weight: 500; font-size: 24px; color: var(--navy); }
.service p { font-size: 14px; color: var(--text-soft); }
.service ul { list-style: none; margin: 4px 0 0; padding: 0; font-size: 12px; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }

/* ---------- Why Velmont ---------- */
.why { background: var(--navy); color: #fff; position: relative; overflow: hidden; padding: 80px 0; }
.why::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 420px; aspect-ratio: 1; transform: translateY(-50%);
  opacity: 0.05; background: url("../assets/logo/monogram-white.png") center / contain no-repeat; pointer-events: none;
}
.why .wrap { position: relative; z-index: 1; }
.pillars { display: grid; gap: 40px; }
.pillar { display: flex; flex-direction: column; gap: 14px; padding-top: 28px; border-top: 1px solid rgba(163, 174, 208, 0.45); }
.pillar-num { font-family: var(--serif); font-style: italic; font-size: 20px; color: var(--periwinkle); }
.pillar h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: #fff; }
.pillar p { font-size: 15px; color: var(--on-navy); font-weight: 300; }

/* ---------- Testimonials ---------- */
.sample-note { font-size: 12px; color: #7A5A1E; background: #FBF1DC; padding: 4px 10px; }
.quotes { display: grid; gap: 24px; }
.quote { background: #fff; padding: 36px 30px; display: flex; flex-direction: column; gap: 20px; }
.quote-mark { font-family: var(--serif); font-size: 64px; line-height: 0.6; color: var(--periwinkle); height: 28px; }
.quote blockquote { font-family: var(--serif); font-size: 19px; line-height: 1.6; color: var(--navy); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; }
.quote figcaption strong { font-weight: 500; color: var(--navy); font-size: 14px; }
.quote figcaption span { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); }

/* ---------- For owners ---------- */
.owners { display: grid; background: var(--navy); }
.owners .photo { min-height: 300px; background: var(--navy-soft); }
.owners .photo img { object-position: 78% 30%; }
.owners-body { padding: 44px 28px; display: flex; flex-direction: column; gap: 22px; justify-content: center; align-items: flex-start; }
.owners-body .h2 { font-size: 32px; line-height: 1.18; }
.owners-body p { font-size: 16px; color: var(--on-navy); font-weight: 300; }

/* ---------- Contact strip ---------- */
.contact-strip { padding: 8px 0 80px; }
.contact-strip .wrap { max-width: 820px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.contact-strip img { width: 64px; height: auto; margin-bottom: 8px; }
.contact-strip .h2 { font-size: 36px; line-height: 1.12; }
.contact-strip p { font-size: 17px; color: var(--text-soft); font-weight: 300; max-width: 520px; }
.contact-strip .btn-row { justify-content: center; margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--on-navy); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 32px; display: flex; flex-direction: column; gap: 48px; }
.footer-grid { display: grid; gap: 36px; }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { font-family: var(--serif); font-style: italic; font-size: 18px; color: #fff; margin-top: 18px; }
.footer-col { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.footer-col h2 { font: 400 11px/1.4 var(--sans); letter-spacing: 0.28em; text-transform: uppercase; color: var(--periwinkle); margin-bottom: 8px; }
.footer-col a { color: var(--on-navy); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col span { min-height: 32px; display: inline-flex; align-items: center; }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border: 1px solid rgba(163, 174, 208, 0.5); justify-content: center; }
.social a:hover { background: rgba(255, 255, 255, 0.08); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 16px; padding-top: 28px;
  border-top: 1px solid rgba(163, 174, 208, 0.3); font-size: 12px; color: #B9C1DC;
}

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; width: 60px; height: 60px; border-radius: 50%;
  background: var(--navy); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(11, 33, 99, 0.35); z-index: 30; transition: background .2s;
}
.wa-float:hover { background: var(--navy-hover); }
.wa-float:focus-visible { outline-color: var(--navy); outline-offset: 4px; }

/* ---------- Breakpoints ---------- */
@media (min-width: 761px) {
  :root { --gutter: 40px; --section-y: 88px; }
  .logo img { height: 40px; }
  .site-header .wrap { padding-top: 20px; padding-bottom: 20px; }
  .header-cta { padding: 13px 22px; font-size: 14px; }
  .menu-toggle { display: none; }
  .nav { gap: 36px; }
  .nav-links { display: flex; gap: 32px; }
  .h1 { font-size: 56px; }
  .h2 { font-size: 40px; }
  .hero { padding: 64px 0 88px; }
  .hero-photo { height: 560px; }
  .name-card { left: -24px; bottom: 44px; padding: 20px 26px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owners-body { padding: 56px 48px; }
  .contact-strip .h2 { font-size: 46px; }
  .wa-float { right: 28px; bottom: 28px; }
  .why { padding: 104px 0; }
}

@media (min-width: 1001px) {
  :root { --section-y: 104px; }
  .h1 { font-size: 68px; }
  .h2 { font-size: 44px; }
  .hero { padding: 88px 0 104px; }
  .hero-grid, .intro-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .hero-photo { height: 620px; }
  .name-card { left: -36px; bottom: 56px; }
  .intro-body { padding-top: 34px; }
  .paths { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .path .photo { height: 300px; }
  .cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .services-head { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
  .services { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 0; }
  .service { padding: 36px 28px; border-bottom: 0; border-right: 1px solid var(--line); }
  .service:first-child { padding-left: 0; }
  .service:last-child { padding-right: 0; border-right: 0; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .why { padding: 112px 0; }
  .why::after { right: -80px; width: 560px; }
  .quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .owners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .owners .photo { min-height: 420px; }
  .owners-body { padding: 64px 56px; }
  .owners-body .h2 { font-size: 40px; }
  .contact-strip { padding-bottom: 112px; }
  .contact-strip .h2 { font-size: 48px; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
  .site-footer .wrap { padding-top: 80px; padding-bottom: 40px; }
}

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

/* =========================================================
   Inner pages
   ========================================================= */
.page-head { padding: 56px 0 48px; background: var(--ivory); }
.page-head .head-stack { max-width: 760px; gap: 18px; }
.page-head .lead { max-width: 640px; }
.page-head--plain { background: #fff; }

.story-grid { display: grid; gap: 40px; align-items: start; }
.story-photo { height: 440px; }
.story-photo img { object-position: 50% 15%; }
.prose { display: flex; flex-direction: column; gap: 20px; }
.prose p { font-size: 17px; line-height: 1.8; color: #3A4160; font-weight: 300; }

.steps { display: grid; gap: 36px; }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 1px solid var(--navy); }
.step h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; color: var(--navy); }
.step p { font-size: 15px; color: var(--text-soft); }

.cta-band { background: var(--navy); color: #fff; text-align: center; padding: 72px 0; }
.cta-band .wrap { display: flex; flex-direction: column; align-items: center; gap: 20px; max-width: 760px; }
.cta-band p { color: var(--on-navy); font-weight: 300; font-size: 17px; }
.cta-band .btn-row { justify-content: center; margin-top: 8px; }
.btn--outline-white { background: transparent; color: #fff; border-color: #fff; }
.btn--outline-white:hover { background: #fff; color: var(--navy); border-color: #fff; }

/* Services detail */
.svc-block { display: grid; gap: 28px; padding: 48px 0; border-top: 1px solid var(--line); }
.svc-block:first-child { border-top: 1px solid var(--navy); }
.svc-intro { display: flex; flex-direction: column; gap: 10px; }
.svc-intro .path-num { margin-bottom: 4px; }
.svc-intro p { color: var(--text-soft); font-size: 16px; font-weight: 300; }
.svc-items { display: grid; gap: 28px; }
.svc-item h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--navy); margin-bottom: 8px; }
.svc-item p { font-size: 15px; color: var(--text-soft); }

/* Properties */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.filter {
  min-height: 44px; padding: 10px 22px; background: #fff; color: var(--navy);
  border: 1px solid var(--navy); font: 500 14px/1.2 var(--sans); letter-spacing: 0.03em; cursor: pointer; border-radius: 0;
}
.filter:hover { background: var(--ivory); }
.filter[aria-pressed="true"] { background: var(--navy); color: #fff; }
.cards--all { grid-template-columns: 1fr; }
.card-actions { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.card-photo-link { display: block; }
.card-title a { text-decoration: none; color: inherit; }
.card-title a:hover { text-decoration: underline; }
.note-box { background: #fff; border: 1px solid var(--line); padding: 12px 16px; font-size: 13px; color: var(--text-muted); }

/* Property detail */
.crumbs { font-size: 13px; color: var(--text-muted); padding: 24px 0 0; }
.crumbs a { color: var(--label); }
.detail-grid { display: grid; gap: 36px; padding: 24px 0 var(--section-y); }
.gallery-main { height: 320px; background: var(--placeholder); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 8px; margin-top: 8px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: none; width: 84px; height: 64px; padding: 0; border: 2px solid transparent; background: none; cursor: pointer; border-radius: 0; opacity: .75; }
.thumbs button[aria-current="true"] { border-color: var(--navy); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { display: flex; flex-direction: column; gap: 18px; }
.detail-info .price { font-size: 28px; }
.detail-info p { color: var(--text-soft); }
.feature-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; color: var(--text); }
.feature-list li::before { content: ""; width: 14px; height: 1px; background: var(--navy); flex: none; transform: translateY(-4px); }

/* Contact */
.contact-grid { display: grid; gap: 48px; padding: 56px 0 var(--section-y); align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.detail-row { display: flex; flex-direction: column; gap: 2px; }
.detail-row .k { font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--label); font-weight: 500; }
.detail-row a, .detail-row span.v { font-size: 17px; color: var(--navy); text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
.detail-row a:hover { text-decoration: underline; }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab {
  flex: 1; min-height: 52px; padding: 12px 10px; background: none; border: 0; border-bottom: 3px solid transparent;
  font: 500 15px/1.3 var(--sans); color: var(--text-muted); cursor: pointer; border-radius: 0; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--navy); }
.tab:hover { color: var(--navy); }
.tab-panel { padding-top: 28px; }
.tab-panel[hidden] { display: none; }
.form { display: grid; gap: 18px; }
.form .intro { color: var(--text-soft); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; font-weight: 500; color: var(--navy); }
.field .opt { font-weight: 300; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 300 16px/1.4 var(--sans); color: var(--text);
  background: #fff; border: 1px solid #8A92B5; border-radius: 0;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--navy); outline-offset: 1px; }
.form-row { display: grid; gap: 18px; }
.form-msg { padding: 16px 18px; background: var(--ivory); border-left: 3px solid var(--navy); color: var(--navy); font-size: 15px; }
.form-msg[hidden] { display: none; }
.form-msg--error { background: #FBEDED; border-color: #9B2C2C; color: #7A1F1F; }
.hp { position: absolute; left: -9999px; }

@media (min-width: 761px) {
  .page-head { padding: 80px 0 64px; }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
  .cards--all { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .gallery-main { height: 440px; }
  .form-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band { padding: 96px 0; }
}
@media (min-width: 1001px) {
  .page-head { padding: 96px 0 80px; }
  .story-grid { grid-template-columns: 5fr 6fr; gap: 72px; }
  .story-photo { height: 620px; position: sticky; top: 24px; }
  .svc-block { grid-template-columns: 4fr 8fr; gap: 64px; padding: 64px 0; }
  .cards--all { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  .detail-grid { grid-template-columns: 7fr 5fr; gap: 64px; }
  .gallery-main { height: 520px; }
  .contact-grid { grid-template-columns: 4fr 7fr; gap: 80px; }
}

/* Video */
.video-badge {
  position: absolute; left: 14px; bottom: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 8px;
  background: rgba(11, 33, 99, 0.92); color: #fff; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 11px; font-weight: 500;
}
.gallery-main { position: relative; }
.gallery-main video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); min-height: 56px;
  display: inline-flex; align-items: center; gap: 12px; padding: 14px 24px; background: rgba(11, 33, 99, 0.92); color: #fff;
  border: 0; border-radius: 0; font: 500 14px/1 var(--sans); letter-spacing: 0.04em; cursor: pointer;
}
.play-btn:hover { background: var(--navy-hover); }
.thumbs button { position: relative; }
.thumbs button[data-v] { background: var(--navy); }
.thumb-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff;
  background: rgba(11, 33, 99, 0.45);
}

/* Photo slider (property page) */
.slider { position: relative; min-width: 0; }
.slides {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  scrollbar-width: none; overscroll-behavior-x: contain; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter);
  scroll-padding: 0 var(--gutter);
}
.slides::-webkit-scrollbar { display: none; }
.slide {
  position: relative; flex: 0 0 86%; height: 380px; scroll-snap-align: start; background: var(--placeholder); overflow: hidden;
}
.slide:only-child { flex-basis: 100%; }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide video { object-fit: contain; background: #000; }
.slider-btn {
  display: none; position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px;
  background: rgba(255, 255, 255, 0.94); color: var(--navy); border: 1px solid var(--line); border-radius: 0;
  font: 400 20px/1 var(--sans); cursor: pointer; align-items: center; justify-content: center; z-index: 2;
}
.slider-btn:hover { background: #fff; border-color: var(--navy); }
.slider-prev { left: 12px; }
.slider-next { right: 12px; }
.slider-count {
  position: absolute; right: calc(var(--gutter) + 10px); bottom: 12px; z-index: 2; background: rgba(11, 33, 99, 0.88);
  color: #fff; font-size: 12px; letter-spacing: 0.1em; padding: 6px 12px;
}
@media (min-width: 761px) {
  .slides { margin: 0; padding: 0; scroll-padding: 0; }
  .slide { flex-basis: 100%; height: 440px; }
  .slider-btn { display: inline-flex; }
  .slider-count { right: 12px; }
}
@media (min-width: 1001px) {
  .slide { height: 560px; }
}
