/* ============ BASE ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg { display: block; max-width: 100%; height: auto; }
ul[role="list"], ol[role="list"] { list-style: none; }
input, button, textarea, select { font: inherit; color: inherit; }

h1, h2, h3, h4, h5, h6 { text-wrap: balance; line-height: 1.15; font-family: var(--font-display); }
p, li, figcaption { text-wrap: pretty; }

::selection { background: color-mix(in oklab, var(--color-primary) 30%, transparent); color: var(--color-ink); }

:focus-visible { outline: 2px solid var(--color-primary); outline-offset: 3px; border-radius: 4px; }

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

button { cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}

/* ============ TOKENS ============ */
:root {
  --font-display: 'Garet', 'Poppins', sans-serif;
  --font-body: 'General Sans', 'Helvetica Neue', sans-serif;
  --font-serif: 'Gilda Display', Georgia, serif;

  /* Brand palette — Coastal Realty Pros */
  --color-ink: #0c3247;
  --color-teal-deep: #2a7985;
  --color-teal: #00a8a8;
  --color-teal-mid: #74c4cc;
  --color-teal-pale: #b7e6e6;
  --color-teal-mist: #b6f8f8;
  --color-cream: #fbf8ef;
  --color-white: #ffffff;

  --color-bg: var(--color-cream);
  --color-surface: var(--color-white);
  --color-surface-2: #f4f8f7;
  --color-text: var(--color-ink);
  --color-text-muted: #4d6a76;
  --color-text-faint: #86a0aa;
  --color-border: #dfeceb;

  --color-primary: var(--color-teal);
  --color-primary-hover: var(--color-teal-deep);
  --color-primary-active: var(--color-ink);

  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.25rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 4.5rem);

  --space-1: 0.25rem; --space-2: 0.5rem; --space-3: 0.75rem; --space-4: 1rem;
  --space-5: 1.25rem; --space-6: 1.5rem; --space-8: 2rem; --space-10: 2.5rem;
  --space-12: 3rem; --space-16: 4rem; --space-20: 5rem; --space-24: 6rem; --space-32: 8rem;

  --radius-sm: 0.5rem; --radius-md: 0.875rem; --radius-lg: 1.25rem; --radius-xl: 1.75rem; --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(12,50,71,0.08);
  --shadow-md: 0 8px 24px rgba(12,50,71,0.10);
  --shadow-lg: 0 20px 48px rgba(12,50,71,0.16);

  --content-wide: 1240px;
  --content-default: 960px;

  --transition: 220ms cubic-bezier(0.16,1,0.3,1);
}

/* ============ LAYOUT HELPERS ============ */
.wrap {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-5), 4vw, var(--space-10));
}

section { padding-block: clamp(var(--space-16), 8vw, var(--space-24)); }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--space-2);
  font-size: var(--text-xs); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--color-teal-deep); font-weight: 600; margin-bottom: var(--space-3);
}
.eyebrow::before {
  content: ''; width: 24px; height: 1px; background: var(--color-teal);
}

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in oklab, var(--color-cream) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-block: var(--space-4);
}

.brand { display: flex; align-items: center; gap: var(--space-3); }
.brand img { height: 44px; width: auto; flex-shrink: 0; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.06em; color: var(--color-ink); white-space: nowrap; }
.brand-text .tag { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-teal-deep); }

.header-nav { display: flex; align-items: center; gap: var(--space-8); }
.header-nav a {
  font-size: var(--text-sm); font-weight: 500; color: var(--color-text-muted);
  transition: color var(--transition);
}
.header-nav a:hover { color: var(--color-teal-deep); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2);
  font-size: var(--text-sm); font-weight: 600; padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full); transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-teal); color: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-teal-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent; color: var(--color-ink); border: 1.5px solid var(--color-ink);
}
.btn-outline:hover { background: var(--color-ink); color: var(--color-white); }
.btn-ghost { background: var(--color-teal-mist); color: var(--color-ink); }
.btn-ghost:hover { background: var(--color-teal-pale); }

.mobile-toggle { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative;
  padding-block: clamp(var(--space-10), 6vw, var(--space-16)) 0;
  overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(var(--space-8), 5vw, var(--space-16));
  align-items: center;
}
.hero-copy .status-pill {
  display: inline-flex; align-items: center; gap: var(--space-2);
  background: var(--color-white); border: 1px solid var(--color-border);
  padding: 0.4rem 0.9rem; border-radius: var(--radius-full);
  font-size: var(--text-xs); font-weight: 600; letter-spacing: 0.04em;
  color: var(--color-teal-deep); box-shadow: var(--shadow-sm); margin-bottom: var(--space-5);
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-teal); animation: pulse 2s infinite; }
@keyframes pulse {
  0%, 100% { opacity: 1; } 50% { opacity: 0.4; }
}

.hero-copy h1 {
  font-size: var(--text-2xl); font-weight: 400; color: var(--color-ink);
  margin-bottom: var(--space-3); max-width: 15ch;
}
.hero-copy .address-line {
  font-size: var(--text-lg); color: var(--color-teal-deep); font-weight: 500; margin-bottom: var(--space-6);
  font-family: var(--font-body);
}
.hero-copy .price {
  font-family: var(--font-serif); font-size: var(--text-2xl); color: var(--color-teal);
  margin-bottom: var(--space-2);
}
.hero-copy .price span { font-size: var(--text-sm); color: var(--color-text-muted); font-family: var(--font-body); font-weight: 500; }

.intro-narrative {
  padding-block: var(--space-10);
  background: var(--color-teal-mist);
}
.intro-narrative .lede {
  max-width: 760px; margin-inline: auto; text-align: center;
  font-family: var(--font-serif); font-size: var(--text-lg); line-height: 1.7;
  color: var(--color-ink);
}

.stat-row {
  display: flex; flex-wrap: wrap; gap: var(--space-6);
  margin-block: var(--space-8);
  padding-block: var(--space-6);
  border-block: 1px solid var(--color-border);
}
.stat { display: flex; flex-direction: column; gap: 2px; justify-content: center; }
.stat .num { font-family: var(--font-display); font-size: var(--text-xl); color: var(--color-ink); font-weight: 700; }
.stat .lbl { font-size: var(--text-xs); color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.stat .stat-pool { font-size: var(--text-base); font-weight: 700; white-space: nowrap; }

.hero-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); }

.hero-media {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-lg); aspect-ratio: 4/5;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .badge {
  position: absolute; bottom: var(--space-5); left: var(--space-5);
  background: color-mix(in oklab, var(--color-ink) 78%, transparent);
  color: var(--color-white); backdrop-filter: blur(8px);
  padding: var(--space-3) var(--space-5); border-radius: var(--radius-md);
  font-size: var(--text-sm); font-weight: 500;
}

/* ============ GALLERY ============ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
  gap: var(--space-3);
}
.gallery-grid .g-item { position: relative; overflow: hidden; border-radius: var(--radius-md); cursor: pointer; }
.gallery-grid .g-item img {
  width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--transition);
}
.gallery-grid .g-item:hover img { transform: scale(1.06); }
.gallery-grid .g-item.big { grid-column: span 2; grid-row: span 2; }
.gallery-grid .g-item .cap {
  position: absolute; inset: auto 0 0 0; padding: var(--space-3) var(--space-4);
  background: linear-gradient(to top, rgba(12,50,71,0.75), transparent);
  color: var(--color-white); font-size: var(--text-xs); font-weight: 500;
  opacity: 0; transition: opacity var(--transition);
}
.gallery-grid .g-item:hover .cap { opacity: 1; }

.tour-video-row {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--space-10);
  align-items: center;
  margin-bottom: var(--space-12);
}
.tour-feel h3 {
  font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-3); color: var(--color-ink);
}
.tour-feel p {
  color: var(--color-text-muted); font-size: var(--text-base); line-height: 1.7;
}
.tour-item h3 {
  font-size: var(--text-lg); font-weight: 500; margin-bottom: var(--space-3); color: var(--color-ink);
}
.tour-item-wide { width: 100%; }
.media-embed {
  position: relative; width: 100%; aspect-ratio: 16/9;
  border-radius: var(--radius-lg); overflow: hidden;
  background: var(--color-teal-mist); box-shadow: var(--shadow-md);
}
.media-embed iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* Vertical video preview card */
.video-card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9/16;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  background: var(--color-ink);
  transition: transform var(--transition);
}
.video-card:hover { transform: translateY(-3px); }
.video-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.video-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,50,71,0.7) 0%, rgba(12,50,71,0.05) 45%, rgba(12,50,71,0.25) 100%);
}
.video-card-play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,0.92); color: var(--color-teal-deep, #0c3247);
  display: flex; align-items: center; justify-content: center;
  z-index: 2; transition: transform var(--transition);
}
.video-card:hover .video-card-play { transform: translate(-50%, -50%) scale(1.08); }
html[dir] .video-card-play svg { margin-left: 2px; }
.video-card-label {
  position: absolute; left: var(--space-3); right: var(--space-3); bottom: var(--space-3);
  z-index: 2; color: var(--color-white); font-size: var(--text-xs); font-weight: 600;
  text-align: left; line-height: 1.3;
}

/* Video lightbox */
.video-lightbox {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(8,20,28,0.94);
  align-items: center; justify-content: center;
  padding: var(--space-6);
}
.video-lightbox.open { display: flex; }
.video-lightbox-frame {
  position: relative; width: min(92vw, 420px); aspect-ratio: 9/16;
  max-height: 88vh; border-radius: var(--radius-md); overflow: hidden;
  background: #000; box-shadow: var(--shadow-lg, 0 20px 60px rgba(0,0,0,0.5));
}
.video-lightbox-frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
}

/* ============ FEATURES ============ */
.section-head { max-width: 640px; margin-bottom: var(--space-12); }
.section-head h2 { font-size: var(--text-2xl); font-weight: 400; color: var(--color-ink); }
.section-head p { color: var(--color-text-muted); margin-top: var(--space-3); font-size: var(--text-base); }
.pull-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-teal-deep);
  margin-top: var(--space-4);
}

.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6);
}
.feature-card {
  background: var(--color-white); border: 1px solid var(--color-border);
  border-radius: var(--radius-lg); padding: var(--space-8);
  transition: transform var(--transition), box-shadow var(--transition);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: var(--radius-md);
  background: var(--color-teal-mist); display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--space-5); color: var(--color-teal-deep);
}
.feature-card h3 { font-size: var(--text-lg); font-weight: 700; font-family: var(--font-body); color: var(--color-ink); margin-bottom: var(--space-2); }
.feature-card p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ============ DETAILS / SPLIT ============ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16));
  align-items: center;
}
.split-media { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/3; }

.detail-list { display: flex; flex-direction: column; gap: 0; margin-top: var(--space-6); }
.detail-row {
  display: flex; justify-content: space-between; padding-block: var(--space-4);
  border-bottom: 1px solid var(--color-border); font-size: var(--text-base);
}
.detail-row dt { color: var(--color-text-muted); }
.detail-row dd { font-weight: 600; color: var(--color-ink); }

/* ============ MAP ============ */
.map-card {
  border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}
.map-card iframe { width: 100%; height: 420px; border: 0; display: block; }

/* ============ CONTACT / FORM ============ */
.contact-section {
  background: linear-gradient(160deg, var(--color-ink), var(--color-teal-deep));
  color: var(--color-white); border-radius: var(--radius-xl);
  padding: clamp(var(--space-10), 6vw, var(--space-16));
  margin-block: 0;
}
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(var(--space-8), 6vw, var(--space-16)); }
.contact-section .eyebrow { color: var(--color-teal-mist); }
.contact-section .eyebrow::before { background: var(--color-teal-mist); }
.contact-section h2 { color: var(--color-white); font-size: var(--text-2xl); font-weight: 400; margin-bottom: var(--space-4); }
.contact-section p { color: color-mix(in oklab, var(--color-white) 80%, transparent); font-size: var(--text-base); margin-bottom: var(--space-8); }

.agent-card { display: flex; align-items: stretch; gap: var(--space-4); margin-bottom: var(--space-8); }
.agent-avatar {
  width: 120px; border-radius: var(--radius-md); background: var(--color-teal-mist);
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display);
  font-size: var(--text-lg); font-weight: 700; color: var(--color-ink); flex-shrink: 0;
  overflow: hidden; align-self: stretch;
}
.agent-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.agent-info .agent-name { font-weight: 700; font-size: var(--text-lg); font-family: var(--font-body); }
.agent-info .agent-role { font-size: var(--text-sm); color: var(--color-teal-mist); margin-bottom: var(--space-2); }
.agent-contacts { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-sm); }
.agent-contacts a { color: var(--color-white); opacity: 0.9; transition: opacity var(--transition); }
.agent-contacts a:hover { opacity: 1; text-decoration: underline; }
.agent-office { font-size: var(--text-xs); color: var(--color-white); opacity: 0.75; margin-top: var(--space-2); }

.contact-form {
  background: var(--color-white); border-radius: var(--radius-lg);
  padding: clamp(var(--space-6), 4vw, var(--space-8));
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); }
.field { display: flex; flex-direction: column; gap: var(--space-2); margin-bottom: var(--space-4); }
.field label { font-size: var(--text-xs); font-weight: 600; color: var(--color-ink); text-transform: uppercase; letter-spacing: 0.04em; }
.field input, .field select, .field textarea {
  border: 1.5px solid var(--color-border); border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem; font-size: var(--text-sm); background: var(--color-cream);
  color: var(--color-ink); transition: border-color var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--color-teal);
}
.field textarea { resize: vertical; min-height: 90px; }
.contact-form .btn-primary { width: 100%; margin-top: var(--space-2); padding-block: 0.9rem; }
.form-note { font-size: var(--text-xs); color: var(--color-text-muted); margin-top: var(--space-3); text-align: center; }
p.form-error { display: none; font-size: var(--text-sm); color: #b3261e; background: #fdecea; border: 1px solid #f5c2bd; border-radius: var(--radius-md, 8px); padding: var(--space-3); margin-top: var(--space-3); margin-bottom: 0; text-align: center; }
.form-error.show { display: block; }
.form-success {
  display: none; text-align: center; padding: var(--space-8) var(--space-4);
}
.form-success.show { display: block; }
.form-success .check {
  width: 56px; height: 56px; border-radius: 50%; background: var(--color-teal-mist);
  display: flex; align-items: center; justify-content: center; margin: 0 auto var(--space-4);
  color: var(--color-teal-deep);
}
.form-success h3 { font-family: var(--font-body); font-size: var(--text-lg); color: var(--color-ink); margin-bottom: var(--space-2); }
.form-success p { color: var(--color-text-muted); font-size: var(--text-sm); }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--color-border); padding-block: var(--space-10); }
.footer-inner {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: var(--space-4);
}
.footer-brand { display: flex; align-items: center; gap: var(--space-3); }
.footer-brand img { height: 34px; width: auto; display: block; }
.footer-brand span { font-family: var(--font-display); font-weight: 700; font-size: var(--text-sm); color: var(--color-ink); }
.footer-links { display: flex; gap: var(--space-6); font-size: var(--text-xs); color: var(--color-text-muted); }
.footer-social { display: flex; gap: var(--space-3); }
.footer-social a {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--color-border);
  display: flex; align-items: center; justify-content: center; color: var(--color-text-muted);
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}
.footer-social a:hover { color: var(--color-ink); border-color: var(--color-teal-mist); background: var(--color-teal-mist-10, rgba(45,140,140,0.08)); }
.footer-fh { text-align: center; margin-top: var(--space-8); padding-top: var(--space-8); border-top: 1px solid var(--color-border); }
.footer-fh p { font-size: var(--text-xs); color: var(--color-text-faint); max-width: 720px; margin-inline: auto; line-height: 1.7; }
.fh-badge { display: inline-flex; align-items: center; gap: var(--space-2); margin-bottom: var(--space-3); color: var(--color-text-muted); font-size: var(--text-xs); font-weight: 600; }

/* ============ LIGHTBOX ============ */
.lightbox {
  position: fixed; inset: 0; background: rgba(12,50,71,0.94); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: var(--space-6);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: var(--radius-md); }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; background: rgba(255,255,255,0.12); color: var(--color-white);
  width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.25); }
.lightbox-close { top: var(--space-6); right: var(--space-6); }
.lightbox-prev { left: var(--space-6); top: 50%; transform: translateY(-50%); }
.lightbox-next { right: var(--space-6); top: 50%; transform: translateY(-50%); }

/* ============ RESPONSIVE ============ */
@media (max-width: 920px) {
  .header-nav { display: none; }
  .mobile-toggle { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; }
  .header-inner .btn-primary { padding: 0.6rem 0.9rem; font-size: 0.75rem; }
  .brand-text .tag { display: none; }
  .brand-text .name { font-size: 0.75rem; }
  .brand img { height: 34px; }
  .header-inner { gap: var(--space-3); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; aspect-ratio: 16/11; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .feature-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid .g-item.big { grid-column: span 2; grid-row: span 1; aspect-ratio: 16/10; height: auto; }
  .stat-row { gap: var(--space-4) var(--space-8); }
  .tour-video-row { grid-template-columns: 1fr; }
  .video-card { width: 200px; margin: 0 auto; }
  .tour-feel { text-align: center; }
}

@media (max-width: 560px) {
  .agent-card { flex-direction: column; align-items: flex-start; }
  .agent-avatar { width: 100%; max-width: 220px; height: 220px; align-self: auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta-row { flex-direction: column; }
  .hero-cta-row .btn { width: 100%; }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; }
  .brand-text .name { font-size: 0.55rem; letter-spacing: 0.02em; }
  .brand img { height: 26px; }
  .brand { gap: 8px; }
  .header-inner .btn-primary { padding: 0.5rem 0.65rem; font-size: 0.65rem; white-space: nowrap; }
  .header-inner { gap: 10px; }
}
