/* ==========================================================
   TRANSITION DESIGNERS — shared stylesheet
   Palette: red + white + blue + charcoal
   Edit the variables below to retune the whole site.
   ========================================================== */
:root {
  --red: #d91e2a;
  --red-dark: #b01620;
  --blue: #0d47b5;
  --blue-dark: #0a2a6b;
  --navy: #0b1c40;
  --charcoal: #15181f;
  --text: #2a2f3a;
  --muted: #5d6573;
  --line: #e3e7ee;
  --soft: #f4f6fa;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(11, 28, 64, .12);
  --wrap: 1200px;
  --font: "Montserrat", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--red); }
h1, h2, h3, h4 { color: var(--charcoal); line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.2rem, 5.4vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--red); color: #fff; padding: 10px 16px; z-index: 999; }
.skip:focus { left: 0; color: #fff; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.soft { background: var(--soft); }
.section.dark { background: var(--charcoal); color: #d6dae3; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section.blue { background: var(--blue-dark); color: #dbe6ff; }
.section.blue h2, .section.blue h3 { color: #fff; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.section.dark .eyebrow, .section.blue .eyebrow, .hero .eyebrow { color: #ff8b93; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 720px; }
.section.dark .lead, .section.blue .lead { color: #c5cde0; }
.head { max-width: 760px; margin-bottom: 40px; }
.center { text-align: center; margin-inline: auto; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font: 800 .85rem/1 var(--font); letter-spacing: .08em; text-transform: uppercase; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-outline { border-color: #fff; color: #fff; background: transparent; }
.btn-outline:hover { background: #fff; color: var(--navy); }
.btn-outline-dark { border-color: var(--charcoal); color: var(--charcoal); }
.btn-outline-dark:hover { background: var(--charcoal); color: #fff; }
.btn-wa { background: #1fa855; color: #fff; }
.btn-wa:hover { background: #17863f; color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- Header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--navy); border-bottom: 4px solid var(--red); }
.nav-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.brand-mark svg { width: 26px; height: 26px; }
.brand-text { font-weight: 800; font-size: .95rem; letter-spacing: .08em; line-height: 1.1; text-transform: uppercase; }
.brand-text small { display: block; font-size: .6rem; letter-spacing: .18em; color: #8fb0ff; font-weight: 700; margin-top: 3px; }
.nav { display: flex; align-items: center; }
.nav > ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.nav li { margin: 0; position: relative; }
.nav > ul > li > a { display: block; padding: 28px 10px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; border-bottom: 3px solid transparent; margin-bottom: -4px; }
.nav > ul > li > a:hover, .nav > ul > li > a[aria-current="page"], .nav > ul > li.active > a { color: #fff; border-bottom-color: #5b8dff; }
.has-sub > a::after { content: " \25BE"; font-size: .7em; }
.sub { position: absolute; left: 0; top: 100%; min-width: 250px; background: #fff; border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--shadow); list-style: none; margin: 0; padding: 8px 0; display: none; border-top: 3px solid var(--red); }
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .has-sub.open > .sub { display: block; }
.has-sub:last-child > .sub, .has-sub:nth-last-child(2) > .sub { left: auto; right: 0; }
.sub a { display: block; padding: 10px 20px; color: var(--charcoal); font-size: .85rem; font-weight: 600; }
.sub a:hover { background: var(--soft); color: var(--red); }
.nav-toggle { display: none; background: none; border: 0; color: #fff; width: 46px; height: 46px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 26px; height: 3px; background: #fff; border-radius: 2px; position: relative; margin: auto; transition: .2s; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -8px; }
.nav-toggle span::after { top: 8px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }

@media (max-width: 1100px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .nav.open { max-height: calc(100vh - 80px); overflow-y: auto; border-bottom: 4px solid var(--red); }
  .nav > ul { flex-direction: column; width: 100%; padding: 8px 20px 20px; }
  .nav > ul > li > a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.12); margin: 0; font-size: .82rem; }
  .sub { position: static; display: none; box-shadow: none; background: rgba(255,255,255,.06); border: 0; border-radius: 0; }
  .has-sub:hover > .sub { display: none; }
  .has-sub.open > .sub { display: block; }
  .sub a { color: #dbe6ff; padding-left: 20px; }
  .sub a:hover { background: transparent; color: #fff; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,20,50,.86) 0%, rgba(8,20,50,.55) 55%, rgba(8,20,50,.25) 100%); }
.hero .wrap { position: relative; z-index: 2; padding: 70px 0; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { font-style: normal; color: #ff5b66; }
.hero p.lead { color: #e4eaf8; font-size: 1.2rem; max-width: 640px; }
.page-hero { min-height: 380px; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
.crumbs { font-size: .8rem; letter-spacing: .06em; color: #b9c7ea; margin-bottom: 14px; }
.crumbs a { color: #b9c7ea; }
.crumbs a:hover { color: #fff; }

/* ---------- Quick links row ---------- */
.quick { background: #fff; padding: 36px 0 10px; }
.quick-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 18px; text-align: center; }
.quick a { color: var(--charcoal); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.quick .dot { width: 72px; height: 72px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; margin: 0 auto 10px; box-shadow: 0 8px 18px rgba(13,71,181,.3); transition: transform .15s, background .15s; }
.quick a:hover .dot { transform: translateY(-4px); background: var(--red); }
.quick svg { width: 30px; height: 30px; }

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.card h3 { margin-bottom: .4em; }
.card .num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; margin-bottom: 14px; }
.card.accent { border-top: 5px solid var(--red); }
.card.accent-blue { border-top: 5px solid var(--blue); }

/* Priority service tiles */
.tile { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 440px; display: flex; align-items: flex-end; color: #fff; background: var(--blue-dark); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,20,50,.92) 0%, rgba(8,20,50,.25) 70%); }
.tile .body { position: relative; z-index: 2; padding: 28px; }
.tile h3 { color: #fff; font-size: 1.5rem; text-transform: uppercase; }
.tile p { color: #dbe3f5; font-size: .95rem; }
.tile .tag { display: inline-block; background: var(--red); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px; }
.tile .more { color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; }
.tile:hover .more { color: #ff8b93; }

/* Split sections */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.split.rev .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }
.media { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.wide { aspect-ratio: 16 / 9; }
.media.missing::before, .gal-item.missing::before, .tile.missing::before, .hero.missing::before { content: "Add image: " attr(data-file); position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 20px; color: rgba(255,255,255,.75); font-size: .8rem; font-weight: 700; letter-spacing: .06em; z-index: 1; }
.note-ai { font-size: .78rem; color: var(--muted); margin-top: 10px; }
.checks { list-style: none; padding: 0; }
.checks li { position: relative; padding-left: 30px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--red); }
.checks li::after { content: ""; position: absolute; left: 6px; top: .55em; width: 5px; height: 9px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.chips li { margin: 0; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .85rem; }
.section.blue .chips li, .section.dark .chips li { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.25); color: #fff; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; font-weight: 800; padding: 18px 0; color: var(--charcoal); list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--red); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); }

/* CTA band */
.cta { background: var(--red); color: #fff; padding: 56px 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; margin: 0 0 6px; }
.cta p { margin: 0; color: #ffe3e5; }
.cta .btn-outline:hover { color: var(--red); }

/* ---------- Galleries ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filters button { font: 800 .75rem var(--font); letter-spacing: .08em; text-transform: uppercase; padding: 11px 20px; border-radius: 999px; border: 2px solid var(--line); background: #fff; color: var(--charcoal); cursor: pointer; }
.filters button:hover { border-color: var(--blue); color: var(--blue); }
.filters button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.gal-item { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blue-dark), var(--blue)); cursor: zoom-in; }
.gal-item.tall { aspect-ratio: 3 / 4; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.gal-item:hover img { transform: scale(1.05); }
.gal-item figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(8,20,50,.9), transparent); color: #fff; font-size: .82rem; font-weight: 700; z-index: 2; }
.gal-item.hide { display: none; }
.cat-title { margin: 48px 0 18px; padding-bottom: 10px; border-bottom: 3px solid var(--red); display: inline-block; }

.lightbox { position: fixed; inset: 0; background: rgba(5, 10, 25, .93); z-index: 300; display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); max-height: 100%; text-align: center; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #dbe3f5; margin-top: 12px; font-size: .9rem; }
.lb-btn { position: absolute; background: rgba(255,255,255,.14); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; }
.lb-btn:hover { background: var(--red); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; }
.lb-next { right: 20px; top: 50%; }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; }
.contact-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.mapbox { border: 2px dashed var(--line); border-radius: var(--radius); padding: 40px 28px; background: var(--soft); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal); color: #b8bfcd; padding: 64px 0 0; border-top: 5px solid var(--blue); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h3 { color: #fff; font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; }
.site-footer a { color: #b8bfcd; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.foot-bottom { margin-top: 40px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .8rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 90; background: #1fa855; color: #fff; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; box-shadow: 0 8px 24px rgba(0,0,0,.28); }
.wa-float:hover { background: #17863f; color: #fff; }
.wa-float svg { width: 24px; height: 24px; }
@media (max-width: 560px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

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

/* ---------- Plain page hero (pages without a photo) ---------- */
.hero.plain { background: linear-gradient(120deg, var(--navy) 0%, var(--blue-dark) 70%); }
.hero.plain::after { background: none; }
.hero.plain::before { content: ""; position: absolute; right: -80px; top: 0; bottom: 0; width: 260px; background: var(--red); transform: skewX(-14deg); opacity: .9; }
@media (max-width: 700px) { .hero.plain::before { width: 90px; right: -40px; } }
code { background: var(--soft); padding: 2px 6px; border-radius: 4px; font-size: .9em; }

/* ---------- Panoramic photos (wide images are shown without heavy cropping) ---------- */
.media.fit { aspect-ratio: auto; background: none; }
.media.fit img { height: auto; }
.gal-item.pano { aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .gal-item.pano { grid-column: span 2; aspect-ratio: 21 / 9; } }
.gallery[style*="1fr"] .gal-item.pano { aspect-ratio: auto; grid-column: auto; background: none; }
.gallery[style*="1fr"] .gal-item.pano img { height: auto; }
.hero-bg { object-position: center; }

/* ---------- Footer keyword links ---------- */
.foot-seo { margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); }
.foot-seo ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 0; }
.foot-seo li { margin: 0; font-size: .85rem; }

/* ---------- Homepage only (body.home) ---------- */
.home .section { padding: clamp(44px, 6vw, 76px) 0; }
.home .hero::after { background: linear-gradient(90deg, rgba(6,16,42,.92) 0%, rgba(6,16,42,.68) 55%, rgba(6,16,42,.35) 100%); }
.home .gallery.uniform { grid-template-columns: repeat(3, 1fr); }
.home .gallery.uniform .gal-item, .home .gallery.uniform .gal-item.pano { aspect-ratio: 16 / 9; grid-column: auto; }
@media (max-width: 860px) { .home .gallery.uniform { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .home .gallery.uniform { grid-template-columns: 1fr; } }
.photo-card { padding: 0; overflow: hidden; }
.photo-card .ph { aspect-ratio: 16 / 9; background: var(--blue-dark); overflow: hidden; }
.photo-card .ph img { width: 100%; height: 100%; object-fit: cover; }
.photo-card .tx { padding: 24px 26px 26px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 10px 22px; margin: 0; font-size: .95rem; }
.facts dt { font-weight: 800; color: var(--charcoal); }
.facts dd { margin: 0; }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 10px; } }
.card .chips { margin: 14px 0 0; }
.card .chips li { font-size: .8rem; padding: 6px 12px; background: var(--soft); }
.updated { font-size: .8rem; color: var(--muted); margin-top: 22px; }
