/* Serrano Creek Apartments: design tokens (JAX template, colours from the property's monument sign) */
:root {
  /* Owner's 2026 colour scheme (signage refresh deck, Nov 2026): Alabaster brick, Tricorn Black trim,
     Dark Night signs, Caribe doors, terracotta accents. */
  --brand: #127D88;        /* Caribe: buttons and fills (4.9:1 under white text) */
  --brand-deep: #23383F;   /* Dark Night: links, footer, dark bands */
  --ink: #1E2A2F;
  --ink-soft: #566266;
  --linen: #F7F3EA;        /* cream page background */
  --sage: #EDEAE0;         /* Alabaster band */
  --brass: #B4491F;        /* terracotta accent fill */
  --accent-text: #A8431C;  /* terracotta deepened a step for small text on cream and Alabaster */
  --tricorn: #2A2A2B;
  --line: #DDD8CB;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Montserrat", -apple-system, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--linen);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-deep); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }

.eyebrow {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--accent-text);
  margin-bottom: 10px;
}

section { padding: 72px 0; }

/* ---------- announcement bar ---------- */
.announce { background: var(--brass); color: #fff; font-size: 1.08rem; }
.announce .wrap {
  display: flex; gap: 12px; align-items: center; justify-content: center;
  padding: 19px 56px 19px 24px; position: relative; text-align: center;
}
.announce span { font-weight: 600; }
.announce a { color: #fff; font-weight: 700; }
.announce .dismiss {
  position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: rgba(255,255,255,0.9);
  font-size: 1.35rem; line-height: 1; cursor: pointer; padding: 6px;
}
.announce .dismiss:hover { color: #fff; }
/* The concession bar is the ONLY top banner (Dan, 2026-09-29). Loud on
   purpose: this property's gold at full strength, with ink text rather than
   white. White on these golds fails contrast, and dark-on-gold reads louder
   anyway. Sized like the strip it replaced. */
.announce.concession { background: var(--brass); color: #fff; font-size: 1.08rem; }
.announce.concession .wrap { padding: 17px 56px 17px 24px; }
.announce.concession span { font-weight: 700; }
.announce.concession a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.announce.concession .dismiss { color: rgba(255,255,255,0.85); }
.announce.concession .dismiss:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 234, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 70px; gap: 16px;
}
.brand-link { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.brand-link img { height: 52px; width: auto; max-width: none; }
.site-nav { display: flex; align-items: center; gap: 14px; flex-wrap: nowrap; }
.site-nav a {
  text-decoration: none; color: var(--ink-soft);
  font-weight: 600; font-size: 0.92rem; white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--brand-deep); }
.btn {
  display: inline-block; text-decoration: none;
  font-weight: 700; font-size: 0.97rem;
  padding: 12px 22px; border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-brand { background: var(--brand); color: #fff; }
.btn-brand:hover { background: var(--brand-deep); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,0.8); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.14); }
.btn-outline { border: 1.5px solid var(--brand); color: var(--brand-deep); }
.btn-outline:hover { background: var(--brand); color: #fff; }
.site-nav .btn { padding: 9px 18px; font-size: 0.86rem; }
/* Button text must win over the generic .site-nav link color */
.site-nav .btn-brand { color: #fff; }
.site-nav .btn-brand:hover { color: #fff; }
.site-nav .btn-outline { color: var(--brand-deep); }
.site-nav .btn-outline:hover { color: #fff; }

/* Hamburger + mobile menu */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  color: var(--ink); padding: 8px; margin-left: 4px;
}
.nav-toggle svg { display: block; }
.mobile-menu { display: none; }

@media (max-width: 1380px) {
  .site-nav a:not(.btn-brand):not(.lang) { display: none; }
  .nav-toggle { display: block; }
  .mobile-menu:not([hidden]) {
    display: block; background: var(--linen);
    border-bottom: 1px solid var(--line);
  }
  .mobile-menu a {
    display: block; padding: 14px 24px; text-decoration: none;
    color: var(--ink); font-weight: 600; border-top: 1px solid var(--line);
  }
  .mobile-menu a:hover { color: var(--brand-deep); background: var(--sage); }
}
@media (max-width: 620px) {
  .brand-link img { height: 36px; }
  .site-nav .btn { padding: 8px 14px; font-size: 0.82rem; }
}


/* Header phone */
.site-nav .nav-phone { color: var(--brand-deep); font-weight: 700; font-size: 0.95rem; }
.site-nav .nav-phone:hover { color: var(--brand); }
.phone-mobile { display: none; color: var(--brand-deep); padding: 8px; }
@media (max-width: 1240px) {
  .phone-mobile { display: block; }
}

/* Compact page hero (availability) */
.page-hero.compact { padding: 26px 0 20px; }
.page-hero.compact h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.page-hero.compact p.lede { margin-top: 6px; font-size: 0.98rem; }

/* ---------- hero ---------- */
.hero {
  position: relative; padding: 0; color: #fff;
  min-height: 74vh; display: flex; align-items: flex-end;
}
.hero picture, .hero img.hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(27, 43, 49, 0.84) 0%, rgba(27, 43, 49, 0.30) 55%, rgba(27, 43, 49, 0.10) 100%);
}
.hero .wrap {
  position: relative; z-index: 2; padding-bottom: 64px; padding-top: 140px;
  text-shadow: 0 1px 12px rgba(12, 26, 32, 0.5);
}
.hero .eyebrow { color: #F1D9A8; }
.hero h1 { color: #fff; max-width: 22ch; }
.hero p { margin-top: 18px; max-width: 56ch; font-size: 1.08rem; color: rgba(255,255,255,0.93); }
.hero-ctas { margin-top: 28px; display: flex; gap: 14px; flex-wrap: wrap; }

/* page hero (inner pages) */
.page-hero { background: var(--sage); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero p.lede { margin-top: 12px; max-width: 62ch; color: var(--ink-soft); font-size: 1.05rem; }

/* ---------- facts band ---------- */
.facts { background: var(--brand-deep); color: #fff; padding: 34px 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.fact strong { display: block; font-family: var(--display); font-size: 1.4rem; font-weight: 600; color: #fff; }
.fact span { font-size: 0.88rem; color: rgba(255,255,255,0.8); }
@media (max-width: 720px) { .facts .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- arched figures (signature) ---------- */
.arch img { border-radius: 260px 260px 14px 14px; }
.arch figcaption { font-size: 0.85rem; color: var(--ink-soft); margin-top: 10px; text-align: center; }

/* ---------- two-column feature ---------- */
.feature .cols {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center;
}
.feature .cols.flip { grid-template-columns: 0.95fr 1.05fr; }
.feature p { margin-top: 14px; color: var(--ink-soft); max-width: 56ch; }
.feature .cta-row { margin-top: 24px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 860px) { .feature .cols, .feature .cols.flip { grid-template-columns: 1fr; gap: 30px; } }

/* ---------- tiles ---------- */
.tile-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tile {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px;
}
.tile h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--brand-deep); }
.tile p { color: var(--ink-soft); font-size: 0.96rem; }
@media (max-width: 800px) { .tile-grid { grid-template-columns: 1fr; } }

/* ---------- lists ---------- */
.leaf-list { list-style: none; }
.leaf-list li {
  padding: 9px 0 9px 30px; position: relative;
  border-bottom: 1px solid var(--line); font-size: 0.99rem;
}
.leaf-list li::before {
  content: ""; position: absolute; left: 2px; top: 15px;
  width: 14px; height: 14px; background: var(--brand);
  border-radius: 3px; transform: rotate(45deg); width: 10px; height: 10px; top: 17px;
}
.list-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 48px; margin-top: 20px; }
@media (max-width: 720px) { .list-cols { grid-template-columns: 1fr; } }

/* ---------- gallery ---------- */
.gallery-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a { display: block; border-radius: 10px; overflow: hidden; }
.gallery-grid img { width: 100%; height: 200px; object-fit: cover; transition: transform 0.25s ease; }
.gallery-grid a:hover img { transform: scale(1.04); }
@media (max-width: 860px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- availability ---------- */
.listings-embed { margin-top: 34px; min-height: 320px; }
.listings-embed iframe { border: 0; width: 100%; }
.fallback {
  margin-top: 26px; font-size: 0.96rem; color: var(--ink-soft);
  padding: 16px 20px; background: var(--sage); border-radius: 10px;
}

/* ---------- info card / terms ---------- */
.info-card {
  margin-top: 26px; padding: 20px 24px; background: #fff;
  border: 1px solid var(--line); border-radius: 12px;
  font-size: 0.96rem; color: var(--ink-soft);
}
.info-card strong { color: var(--ink); }

/* ---------- band sections ---------- */
.band { background: var(--sage); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px;
}
.contact-card h3 { font-size: 1.05rem; color: var(--brand-deep); margin-bottom: 8px; }
.contact-card a.big {
  font-family: var(--display); font-size: 1.35rem; font-weight: 600;
  color: var(--ink); text-decoration: none;
}
.contact-card p { font-size: 0.92rem; color: var(--ink-soft); }
.mapframe { border: 0; width: 100%; height: 380px; border-radius: 12px; margin-top: 40px; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 36px; max-width: 800px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 12px;
}
.faq-list summary {
  font-family: var(--display); font-weight: 600; font-size: 1.08rem;
  cursor: pointer; color: var(--ink);
}
.faq-list details p { margin-top: 12px; color: var(--ink-soft); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--brand); color: #fff; text-align: center; }
.cta-strip h2 { color: #fff; }
.cta-strip p { margin: 12px auto 26px; max-width: 54ch; color: rgba(255,255,255,0.9); }

/* ---------- footer ---------- */
.site-footer { background: var(--brand-deep); color: rgba(255,255,255,0.8); padding: 44px 0 30px; font-size: 0.9rem; }
.site-footer .cols {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px; align-items: center;
}
.site-footer img { height: 84px; width: auto; max-width: none; }
.site-footer a { color: rgba(255,255,255,0.9); }
.site-footer .links { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer .legal { margin-top: 22px; font-size: 0.8rem; color: rgba(255,255,255,0.78); }
@media (max-width: 800px) { .site-footer .cols { grid-template-columns: 1fr; gap: 20px; } }


/* ---------- availability unit cards (replaces the widget iframe) ---------- */
.unit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 940px) { .unit-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .unit-grid { grid-template-columns: 1fr; } }
.unit {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
}
.unit .ph { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.unit .ph-empty { background: var(--sage); }
.unit .chip {
  position: absolute; top: 12px; left: 12px; z-index: 1;
  background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: 4px;
}
.unit .chip.later { background: var(--ink); }
.unit-body { padding: 14px 18px 4px; flex: 1; }
.unit-price { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--ink); }
.unit-price span { font-family: var(--body); font-size: 0.88rem; font-weight: 500; color: var(--ink-soft); }
.unit-spec { font-size: 0.93rem; margin-top: 2px; }
.unit-addr { font-size: 0.88rem; color: var(--ink-soft); margin: 2px 0 10px; }
.unit .btn { align-self: flex-start; margin: 0 18px 16px; font-size: 0.85rem; padding: 9px 16px; }
.nearby { width: 100%; border-collapse: collapse; margin: 26px 0 10px; font-size: 0.97rem; }
.nearby caption { text-align: left; color: var(--muted, #5b6b72); font-size: 0.88rem; padding-bottom: 10px; }
.nearby th, .nearby td { text-align: left; padding: 11px 14px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.nearby thead th { font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted, #5b6b72); }
.nearby tbody th { font-weight: 700; white-space: nowrap; }
.nearby td:first-of-type { white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 720px) {
  .nearby, .nearby tbody, .nearby tr, .nearby th, .nearby td { display: block; }
  .nearby caption { display: block; width: 100%; }
  .nearby thead { display: none; }
  .nearby tr { border-bottom: 1px solid var(--line); padding: 12px 0; }
  .nearby th, .nearby td { border: 0; padding: 2px 0; white-space: normal; }
}

.hero-rating, .page-rating, .footer-rating { font-size: 0.95rem; margin: 14px 0 0; }
.hero-rating a, .page-rating a, .footer-rating a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.hero-rating { color: #fff; }
.footer-rating { margin-top: 6px; font-size: 0.9rem; }
.unit-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 18px 16px; }
.unit-actions .btn { align-self: auto; margin: 0; }
.unit-detail { max-width: 760px; }
.unit-hero-photo { width: 100%; border-radius: 12px; margin-bottom: 22px; }
.unit-facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 26px; margin: 0 0 26px; }
.unit-facts dt { font-weight: 700; color: var(--ink); }
.unit-facts dd { margin: 0; }
.unit-features { columns: 2; margin: 0 0 26px; padding-left: 18px; }
.unit-detail .unit-actions { margin: 0 0 22px; }
@media (max-width: 720px) { .unit-features { columns: 1; } }
.units-loading { color: var(--ink-soft); grid-column: 1 / -1; }
.units-note { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }

/* ---------- phones: photo on top, text below (Dan, 2026-10-03) ----------
   About 70% of traffic is on phones. The hero photo is a wide shot, and a
   tall phone hero can only show a narrow slice of its middle, which left white
   and gold text sitting on the palest part of the image. On phones the photo
   now stands on its own at full width, so the whole building shows, and the
   text sits below it on the deep brand colour. The paragraph drops to its
   first sentence (.hero-more is hidden); desktop and crawlers get all of it.
   Sized so both buttons clear the chat widget's bubbles on first load. */
@media (max-width: 620px) {
  .announce.concession { font-size: 0.84rem; line-height: 1.35; }
  .announce.concession .wrap { padding: 8px 40px 8px 16px; }

  .hero { display: block; min-height: 0; background: var(--brand-deep); }
  .hero picture { position: static; display: block; height: auto; }
  /* natural height: the whole photo, nothing cropped */
  .hero img.hero-img { position: static; display: block; width: 100%; height: auto; }
  .hero::after { display: none; }
  .hero .wrap { padding-top: 20px; padding-bottom: 26px; text-shadow: none; }
  .hero .eyebrow { font-size: 0.66rem; letter-spacing: 0.1em; margin-bottom: 8px; }
  .hero h1 { font-size: 1.72rem; line-height: 1.15; }
  .hero p { font-size: 0.97rem; line-height: 1.5; margin-top: 10px; }
  .hero .hero-more { display: none; }
  .hero-ctas { margin-top: 16px; gap: 10px; }
  .hero .btn { padding: 11px 18px; font-size: 0.92rem; }
  /* The brand button on its own deeper shade was about 1.4:1 against the
     panel and read as part of it. White is the one colour that stands off. */
  .hero .btn-brand { background: #fff; color: var(--brand-deep); }
  .hero .btn-brand:hover { background: #fff; color: var(--brand-deep); }
  .hero-rating { font-size: 0.85rem; margin-top: 12px; }
  /* the facts band is the same colour as the hero panel; a hairline keeps them apart */
  .facts { border-top: 1px solid rgba(255, 255, 255, 0.16); }
}

.maplink{margin:12px 0 0;font-weight:600}
.maplink a{text-decoration:underline;text-underline-offset:3px}

/* Serrano Creek: the wordmark is wider than the JAX logos, so it steps down on narrow phones to keep
   the menu button on screen (390 px overflowed by 39 px at 42 px tall). */
@media (max-width: 620px) { .brand-link img { height: 32px; } }
@media (max-width: 420px) {
  .brand-link img { height: 25px; }
  .site-nav .btn { padding: 8px 11px; font-size: 0.76rem; }
}
@media (max-width: 380px) {
  .site-header .wrap { padding-left: 14px; padding-right: 14px; }
  .brand-link img { height: 21px; }
}
@media (max-width: 340px) { .phone-mobile { display: none !important; } }
/* The neighborhood table's "What is there" column pushed 360 px phones sideways; on phones the place
   name and the miles carry the table. */
@media (max-width: 520px) {
  .nearby th:nth-child(3), .nearby td:nth-child(3) { display: none; }
  .nearby th, .nearby td { overflow-wrap: anywhere; }
  .nearby tbody th { white-space: normal; }
}
@media (max-width: 800px) { .site-footer img { height: 60px; max-width: 100%; object-fit: contain; object-position: left; } }

/* ---------- 2026 scheme: type tuning for Cormorant Garamond + Montserrat ---------- */
body { font-size: 16px; }
h1, h2, h3 { font-weight: 700; color: var(--brand-deep); }
h1 { font-size: clamp(2.35rem, 5.2vw, 3.8rem); letter-spacing: 0; line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); }
.page-hero.compact h1 { font-size: clamp(1.75rem, 3vw, 2.3rem); }
.tile h3 { font-size: 1.38rem; }
.contact-card h3 { font-size: 1.26rem; }
.contact-card .big { font-size: 1.5rem; }
.fact strong { font-size: 1.65rem; font-weight: 700; }
.faq-list summary { font-size: 1.24rem; font-weight: 700; }
.unit-price { font-size: 1.65rem; }
.hero h1 { color: #fff; }
.hero .eyebrow { color: #F3C9B4; }
.eyebrow { font-weight: 600; }
.site-nav a { font-size: 0.86rem; }
.site-nav .nav-phone { font-size: 0.9rem; }
.cta-strip h2, .facts h2, .site-footer h3 { color: #fff; }
/* 320 px phones: a long link in a two-column list must wrap, not push the page sideways */
.list-cols > * { min-width: 0; }
.leaf-list li { overflow-wrap: anywhere; min-width: 0; }

/* ---------- language button in the menu bar (the CMS sites' pattern: globe + the other language) ---------- */
.lang {
  display: inline-flex; align-items: center; gap: 7px; flex: none; margin-left: 12px;
  padding: 8px 14px 8px 11px; border-radius: 999px; background: var(--sage); color: var(--brand-deep);
  border: 1px solid var(--line); font-weight: 700; font-size: 0.86rem; line-height: 1; text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.lang:hover { background: var(--brand-deep); color: #fff; border-color: var(--brand-deep); }
.lang svg { flex: none; }
.lang .lang-short, .lang-menu .lang-short { display: none; }
.lang-menu { display: flex !important; align-items: center; gap: 9px; }
.lang-menu svg { flex: none; }
/* Phones: the language button takes the phone icon's place in the bar. Calling stays one tap away in the
   hero, in the menu and at the bottom of every page. */

/* ---------- terracotta: an accent only, the way the owner's signs use it (one band, thin rules) ----------
   Caribe teal keeps the buttons, the call-to-action band and the bullets. Terracotta is slid in at: the eyebrows
   (set above), the "All bills paid" band in the facts row (the sign's terracotta band), and thin rules. */
.facts { border-top: 4px solid var(--brass); }
.fact:first-child strong { display: inline-block; background: var(--brass); padding: 3px 14px 4px; border-radius: 4px; }
.fact:first-child span { display: block; margin-top: 6px; }
.site-footer { border-top: 4px solid var(--brass); }
.tile { border-top: 3px solid var(--brass); }
.faq-list summary::marker { color: var(--brass); }
.maplink a, .fallback a.js-tour { text-decoration-color: var(--brass); }
@media (max-width: 620px) { .facts { border-top: 4px solid var(--brass); } }

/* ---------- tour request form ---------- */
.tour-card { background: #fff; padding: 26px 24px; }
.tour-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; max-width: 720px; }
.tour-form label { display: block; font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.tour-form input, .tour-form select {
  display: block; width: 100%; margin-top: 6px; padding: 12px 12px; font: inherit; font-size: 1rem; font-weight: 400;
  color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 8px; min-height: 48px;
}
.tour-form input:focus, .tour-form select:focus { outline: 2px solid var(--brand); outline-offset: 1px; border-color: var(--brand); }
.tour-form .tour-hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.tour-form .tour-submit { grid-column: 1 / -1; justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 14px 26px; }
.tour-form .tour-error { grid-column: 1 / -1; color: #A23A2E; font-size: 0.92rem; }
.tour-foot { margin-top: 16px; font-size: 0.92rem; color: var(--ink-soft); }
@media (max-width: 620px) { .tour-form { grid-template-columns: 1fr; } .tour-form .tour-submit { justify-self: stretch; text-align: center; } }
/* The Spanish header button ("Agendar visita") is longer than "Book a Tour": tighten it on phones */
@media (max-width: 420px) { html[lang="es"] .site-nav .btn { padding: 8px 9px; font-size: 0.74rem; } html[lang="es"] .phone-mobile { padding: 8px 5px; } }

/* Phone header with the language button: logo, tour button, language, menu on one row */
@media (min-width: 801px) { .site-footer .cols > div:nth-child(2) { min-width: 250px; } }

/* The language button is the one solid terracotta thing in the bar, so the eye lands on it first */
.lang { background: var(--brass); color: #fff; border-color: var(--brass); box-shadow: 0 1px 6px rgba(180, 73, 31, 0.35); }
.lang:hover { background: #963B17; border-color: #963B17; color: #fff; }

/* Language button, the CMS sites' way: spelled out, filled, with a globe, left of the phone number, in a
   different colour from the tour button (terracotta beside Caribe), and never hidden on phones. */
.site-nav .lang { margin-left: 4px; color: #fff; font-weight: 800; white-space: nowrap;
  box-shadow: 0 0 0 3px rgba(180, 73, 31, 0.22); }
.site-nav .lang:hover { color: #fff; transform: translateY(-1px); }
@media (max-width: 480px) {
  /* Phone bar: logo, Espa\00f1ol, call, menu. The tour button is the first thing in the hero and in the menu. */
  .site-nav .btn-brand { display: none; }
  .site-header .wrap { gap: 8px; }
  .site-nav .lang, .nav-toggle { margin-left: 0; }
  .site-nav .lang { padding: 8px 12px 8px 9px; font-size: 0.84rem; }
  .brand-link img { height: 24px; }
  .phone-mobile { padding: 8px 6px; }
}
@media (max-width: 380px) { .brand-link img { height: 22px; } }
@media (max-width: 340px) {
  .site-header .wrap { gap: 5px; padding-left: 12px; padding-right: 12px; }
  .brand-link img { height: 19px; }
  .site-nav .lang { padding: 7px 10px 7px 8px; font-size: 0.8rem; }
}

/* Owner's logo (Nov 21): the circle sits beside the lettering; on phones the bar shows the circle alone,
   large enough to read as the property's mark. */
.brand-link picture { display: block; }
@media (max-width: 700px) { .brand-link img { height: 46px; width: 46px; } }
@media (max-width: 480px) { .brand-link img { height: 44px; width: 44px; } }
@media (max-width: 380px) { .brand-link img { height: 42px; width: 42px; } }
@media (max-width: 340px) { .brand-link img { height: 38px; width: 38px; } }
/* The footer lockup is wider with the circle: stack the footer one step earlier */
@media (max-width: 1000px) { .site-footer .cols { grid-template-columns: 1fr; gap: 20px; } .site-footer img { height: 60px; width: auto; max-width: 100%; object-fit: contain; object-position: left; } .site-footer .cols > div:nth-child(2) { min-width: 0; } }

/* Tour form: the home the visitor came from */
.tour-home { margin: 0 0 16px; padding: 10px 14px; background: var(--sage); border-left: 3px solid var(--brass); border-radius: 8px; font-size: 0.95rem; }
