/* =========================================================================
   SafiXperience — Design System
   Palette: Atlantic Blue / Moroccan Terracotta / Sand / Warm White / Charcoal
   ========================================================================= */

:root {
  /* Brand palette */
  --sx-blue-900: #0b2e3f;
  --sx-blue-700: #12495f;
  --sx-blue-600: #1a5f7a;
  --sx-blue-500: #2b7a9e;
  --sx-blue-100: #e3eff3;

  --sx-terracotta-700: #a34424;
  --sx-terracotta-600: #c1552b;
  --sx-terracotta-500: #d97c4a;
  --sx-terracotta-100: #f7e6da;

  --sx-sand-100: #f6efe4;
  --sx-sand-200: #eee0c9;
  --sx-sand-300: #e0cba3;

  --sx-warm-white: #fbf8f3;
  --sx-charcoal-900: #21201d;
  --sx-charcoal-700: #3c3a35;
  --sx-charcoal-500: #6b675f;
  --sx-charcoal-300: #a39e93;

  --sx-white: #ffffff;
  --sx-gold: #b6893f;

  /* Semantic */
  --sx-bg: var(--sx-warm-white);
  --sx-text: var(--sx-charcoal-900);
  --sx-text-soft: var(--sx-charcoal-500);
  --sx-border: rgba(33, 32, 29, 0.1);
  --sx-radius-sm: 6px;
  --sx-radius-md: 14px;
  --sx-radius-lg: 28px;
  --sx-shadow-sm: 0 2px 10px rgba(11, 46, 63, 0.06);
  --sx-shadow-md: 0 12px 32px rgba(11, 46, 63, 0.12);
  --sx-shadow-lg: 0 24px 60px rgba(11, 46, 63, 0.18);
  --sx-container: 1240px;
  --sx-header-h: 84px;

  /* Type */
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-arabic: "Cairo", "Tahoma", sans-serif;
}

/* -------------------------------------------------------------------------
   Reset
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--sx-bg);
  color: var(--sx-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-arabic); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--sx-blue-900); letter-spacing: -0.01em; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4 { font-family: var(--font-arabic); font-weight: 700; }
p { margin: 0 0 1em; }
.sx-container { max-width: var(--sx-container); margin: 0 auto; padding: 0 24px; }
@media (min-width: 900px) { .sx-container { padding: 0 40px; } }

/* -------------------------------------------------------------------------
   RTL support
   ------------------------------------------------------------------------- */
html[dir="rtl"] .sx-header__nav { flex-direction: row-reverse; }
html[dir="rtl"] .sx-btn svg,
html[dir="rtl"] .sx-card__link svg { transform: scaleX(-1); }
html[dir="rtl"] .sx-hero__ctas,
html[dir="rtl"] .sx-footer__cols { direction: rtl; }

/* -------------------------------------------------------------------------
   Utilities
   ------------------------------------------------------------------------- */
.sx-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase;
  font-weight: 600; color: var(--sx-terracotta-600);
  margin-bottom: 14px;
}
.sx-eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--sx-terracotta-500); display: inline-block; }
html[dir="rtl"] .sx-eyebrow::before { order: 2; }

.sx-section { padding: 88px 0; }
.sx-section--tight { padding: 56px 0; }
.sx-section--sand { background: var(--sx-sand-100); }
.sx-section--blue { background: var(--sx-blue-900); color: var(--sx-sand-100); }
.sx-section--blue h2, .sx-section--blue h3 { color: var(--sx-white); }
.sx-section-head { max-width: 680px; margin: 0 0 48px; }
.sx-section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sx-lede { font-size: 19px; color: var(--sx-text-soft); }
.sx-section--blue .sx-lede { color: var(--sx-blue-100); }

.sx-grid { display: grid; gap: 28px; }
.sx-grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sx-grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.sx-grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* Buttons */
.sx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.sx-btn--primary { background: var(--sx-terracotta-600); color: var(--sx-white); }
.sx-btn--primary:hover { background: var(--sx-terracotta-700); transform: translateY(-2px); box-shadow: var(--sx-shadow-md); }
.sx-btn--outline { background: transparent; border-color: currentColor; color: var(--sx-blue-900); }
.sx-btn--outline:hover { background: var(--sx-blue-900); color: var(--sx-white); border-color: var(--sx-blue-900); }
.sx-btn--ghost-light { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); color: var(--sx-white); backdrop-filter: blur(6px); }
.sx-btn--ghost-light:hover { background: var(--sx-white); color: var(--sx-blue-900); }
.sx-btn--whatsapp { background: #25D366; color: #06381f; }
.sx-btn--whatsapp:hover { background: #1ebe57; transform: translateY(-2px); box-shadow: var(--sx-shadow-md); }
.sx-btn--sm { padding: 10px 20px; font-size: 13px; }
.sx-btn--block { width: 100%; }

/* Cards */
.sx-card {
  background: var(--sx-white); border-radius: var(--sx-radius-md); overflow: hidden;
  box-shadow: var(--sx-shadow-sm); transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; border: 1px solid var(--sx-border);
}
.sx-card:hover { transform: translateY(-6px); box-shadow: var(--sx-shadow-md); }
.sx-card__media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.sx-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.sx-card:hover .sx-card__media img { transform: scale(1.06); }
.sx-card__tag {
  position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(11,46,63,.82);
  color: var(--sx-white); font-size: 12px; letter-spacing: .04em; padding: 5px 12px; border-radius: 999px;
}
.sx-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.sx-card__meta { display: flex; gap: 14px; font-size: 13px; color: var(--sx-text-soft); }
.sx-card__title { font-size: 21px; margin: 0; }
.sx-card__desc { color: var(--sx-text-soft); font-size: 14.5px; flex: 1; }
.sx-card__actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }

/* Placeholder image blocks (used until real photography is added) */
.sx-ph {
  position: relative; width: 100%; height: 100%; min-height: 100%;
  background: linear-gradient(135deg, var(--sx-blue-700), var(--sx-blue-900));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.sx-ph::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.12) 0, transparent 45%),
    radial-gradient(circle at 80% 70%, rgba(217,124,74,.35) 0, transparent 50%);
}
.sx-ph::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.05) 0 2px, transparent 2px 14px);
}
.sx-ph--photo { background: var(--sx-sand-200); }
.sx-ph--photo img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.sx-ph--terracotta { background: linear-gradient(135deg, var(--sx-terracotta-600), var(--sx-terracotta-700)); }
.sx-ph--sand { background: linear-gradient(135deg, var(--sx-sand-300), var(--sx-terracotta-500)); }
.sx-ph__icon { position: relative; z-index: 1; font-size: 42px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.25)); }
.sx-ph__label {
  position: absolute; z-index: 1; bottom: 10px; inset-inline: 10px; text-align: center;
  font-size: 10.5px; color: rgba(255,255,255,.8); letter-spacing: .04em; text-transform: uppercase;
}

/* Zellige-inspired divider */
.sx-divider {
  height: 10px; width: 100%;
  background-image: linear-gradient(45deg, var(--sx-terracotta-500) 25%, transparent 25%),
    linear-gradient(-45deg, var(--sx-terracotta-500) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--sx-blue-500) 75%),
    linear-gradient(-45deg, transparent 75%, var(--sx-blue-500) 75%);
  background-size: 20px 20px; background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
  opacity: .8;
}

/* -------------------------------------------------------------------------
   Header
   ------------------------------------------------------------------------- */
.sx-header {
  position: fixed; top: 0; inset-inline: 0; z-index: 100; height: var(--sx-header-h);
  display: flex; align-items: center; background: rgba(251,248,243,.92);
  backdrop-filter: blur(10px); border-bottom: 1px solid transparent; transition: all .3s ease;
}
.sx-header.is-scrolled { border-bottom-color: var(--sx-border); box-shadow: var(--sx-shadow-sm); }
.sx-header__inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 20px; }
.sx-logo { font-family: var(--font-display); font-weight: 600; font-size: 22px; letter-spacing: .02em; color: var(--sx-blue-900); display: flex; align-items: baseline; gap: 2px; }
.sx-logo span { color: var(--sx-terracotta-600); }
.sx-header__nav { display: none; align-items: center; gap: 30px; }
.sx-header__nav a { font-size: 14.5px; font-weight: 500; color: var(--sx-charcoal-700); position: relative; padding: 6px 0; }
.sx-header__nav a:hover, .sx-header__nav a.is-active { color: var(--sx-terracotta-600); }
.sx-header__right { display: flex; align-items: center; gap: 14px; }
.sx-lang { position: relative; }
.sx-lang__btn { display: flex; align-items: center; gap: 6px; border: 1px solid var(--sx-border); background: var(--sx-white); padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; }
.sx-lang__menu { position: absolute; top: calc(100% + 8px); inset-inline-end: 0; background: var(--sx-white); border-radius: 12px; box-shadow: var(--sx-shadow-md); padding: 6px; min-width: 150px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all .2s ease; z-index: 50; }
.sx-lang.is-open .sx-lang__menu { opacity: 1; visibility: visible; transform: translateY(0); }
.sx-lang__menu a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 14px; }
.sx-lang__menu a:hover { background: var(--sx-sand-100); }
.sx-burger { display: inline-flex; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px; }
.sx-burger span { width: 22px; height: 2px; background: var(--sx-blue-900); border-radius: 2px; transition: all .25s ease; }
@media (min-width: 1080px) { .sx-header__nav { display: flex; } .sx-burger { display: none; } }
@media (max-width: 520px) {
  .sx-header__right { gap: 8px; }
  .sx-header__right > a.sx-btn--whatsapp { display: none; }
  .sx-lang__btn { padding: 8px 9px; }
}

/* Mobile menu */
.sx-mobile-menu { position: fixed; inset: 0; z-index: 99; background: var(--sx-warm-white); padding: calc(var(--sx-header-h) + 20px) 24px 40px; transform: translateX(100%); transition: transform .35s ease; overflow-y: auto; }
html[dir="rtl"] .sx-mobile-menu { transform: translateX(-100%); }
.sx-mobile-menu.is-open { transform: translateX(0); }
.sx-mobile-menu nav a { display: block; font-size: 24px; font-family: var(--font-display); padding: 14px 0; border-bottom: 1px solid var(--sx-border); color: var(--sx-blue-900); }
.sx-mobile-menu__langs { display: flex; gap: 10px; margin-top: 24px; }
.sx-mobile-menu__langs a { flex: 1; text-align: center; padding: 12px; border: 1px solid var(--sx-border); border-radius: 10px; font-size: 14px; font-weight: 600; }
.sx-mobile-menu__cta { margin-top: 28px; }

/* -------------------------------------------------------------------------
   Hero
   ------------------------------------------------------------------------- */
.sx-hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; padding-top: var(--sx-header-h); overflow: hidden; }
.sx-hero__media { position: absolute; inset: 0; z-index: 0; }
.sx-hero__media .sx-ph { min-height: 100%; }
.sx-hero__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,46,63,.35) 0%, rgba(11,46,63,.35) 40%, rgba(11,29,38,.88) 100%); z-index: 1; }
.sx-hero__content { position: relative; z-index: 2; color: var(--sx-white); padding-bottom: 76px; width: 100%; }
.sx-hero__eyebrow { color: var(--sx-sand-200); }
.sx-hero__eyebrow::before { background: var(--sx-terracotta-500); }
.sx-hero h1 { color: var(--sx-white); font-size: clamp(38px, 6vw, 72px); max-width: 900px; margin-bottom: 20px; }
.sx-hero__subtitle { font-size: clamp(16px, 2vw, 20px); max-width: 620px; color: rgba(255,255,255,.88); margin-bottom: 34px; }
.sx-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.sx-hero--page { min-height: 58vh; align-items: center; }
.sx-hero--page .sx-hero__content { padding-bottom: 0; padding-top: 40px; }
.sx-hero--page h1 { font-size: clamp(32px, 5vw, 52px); }

/* -------------------------------------------------------------------------
   Experience / feature cards row for home
   ------------------------------------------------------------------------- */
.sx-stat-row { display: flex; flex-wrap: wrap; gap: 40px; margin-top: 40px; }
.sx-stat-row div strong { display: block; font-family: var(--font-display); font-size: 28px; color: var(--sx-blue-900); }
.sx-stat-row div span { font-size: 13px; color: var(--sx-text-soft); }

.sx-why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 30px; }
.sx-why-item { padding: 28px; background: var(--sx-white); border-radius: var(--sx-radius-md); border: 1px solid var(--sx-border); }
.sx-why-item__icon { font-size: 30px; margin-bottom: 14px; display: block; }
.sx-why-item h3 { font-size: 18px; margin-bottom: 8px; }
.sx-why-item p { color: var(--sx-text-soft); font-size: 14.5px; margin: 0; }

.sx-discover-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; border-radius: var(--sx-radius-lg); overflow: hidden; }
.sx-discover-tile { position: relative; aspect-ratio: 1/1; grid-column: span 3; }
@media (min-width: 640px) { .sx-discover-tile:nth-child(1) { grid-column: span 4; } .sx-discover-tile:nth-child(2) { grid-column: span 2; } .sx-discover-tile:nth-child(3) { grid-column: span 2; } .sx-discover-tile:nth-child(4) { grid-column: span 2; } .sx-discover-tile:nth-child(5) { grid-column: span 2; } .sx-discover-tile:nth-child(6) { grid-column: span 4; } }
.sx-discover-tile .sx-ph { position: absolute; inset: 0; }
.sx-discover-tile__label { position: absolute; z-index: 2; bottom: 18px; inset-inline-start: 18px; color: var(--sx-white); font-family: var(--font-display); font-size: 19px; }

.sx-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.sx-plan-card { border-radius: var(--sx-radius-md); overflow: hidden; position: relative; aspect-ratio: 3/4; color: var(--sx-white); display: flex; align-items: flex-end; }
.sx-plan-card .sx-ph { position: absolute; inset: 0; }
.sx-plan-card__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11,29,38,.9) 100%); z-index: 1; }
.sx-plan-card__body { position: relative; z-index: 2; padding: 24px; }
.sx-plan-card__body h3 { color: var(--sx-white); font-size: 20px; margin-bottom: 6px; }
.sx-plan-card__body a { font-size: 13px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

.sx-testimonial { background: var(--sx-white); border-radius: var(--sx-radius-md); padding: 30px; border: 1px solid var(--sx-border); position: relative; }
.sx-testimonial__quote { font-family: var(--font-display); font-size: 18px; color: var(--sx-blue-900); margin-bottom: 18px; }
.sx-testimonial__author { font-weight: 600; font-size: 14px; }
.sx-testimonial__meta { font-size: 12.5px; color: var(--sx-text-soft); }
.sx-badge-sample { display: inline-block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; background: var(--sx-sand-200); color: var(--sx-terracotta-700); padding: 3px 9px; border-radius: 999px; margin-bottom: 10px; }

.sx-cta-final { text-align: center; }
.sx-cta-final h2 { font-size: clamp(28px,4vw,44px); }
.sx-cta-final .sx-btn-row { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }

/* -------------------------------------------------------------------------
   Filters (Experiences catalog)
   ------------------------------------------------------------------------- */
.sx-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 42px; }
.sx-filter-btn { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sx-border); background: var(--sx-white); font-size: 13.5px; font-weight: 600; color: var(--sx-charcoal-700); transition: all .2s ease; }
.sx-filter-btn:hover { border-color: var(--sx-terracotta-500); }
.sx-filter-btn.is-active { background: var(--sx-blue-900); color: var(--sx-white); border-color: var(--sx-blue-900); }

/* -------------------------------------------------------------------------
   Breadcrumb
   ------------------------------------------------------------------------- */
.sx-breadcrumb { font-size: 13px; color: var(--sx-blue-100); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.sx-breadcrumb a { text-decoration: underline; text-underline-offset: 2px; opacity: .85; }
.sx-breadcrumb span:last-child { opacity: .7; }

/* -------------------------------------------------------------------------
   Detail page layout
   ------------------------------------------------------------------------- */
.sx-detail-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 60px; align-items: start; }
@media (max-width: 940px) { .sx-detail-grid { grid-template-columns: 1fr; } }
.sx-feature-list { display: grid; gap: 18px; margin: 28px 0; }
.sx-feature-list li { display: flex; gap: 14px; align-items: flex-start; }
.sx-feature-list__icon { flex-shrink: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--sx-terracotta-100); color: var(--sx-terracotta-600); display: flex; align-items: center; justify-content: center; font-size: 15px; }
.sx-sidebar-card { background: var(--sx-white); border: 1px solid var(--sx-border); border-radius: var(--sx-radius-md); padding: 28px; position: sticky; top: calc(var(--sx-header-h) + 24px); box-shadow: var(--sx-shadow-sm); }
.sx-sidebar-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 14px; font-size: 14px; margin: 18px 0; }
.sx-sidebar-card dt { color: var(--sx-text-soft); }
.sx-sidebar-card dd { margin: 0; font-weight: 600; }
.sx-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.sx-gallery .sx-ph { aspect-ratio: 4/3; border-radius: var(--sx-radius-sm); }
.sx-gallery a { display: block; border-radius: var(--sx-radius-sm); overflow: hidden; }
@media (max-width: 640px) { .sx-gallery { grid-template-columns: repeat(2, 1fr); } }

.sx-format-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin: 28px 0; }
.sx-format-card { border: 1px solid var(--sx-border); border-radius: var(--sx-radius-md); padding: 22px; background: var(--sx-white); }
.sx-format-card h4 { font-size: 16.5px; margin-bottom: 6px; }
.sx-format-card p { font-size: 14px; color: var(--sx-text-soft); margin: 0; }

.sx-note {
  background: var(--sx-sand-100); border-inline-start: 3px solid var(--sx-terracotta-500);
  padding: 16px 20px; border-radius: 0 10px 10px 0; font-size: 14px; color: var(--sx-charcoal-700); margin: 24px 0;
}
html[dir="rtl"] .sx-note { border-inline-start: none; border-inline-end: 3px solid var(--sx-terracotta-500); }

/* -------------------------------------------------------------------------
   Guide page (Discover Safi)
   ------------------------------------------------------------------------- */
.sx-guide-nav { display: flex; flex-wrap: wrap; gap: 10px; padding: 18px 0; position: sticky; top: var(--sx-header-h); background: var(--sx-warm-white); z-index: 10; border-bottom: 1px solid var(--sx-border); margin-bottom: 40px; }
.sx-guide-nav a { font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px; background: var(--sx-white); border: 1px solid var(--sx-border); }
.sx-guide-block { padding: 46px 0; border-bottom: 1px solid var(--sx-border); }
.sx-guide-block:last-child { border-bottom: none; }
.sx-guide-block__media { border-radius: var(--sx-radius-md); overflow: hidden; aspect-ratio: 16/9; margin-top: 24px; }
.sx-itinerary { display: grid; gap: 16px; margin-top: 20px; }
.sx-itinerary li { display: grid; grid-template-columns: 90px 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--sx-border); }
.sx-itinerary li:first-child { border-top: none; }
.sx-itinerary time { font-weight: 700; color: var(--sx-terracotta-600); font-size: 13px; }

/* -------------------------------------------------------------------------
   Listing pages (Eat / Stay)
   ------------------------------------------------------------------------- */
.sx-listing-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; background: var(--sx-white); border: 1px solid var(--sx-border); border-radius: var(--sx-radius-md); overflow: hidden; }
@media (max-width: 640px) { .sx-listing-card { grid-template-columns: 1fr; } }
.sx-listing-card__media { position: relative; }
.sx-listing-card__media .sx-ph { position: absolute; inset: 0; }
.sx-listing-card__body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.sx-listing-card__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.sx-tag { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; background: var(--sx-blue-100); color: var(--sx-blue-700); padding: 4px 10px; border-radius: 999px; }
.sx-listing-card__links { display: flex; gap: 16px; margin-top: 8px; font-size: 13.5px; }
.sx-listing-card__links a { font-weight: 600; color: var(--sx-terracotta-600); text-decoration: underline; text-underline-offset: 2px; }
.sx-empty-note { text-align: center; padding: 50px 24px; background: var(--sx-sand-100); border-radius: var(--sx-radius-md); }

/* -------------------------------------------------------------------------
   Forms
   ------------------------------------------------------------------------- */
.sx-form { display: grid; gap: 20px; }
.sx-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .sx-form-row { grid-template-columns: 1fr; } }
.sx-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px; color: var(--sx-charcoal-700); }
.sx-field input, .sx-field select, .sx-field textarea {
  width: 100%; padding: 13px 16px; border: 1px solid var(--sx-border); border-radius: 10px;
  font-family: inherit; font-size: 15px; background: var(--sx-white); color: var(--sx-text);
}
.sx-field input:focus, .sx-field select:focus, .sx-field textarea:focus { outline: none; border-color: var(--sx-terracotta-500); box-shadow: 0 0 0 3px rgba(217,124,74,.18); }
.sx-field textarea { min-height: 120px; resize: vertical; }
.sx-field small { display: block; margin-top: 6px; color: var(--sx-text-soft); font-size: 12.5px; }
.sx-form-status { font-size: 14px; padding: 14px 16px; border-radius: 10px; display: none; }
.sx-form-status.is-success { display: block; background: #e5f6ec; color: #14532d; }
.sx-form-status.is-error { display: block; background: #fdecec; color: #7f1d1d; }
.sx-honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; }

/* -------------------------------------------------------------------------
   Footer
   ------------------------------------------------------------------------- */
.sx-footer { background: var(--sx-blue-900); color: var(--sx-blue-100); padding: 70px 0 30px; }
.sx-footer__cols { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 50px; }
@media (max-width: 780px) { .sx-footer__cols { grid-template-columns: 1fr 1fr; } }
.sx-footer h4 { color: var(--sx-white); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.sx-footer ul li { margin-bottom: 10px; }
.sx-footer a { opacity: .85; font-size: 14px; }
.sx-footer a:hover { opacity: 1; text-decoration: underline; }
.sx-footer__logo { font-family: var(--font-display); font-size: 24px; color: var(--sx-white); margin-bottom: 14px; }
.sx-footer__desc { font-size: 14px; opacity: .8; max-width: 320px; }
.sx-footer__bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; opacity: .75; }
.sx-social { display: flex; gap: 12px; margin-top: 16px; }
.sx-social a { width: 36px; height: 36px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); display: flex; align-items: center; justify-content: center; }

/* -------------------------------------------------------------------------
   WhatsApp floating button
   ------------------------------------------------------------------------- */
.sx-whatsapp-float {
  position: fixed; bottom: 24px; inset-inline-end: 24px; z-index: 90;
  width: 60px; height: 60px; border-radius: 999px; background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--sx-shadow-lg);
  transition: transform .25s ease;
}
.sx-whatsapp-float:hover { transform: scale(1.08); }
.sx-whatsapp-float svg { width: 30px; height: 30px; }

/* -------------------------------------------------------------------------
   Misc animation (subtle)
   ------------------------------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Skip link (a11y) */
.sx-skip-link { position: absolute; left: -9999px; top: 0; background: var(--sx-blue-900); color: #fff; padding: 12px 18px; z-index: 200; border-radius: 0 0 8px 0; }
.sx-skip-link:focus { left: 0; }

/* Breadcrumb JSON-LD not rendered visually elsewhere */
.sx-faq { border-top: 1px solid var(--sx-border); }
.sx-faq details { padding: 20px 0; border-bottom: 1px solid var(--sx-border); }
.sx-faq summary { cursor: pointer; font-weight: 600; font-size: 16px; color: var(--sx-blue-900); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.sx-faq summary::-webkit-details-marker { display: none; }
.sx-faq summary::after { content: "+"; font-size: 20px; color: var(--sx-terracotta-600); flex-shrink: 0; }
.sx-faq details[open] summary::after { content: "\2212"; }
.sx-faq p { margin-top: 12px; color: var(--sx-text-soft); font-size: 14.5px; }
