/* ============================================
   YSTRM — YourSTRManagement
   Design System + Complete Stylesheet
   Performance target: < 20KB
   ============================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  /* Colors */
  --color-navy:        #1A2332;
  --color-navy-light:  #243044;
  --color-warm-white:  #FAF8F5;
  --color-white:       #FFFFFF;
  --color-red:         #A85751;
  --color-red-hover:   #964B46;
  --color-red-light:   #F3EDEC;
  --color-gold:        #E8A817;
  --color-gold-light:  #FDF6E3;
  --color-muted:       #6B6B6B;
  --color-light-gray:  #E8E4DF;
  --color-border:      #DDD8D2;

  /* Typography */
  --font-heading: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Scale */
  --text-hero:   clamp(2.5rem, 5vw, 4rem);
  --text-h1:     clamp(2rem, 4vw, 3rem);
  --text-h2:     clamp(1.5rem, 3vw, 2.25rem);
  --text-h3:     clamp(1.25rem, 2vw, 1.5rem);
  --text-lg:     1.125rem;
  --text-body:   1rem;
  --text-base:   1rem;
  --text-small:  0.875rem;
  --text-xs:     0.75rem;

  /* Spacing */
  --space-xs:  0.5rem;
  --space-sm:  1rem;
  --space-md:  2rem;
  --space-lg:  4rem;
  --space-xl:  6rem;
  --space-2xl: 8rem;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:  0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:  0 8px 40px rgba(0,0,0,0.12);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.7;
  color: var(--color-navy);
  background: var(--color-warm-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 400; line-height: 1.2; }

/* --- UTILITIES --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }
.container--narrow { max-width: 800px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.text-center { text-align: center; }
.text-muted { color: var(--color-muted); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-body);
  letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--color-red);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(168,87,81,0.3);
}
.btn-primary:hover {
  background: var(--color-red-hover);
  box-shadow: 0 4px 16px rgba(168,87,81,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-navy);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-navy);
  border: 2px solid var(--color-navy);
}
.btn-outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn-gold {
  background: var(--color-gold);
  color: var(--color-navy);
}
.btn-gold:hover {
  background: #b89240;
}

/* --- NAVIGATION --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.nav--transparent {
  background: transparent;
}
.nav--solid {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-md);
  width: 100%;
}
.nav__logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav--solid .nav__logo { color: var(--color-navy); }
.nav__logo-text { font-weight: 400; }
.nav__logo-accent { color: var(--color-gold); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__link {
  font-size: var(--text-small);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s var(--ease);
  letter-spacing: 0.02em;
}
.nav__link:hover { color: var(--color-gold); }
.nav--solid .nav__link { color: var(--color-navy); }
.nav--solid .nav__link:hover { color: var(--color-red); }

/* Dropdown */
.nav__dropdown {
  position: relative;
}
.nav__dropdown-trigger {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav__dropdown-trigger svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s var(--ease);
}
.nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s var(--ease), visibility 0.2s var(--ease);
}
.nav__dropdown:hover .nav__dropdown-menu,
.nav__dropdown:focus-within .nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
}
.nav__dropdown-item {
  display: block;
  padding: 0.625rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  color: var(--color-navy);
  transition: background 0.15s var(--ease);
}
.nav__dropdown-item:hover { background: var(--color-red-light); }

.nav__cta {
  padding: 0.625rem 1.5rem;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-size: var(--text-small);
  font-weight: 600;
  transition: background 0.2s var(--ease);
}
.nav__cta:hover { background: var(--color-red-hover); }
.nav--solid .nav__cta { background: var(--color-red); color: var(--color-white); }

/* Mobile menu */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav--solid .nav__hamburger span { background: var(--color-navy); }

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-navy);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--color-white);
  padding: 0.5rem;
}
.mobile-menu__link {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  color: var(--color-white);
  transition: color 0.2s var(--ease);
}
.mobile-menu__link:hover { color: var(--color-gold); }
.mobile-menu__cta {
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,35,50,0.6) 0%, rgba(26,35,50,0.75) 100%);
  z-index: -1;
}
.hero__content {
  max-width: 800px;
  padding: var(--space-md);
}
.hero__title {
  font-size: var(--text-hero);
  margin-bottom: var(--space-sm);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin-bottom: var(--space-md);
  line-height: 1.6;
}
.hero__buttons {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
}

/* Mini hero for subpages */
.hero--mini {
  min-height: 40vh;
}

/* --- TRUST BAR --- */
.trust-bar {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-md) 0;
}
.trust-bar__grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}
.trust-bar__item {
  text-align: center;
}
.trust-bar__value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
}
.trust-bar__label {
  font-size: var(--text-small);
  opacity: 0.8;
  margin-top: 0.25rem;
}

/* --- SECTIONS --- */
.section {
  padding: var(--space-xl) 0;
}
.section--dark {
  background: var(--color-navy);
  color: var(--color-white);
}
.section--alt {
  background: var(--color-white);
}
.section__header {
  text-align: center;
  margin-bottom: var(--space-lg);
}
.section__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-xs);
}
.section__subtitle {
  color: var(--color-muted);
  max-width: 600px;
  margin: 0 auto;
}
.section--dark .section__subtitle { color: rgba(255,255,255,0.7); }

/* --- CARDS --- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: var(--space-md);
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--color-red);
}
.card__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-bottom: 0.5rem;
}
.card__text {
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 1.7;
}

/* --- GRID LAYOUTS --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }

@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* --- MARKET CARDS (city links) --- */
.market-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
}
.market-card__img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 0.4s var(--ease);
}
.market-card:hover .market-card__img { transform: scale(1.05); }
.market-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(26,35,50,0.85) 100%);
}
.market-card__content {
  position: relative;
  z-index: 1;
  padding: var(--space-md);
  color: var(--color-white);
}
.market-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
}
.market-card__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--text-small);
  color: var(--color-gold);
  margin-top: 0.5rem;
}

/* --- TESTIMONIALS --- */
.testimonial {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
  border-top: 3px solid var(--color-gold);
}
.testimonial__stars {
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  display: flex;
  gap: 2px;
}
.testimonial__text {
  font-size: var(--text-small);
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}
.testimonial__author {
  font-weight: 600;
  font-size: var(--text-small);
}
.testimonial__meta {
  font-size: var(--text-xs);
  color: var(--color-muted);
}

/* --- LOGO BAR --- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
  opacity: 0.6;
}
.logo-bar__item {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-muted);
}

/* --- CTA BAND --- */
.cta-band {
  background: var(--color-navy);
  color: var(--color-white);
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}
.cta-band__title {
  font-size: var(--text-h2);
  margin-bottom: var(--space-xs);
}
.cta-band__text {
  opacity: 0.8;
  margin-bottom: var(--space-md);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* --- DATA TABLE --- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: var(--text-small);
}
.data-table thead {
  background: var(--color-navy);
  color: var(--color-white);
}
.data-table tbody tr { border-bottom: 1px solid var(--color-light-gray); }
.data-table tbody tr:last-child { border-bottom: none; }
.data-table .highlight { color: var(--color-red); font-weight: 600; }

/* --- DATA TABLE WRAP --- */
.data-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* --- NEIGHBORHOODS --- */
.neighborhood-list {
  display: grid;
  gap: var(--space-sm);
}
.neighborhood {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border-left: 4px solid var(--color-gold);
  box-shadow: var(--shadow-sm);
}
.neighborhood__name {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}
.neighborhood__adr {
  font-size: var(--text-small);
  color: var(--color-red);
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.neighborhood__desc {
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}

/* --- FAQ ACCORDION --- */
.faq details {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  box-shadow: var(--shadow-sm);
}
.faq summary {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--color-red);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after { content: '-'; }
.faq details p {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-muted);
  line-height: 1.7;
}

/* --- CONTACT FORM --- */
.form__group {
  margin-bottom: 1.25rem;
}
.form__label {
  display: block;
  font-weight: 600;
  font-size: var(--text-small);
  margin-bottom: 0.375rem;
}
.form__input, .form__textarea, .form__select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  background: var(--color-white);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form__input:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(168,87,81,0.15);
}
.form__textarea { resize: vertical; min-height: 140px; }

.form__checkbox {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: var(--text-small);
}
.form__checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--color-red);
}
.form__disclosure {
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: 0.5rem;
}
.form__success {
  display: none;
  padding: 1.25rem;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
  color: #2E7D32;
  font-weight: 500;
  text-align: center;
}
.form__success.is-visible { display: block; }

/* --- FOOTER --- */
.footer {
  background: var(--color-navy);
  color: var(--color-white);
  padding: var(--space-xl) 0 var(--space-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}
.footer__brand-text {
  font-size: var(--text-small);
  opacity: 0.7;
  line-height: 1.7;
  margin-top: var(--space-sm);
}
.footer__heading {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-gold);
}
.footer__link {
  display: block;
  font-size: var(--text-small);
  opacity: 0.7;
  padding: 0.25rem 0;
  transition: opacity 0.2s var(--ease);
}
.footer__link:hover { opacity: 1; }
.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-small);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}
.footer__contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--color-gold); }

.footer__newsletter {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--space-sm);
}
.footer__newsletter input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  font-size: var(--text-small);
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.footer__newsletter button {
  padding: 0.75rem 1.25rem;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: var(--text-small);
  transition: background 0.2s var(--ease);
}
.footer__newsletter button:hover { background: var(--color-red-hover); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: var(--space-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  opacity: 0.5;
}
.footer__legal { display: flex; gap: var(--space-sm); }

@media (max-width: 768px) {
  .footer__grid { grid-template-columns: 1fr; gap: var(--space-md); }
  .footer__bottom { flex-direction: column; gap: var(--space-xs); text-align: center; }
}

/* --- CONTENT LAYOUT (two-col) --- */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
  align-items: center;
}
.content-split--reverse { direction: rtl; }
.content-split--reverse > * { direction: ltr; }
.content-split__text h3 {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-bottom: 0.75rem;
}
.content-split__text p {
  color: var(--color-muted);
  line-height: 1.7;
}
.content-split__media img {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
}
@media (max-width: 768px) {
  .content-split, .content-split--reverse { grid-template-columns: 1fr; direction: ltr; }
  .content-split + .content-split { margin-top: var(--space-md); }
}

/* --- STEP PROCESS --- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  counter-reset: step;
}
.step {
  text-align: center;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1.25rem;
  margin: 0 auto var(--space-sm);
}
.step__title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}
.step__text {
  font-size: var(--text-small);
  color: var(--color-muted);
  line-height: 1.6;
}
@media (max-width: 768px) {
  .steps { grid-template-columns: 1fr; }
}

/* --- SERVICES ALTERNATING --- */
.service-block {
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--color-light-gray);
  max-width: 700px;
}
.service-block:last-child { border-bottom: none; }
.service-block:nth-child(even) { margin-left: auto; }
.service-block__icon {
  width: 56px;
  height: 56px;
  color: var(--color-red);
  margin-bottom: var(--space-sm);
}
.service-block__title {
  font-family: var(--font-heading);
  font-size: var(--text-h3);
  margin-bottom: 0.75rem;
}
.service-block__content p {
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}
.service-block__content ul {
  list-style: disc;
  padding-left: 1.25rem;
  color: var(--color-muted);
  font-size: var(--text-small);
  line-height: 2;
}

/* --- SCROLL REVEAL ANIMATIONS (2026 Modern) --- */

/* Legacy fade-in (backward compat) */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* New data-reveal system */
[data-reveal] {
  opacity: 0;
  will-change: opacity, transform;
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), filter 0.7s var(--ease);
}
[data-reveal].is-visible { opacity: 1; transform: none; filter: none; }

[data-reveal="up"] { transform: translateY(40px); }
[data-reveal="left"] { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="scale"] { transform: scale(0.9); }
[data-reveal="focus"] { transform: translateY(20px); filter: blur(6px); }

/* Stagger children in grids */
[data-reveal="stagger"] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
[data-reveal="stagger"].is-visible > * { opacity: 1; transform: none; }
[data-reveal="stagger"].is-visible > *:nth-child(1) { transition-delay: 0ms; }
[data-reveal="stagger"].is-visible > *:nth-child(2) { transition-delay: 100ms; }
[data-reveal="stagger"].is-visible > *:nth-child(3) { transition-delay: 200ms; }
[data-reveal="stagger"].is-visible > *:nth-child(4) { transition-delay: 300ms; }
[data-reveal="stagger"].is-visible > *:nth-child(5) { transition-delay: 400ms; }
[data-reveal="stagger"].is-visible > *:nth-child(6) { transition-delay: 500ms; }

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal="stagger"] > *, .fade-in { transition: none; opacity: 1; transform: none; filter: none; }
}

/* --- HERO BADGE --- */
.hero__content--split {
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: var(--space-lg);
  align-items: center;
  text-align: left;
  max-width: 1000px;
  width: 100%;
  padding: var(--space-md);
}
.hero__badge {
  background: var(--color-red);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  padding: 2.5rem 3rem 3rem;
  text-align: center;
  color: var(--color-white);
  box-shadow: 0 12px 48px rgba(0,0,0,0.3);
  animation: badgeFloat 4s ease-in-out infinite;
  position: relative;
  margin-bottom: 24px;
}
.hero__badge::after {
  content: '';
  position: absolute;
  bottom: -24px;
  left: 0;
  width: 100%;
  height: 24px;
  background: var(--color-red);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero__badge-rating {
  font-size: 3.5rem;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  line-height: 1;
}
.hero__badge-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin: 0.5rem 0;
}
.hero__badge-stars svg { width: 28px; height: 28px; fill: var(--color-gold); }
.hero__badge-stars .star-partial { fill: rgba(255,255,255,0.35); }
.hero__badge-stars .star-partial-overlay { fill: var(--color-gold); }
.hero__badge-text {
  font-size: var(--text-small);
  opacity: 0.9;
  margin-top: 0.25rem;
}
.hero__badge-stays {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero__content--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__badge {
    max-width: 220px;
    margin: 0 auto;
    margin-bottom: 24px;
    padding: 1.5rem 2rem 2.5rem;
  }
  .hero__badge-rating { font-size: 2.5rem; }
  .hero__buttons { justify-content: center; }
}

/* --- LOGO BAR (real brands) --- */
.logo-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 5rem);
  flex-wrap: wrap;
}
.logo-bar__brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s var(--ease);
  height: 48px;
}
.logo-bar__brand:hover { opacity: 0.7; }
.logo-bar__brand img {
  height: 100%;
  width: auto;
  object-fit: contain;
}
.logo-bar__brand svg { height: 100%; width: auto; }
.logo-bar__brand-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-navy);
}

/* --- SCREENSHOT TESTIMONIALS --- */
.testimonial-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}
.testimonial-shot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  background: var(--color-white);
}
.testimonial-shot:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}
.testimonial-shot img {
  width: 100%;
  height: auto;
  display: block;
}
/* Fallback text card when image not loaded */
.testimonial-shot__fallback {
  padding: var(--space-md);
  border-top: 3px solid var(--color-gold);
}
.testimonial-shot__fallback .testimonial__stars {
  color: var(--color-gold);
  margin-bottom: var(--space-xs);
  display: flex;
  gap: 2px;
}
.testimonial-shot__fallback .testimonial__text {
  font-size: var(--text-small);
  line-height: 1.7;
  color: var(--color-navy);
  margin-bottom: var(--space-sm);
}
.testimonial-shot__fallback .testimonial__author { font-weight: 600; font-size: var(--text-small); }
.testimonial-shot__fallback .testimonial__meta { font-size: var(--text-xs); color: var(--color-muted); }

@media (max-width: 768px) {
  .testimonial-screenshots { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .testimonial-screenshots { grid-template-columns: repeat(2, 1fr); }
}

/* --- SKIP TO CONTENT --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* --- PRINT --- */
@media print {
  .nav, .footer, .mobile-menu, .cta-band { display: none; }
  body { color: #000; background: #fff; }
}
