/* SmartTimeShareOwner — Villoz-inspired theme */

:root {
  --primary-navy: #1a2b4c;
  --primary-navy-dark: #0f1a30;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --light-blue-bg: #f0f6ff;
  --sky-blue: #38bdf8;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --white: #ffffff;
  --border-color: #e2e8f0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 2px 8px rgba(26, 43, 76, 0.08);
  --shadow-md: 0 8px 30px rgba(26, 43, 76, 0.12);
  --shadow-lg: 0 20px 50px rgba(26, 43, 76, 0.15);
  --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --gradient-primary: linear-gradient(135deg, #1a2b4c 0%, #2563eb 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 43, 76, 0.92) 0%, rgba(37, 99, 235, 0.75) 100%);
  --gradient-icon: linear-gradient(135deg, #2563eb 0%, #38bdf8 100%);
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --section-padding: 80px;
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  line-height: 1.6;
  background: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-navy);
}

a {
  color: var(--accent-blue);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-blue-hover);
}

img {
  max-width: 100%;
  height: auto;
}

.section-padding {
  padding: var(--section-padding) 0;
}

.section-alt {
  background: var(--light-blue-bg);
}

/* ── Navbar ── */
.site-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  min-height: var(--nav-height);
  height: auto;
  transition: box-shadow 0.3s;
  padding-top: env(safe-area-inset-top, 0);
}

.site-navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.site-navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--primary-navy) !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-navbar .navbar-brand img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.navbar-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--primary-navy);
}

.site-logo-white {
  height: 44px;
  width: auto;
  max-width: 100%;
  display: block;
}

.site-navbar .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--accent-blue) !important;
}

.navbar-toggler {
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.55rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* ── Buttons ── */
.btn-primary-navy {
  background: var(--primary-navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary-navy,
.btn-accent,
.btn-outline-navy {
  transition: var(--transition);
}

.btn-primary-navy:hover,
.btn-accent:hover,
.btn-outline-navy:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-primary-navy:hover {
  background: var(--primary-navy-dark);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-blue-hover);
  color: var(--white);
}

.btn-accent {
  background: var(--accent-blue);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn-outline-navy {
  background: transparent;
  color: var(--primary-navy);
  border: 2px solid var(--primary-navy);
  border-radius: var(--radius);
  padding: 10px 26px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-outline-navy:hover {
  background: var(--primary-navy);
  color: var(--white);
}

/* ── Hero (enhanced) ── */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 80px;
  background: var(--gradient-hero),
    url('../images/hero-1.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-section h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 1.25rem;
  text-align: left;
}

.hero-section h1 .text-accent {
  color: #38bdf8;
  position: relative;
}

.hero-section .hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  margin-bottom: 2rem;
  max-width: 520px;
  text-align: left;
}

.hero-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 12px;
  height: 380px;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-collage .collage-main {
  grid-row: 1 / 3;
  grid-column: 1 / 2;
}

.hero-collage .collage-top {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
}

.hero-collage .collage-bottom {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
}

.hero-search-wrap {
  position: relative;
  flex: 1;
  min-width: 200px;
  display: flex;
  align-items: center;
}

.hero-search-wrap .search-icon {
  position: absolute;
  left: 16px;
  top: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  pointer-events: none;
  z-index: 1;
}

.hero-search-bar {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-lg);
  max-width: 680px;
  margin: 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-search-bar .form-control {
  flex: 1;
  min-width: 200px;
  width: 100%;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  padding: 14px 18px 14px 44px;
  font-size: 1rem;
  line-height: 1.5;
}

.hero-search-bar .form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.hero-search-bar .btn-accent {
  padding: 14px 32px;
  white-space: nowrap;
}

/* ── Value Section ── */
.value-section .value-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
}

.value-section .value-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.value-badge {
  position: absolute;
  bottom: 24px;
  right: -20px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.value-badge .badge-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent-blue);
  line-height: 1;
}

.value-badge .badge-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tick-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: var(--text-dark);
}

.tick-list li::before {
  content: '\f26a';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.trust-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.trust-stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.trust-stat-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.trust-stat-card .stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── Steps ── */
.steps-section {
  background: var(--light-blue-bg);
}

.step-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.2);
}

.step-icon-wrap {
  position: relative;
  margin-bottom: 20px;
}

.step-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  background: var(--light-blue-bg);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.step-card .step-icon.icon-wrap {
  width: 88px;
  height: 88px;
  font-size: 2.25rem;
  margin-bottom: 0;
  color: var(--white);
  background: var(--gradient-icon);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.3);
}

.step-card h5 {
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.55;
}

/* ── Testimonials ── */
.testimonials-section {
  background: var(--light-blue-bg);
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 50%;
  }
}

@media (min-width: 992px) {
  .testimonial-card {
    flex: 0 0 33.333%;
  }
}

.testimonial-inner {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--light-blue-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--accent-blue);
  font-size: 1.1rem;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary-navy);
  margin: 0;
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--white);
  color: var(--primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.slider-btn:disabled,
.slider-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ── Articles ── */
.article-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.article-card-img {
  height: 200px;
  object-fit: cover;
  width: 100%;
}

.article-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

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

.article-card-title {
  font-size: 1.15rem;
  margin-bottom: 12px;
}

.article-card-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  flex: 1;
  margin-bottom: 16px;
}

.article-card-link {
  font-weight: 600;
  font-size: 0.9rem;
}

.article-row-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

@media (min-width: 768px) {
  .article-row-card {
    flex-direction: row;
  }
}

.article-row-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.article-row-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

@media (min-width: 768px) {
  .article-row-img {
    width: 220px;
    height: auto;
    min-height: 160px;
    flex-shrink: 0;
  }
}

.article-row-body {
  padding: 24px;
  flex: 1;
}

/* ── CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
  padding: 60px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 12px;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

/* ── FAQ ── */
.faq-section .accordion-button {
  font-weight: 600;
  color: var(--primary-navy);
}

.faq-section .accordion-button:not(.collapsed) {
  background: var(--light-blue-bg);
  color: var(--accent-blue);
}

.faq-section .accordion-button:focus {
  box-shadow: none;
  border-color: var(--border-color);
}

/* ── Footer ── */
.site-footer {
  background: var(--primary-navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 64px 0 32px;
}

.site-footer h5 {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  line-height: 1;
  text-decoration: none;
}

.footer-logo-link:hover {
  color: var(--white);
}

.footer-brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
}

.footer-about p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 320px;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 10px;
}

.footer-nav a {
  display: inline-block;
  font-size: 0.9rem;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact p i {
  color: var(--sky-blue);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact a {
  display: inline;
  word-break: break-word;
}

.footer-bottom {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.footer-legal a {
  font-size: 0.85rem;
  white-space: nowrap;
}

.footer-legal-divider {
  color: rgba(255, 255, 255, 0.25);
  user-select: none;
}

.footer-disclaimer {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.footer-ownership {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.footer-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white) !important;
  margin-bottom: 16px;
  display: inline-block;
}

/* ── Lead Wizard Modal ── */
.lead-modal .modal-content {
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.lead-modal .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 20px 24px;
}

.lead-modal .modal-body {
  padding: 24px;
}

.wizard-progress {
  margin-bottom: 24px;
}

.wizard-progress-bar {
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: var(--accent-blue);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.wizard-step-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.wizard-step {
  display: none;
  animation: fadeIn 0.3s ease;
}

.wizard-step.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.wizard-question {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 20px;
  text-align: center;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 480px) {
  .choice-grid {
    grid-template-columns: 1fr;
  }
}

.choice-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  background: var(--white);
  font-weight: 600;
  color: var(--primary-navy);
}

.choice-card:hover {
  border-color: var(--accent-blue);
  background: var(--light-blue-bg);
}

.choice-card.selected {
  border-color: var(--accent-blue);
  background: var(--light-blue-bg);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.balance-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.balance-option {
  border: 2px solid var(--border-color);
  border-radius: var(--radius);
  padding: 18px 20px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  color: var(--primary-navy);
  background: var(--white);
}

.balance-option:hover {
  border-color: var(--accent-blue);
  background: var(--light-blue-bg);
}

.balance-option.selected {
  border-color: var(--accent-blue);
  background: var(--light-blue-bg);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 12px;
}

.wizard-success {
  text-align: center;
  padding: 40px 20px;
}

.wizard-success i {
  font-size: 4rem;
  color: #22c55e;
  margin-bottom: 20px;
}

.wizard-success h4 {
  margin-bottom: 12px;
}

.wizard-success p {
  color: var(--text-muted);
}

.form-label {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.form-control {
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
}

.form-control:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.consent-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.section-title {
  text-align: center;
  margin-bottom: 48px;
}

.section-title h2 {
  margin-bottom: 12px;
}

.section-title p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ── Article detail page ── */
.article-hero {
  background: linear-gradient(135deg, rgba(26, 43, 76, 0.9) 0%, rgba(37, 99, 235, 0.7) 100%);
  padding: calc(var(--nav-height) + 60px) 0 60px;
  color: var(--white);
}

.article-hero h1 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.article-hero .article-meta {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.article-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 20px 80px;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 16px;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 32px;
  margin-bottom: 12px;
}

.article-content p {
  margin-bottom: 16px;
  color: var(--text-dark);
}

.article-content ul, .article-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-cta-inline {
  background: var(--light-blue-bg);
  border-radius: var(--radius-lg);
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}

.legal-content {
  padding-top: calc(var(--nav-height) + 40px);
}

.legal-content h1 {
  margin-bottom: 24px;
}

.legal-content ol {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 20px;
}

.pac-container {
  z-index: 10000 !important;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 4px;
}

/* ── Section eyebrow ── */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

/* ── Scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── Icon wrap ── */
.icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-icon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.icon-wrap-sm {
  width: 48px;
  height: 48px;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}

/* ── Trust pills ── */
.trust-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.trust-pill i {
  color: #38bdf8;
}

/* ── Pull quote ── */
.pull-quote {
  border-left: 4px solid var(--accent-blue);
  padding: 20px 24px;
  background: var(--light-blue-bg);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--primary-navy);
}

/* ── Benefit cards ── */
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  height: 100%;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-icon);
  transform: scaleX(0);
  transition: transform var(--transition);
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-card h5 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.benefit-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ── Value band (dark) ── */
.value-band {
  position: relative;
  padding: 100px 0;
  background: linear-gradient(rgba(15, 26, 48, 0.88), rgba(15, 26, 48, 0.88)),
    url('../images/video-bg.jpg') center/cover no-repeat;
  text-align: center;
  color: var(--white);
}

.value-band h2 {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.value-band .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 48px;
}

.value-band-icons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.value-band-item i {
  font-size: 2rem;
  color: #38bdf8;
  margin-bottom: 12px;
  display: block;
}

.value-band-item span {
  font-weight: 600;
  font-size: 0.95rem;
}

/* ── Destinations ── */
.destinations-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 12px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.destinations-scroll::-webkit-scrollbar {
  height: 6px;
}

.destinations-scroll::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.dest-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.dest-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.dest-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(15, 26, 48, 0.9));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.dest-card-overlay h5 {
  color: var(--white);
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.dest-card-overlay a {
  color: #38bdf8;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Deep dive section ── */
.deep-dive-section {
  background: var(--white);
}

.deep-dive-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.deep-dive-content p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

/* ── Steps connector ── */
.steps-row {
  position: relative;
}

@media (min-width: 992px) {
  .steps-row::before {
    content: '';
    position: absolute;
    top: 88px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-blue), #38bdf8, var(--accent-blue));
    opacity: 0.35;
    z-index: 0;
  }
}

.steps-row .step-card {
  position: relative;
  z-index: 1;
}

/* ── Stat gradient ── */
.stat-value {
  background: var(--gradient-icon);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust-stat-card {
  transition: var(--transition);
}

.trust-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.trust-stat-card .stat-icon {
  font-size: 1.5rem;
  color: var(--accent-blue);
  margin-bottom: 8px;
}

/* ── Testimonial polish ── */
.testimonial-inner {
  position: relative;
}

.testimonial-inner::before {
  content: '\201C';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 4rem;
  color: var(--light-blue-bg);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-avatar {
  background: var(--gradient-icon);
  color: var(--white);
  border: 3px solid var(--light-blue-bg);
}

/* ── Article tags ── */
.article-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.article-tag-guide { background: #dbeafe; color: #1d4ed8; }
.article-tag-fees { background: #fef3c7; color: #b45309; }
.article-tag-market { background: #d1fae5; color: #047857; }

/* ── Footer enhanced ── */

/* ── FAQ polish ── */
.faq-section .accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius) !important;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-section .accordion-button {
  border-radius: var(--radius) !important;
  padding: 18px 20px;
}

.faq-section .accordion-body {
  padding: 0 20px 18px;
  color: var(--text-muted);
}

/* ── Modal polish ── */
.modal-backdrop.show {
  backdrop-filter: blur(4px);
}

.lead-modal .modal-logo {
  height: 36px;
  margin-right: 12px;
}

.lead-modal .modal-header {
  align-items: center;
}

.lead-modal .modal-title-wrap {
  display: flex;
  align-items: center;
}

.choice-card.selected::after,
.balance-option.selected::after {
  content: '\f26a';
  font-family: 'bootstrap-icons';
  position: absolute;
  top: 12px;
  right: 12px;
  color: var(--accent-blue);
  font-size: 1.2rem;
}

.choice-card,
.balance-option {
  position: relative;
}

.wizard-step-icon {
  text-align: center;
  font-size: 2.5rem;
  color: var(--accent-blue);
  margin-bottom: 12px;
}

/* ── Breadcrumb ── */
.breadcrumb-nav {
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb-nav a:hover {
  color: var(--white);
}

/* ── Why sell section ── */
.why-sell-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.why-sell-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--text-dark);
}

.why-sell-list li i {
  color: var(--accent-blue);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.article-row-card,
.article-card {
  transition: var(--transition);
}

.article-card-link i {
  transition: transform var(--transition);
}

.article-row-card:hover .article-card-link i,
.article-card:hover .article-card-link i {
  transform: translateX(4px);
}

@media (max-width: 991.98px) {
  .site-navbar > .container {
    align-items: center;
  }

  .site-navbar .navbar-collapse {
    padding: 12px 0 16px;
    margin-top: 8px;
    border-top: 1px solid var(--border-color);
  }

  .site-navbar .navbar-nav {
    margin-bottom: 12px;
  }

  .site-navbar .nav-link {
    padding: 0.75rem 0 !important;
    font-size: 1rem;
  }

  .site-navbar .btn-primary-navy {
    width: 100%;
    padding: 14px 20px;
  }
}

@media (max-width: 767px) {
  :root {
    --section-padding: 56px;
    --nav-height: 64px;
  }

  .section-title {
    margin-bottom: 32px;
  }

  .section-title h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .hero-section {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 32px);
    padding-bottom: 48px;
  }

  .hero-section h1,
  .hero-section .hero-sub {
    text-align: center;
  }

  .hero-section .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-search-bar {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
  }

  .hero-search-wrap {
    min-width: 0;
    width: 100%;
  }

  .hero-search-bar .form-control,
  .form-control {
    font-size: 16px;
  }

  .hero-search-bar .btn-accent {
    width: 100%;
    padding: 14px 20px;
  }

  .hero-collage {
    height: 240px;
    margin-top: 28px;
  }

  .trust-pills {
    justify-content: center;
  }

  .trust-stat-card {
    padding: 20px 16px;
  }

  .step-card {
    padding: 24px 20px;
  }

  .testimonial-inner {
    padding: 24px 20px;
  }

  .value-band {
    padding: 64px 0;
  }

  .value-band-icons {
    gap: 20px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-band {
    padding: 48px 0;
  }

  .cta-band h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .cta-band .btn {
    width: 100%;
    max-width: 320px;
  }

  .article-hero {
    padding: calc(var(--nav-height) + 32px) 0 40px;
  }

  .article-content {
    padding: 32px 16px 56px;
  }

  .legal-content {
    padding-top: calc(var(--nav-height) + 24px);
  }

  .legal-content h1 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .lead-modal .modal-header {
    padding: 16px;
  }

  .lead-modal .modal-body {
    padding: 16px;
  }

  .lead-modal .modal-title {
    font-size: 1rem;
  }

  .wizard-question {
    font-size: 1.1rem;
  }

  .wizard-nav {
    flex-direction: column-reverse;
  }

  .wizard-nav .btn {
    width: 100%;
    padding: 14px 20px;
  }

  .consent-label {
    font-size: 0.78rem;
  }

  .site-footer {
    padding-bottom: calc(32px + env(safe-area-inset-bottom, 0));
  }

  .footer-about p {
    max-width: none;
  }

  .value-badge {
    right: 12px;
    bottom: 12px;
  }

  .footer-legal {
    flex-direction: column;
    gap: 10px;
  }

  .footer-legal-divider {
    display: none;
  }

  .site-logo-white {
    height: 38px;
  }

  .site-navbar .navbar-brand img {
    height: 38px;
  }

  .navbar-brand-text {
    font-size: 0.85rem;
  }

  .footer-brand-text {
    font-size: 0.85rem;
  }
}

@media (max-width: 399px) {
  .navbar-brand-text {
    font-size: 0.75rem;
  }

  .site-navbar .navbar-brand {
    gap: 6px;
    max-width: calc(100% - 52px);
  }

  .trust-pill {
    font-size: 0.75rem;
    padding: 7px 12px;
  }
}
