/* ==========================================================================
   ALLONORT — Website styles
   Plain CSS, no frameworks. Brand colours come from the Allonort logo.
   Change the values in :root to restyle the whole site.
   ========================================================================== */

:root {
  /* Brand colours (information item 3) */
  --orange: #F97316;
  --orange-dark: #C2410C;
  --orange-soft: #FFF1E6;
  --ink: #23292E;            /* logo wordmark charcoal */
  --ink-soft: #4B5563;
  --muted: #6B7280;
  --line: #E7E2DD;
  --paper: #FFFFFF;
  --sand: #FAF7F4;
  --green: #1F8A4C;
  --red: #B42318;

  --font-head: "Plus Jakarta Sans", "Segoe UI", Arial, sans-serif;
  --font-body: "DM Sans", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px -18px rgba(35, 41, 46, 0.35);
  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 0.5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; color: var(--ink-soft); }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--orange-dark); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--ink); color: #fff; padding: .75rem 1rem; }
.skip-link:focus { left: 0; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(3rem, 6vw, 5rem) 0; }
.section.alt { background: var(--sand); }
.section-head { max-width: 680px; margin-bottom: 2rem; }
.section-head p { font-size: 1.1rem; margin: 0; }
.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head-row .section-head { margin-bottom: 0; }
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 46px; padding: .7rem 1.4rem; border-radius: 999px;
  border: 2px solid transparent; font-family: var(--font-head); font-weight: 700; font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s; white-space: nowrap; text-align: center;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--orange-dark); color: var(--orange-dark); }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--orange-soft); }
.btn-whatsapp { background: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1DA851; }
.btn-sm { min-height: 38px; padding: .45rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-row { display: flex; gap: .75rem; flex-wrap: wrap; }
.text-link { color: var(--orange-dark); font-weight: 700; }
.text-link:hover { text-decoration: underline; }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: .2rem .6rem; border-radius: 999px; font-size: .75rem; font-weight: 700; background: var(--sand); color: var(--ink-soft); }
.badge-sample { background: #FEF3C7; color: #92400E; }
.status { display: inline-block; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700; color: #fff; background: var(--orange); }
.status.for-rent { background: var(--ink); }
.status.sold { background: var(--red); }

/* ---------- Promotion bar ---------- */
.promo-bar { background: var(--ink); color: #fff; font-size: .92rem; }
.promo-bar .container { display: flex; gap: .75rem; justify-content: center; align-items: center; padding-top: .55rem; padding-bottom: .55rem; flex-wrap: wrap; text-align: center; }
.promo-bar a { color: #FDBA74; font-weight: 700; text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--ink); }
.brand img { height: 32px; width: auto; }
.brand small { display: block; font-size: .62rem; letter-spacing: .3em; font-weight: 600; color: var(--muted); margin-top: -2px; }
.main-nav ul { list-style: none; display: flex; gap: 1.6rem; align-items: center; }
.main-nav a { font-weight: 600; color: var(--ink-soft); padding: .4rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--orange); }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 10px; background: #fff; align-items: center; justify-content: center; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-mobile-cta { display: none; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .header-actions .btn { display: none; }
  .main-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; background: #fff; padding: 1.5rem var(--gutter); overflow-y: auto; z-index: 99; }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav a { display: block; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .main-nav a[aria-current="page"] { color: var(--orange-dark); border-bottom-color: var(--line); }
  .nav-mobile-cta { display: flex; margin-top: 1.5rem; }
}

/* ---------- Hero (home) ---------- */
.hero { position: relative; color: #fff; background: var(--ink); }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,24,28,.82) 0%, rgba(20,24,28,.55) 55%, rgba(20,24,28,.25) 100%); }
.hero .container { position: relative; padding-top: clamp(4rem, 10vw, 7rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.hero h1 { color: #fff; max-width: 16ch; }
.hero p.lead { color: rgba(255,255,255,.88); font-size: 1.15rem; max-width: 46ch; }
.search-panel { margin-top: 2rem; background: #fff; color: var(--ink); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); max-width: 980px; }
.search-panel .fields { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: .75rem; align-items: end; }
@media (max-width: 900px) { .search-panel .fields { grid-template-columns: 1fr 1fr; } .search-panel .fields .btn { grid-column: 1 / -1; } }
@media (max-width: 480px) { .search-panel .fields { grid-template-columns: 1fr; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); padding: clamp(2rem, 5vw, 3.5rem) 0; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero p { font-size: 1.1rem; max-width: 60ch; margin: 0; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: .75rem; }
.breadcrumb a { color: var(--orange-dark); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label, .field .label { font-size: .85rem; font-weight: 700; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: .65rem .8rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px var(--orange-soft); }
.field .hint { font-size: .8rem; color: var(--muted); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .error { font-size: .8rem; color: var(--red); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 1rem; padding: .85rem 1rem; border-radius: var(--radius-sm); font-weight: 600; }
.form-status.is-success { background: #E7F6EC; color: var(--green); }
.form-status.is-error { background: #FDECEA; color: var(--red); }
.form-status a { text-decoration: underline; }
.form-note { font-size: .82rem; color: var(--muted); margin-top: .75rem; }
.segmented { display: inline-flex; background: var(--sand); border-radius: 999px; padding: 4px; border: 1px solid var(--line); }
.segmented button { border: 0; background: transparent; padding: .5rem 1.1rem; border-radius: 999px; font-weight: 700; color: var(--ink-soft); min-height: 38px; }
.segmented button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 4px rgba(0,0,0,.12); }

/* ---------- Property cards ---------- */
.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 960px) { .property-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .property-grid { grid-template-columns: 1fr; } }
.property-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.property-card:hover { box-shadow: var(--shadow); }
.property-card .media { position: relative; aspect-ratio: 4 / 3; background: var(--sand); }
.property-card .media img { width: 100%; height: 100%; object-fit: cover; }
.property-card .media .status { position: absolute; top: .75rem; left: .75rem; }
.property-card .media .badge-sample { position: absolute; top: .75rem; right: .75rem; }
.property-card.is-sold .media img { filter: grayscale(.6); }
.property-card .body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.property-card .price { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; color: var(--orange-dark); }
.property-card .price small { font-size: .85rem; color: var(--muted); font-weight: 600; }
.property-card h3 { font-size: 1.05rem; margin: 0; }
.property-card h3 a::after { content: ""; position: absolute; inset: 0; }
.property-card .loc { font-size: .9rem; color: var(--muted); display: flex; gap: .35rem; align-items: center; }
.property-card .facts { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .88rem; color: var(--ink-soft); border-top: 1px solid var(--line); padding-top: .7rem; margin-top: auto; }
.property-card .cat { font-size: .78rem; font-weight: 700; color: var(--muted); }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1.5px dashed var(--line); border-radius: var(--radius); }
.empty-state p { margin-bottom: 1rem; }

/* ---------- Category tiles ---------- */
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
@media (max-width: 960px) { .category-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
.category-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1rem; display: flex; flex-direction: column; gap: .6rem; transition: border-color .2s; }
.category-tile:hover { border-color: var(--orange); }
.category-tile .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.category-tile strong { font-family: var(--font-head); }
.category-tile span { font-size: .85rem; color: var(--muted); }

/* ---------- Service cards ---------- */
.service-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; display: flex; flex-direction: column; gap: .5rem; }
.service-card .icon { width: 48px; height: 48px; border-radius: 12px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; margin-bottom: .25rem; }
.service-card p { margin: 0; }
.service-detail { display: grid; grid-template-columns: 64px 1fr auto; gap: 1.5rem; align-items: start; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.service-detail:first-child { padding-top: 0; }
.service-detail .icon { width: 64px; height: 64px; border-radius: 16px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; }
.service-detail ul { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .75rem; }
.service-detail li { background: var(--sand); border-radius: 999px; padding: .3rem .8rem; font-size: .85rem; color: var(--ink-soft); }
@media (max-width: 720px) { .service-detail { grid-template-columns: 1fr; gap: .75rem; } }

/* ---------- Steps (viewing process) ---------- */
.steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-weight: 800; font-family: var(--font-head); margin-bottom: .75rem; }
.steps h3 { font-size: 1.05rem; }
.steps p { margin: 0; font-size: .95rem; }

/* ---------- Split / editorial ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.split img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.value-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.value-card p { margin: 0; }
.mv-card { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 2rem; }
.mv-card h3 { color: #FDBA74; }
.mv-card p { color: rgba(255,255,255,.85); margin: 0; font-size: 1.05rem; }
.sample-note { font-size: .9rem; background: #FEF3C7; color: #92400E; padding: .6rem .9rem; border-radius: var(--radius-sm); }

/* ---------- Team ---------- */
.team-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.team-card .photo { aspect-ratio: 1; background: var(--orange-soft); display: grid; place-items: center; font-family: var(--font-head); font-size: 2.5rem; font-weight: 800; color: var(--orange-dark); }
.team-card .photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.team-card .role { font-size: .9rem; color: var(--orange-dark); font-weight: 700; }
.team-card p { font-size: .92rem; margin: 0 0 .5rem; }
.team-card .contacts { display: flex; flex-direction: column; gap: .2rem; font-size: .9rem; margin-top: auto; }
.team-card .contacts a { color: var(--ink); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonial { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.testimonial blockquote { margin: 0; font-size: 1.08rem; color: var(--ink); }
.testimonial figcaption { font-size: .9rem; color: var(--muted); }
.testimonial figcaption strong { color: var(--ink); display: block; }

/* ---------- Blog ---------- */
.post-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; position: relative; }
.post-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.post-card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .4rem; flex: 1; }
.post-card .meta { font-size: .82rem; color: var(--muted); display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; }
.post-card h3 { font-size: 1.1rem; margin: 0; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { margin: 0; font-size: .95rem; }
.filter-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filter-chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem 1rem; font-weight: 700; min-height: 38px; }
.filter-chips button[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }
.article { max-width: 760px; margin: 0 auto; }
.article .cover { border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 2rem; }
.article .meta { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.article h2 { font-size: 1.45rem; margin-top: 1.75rem; }
.article p { font-size: 1.08rem; line-height: 1.75; color: var(--ink-soft); }

/* ---------- Properties page ---------- */
.listing-layout { display: grid; grid-template-columns: 290px 1fr; gap: 2rem; align-items: start; }
@media (max-width: 960px) { .listing-layout { grid-template-columns: minmax(0, 1fr); } }
.filters { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.filters summary { list-style: none; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; display: flex; justify-content: space-between; align-items: center; cursor: default; }
.filters summary::-webkit-details-marker { display: none; }
.filters .filter-body { display: flex; flex-direction: column; gap: 1rem; margin-top: 1rem; }
.filters .two { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
@media (max-width: 960px) {
  .filters { position: static; }
  .filters summary { cursor: pointer; }
  .filters summary::after { content: "Show"; font-size: .85rem; color: var(--orange-dark); }
  .filters[open] summary::after { content: "Hide"; }
}
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.results-bar .count { font-weight: 700; }
.results-bar .field { flex-direction: row; align-items: center; gap: .5rem; }
.results-bar .field select { min-height: 40px; width: auto; }

/* ---------- Property details ---------- */
.detail-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.detail-head h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); margin: .4rem 0 .25rem; }
.detail-head .loc { color: var(--muted); }
.detail-head .price { font-family: var(--font-head); font-weight: 800; font-size: 1.8rem; color: var(--orange-dark); }
.detail-head .price small { font-size: 1rem; color: var(--muted); }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
@media (max-width: 1000px) { .detail-layout { grid-template-columns: minmax(0, 1fr); } }
.gallery-main { position: relative; background: var(--ink); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); display: grid; place-items: center; }
.gallery-main .prev { left: .75rem; }
.gallery-main .next { right: .75rem; }
.gallery-main .counter { position: absolute; bottom: .75rem; right: .75rem; background: rgba(0,0,0,.6); color: #fff; font-size: .82rem; padding: .2rem .6rem; border-radius: 999px; }
.gallery-thumbs { display: flex; gap: .5rem; overflow-x: auto; padding: .6rem 0 .25rem; scrollbar-width: thin; }
.gallery-thumbs button { flex: 0 0 92px; height: 68px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; background: var(--sand); }
.gallery-thumbs button[aria-current="true"] { border-color: var(--orange); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-section { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.detail-section:last-child { border-bottom: 0; }
.detail-section h2 { font-size: 1.35rem; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .75rem; }
.specs div { background: var(--sand); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.specs dt { font-size: .8rem; color: var(--muted); }
.specs dd { margin: 0; font-weight: 800; font-family: var(--font-head); }
.amenities { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .5rem 1rem; }
.amenities li { display: flex; gap: .5rem; align-items: flex-start; color: var(--ink-soft); }
.amenities li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: .55rem; border-radius: 50%; background: var(--orange); }
.embed { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sidebar { display: flex; flex-direction: column; gap: 1.25rem; position: sticky; top: calc(var(--header-h) + 1rem); }
@media (max-width: 1000px) { .sidebar { position: static; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.card h2, .card h3 { font-size: 1.15rem; }
.agent { display: flex; gap: .9rem; align-items: center; }
.agent .avatar { width: 56px; height: 56px; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 800; font-family: var(--font-head); overflow: hidden; flex-shrink: 0; }
.agent .avatar img { width: 100%; height: 100%; object-fit: cover; }
.agent strong { display: block; }
.agent span { font-size: .88rem; color: var(--muted); }
.agent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: 1rem; }
.share-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.share-row a, .share-row button { display: inline-flex; align-items: center; gap: .4rem; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: .4rem .85rem; font-size: .88rem; font-weight: 700; min-height: 38px; }
.share-row a:hover, .share-row button:hover { border-color: var(--orange); }
.sold-note { background: #FDECEA; color: var(--red); padding: .75rem 1rem; border-radius: var(--radius-sm); font-weight: 700; margin-bottom: 1rem; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.contact-list li { display: flex; gap: .85rem; }
.contact-list .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-list strong { display: block; font-size: .85rem; color: var(--muted); font-weight: 700; }
.contact-list a { font-weight: 600; }

/* ---------- Tours ---------- */
.tour-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.tour-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.tour-card .body { padding: 1.2rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.tour-card .body .btn-row { margin-top: auto; }
.modal { position: fixed; inset: 0; background: rgba(20,24,28,.85); z-index: 300; display: grid; place-items: center; padding: 1rem; }
.modal-inner { background: #fff; border-radius: var(--radius); width: min(1100px, 100%); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; }
.modal-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .9rem 1.2rem; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 1.1rem; margin: 0; }
.modal-close { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.4rem; line-height: 1; }
.modal .embed { border-radius: 0; border: 0; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 1em; color: var(--ink-soft); }
.prose li { margin-bottom: .35rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.5rem); display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { color: rgba(255,255,255,.92); margin: 0; font-size: 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 3.5rem 0 1.5rem; margin-top: 0; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 2rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer p { color: rgba(255,255,255,.7); font-size: .95rem; }
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: .55rem; font-size: .95rem; }
.social { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); display: grid; place-items: center; color: #fff; }
.social a:hover { background: var(--orange); border-color: var(--orange); text-decoration: none; }
.social svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 1.25rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .88rem; }
.footer-bottom nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 200; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* ---------- Misc ---------- */
.icon svg { width: 22px; height: 22px; }
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.not-found { text-align: center; padding: 5rem 0; }

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

@media print {
  .site-header, .site-footer, .whatsapp-float, .sidebar form, .share-row { display: none !important; }
}

/* Icon sizes inside buttons and share links */
.btn svg, .share-row svg, .gallery-main .nav svg { width: 18px; height: 18px; flex-shrink: 0; }
.gallery-main .nav svg { width: 22px; height: 22px; }
