/* ===================================================
   AURENT — HOME PAGE STYLES
   style-home.css
   =================================================== */

/* --- RESET / BASE --- */
*, *::before, *::after { box-sizing: border-box; }

:root {
  --teal: #2ec5b1;
  --teal-dark: #22a899;
  --navy: #0f1f3d;
  --navy-hero: #173156;
  --navy-mid: #162543;
  --gray-bg: #f7f8fa;
  --gray-border: #e8eaed;
  --text-dark: #0f1f3d;
  --text-mid: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-card: 0 4px 24px rgba(15,31,61,0.10);
  --shadow-lg: 0 8px 40px rgba(15,31,61,0.15);
  --font: 'Inter', 'Space Grotesk', sans-serif;
}

body { font-family: var(--font); color: var(--text-dark); overflow-x: hidden; }

/* ===== HERO ===== */
.home-hero {
  background: var(--navy-hero);
  min-height: 88vh;
  display: block;
  position: relative;
  /* overflow: hidden removed — allows .why-card to overlap from below */
}

.home-hero .hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

/* Left text column */
.home-hero .hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 40px 80px 40px;
  gap: 0;
  text-align: center;
}

.hero-slogan-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  margin-bottom: 28px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.section-title-svg {
  display: block;
  height: auto;
  max-width: 100%;
  margin-bottom: 12px;
}

/* Why section: centered */
.text-center .section-title-svg {
  margin-left: auto;
  margin-right: auto;
}

/* Host section: left-aligned */
.host-content .section-title-svg {
  margin-bottom: 12px;
}

.home-hero .hero-text p {
  color: rgba(255,255,255,0.78);
  font-size: 0.92rem;
  line-height: 1.7;
  max-width: 480px;
  margin-top: 20px;
  margin-bottom: 0;
  text-align: center;
}

/* Search Bar — dark hero version */
.hero-search {
  background: var(--white);
  border-radius: 50px;
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow: visible;
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  width: 100%;
  max-width: 560px;
  border: none;
  position: relative;
}

.hero-search .search-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  padding: 14px 20px;
  cursor: pointer;
  border-right: 1px solid #e8eaed;
  transition: background 0.2s;
  min-width: 0;
  border-radius: 50px 0 0 50px;
  overflow: hidden;
}

.hero-search .search-field:last-of-type {
  border-right: none;
  border-radius: 0;
}

.hero-search .search-field:hover { background: #f5fffe; }

.hero-search .search-field .sf-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-search .search-field .sf-label i {
  color: var(--navy);
  font-size: 0.7rem;
}

.hero-search .search-field .sf-value {
  font-size: 0.8rem;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero-search .search-btn {
  background: var(--teal);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.15s;
  flex-shrink: 0;
  align-self: center;
  margin: 5px 5px 5px 4px;
  box-shadow: 0 4px 12px rgba(46,197,177,0.4);
}

.hero-search .search-btn:hover {
  background: var(--teal-dark);
  transform: scale(1.06);
}
.hero-search .search-btn i { color: white; font-size: 0.95rem; }

/* Trust badges — white bordered on dark bg */
.hero-badges {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 7px 16px 7px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}

.hero-badge:hover {
  border-color: var(--teal);
  background: rgba(46,197,177,0.12);
  color: white;
  text-decoration: none;
}

.hero-badge .badge-icon { font-size: 0.85rem; }
.hero-badge .badge-arrow {
  font-size: 0.7rem;
  opacity: 0.7;
  margin-left: 2px;
}

/* Hero Image — right column, absolute fill */
.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Mobile hero — image first, search bar overlapping, navy content card */
@media (max-width: 767px) {
  .home-hero {
    min-height: auto;
    background: var(--navy-hero);
  }
  .home-hero .hero-inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }
  /* ① Image at top */
  .hero-image-wrap {
    order: -1;
    position: relative;
    height: 340px;
    min-height: 340px;
    max-height: 340px;
    width: 100%;
    flex-shrink: 0;
  }
  .hero-image-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
  /* ② Navy section: straight cut right at image bottom, search bar straddles the junction */
  .home-hero .hero-text {
    order: 1;
    position: relative;
    z-index: 2;
    background: var(--navy-hero);
    border-radius: 0;            /* straight cut — no rounded overlap into image */
    margin-top: 0;               /* starts exactly at image bottom */
    padding: 0 20px 88px;        /* extra bottom padding — gives air below badges before why-card */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: flex-start;
    gap: 0;
  }
  /* ③ Reorder: search → slogan → description → badges */
  .hero-search     { order: 1; max-width: 100%; margin-top: -32px; margin-bottom: 24px; }
  .hero-slogan-img { order: 2; max-width: 92%; margin-bottom: 0; margin-top: 0; }
  .home-hero .hero-text p {
    order: 3;
    max-width: 100%;
    color: rgba(255,255,255,0.78) !important; /* white text on navy */
    margin-top: 14px;
  }
  .hero-badges {
    order: 4;
    flex-direction: row;
    flex-wrap: nowrap;          /* both badges on one line */
    gap: 8px;
    justify-content: center;
  }
  /* ④ Badges: keep white-on-dark style (navy bg) but compact */
  .hero-badge {
    padding: 6px 12px 6px 10px;
    font-size: 0.72rem;
    gap: 5px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
  }
  .hero-badge:hover {
    border-color: var(--teal);
    background: rgba(46,197,177,0.12);
    color: white;
  }
}

/* Prevent iOS auto-zoom on hero search input focus */
@media (max-width: 767px) {
  .hero-search input,
  .hero-search select,
  .home-modal input,
  .home-modal select,
  input, select, textarea { font-size: 16px !important; }
}

/* ─── Remove the ts-homepage override (no longer needed) ─── */

/* ===== WHY AURENT ===== */
.home-why {
  background: var(--white);
  padding: 0 0 40px;
  position: relative;
  z-index: 5;
}

.home-why .why-card {
  background: var(--white);
  border-radius: 40px 40px 24px 24px;
  padding: 60px 64px 52px;
  box-shadow: 0 -6px 48px rgba(15,31,61,0.10), 0 2px 24px rgba(15,31,61,0.07);
  border: 1px solid var(--gray-border);
  position: relative;
  z-index: 10;
  /* translateY bypasses margin-collapsing and overflow clipping */
  transform: translateY(-60px);
}


.home-why h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
  text-align: center;
}

.home-why h2 span { color: var(--teal); }
.home-why .sub {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 52px;
  text-align: center;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 56px;
}

.why-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.why-item .why-icon {
  width: 38px;
  height: 38px;
  background: #e8faf7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item .why-icon i { color: var(--teal); font-size: 0.9rem; }

.why-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 5px;
  color: var(--navy);
}

.why-item p { font-size: 0.82rem; color: var(--text-light); margin: 0; line-height: 1.55; }

@media (max-width: 991px) {
  .home-why .why-card { padding: 44px 32px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 36px; }
}

@media (max-width: 767px) {
  .why-grid { grid-template-columns: 1fr; gap: 24px; }
  .home-why { padding: 0 0 60px; }
  .home-why .why-card {
    padding: 36px 24px;
    border-radius: 28px 28px 16px 16px;
    margin-top: 0;
    transform: translateY(-60px);  /* overlaps bottom of navy hero section */
  }
}

/* ===== CITIES ===== */
.home-cities {
  background: var(--gray-bg);
  padding: 40px 0 80px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.section-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px;
}

.section-header p { color: var(--text-light); margin: 0; font-size: 0.9rem; }

.btn-outline-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--teal);
  color: var(--teal);
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-outline-teal:hover {
  background: var(--teal);
  color: white;
  text-decoration: none;
}

.btn-teal {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  color: white;
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-teal:hover { background: var(--teal-dark); color: white; text-decoration: none; }

.city-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}

.city-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 24px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.city-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.city-card .city-img {
  overflow: hidden;
  min-height: 180px;
  max-height: 280px;
}

.city-card .city-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.city-card:hover .city-img img { transform: scale(1.04); }

.city-card .city-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.city-flag {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 8px;
}

.city-card .city-name {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.city-card .city-country {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.city-card .city-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.city-card .city-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Button inside city card: don't stretch full width */
.city-card .btn-teal {
  align-self: flex-start;
}

@media (max-width: 767px) {
  .city-card { grid-template-columns: 1fr; }
  .city-card .city-img { min-height: 180px; }
  .city-card .city-info { padding: 20px; }
  .home-cities { padding: 60px 0; }
}

/* ===== TOP PICKS CAROUSEL ===== */
.home-top-picks {
  background: var(--gray-bg);
  padding: 80px 0;
}

.home-top-picks .owl-carousel,
.home-top-picks .owl-stage-outer,
.home-top-picks .owl-stage,
.home-top-picks .owl-item {
  background: transparent !important;
}

.home-top-picks .owl-carousel .ts-item { margin: 0 8px; }

.picks-nav {
  display: flex;
  gap: 8px;
}

.picks-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid var(--gray-border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
}

.picks-nav-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* ===== PICK CARDS ===== */
/* Equal height across all carousel items */
.home-top-picks .owl-carousel .owl-stage {
  display: flex;
}

.home-top-picks .owl-carousel .owl-item {
  display: flex;
}

.home-top-picks .owl-carousel .item {
  display: flex;
  width: 100%;
}

.pick-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  width: 100%;
}

.pick-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--white);
  box-shadow: none;
  border: 1px solid rgba(15,31,61,0.07);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.pick-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(15,31,61,0.10);
}

.pick-card-img {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.pick-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Available badge — top left */
.pick-avail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15,31,61,0.72);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 50px;
  padding: 4px 11px;
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.01em;
}

.pick-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Bottom image overlay — location + price */
.pick-img-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10,20,40,0.88) 0%, transparent 100%);
  padding: 28px 14px 14px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.pick-location {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pick-location strong {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.pick-location span {
  color: rgba(255,255,255,0.72);
  font-size: 0.7rem;
}

.pick-location i {
  font-size: 0.65rem;
  margin-right: 3px;
}

.pick-price {
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
  text-align: right;
  line-height: 1;
}

.pick-price small {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.8;
}

/* Card body — location row + title + meta */
.pick-card-body {
  padding: 12px 14px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pick-location-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pick-suburb {
  font-size: 0.72rem;
  color: var(--text-light);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick-suburb i {
  font-size: 0.65rem;
  color: var(--text-light);
}

.pick-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  line-height: 1;
}

.pick-price small {
  font-size: 0.62rem;
  font-weight: 500;
  color: var(--text-light);
}

.pick-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pick-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  border-top: 1px solid var(--gray-border);
  padding-top: 8px;
}

.pick-meta span {
  font-size: 0.75rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 5px;
}

.pick-meta i {
  color: var(--teal);
  font-size: 0.7rem;
}

/* ===== STATS ===== */
.home-stats {
  background: var(--white);
  padding: 80px 0;
}

.stats-header {
  text-align: center;
  margin-bottom: 52px;
}

.stats-eyebrow {
  margin-bottom: 16px;
  text-align: center;
}

.stats-eyebrow span {
  display: inline-block;
  font-size: 0.82rem;
  color: #2d3e5b;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid #a8b8cc;
  border-radius: 50px;
  padding: 7px 20px;
  background: transparent;
}

.stats-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  padding: 14px 32px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}

.stat-pill:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.10);
  transform: translateY(-2px);
}

.stat-item .stat-icon {
  font-size: 1.2rem;
  color: var(--teal);
  line-height: 1;
}

.stat-item .stat-value {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1;
}

.stat-item .stat-label {
  font-size: 0.83rem;
  color: var(--text-light);
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 991px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 575px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-pill { padding: 12px 20px; }
  .home-stats { padding: 60px 0; }
}

/* ===== JOIN AS HOST ===== */
.home-host {
  background: var(--gray-bg);
  padding: 80px 0;
}

.host-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.host-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.host-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.host-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
}

.host-content h2 span { color: var(--teal); }

.host-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.host-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.host-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-mid);
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
  font-size: 0.8rem;
}

.host-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn-outline-host {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--gray-border);
  border-radius: 50px;
  padding: 10px 22px;
  transition: border-color 0.2s, color 0.2s;
}

.btn-outline-host:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

@media (max-width: 767px) {
  .host-inner { grid-template-columns: 1fr; gap: 32px; }
  .host-benefits { grid-template-columns: 1fr 1fr; }
  .home-host { padding: 60px 0; }
}

/* ===== PRESS & GUIDES ===== */
.home-press {
  background: var(--white);
  padding: 80px 0;
}

.press-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.press-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
}

.press-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.press-card .press-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.press-card .press-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.press-card .press-date {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.press-card .press-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 12px;
  flex: 1;
}

.press-card .press-link {
  font-size: 0.8rem;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.press-card .press-link:hover { color: var(--teal-dark); text-decoration: none; }

@media (max-width: 991px) { .press-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .press-grid { grid-template-columns: 1fr; } }

/* ===== ALLIANCES ===== */
.home-alliances {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--gray-border);
}

.home-alliances .ally-title {
  display: block;
  text-align: center;
  margin-bottom: 16px;
}

.ally-header {
  text-align: center;
  margin-bottom: 48px;
}

.ally-header h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
  line-height: 1.3;
}

.ally-sub {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}

.home-alliances .ally-title span {
  display: inline-block;
  font-size: 0.82rem;
  color: #2d3e5b;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1.5px solid #a8b8cc;
  border-radius: 50px;
  padding: 7px 20px;
  background: transparent;
}

.ally-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.ally-logos img {
  height: 36px;
  width: auto;
  opacity: 0.55;
  transition: opacity 0.25s, filter 0.25s;
  filter: grayscale(100%);
  object-fit: contain;
}

.ally-logos img:hover { opacity: 1; filter: none; }

.ally-show-more {
  text-align: center;
  margin-top: 28px;
}

.ally-show-more button {
  background: none;
  border: none;
  color: var(--teal);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  transition: opacity 0.2s;
}

.ally-show-more button:hover { opacity: 0.75; }

.ally-show-more button i {
  font-size: 0.7rem;
  transition: transform 0.25s;
}

.ally-show-more button.open i { transform: rotate(180deg); }

@media (max-width: 767px) {
  .ally-logos { gap: 28px; }
  .ally-logos img { height: 28px; }
}

/* ===== MODALS ===== */
.home-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15,31,61,0.55);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.home-modal-overlay.active {
  display: flex;
}

.home-modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.home-modal-overlay.active .home-modal {}


.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--text-light);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s;
}

.modal-close:hover { background: var(--gray-bg); }

.home-modal h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.home-modal .modal-sub {
  font-size: 0.83rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

/* City modal */
.city-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.city-option {
  border: 2px solid var(--gray-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.2s;
  text-decoration: none;
}

.city-option:hover, .city-option.selected { border-color: var(--teal); }

.city-option img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.city-option .city-opt-name {
  padding: 8px 12px 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.city-option .city-opt-country {
  padding: 0 12px 10px;
  font-size: 0.75rem;
  color: var(--text-light);
}

.suburb-section h5 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mid);
  margin-bottom: 12px;
}

.suburb-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 120px;
  overflow-y: auto;
}

.suburb-tag {
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}

.suburb-tag:hover, .suburb-tag.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  text-decoration: none;
}

.suburb-tag.all-tag {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: white;
}

.modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  justify-content: flex-end;
}

.btn-modal-reset {
  background: none;
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--text-mid);
  transition: all 0.2s;
}

.btn-modal-reset:hover { border-color: var(--text-dark); color: var(--text-dark); }

.btn-modal-apply {
  background: var(--teal);
  border: none;
  border-radius: 50px;
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-modal-apply:hover { background: var(--teal-dark); }

/* Date modal */
.date-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
}

.date-tab {
  border: 1px solid var(--gray-border);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  cursor: pointer;
  background: none;
  color: var(--text-mid);
  transition: all 0.15s;
}

.date-tab.active {
  background: var(--teal);
  border-color: var(--teal);
  color: white;
  font-weight: 600;
}

/* ── DRUM PICKER (iOS scroll-snap style) ── */
.drum-picker-container {
  position: relative;
  height: 210px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--gray-bg);
  margin-bottom: 8px;
}

.drum-columns {
  display: flex;
  height: 100%;
}

.drum-col-wrap {
  flex: 1;
  overflow-y: scroll;
  height: 100%;
  scroll-snap-type: y mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none;
  touch-action: pan-y;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 3;
}

.drum-col-wrap::-webkit-scrollbar { display: none; }

.drum-item {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
  scroll-snap-align: center;
  transition: color 0.15s, font-weight 0.15s, font-size 0.15s;
  cursor: pointer;
  user-select: none;
  font-family: var(--font);
}

.drum-item.selected {
  color: var(--text-dark);
  font-weight: 700;
  font-size: 1.1rem;
}

/* spacer items so first/last can center */
.drum-spacer {
  height: 84px; /* 2 × 42px */
  flex-shrink: 0;
  scroll-snap-align: none;
}

/* center highlight bar */
.drum-highlight {
  position: absolute;
  top: 50%;
  left: 12px;
  right: 12px;
  height: 42px;
  transform: translateY(-50%);
  background: rgba(46,197,177,0.08);
  border-radius: 8px;
  border: 1px solid rgba(46,197,177,0.2);
  pointer-events: none;
  z-index: 1;
}

/* fade gradient top/bottom */
.drum-fade-top,
.drum-fade-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 84px;
  z-index: 2;
  pointer-events: none;
}

.drum-fade-top {
  top: 0;
  background: linear-gradient(to bottom, var(--gray-bg) 0%, transparent 100%);
}

.drum-fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, var(--gray-bg) 0%, transparent 100%);
}

/* General utilities */
.container-home { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ── FLEXIBLE MONTH PICKER ── */
.flex-month-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.flex-month-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 12px 8px;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  transition: all 0.15s;
  font-family: var(--font);
}

.flex-month-btn:hover {
  border-color: var(--teal);
  background: rgba(46,197,177,0.05);
}

.flex-month-btn.active {
  border-color: var(--teal);
  background: rgba(46,197,177,0.1);
  box-shadow: 0 0 0 2px rgba(46,197,177,0.25);
}

.flex-month-btn .fm-month {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.flex-month-btn .fm-year {
  font-size: 0.7rem;
  color: var(--text-light);
  font-weight: 400;
}
