/* Villa Augflor — Area Guide module
 * Layers on top of subpage.css (shares the same design tokens).
 * Premium, mobile-first cards with distance / rating / score badges,
 * a sticky filter + sort bar, and an elegant region overview.
 */

/* ---------- Hero ---------- */
.ag-hero {
  position: relative;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  background:
    radial-gradient(120% 90% at 80% -10%, rgba(61,122,138,0.12), transparent 60%),
    radial-gradient(90% 80% at 0% 110%, rgba(184,151,106,0.10), transparent 55%);
}
.ag-hero h1 { max-width: 22ch; }
.ag-hero--compact {
  padding: clamp(2rem, 5vw, 3rem) 0 clamp(1.25rem, 3vw, 2rem);
}
.ag-hero--compact h1 { max-width: none; font-size: clamp(28px, 5vw, 42px); }
.ag-intro-lead {
  font-size: 14px;
  color: var(--muted);
  margin-top: .75rem;
  line-height: 1.55;
}
.ag-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem .75rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--sand);
}
.ag-topic-links a {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  padding: .4rem .75rem;
  border: 1px solid var(--sand);
  border-radius: 100px;
  background: var(--white);
}
.ag-topic-links a:hover { border-color: var(--accent); }
.ag-intro-note { margin-top: 1rem; font-size: 12px; }
.ag-mini-guides--compact {
  margin-top: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: .5rem;
}
.ag-mini-guides--compact .ag-mini-guide {
  padding: .65rem .5rem;
  text-align: center;
}
.ag-mini-guides--compact .ag-mini-guide strong { font-size: 13px; margin: 0; }
.ag-mini-guides--compact .ag-mini-guide span { display: none; }
#explore .h3-style {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 400;
  margin: 0 0 .5rem;
}
.ag-hero .lead { font-size: clamp(15px, 2vw, 18px); margin-top: 1rem; }
.ag-hero-grid {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 38%);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
.ag-hero-villa {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: 0 20px 50px -28px rgba(28,26,23,0.35);
}
.ag-hero-villa img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.ag-hero-villa figcaption {
  font-size: 12px;
  color: var(--muted);
  padding: .65rem .85rem;
  background: var(--white);
  line-height: 1.45;
}
.ag-conv-line {
  font-size: 14px;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.55;
}
.ag-conv-line a { color: var(--accent); font-weight: 500; }
.ag-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--sand);
}
.ag-stat .n {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 300;
  line-height: 1;
  color: var(--accent-dark);
  display: block;
}
.ag-stat .l {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .4rem;
  display: block;
}

/* ---------- Sticky filter + sort bar ---------- */
.ag-toolbar {
  position: sticky;
  top: 4.6rem;
  z-index: 40;
  background: rgba(247,243,238,0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-block: 1px solid var(--sand);
  padding: .85rem 0;
}
.ag-toolbar-inner {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  flex-wrap: wrap;
  flex-direction: column;
}
.ag-filters {
  display: flex;
  gap: .5rem;
  overflow-x: auto;
  flex: 1 1 auto;
  width: 100%;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 2px;
}
.ag-filters::-webkit-scrollbar { height: 4px; }
.ag-filters::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 4px; }
.ag-chip {
  flex: 0 0 auto;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  padding: .5rem .95rem;
  border: 1px solid var(--sand);
  border-radius: 100px;
  background: var(--white);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
}
.ag-chip:hover { border-color: var(--accent-light); color: var(--accent-dark); }
.ag-chip.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.ag-sort-wrap {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex: 0 0 auto;
}
.ag-sort-wrap label {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
#ag-sort {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  padding: .5rem 2rem .5rem .8rem;
  border: 1px solid var(--sand);
  border-radius: 100px;
  background: var(--white)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237a7269' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")
    no-repeat right .7rem center;
  color: var(--deep);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}
.ag-count { font-size: 12px; color: var(--muted); flex: 0 0 auto; }

/* ---------- Card grid ---------- */
.ag-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
  margin-top: 2.25rem;
}
.ag-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 6px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.ag-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(28,26,23,0.35);
}

/* media / tile — consistent 4:3 destination cards */
.ag-media,
.area-card__imageWrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 16px 16px 0 0;
  background: #e8e4df;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-media picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.ag-media-icon { color: rgba(255,255,255,0.55); z-index: 1; }
.area-card__imageOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.02),
    rgba(0, 0, 0, 0.22)
  );
  pointer-events: none;
  z-index: 2;
}
.ag-i-lg { width: 54px; height: 54px; }
.ag-cat-tag {
  position: absolute;
  left: .8rem;
  bottom: .8rem;
  z-index: 3;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(28,26,23,0.42);
  backdrop-filter: blur(3px);
  padding: .3rem .65rem;
  border-radius: 100px;
}
.ag-rating {
  position: absolute;
  top: .8rem;
  right: .8rem;
  z-index: 3;
  font-size: 12px;
  color: var(--deep);
  background: rgba(255,255,255,0.94);
  padding: .3rem .55rem;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.ag-rating b { font-weight: 600; }
.ag-rating em { font-style: normal; color: var(--muted); font-size: 10px; }
.ag-rating-na { color: var(--muted); }
.ag-dist {
  position: absolute;
  top: .8rem;
  left: .8rem;
  z-index: 3;
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--white);
  background: rgba(28,26,23,0.42);
  backdrop-filter: blur(3px);
  padding: .3rem .6rem;
  border-radius: 100px;
}

/* body */
.ag-body { padding: 1.25rem 1.25rem 1.4rem; display: flex; flex-direction: column; flex: 1; }
.ag-body h3 { margin: 0 0 .4rem; font-size: 22px; line-height: 1.12; }
.ag-blurb { font-size: 13.5px; color: var(--deep); line-height: 1.55; margin: 0 0 .65rem; }
.ag-why { font-size: 12.5px; color: var(--muted); line-height: 1.55; margin: 0 0 1rem; }
.ag-why b { color: var(--accent-dark); font-weight: 500; }

.ag-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1rem; }
.ag-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--accent-dark);
  background: rgba(61,122,138,0.08);
  border: 1px solid rgba(61,122,138,0.18);
  padding: .3rem .55rem;
  border-radius: 100px;
}
.ag-badge .ag-i { width: 13px; height: 13px; }
.ag-badge-drive { background: rgba(61,122,138,0.12); font-weight: 500; }

.ag-metas { border-top: 1px solid var(--sand); margin-bottom: .85rem; }
.ag-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  padding: .45rem 0;
  border-bottom: 1px solid var(--sand);
}
.ag-meta span:first-child { color: var(--muted); letter-spacing: .04em; }
.ag-meta span:last-child { color: var(--deep); text-align: right; }

.ag-scores { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-bottom: 1.1rem; }
.ag-score { display: inline-flex; align-items: center; gap: .4rem; font-size: 11px; }
.ag-score b { color: var(--muted); font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.ag-dots { color: var(--gold); letter-spacing: .08em; font-size: 10px; font-style: normal; }

.ag-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; }
.ag-btn {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .55rem .85rem;
  border: 1px solid var(--sand);
  border-radius: 3px;
  color: var(--deep);
  background: var(--white);
  cursor: pointer;
  transition: all .2s;
}
.ag-btn:hover { border-color: var(--accent); color: var(--accent); }
.ag-btn .ag-i { width: 13px; height: 13px; }
.ag-btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}
.ag-btn-primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white); }

/* ---------- Seasonal ---------- */
.ag-season-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
  margin-top: 2.25rem;
}
.ag-season {
  background: var(--white);
  border: 1px solid var(--sand);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
}
.ag-season h3 { display: flex; align-items: baseline; justify-content: space-between; }
.ag-season h3 small {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent);
}
.ag-season ul { list-style: none; padding: 0; margin: .6rem 0 0; }
.ag-season li {
  font-size: 13px;
  color: var(--muted);
  padding: .4rem 0;
  border-bottom: 1px solid var(--sand);
  line-height: 1.45;
}
.ag-season li:last-child { border-bottom: 0; }
.ag-season li b { color: var(--deep); font-weight: 500; }

/* ---------- FAQ ---------- */
.ag-faq { max-width: 820px; margin-top: 2rem; }
.ag-faq details {
  border-bottom: 1px solid var(--sand);
  padding: 1.1rem 0;
}
.ag-faq summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--deep);
}
.ag-faq summary::-webkit-details-marker { display: none; }
.ag-faq summary::after {
  content: "+";
  font-family: 'Jost', sans-serif;
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
  transition: transform .25s;
}
.ag-faq details[open] summary::after { transform: rotate(45deg); }
.ag-faq p { font-size: 14px; color: var(--muted); line-height: 1.65; margin: .85rem 0 0; }
.ag-faq p a { color: var(--accent); text-decoration: underline; }

/* ---------- Concierge CTA ---------- */
.ag-concierge {
  background: var(--deep);
  color: rgba(255,255,255,0.82);
  border-radius: 6px;
  padding: clamp(2rem, 5vw, 3rem);
  margin-top: 2.5rem;
  text-align: center;
}
.ag-concierge h2 { color: var(--white); margin: 0 auto .5rem; }
.ag-concierge p { max-width: 52ch; margin: 0 auto 1.5rem; font-size: 14px; color: rgba(255,255,255,0.7); }

/* ---------- Hero CTAs & subheading ---------- */
.ag-hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-style: italic;
  color: var(--accent-dark);
  margin: .5rem 0 0;
}
.ag-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}
.ag-trust-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.6;
  max-width: 65ch;
}
.ag-checklist {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
}
.ag-checklist li {
  font-size: 14px;
  color: var(--muted);
  padding: .45rem 0;
  border-bottom: 1px solid var(--sand);
  line-height: 1.5;
}
.ag-checklist li strong { color: var(--deep); font-weight: 500; }
.ag-checklist-compact li { font-size: 13px; padding: .35rem 0; }
.ag-internal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--sand);
}
.ag-internal-nav a {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.ag-internal-nav a:hover { text-decoration: underline; }

/* ---------- Static map preview ---------- */
.ag-map-preview {
  position: relative;
  min-height: 320px;
  margin-top: 2rem;
  background: var(--sand);
  border: 1px solid var(--sand);
  border-radius: 8px;
  padding: 2rem 1rem 1.5rem;
  overflow: hidden;
}
.ag-map-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.ag-map-bg iframe {
  position: absolute;
  width: 112%;
  height: 118%;
  left: -6%;
  top: -4%;
  border: 0;
  pointer-events: none;
  filter: saturate(0.9) contrast(0.98);
}
.ag-map-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 50% 55%, rgba(247,243,238,0.12) 0%, rgba(247,243,238,0.38) 72%),
    linear-gradient(180deg, rgba(247,243,238,0.18), rgba(247,243,238,0.32));
  pointer-events: none;
}
.ag-map-hub {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: var(--accent);
  color: var(--white);
  padding: .85rem 1.1rem;
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(61,122,138,0.35);
  z-index: 2;
}
.ag-map-hub-label { display: block; font-family: 'Cormorant Garamond', serif; font-size: 18px; }
.ag-map-hub-sub { display: block; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; margin-top: .15rem; }
.ag-map-bubbles {
  list-style: none;
  padding: 0;
  margin: 0;
  display: contents;
}
.ag-map-bubble {
  position: absolute;
  z-index: 2;
  font-size: 11px;
  color: var(--deep);
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 100px;
  padding: .45rem .75rem;
  box-shadow: 0 4px 14px rgba(28,26,23,0.08);
  max-width: 11rem;
  line-height: 1.3;
}
.ag-map-bubble .t {
  display: block;
  font-weight: 600;
  color: var(--accent-dark);
  font-size: 10px;
  letter-spacing: .06em;
}
.ag-map-n { left: 50%; top: calc(52% - var(--d)); transform: translate(-50%, -100%); }
.ag-map-s { left: 50%; top: calc(52% + var(--d)); transform: translate(-50%, 0); }
.ag-map-w { left: calc(50% - var(--d)); top: 52%; transform: translate(-100%, -50%); }
.ag-map-e { left: calc(50% + var(--d)); top: 52%; transform: translate(0, -50%); }
.ag-map-sw { left: calc(42% - var(--d) * 0.7); top: calc(58% + var(--d) * 0.5); transform: translate(-50%, 0); }
.ag-map-se { left: calc(58% + var(--d) * 0.6); top: calc(56% + var(--d) * 0.55); transform: translate(-50%, 0); }
.ag-map-attrib {
  position: absolute;
  right: .65rem;
  bottom: .4rem;
  z-index: 3;
  margin: 0;
  font-size: 9px;
  letter-spacing: .02em;
  color: var(--muted);
  opacity: .8;
}

/* ---------- Itineraries ---------- */
.ag-itinerary-day {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  max-width: 52ch;
}
.ag-itinerary-day li {
  font-size: 14px;
  color: var(--muted);
  padding: .5rem 0;
  line-height: 1.55;
}
.ag-itinerary-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.ag-itin-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-top: 3px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.ag-itin-card h3 { margin: 0 0 .75rem; font-size: 26px; }
.ag-itin-card ul { list-style: none; padding: 0; margin: 0 0 1.25rem; flex: 1; }
.ag-itin-card li { font-size: 13px; color: var(--muted); padding: .35rem 0; border-bottom: 1px solid var(--sand); line-height: 1.45; }
.ag-itin-card .btn { margin-top: auto; align-self: flex-start; }
.ag-itin-card--featured {
  border-top-width: 4px;
  border-top-color: var(--accent);
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .ag-itin-card--featured { grid-column: span 1; }
  .ag-itinerary-cards { grid-template-columns: repeat(3, 1fr); }
}
.ag-compare-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 38%);
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.ag-compare-copy h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4.5vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 22ch;
}
.ag-compare-photo {
  margin: 0;
  position: sticky;
  top: 5.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--sand);
  box-shadow: 0 20px 50px -28px rgba(28, 26, 23, 0.35);
}
.ag-compare-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}
.ag-compare-photo figcaption {
  font-size: 13px;
  color: var(--muted);
  padding: .75rem 1rem;
  background: var(--white);
  line-height: 1.5;
  font-style: italic;
}
.ag-compare-table {
  margin-top: 1.75rem;
  border: 1px solid var(--sand);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}
.ag-compare-row {
  display: grid;
  grid-template-columns: minmax(7rem, 1.1fr) repeat(4, 1fr);
  gap: 0;
  font-size: 13px;
  line-height: 1.45;
  border-bottom: 1px solid var(--sand);
}
.ag-compare-row:last-child { border-bottom: 0; }
.ag-compare-row > span {
  padding: .75rem .85rem;
  color: var(--muted);
  border-right: 1px solid var(--sand);
}
.ag-compare-row > span:last-child { border-right: 0; }
.ag-compare-head {
  background: var(--cream);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  font-weight: 500;
}
.ag-compare-row [role="rowheader"] {
  font-weight: 500;
  color: var(--deep);
  background: rgba(247,243,238,0.6);
}
.ag-compare-row > span:last-child {
  color: var(--deep);
  background: rgba(61,122,138,0.06);
}
.ag-pool-band {
  background: var(--deep);
  color: rgba(255,255,255,0.85);
  padding: clamp(2rem, 5vw, 2.75rem) 0;
}
.ag-pool-band-inner {
  display: grid;
  grid-template-columns: minmax(200px, 280px) 1fr;
  gap: 1.75rem;
  align-items: center;
}
.ag-pool-band img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}
.ag-pool-band h2 {
  color: var(--white);
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 .5rem;
}
.ag-pool-band p {
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin: 0 0 1rem;
  max-width: 48ch;
}
.ag-pool-band .btn { margin-right: .5rem; margin-top: .25rem; }
.ag-pool-band .btn-ghost {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
}
.ag-sticky-book {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 140;
  flex-direction: column;
  gap: .5rem;
  padding: .85rem;
  background: rgba(247,243,238,0.98);
  border: 1px solid var(--sand);
  border-radius: 8px;
  box-shadow: 0 16px 40px -20px rgba(28,26,23,0.45);
  max-width: 220px;
}
.ag-sticky-book .btn {
  width: 100%;
  min-height: 44px;
  font-size: 12px;
  letter-spacing: .06em;
  text-align: center;
  justify-content: center;
}
.ag-sticky-wa { white-space: normal; line-height: 1.3; }

/* ---------- Mini-guides ---------- */
.ag-mini-guides {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
  margin-top: 1.75rem;
}
.ag-mini-guide {
  text-align: left;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 4px;
  padding: 1rem 1.1rem;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s;
  min-height: 44px;
}
.ag-mini-guide:hover, .ag-mini-guide:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(61,122,138,0.12);
  outline: 2px solid var(--accent-light);
  outline-offset: 2px;
}
.ag-mini-guide strong { display: block; font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--deep); margin-bottom: .25rem; }
.ag-mini-guide span { font-size: 12px; color: var(--muted); line-height: 1.45; }

/* ---------- Legend & tag filters ---------- */
.ag-legend {
  font-size: 13px;
  color: var(--muted);
  margin-top: 1rem;
}
.ag-legend-book { color: var(--accent-dark); font-weight: 500; }
.ag-tag-filters {
  width: 100%;
  margin-top: .25rem;
  padding-top: .5rem;
  border-top: 1px dashed var(--sand);
}
.ag-chip:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Card enhancements ---------- */
.ag-media-img,
.area-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--image-position, center center);
  display: block;
}
.ag-media--fallback .ag-media-img,
.ag-media--fallback .area-card__image {
  opacity: 0.92;
  filter: saturate(0.85);
}
.ag-photo-caption {
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: 2.6rem;
  z-index: 3;
  font-size: 10px;
  letter-spacing: .04em;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 3px rgba(0,0,0,0.45);
  pointer-events: none;
}
.ag-fallback {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.ag-fallback > .note { grid-column: 1 / -1; }
.ag-card-static .ag-body { padding: 1.25rem; }
.ag-popular {
  display: inline-block;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: rgba(184,151,106,0.18);
  border: 1px solid rgba(184,151,106,0.35);
  padding: .25rem .55rem;
  border-radius: 100px;
  margin-bottom: .5rem;
}
.ag-host-tip {
  font-size: 12px;
  color: var(--accent-dark);
  background: rgba(61,122,138,0.06);
  border-left: 3px solid var(--accent);
  padding: .5rem .75rem;
  margin: 0 0 .75rem;
  line-height: 1.5;
}
.ag-host-tip b { font-weight: 500; }
.ag-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin-bottom: .85rem;
}
.ag-tag {
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--cream);
  border: 1px solid var(--sand);
  padding: .25rem .5rem;
  border-radius: 100px;
}
.ag-tag-price { color: var(--accent-dark); font-weight: 500; }
.ag-tag-book { color: #8a473d; border-color: rgba(138,71,61,0.25); }
.ag-btn-copy { font-family: inherit; }
.ag-actions .ag-btn, .ag-actions .ag-btn-copy {
  min-height: 44px;
  align-items: center;
}
.ag-photo-credit {
  position: absolute;
  right: .55rem;
  bottom: .55rem;
  z-index: 3;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(28, 26, 23, 0.35);
  padding: .2rem .4rem;
  border-radius: 3px;
  pointer-events: none;
}
.ag-credits-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 1.25rem;
  line-height: 1.55;
}
.ag-credits-note a { color: var(--accent); }

/* ---------- CTAs ---------- */
.ag-mid-cta-inner, .ag-bottom-cta-inner { text-align: center; }
.ag-mid-cta-inner .lead, .ag-bottom-cta-inner h2 { margin-left: auto; margin-right: auto; }
.ag-bottom-cta {
  background:
    radial-gradient(100% 80% at 50% 0%, rgba(61,122,138,0.1), transparent),
    var(--cream);
}
.ag-bottom-cta-inner h2 { max-width: 22ch; margin-bottom: 1.25rem; }

/* ---------- Mobile sticky CTA ---------- */
.ag-mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: rgba(28,26,23,0.96);
  padding: .65rem 1rem calc(.65rem + env(safe-area-inset-bottom));
  gap: .5rem;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.ag-mobile-cta a {
  text-align: center;
  padding: .75rem .4rem;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ag-mc-wa { background: #25D366; color: #fff; }
.ag-mc-dates { background: var(--accent); color: #fff; }

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .ag-sticky-book { display: flex; }
}
@media (max-width: 900px) {
  .ag-mobile-cta { display: grid; }
  body.rustic-texture { padding-bottom: 4.5rem; }
  .ag-wa-desktop { display: none; }
  .ag-map-preview { min-height: 420px; }
  .ag-map-bubble { font-size: 10px; max-width: 9rem; }
  .ag-hero-grid { grid-template-columns: 1fr; }
  .ag-hero-villa { max-width: 420px; }
  .ag-pool-band-inner { grid-template-columns: 1fr; }
  .ag-compare-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ag-compare-head { display: none; }
  .ag-compare-row > span {
    border-right: 0;
    border-bottom: 1px solid var(--sand);
    display: block;
  }
  .ag-compare-row > span:last-child { border-bottom: 0; }
  .ag-compare-row [role="rowheader"] {
    background: var(--cream);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
  }
  .ag-compare-layout {
    grid-template-columns: 1fr;
  }
  .ag-compare-photo {
    position: static;
    max-width: 480px;
    order: -1;
  }
  .ag-compare-copy h1 { max-width: none; }
}
@media (max-width: 700px) {
  .ag-toolbar { top: 4.1rem; }
  .ag-grid { grid-template-columns: 1fr; }
  .ag-sort-wrap { width: 100%; justify-content: space-between; }
  .ag-count { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-card { transition: none; }
  .ag-card:hover { transform: none; }
}
