/* ============================================================
   TABULA RASA TRAVEL CONSULTANCY — homepage.css
   ============================================================ */

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://tabrasat.com/wp-content/uploads/2025/11/Tabrasat-Hero-Image-scaled.jpg');
  background-size: cover; background-position: center top;
  opacity: 0.2; filter: saturate(0.6);
}
.hero-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,31,58,0.97) 45%, rgba(11,31,58,0.55) 75%, rgba(11,31,58,0.15) 100%);
}
.hero-stripe {
  position: absolute; right: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  width: 100%;
}
.hero-left { padding: 4rem 0; }

.hero-eyebrow {
  font-size: 0.7rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 1.8rem;
  display: flex; align-items: center; gap: 1rem;
  animation: fadeUp 0.7s 0.15s ease both;
}
.hero-eyebrow::before { content: ''; width: 3rem; height: 2px; background: var(--gold); }

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  font-weight: 700; line-height: 1.12;
  color: var(--white); margin-bottom: 1.4rem;
  animation: fadeUp 0.7s 0.3s ease both;
}
.hero h1 span { color: var(--gold); font-style: italic; display: block; }

.hero-sub {
  font-size: 1rem; line-height: 1.75;
  color: rgba(255,255,255,0.62);
  max-width: 48ch; margin-bottom: 2.4rem; font-weight: 300;
  animation: fadeUp 0.7s 0.42s ease both;
}

.hero-buttons {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.54s ease both;
  margin-bottom: 2.2rem;
}

/* Animated finder widget */
.hero-finder { animation: fadeUp 0.7s 0.66s ease both; }
.hero-finder-label {
  font-size: 0.86rem; font-weight: 600; color: var(--gold);
  margin-bottom: 0.85rem;
}
.hero-finder-box {
  display: flex; align-items: center;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 1rem 1.4rem;
  max-width: 400px;
  backdrop-filter: blur(10px);
  gap: 0;
}
.finder-prefix {
  font-size: 0.9rem; color: rgba(255,255,255,0.55);
  font-weight: 400; white-space: nowrap;
  margin-right: 0.8rem; flex-shrink: 0;
}
.finder-cycling {
  font-size: 0.9rem; color: var(--white); font-weight: 600;
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,0.28);
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}
.finder-cycling.fade { opacity: 0; }
.finder-caret {
  color: rgba(255,255,255,0.45); font-size: 1rem;
  margin-left: 0.8rem; flex-shrink: 0; line-height: 1;
  font-weight: 300;
}

/* Hero stats column */
.hero-right {
  display: flex; flex-direction: column; gap: 1rem; padding: 4rem 0;
  animation: fadeUp 0.7s 0.5s ease both;
}
.hero-stat-card {
  display: flex; align-items: center; gap: 1.4rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.5rem;
  transition: background 0.2s;
}
.hero-stat-card:hover { background: rgba(255,255,255,0.08); }
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold); line-height: 1; flex-shrink: 0; min-width: 4.5rem;
}
.stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.72); font-weight: 400; line-height: 1.4; text-transform: uppercase; letter-spacing: 0.06em; }
.stat-sub { font-size: 0.72rem; color: rgba(255,255,255,0.4); margin-top: 0.2rem; }

/* Faces / social proof */
.hero-faces {
  background: var(--navy-mid);
  padding: 1rem 1.5rem;
  display: flex; align-items: center; gap: 0;
}
.faces-cluster { display: flex; align-items: center; }
.face-wrap { margin-left: -0.9rem; }
.face-wrap:first-child { margin-left: 0; }
.face-wrap img {
  width: 36px; height: 36px; border-radius: 50%;
  border: 3px solid var(--navy-mid); object-fit: cover; display: block;
}
.faces-label { margin-left: 1.5rem; font-size: 0.82rem; color: rgba(255,255,255,0.62); font-weight: 300; }
.faces-label strong { color: var(--white); font-weight: 600; }

/* ── ABOUT PREVIEW ───────────────────────────────────────────── */
.about-section { padding: 8rem 0; }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 7rem; align-items: center;
}
.about-image-wrap {
  position: relative; aspect-ratio: 4/5;
}
.about-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; position: relative; z-index: 1;
}
.about-frame-1 {
  position: absolute; bottom: -1.5rem; right: -1.5rem;
  width: 72%; height: 72%; border: 2px solid var(--gold); z-index: 0;
}
.about-frame-2 {
  position: absolute; top: -1.5rem; left: -1.5rem;
  width: 72%; height: 72%; background: var(--navy); z-index: 0;
}
.about-badge {
  position: absolute; bottom: 2rem; left: -3rem;
  background: var(--gold); padding: 1.2rem 1.5rem; text-align: center;
  z-index: 2;
}
.about-badge-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--navy); line-height: 1;
}
.about-badge-txt {
  font-size: 0.65rem; color: rgba(11,31,58,0.72);
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 600; margin-top: 0.2rem;
}
.about-copy-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--navy);
  line-height: 1.2; margin: 1rem 0 1.8rem;
}
.about-copy-h2 em { color: var(--gold); font-style: italic; }
.about-copy p {
  font-size: 0.97rem; line-height: 1.85; color: var(--text-soft);
  font-weight: 300; margin-bottom: 1.2rem;
}
.about-link {
  color: var(--gold); text-decoration: none;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.5rem; transition: gap 0.2s;
}
.about-link:hover { gap: 0.8rem; }

/* ── WHY SECTION ─────────────────────────────────────────────── */
.why-section { background: var(--navy); padding: 7rem 0; }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.why-left-h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--white);
  line-height: 1.2; margin: 1rem 0;
}
.why-left p {
  font-size: 0.95rem; line-height: 1.75;
  color: rgba(255,255,255,0.55); font-weight: 300; margin-bottom: 2rem;
}
.why-cta {
  display: inline-block; background: var(--gold); color: var(--navy);
  padding: 0.9rem 2.2rem; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; font-weight: 700; transition: background 0.22s;
}
.why-cta:hover { background: var(--gold-lt); }
.why-checks { display: flex; flex-direction: column; gap: 1.5rem; }
.why-check {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding-bottom: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.why-check:last-child { border-bottom: none; }
.why-check-icon {
  width: 32px; height: 32px; flex-shrink: 0;
  background: var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.why-check-icon svg { width: 10px; height: 10px; fill: none; stroke: var(--navy); stroke-width: 2.5; }
.why-check h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.3rem;
}
.why-check p { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.5); font-weight: 300; }

/* ── PROCESS / MILESTONE ─────────────────────────────────────── */
.process-section { background: var(--off-white); padding: 7rem 0; }
.process-header { text-align: center; margin-bottom: 4rem; }
.process-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--navy); margin: 1rem 0;
}
.milestones {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--border);
}
.milestone {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background 0.25s;
}
.milestone:last-child { border-right: none; }
.milestone:hover { background: var(--white); }
.milestone::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.milestone:hover::after { transform: scaleX(1); }
.milestone-num {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; font-weight: 700; color: var(--navy); line-height: 1; margin-bottom: 0.5rem;
}
.milestone-sub {
  font-size: 0.65rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin-bottom: 0.75rem;
}
.milestone h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 600; color: var(--navy); margin: 1rem 0 0.6rem;
}
.milestone p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.65; font-weight: 300; }

/* ── SERVICES PREVIEW ────────────────────────────────────────── */
.services-preview { background: var(--off-white); padding: 7rem 0; }
.services-preview-header { text-align: center; margin-bottom: 4rem; }
.services-preview-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.3rem; font-weight: 700; color: var(--navy); margin: 1rem 0;
}
.services-preview-header p {
  font-size: 0.97rem; color: var(--text-soft); font-weight: 300;
  line-height: 1.7; max-width: 54ch; margin: 0 auto;
}
.services-cards {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--border);
}
.service-card {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background 0.25s;
  text-decoration: none;
}
.service-card:last-child { border-right: none; }
.service-card:hover { background: var(--white); }
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.service-card:hover::after { transform: scaleX(1); }
.service-card-icon {
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem;
}
.service-card-icon svg { width: 20px; height: 20px; stroke: var(--gold); fill: none; stroke-width: 2; }
.service-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.6rem; line-height: 1.3;
}
.service-card p {
  font-size: 0.82rem; color: var(--text-soft); font-weight: 300;
  line-height: 1.6; margin-bottom: 1.2rem;
}
.service-card-link {
  font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); font-weight: 600;
  display: flex; align-items: center; gap: 0.4rem; transition: gap 0.2s;
}
.service-card:hover .service-card-link { gap: 0.75rem; }

/* ── TESTIMONIALS ────────────────────────────────────────────── */
.testimonials-section { background: var(--navy); padding: 7rem 0; }
.testimonials-header { text-align: center; margin-bottom: 4rem; }
.testimonials-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem; font-weight: 700; color: var(--white); margin: 1rem 0;
}
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
  padding: 2.5rem; position: relative; transition: background 0.25s, transform 0.25s;
}
.testimonial-card:hover { background: rgba(255,255,255,0.07); transform: translateY(-3px); }
.testimonial-card::before {
  content: '\201C'; position: absolute; top: 1.2rem; right: 1.8rem;
  font-family: 'Playfair Display', serif;
  font-size: 5rem; line-height: 1; color: var(--gold); opacity: 0.22;
}
.testimonial-stars { display: flex; gap: 3px; margin-bottom: 1.2rem; }
.testimonial-stars span { color: var(--gold); font-size: 0.9rem; }
.testimonial-text {
  font-size: 0.9rem; line-height: 1.75; color: rgba(255,255,255,0.75);
  font-weight: 300; margin-bottom: 1.8rem; font-style: italic;
}
.testimonial-divider { width: 2rem; height: 2px; background: var(--gold); margin-bottom: 1rem; }
.testimonial-name { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 0.25rem; }
.testimonial-info { font-size: 0.75rem; color: rgba(255,255,255,0.45); font-weight: 300; }

/* ── VALUES STRIP ────────────────────────────────────────────── */
.values-section { padding: 5rem 0; border-bottom: 1px solid var(--border); }
.values-section-header { text-align: center; margin-bottom: 3rem; }
.values-section-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700; color: var(--navy); margin: 0.8rem 0;
}
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; border: 1px solid var(--border);
}
.value-card {
  padding: 3rem 2.5rem;
  border-right: 1px solid var(--border);
  position: relative; overflow: hidden; transition: background 0.25s;
}
.value-card:last-child { border-right: none; }
.value-card:hover { background: var(--off-white); }
.value-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s;
}
.value-card:hover::after { transform: scaleX(1); }
.value-icon {
  width: 50px; height: 50px; background: rgba(201,168,76,0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 1.5rem;
}
.value-icon svg { width: 22px; height: 22px; stroke: var(--gold); fill: none; stroke-width: 2; }
.value-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem; font-weight: 600; color: var(--navy); margin-bottom: 0.8rem;
}
.value-card p { font-size: 0.88rem; color: var(--text-soft); line-height: 1.7; font-weight: 300; }

/* ── RESPONSIVE ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 4rem; }
  .about-image-wrap { max-width: 500px; }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .milestones { grid-template-columns: 1fr; }
  .milestone { border-right: none; border-bottom: 1px solid var(--border); }
  .milestone:last-child { border-bottom: none; }
  .services-cards { grid-template-columns: repeat(2, 1fr); }
  .service-card:nth-child(2) { border-right: none; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .value-card:nth-child(2) { border-right: none; }
}
@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .services-cards { grid-template-columns: 1fr; }
  .service-card { border-right: none; border-bottom: 1px solid var(--border); }
  .service-card:last-child { border-bottom: none; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .value-card { border-right: none; border-bottom: 1px solid var(--border); }
  .value-card:last-child { border-bottom: none; }
  .about-badge { display: none; }
}
