/* ─────────────────────────────────────────────────────
   Texas Crew Housing — Main Stylesheet
───────────────────────────────────────────────────── */

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

:root {
  --brown-dark:   #5C3A1E;
  --brown-main:   #8B5A2B;
  --brown-mid:    #A0672F;
  --brown-light:  #C4843A;
  --brown-pale:   #E8C99A;
  --cream:        #FBF7F2;
  --cream-dark:   #F3EDE3;
  --white:        #FFFFFF;
  --text-dark:    #1C1008;
  --text-mid:     #4A3728;
  --text-light:   #7A6050;
  --border:       #DDD0BE;
  --shadow-sm:    0 2px 8px rgba(92,58,30,.08);
  --shadow-md:    0 6px 24px rgba(92,58,30,.13);
  --shadow-lg:    0 16px 56px rgba(92,58,30,.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── UTILITY ──────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.center      { text-align: center; }
.center .section-sub { margin: 0 auto; }

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown-main);
  background: var(--cream-dark);
  border: 1px solid var(--brown-pale);
  border-radius: 100px;
  padding: 5px 14px;
  margin-bottom: 18px;
}

h1, h2, h3 { line-height: 1.18; }

h2.section-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  color: var(--brown-dark);
  margin-bottom: 16px;
}

p.section-sub {
  font-size: 17px;
  color: var(--text-light);
  max-width: 580px;
  line-height: 1.7;
}

/* ─── BUTTONS ──────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  padding: 14px 32px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s ease;
  border: 2px solid transparent;
}
.btn-primary  { background: var(--brown-main); color: var(--white); border-color: var(--brown-main); }
.btn-primary:hover { background: var(--brown-dark); border-color: var(--brown-dark); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline  { background: transparent; color: var(--brown-main); border-color: var(--brown-main); }
.btn-outline:hover { background: var(--brown-main); color: var(--white); transform: translateY(-1px); }
.btn-white    { background: var(--white); color: var(--brown-dark); border-color: var(--white); }
.btn-white:hover { background: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost    { background: transparent; color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }
.btn-ghost:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-lg       { font-size: 16px; padding: 17px 40px; border-radius: 10px; }

/* ─── NAVBAR ───────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all .3s ease;
  padding: 20px 0;
}
#navbar.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border), var(--shadow-sm);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.nav-logo img { height: 52px; width: auto; transition: height .3s; background: var(--white); border-radius: 10px; padding: 6px 10px; }
#navbar.scrolled .nav-logo img { height: 40px; }

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 600;
  color: var(--white); text-decoration: none;
  transition: color .2s; letter-spacing: .01em;
}
#navbar.scrolled .nav-links a { color: var(--text-mid); }
.nav-links a:hover { color: var(--brown-pale); }
#navbar.scrolled .nav-links a:hover { color: var(--brown-main); }

.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  font-size: 13px; font-weight: 700;
  color: var(--white); text-decoration: none;
  letter-spacing: .01em; transition: color .2s;
}
#navbar.scrolled .nav-phone { color: var(--brown-main); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px; transition: all .3s;
}
#navbar.scrolled .hamburger span { background: var(--brown-dark); }

/* ─── MOBILE MENU ──────────────────────────────── */
.mobile-menu {
  display: none; position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 999;
  padding: 80px 32px 40px;
  flex-direction: column;
}
.mobile-menu.open { display: flex; }
.mobile-nav-links { list-style: none; display: flex; flex-direction: column; }
.mobile-nav-links li { border-bottom: 1px solid var(--border); }
.mobile-nav-links a {
  display: block; padding: 18px 0;
  font-size: 20px; font-weight: 700;
  color: var(--text-dark); text-decoration: none;
}
.mobile-close {
  position: absolute; top: 20px; right: 24px;
  background: none; border: none; font-size: 28px;
  cursor: pointer; color: var(--text-dark);
}
.mobile-actions { margin-top: 32px; display: flex; flex-direction: column; gap: 12px; }

/* ─── HERO ─────────────────────────────────────── */
#hero {
  min-height: 100vh; display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--brown-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(92,58,30,.92) 0%, rgba(139,90,43,.78) 50%, rgba(92,58,30,.88) 100%);
  z-index: 1;
}
.hero-pattern {
  position: absolute; inset: 0; z-index: 0; opacity: .06;
  background-image:
    repeating-linear-gradient(45deg,  var(--white) 0, var(--white) 1px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, var(--white) 0, var(--white) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}
.hero-accent {
  position: absolute; bottom: -80px; right: -80px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,132,58,.25) 0%, transparent 70%);
  z-index: 1;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 760px; padding-top: 100px; padding-bottom: 80px;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--brown-pale); margin-bottom: 24px;
}
.hero-eyebrow::before {
  content: ''; display: block; width: 28px; height: 2px;
  background: var(--brown-pale); border-radius: 2px;
}
h1.hero-title {
  font-family: 'Merriweather', Georgia, serif;
  font-size: clamp(38px, 6vw, 72px); font-weight: 900;
  color: var(--white); line-height: 1.08; margin-bottom: 24px;
}
h1.hero-title span { color: var(--brown-pale); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: rgba(255,255,255,.78);
  max-width: 560px; line-height: 1.7; margin-bottom: 40px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex; align-items: center; gap: 40px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15); flex-wrap: wrap;
}
.stat-number { font-size: 32px; font-weight: 800; color: var(--white); line-height: 1; }
.stat-label  { font-size: 13px; color: rgba(255,255,255,.6); margin-top: 4px; }
.stat-divider { width: 1px; height: 44px; background: rgba(255,255,255,.2); }

/* ─── TRUST BAR ─────────────────────────────────── */
#trust {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
}
.trust-label {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-light); white-space: nowrap;
}
.trust-divider { width: 1px; height: 20px; background: var(--border); }
.trust-badges {
  display: flex; align-items: center; gap: 28px;
  flex-wrap: wrap; justify-content: center;
}
.trust-badge {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
}

/* ─── WHY TCH ───────────────────────────────────── */
#why { background: var(--cream); }
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center; margin-top: 64px;
}
.why-card-main {
  background: var(--brown-dark); border-radius: 20px;
  padding: 40px; color: var(--white);
  position: relative; overflow: hidden;
}
.why-card-main::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(196,132,58,.2);
}
.why-card-main h3 {
  font-family: 'Merriweather', serif; font-size: 26px;
  margin-bottom: 16px; position: relative; z-index: 1;
}
.why-card-main p {
  font-size: 15px; color: rgba(255,255,255,.75);
  line-height: 1.7; position: relative; z-index: 1;
}
.why-card-float {
  position: absolute; bottom: -24px; right: -24px;
  background: var(--white); border-radius: 16px;
  padding: 20px 24px; box-shadow: var(--shadow-lg); min-width: 200px;
}
.float-number { font-size: 36px; font-weight: 800; color: var(--brown-main); line-height: 1; }
.float-label  { font-size: 13px; color: var(--text-light); margin-top: 4px; }
.why-visual   { position: relative; }

.why-features { display: flex; flex-direction: column; gap: 24px; }
.feature-row {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px; background: var(--white);
  border-radius: 14px; border: 1px solid var(--border);
  transition: box-shadow .2s, transform .2s;
}
.feature-row:hover { box-shadow: var(--shadow-md); transform: translateX(4px); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--cream-dark); display: flex;
  align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 20px;
}
.feature-text h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.feature-text p  { font-size: 14px; color: var(--text-light); line-height: 1.5; }

/* ─── WHAT'S INCLUDED ───────────────────────────── */
#included { background: var(--brown-dark); }
#included .tag   { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--brown-pale); }
#included .section-title { color: var(--white); }
#included .section-sub   { color: rgba(255,255,255,.65); }
.included-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; background: rgba(255,255,255,.08);
  border-radius: 20px; overflow: hidden; margin-top: 56px;
}
.included-item {
  background: rgba(255,255,255,.04); padding: 32px 28px;
  transition: background .2s;
}
.included-item:hover { background: rgba(255,255,255,.09); }
.inc-icon  { font-size: 32px; margin-bottom: 16px; }
.included-item h4 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.included-item p  { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.6; }
.inc-check {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  color: var(--brown-pale); margin-top: 12px;
}

/* ─── HOW IT WORKS ──────────────────────────────── */
#how { background: var(--white); }
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; margin-top: 56px; position: relative;
}
.steps-grid::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5% + 20px); right: calc(12.5% + 20px); height: 2px;
  background: repeating-linear-gradient(90deg, var(--brown-pale) 0, var(--brown-pale) 8px, transparent 8px, transparent 16px);
}
.step-card { text-align: center; padding: 32px 20px; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%;
  border: 3px solid var(--brown-pale);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  font-family: 'Merriweather', serif; font-size: 26px;
  font-weight: 900; color: var(--brown-main);
  position: relative; z-index: 1; background: var(--white);
  transition: all .25s;
}
.step-card:hover .step-num {
  background: var(--brown-main); color: var(--white);
  border-color: var(--brown-main); transform: scale(1.1);
}
.step-card h4 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.step-card p  { font-size: 14px; color: var(--text-light); line-height: 1.6; }

/* ─── CITIES ────────────────────────────────────── */
#cities { background: var(--cream); }
.cities-intro {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 48px; flex-wrap: wrap;
}
.cities-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.city-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: 16px; padding: 24px 18px; text-align: center;
  cursor: default; transition: all .25s; position: relative; overflow: hidden;
}
.city-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: linear-gradient(90deg, var(--brown-main), var(--brown-light));
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.city-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--brown-pale); }
.city-card:hover::before { transform: scaleX(1); }
.city-icon { font-size: 24px; margin-bottom: 10px; }
.city-card h4   { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.city-card span { font-size: 12px; color: var(--text-light); }
.cities-note { margin-top: 32px; text-align: center; font-size: 14px; color: var(--text-light); }
.cities-note strong { color: var(--brown-main); }

/* ─── COMPARISON ────────────────────────────────── */
#compare { background: var(--white); }
.compare-wrap {
  margin-top: 56px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-md);
}
.compare-table { width: 100%; border-collapse: collapse; }
.compare-table th {
  padding: 20px 24px; font-size: 14px; font-weight: 700;
  text-align: center;
}
.compare-table th:first-child { text-align: left; }
.compare-table thead tr { background: var(--cream-dark); border-bottom: 2px solid var(--border); }
.col-tch { background: var(--brown-main) !important; color: var(--white) !important; }
.compare-table tbody tr { border-bottom: 1px solid var(--border); transition: background .15s; }
.compare-table tbody tr:last-child { border-bottom: none; }
.compare-table tbody tr:hover { background: var(--cream); }
.compare-table td { padding: 16px 24px; font-size: 14px; text-align: center; color: var(--text-mid); }
.compare-table td:first-child { text-align: left; font-weight: 600; color: var(--text-dark); }
.td-tch { background: rgba(139,90,43,.05); font-weight: 700 !important; color: var(--brown-dark) !important; }
.check   { color: #22C55E; font-size: 18px; }
.cross   { color: #EF4444; font-size: 18px; }
.partial { color: #F59E0B; font-size: 16px; }

/* ─── TESTIMONIALS ──────────────────────────────── */
#testimonials { background: var(--cream-dark); }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 56px;
}
.testimonial-card {
  background: var(--white); border-radius: 18px; padding: 32px;
  border: 1px solid var(--border); transition: box-shadow .2s;
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.stars { color: #F59E0B; font-size: 16px; letter-spacing: 2px; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-size: 15px; color: var(--text-mid);
  line-height: 1.7; margin-bottom: 24px; font-style: italic;
}
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--brown-main); display: flex;
  align-items: center; justify-content: center;
  font-size: 16px; font-weight: 800; color: var(--white); flex-shrink: 0;
}
.reviewer-name { font-size: 14px; font-weight: 700; color: var(--text-dark); }
.reviewer-role { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ─── QUOTE FORM ────────────────────────────────── */
#quote { background: var(--brown-dark); position: relative; overflow: hidden; }
#quote::before {
  content: ''; position: absolute; top: -100px; left: -100px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,132,58,.15) 0%, transparent 70%);
}
#quote .tag         { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.2); color: var(--brown-pale); }
#quote .section-title { color: var(--white); }
#quote .section-sub   { color: rgba(255,255,255,.65); }
.quote-layout {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: start; margin-top: 56px; position: relative; z-index: 1;
}
.quote-bullets { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.quote-bullet  { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(255,255,255,.8); }
.q-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brown-light); flex-shrink: 0; }
.quote-contact { margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.12); }
.quote-contact p { font-size: 13px; color: rgba(255,255,255,.5); margin-bottom: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-link {
  display: flex; align-items: center; gap: 10px;
  font-size: 16px; font-weight: 700; color: var(--white);
  text-decoration: none; margin-bottom: 8px; transition: color .2s;
}
.contact-link:hover { color: var(--brown-pale); }

.form-card { background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow-lg); }
.form-title { font-family: 'Merriweather', serif; font-size: 22px; color: var(--text-dark); margin-bottom: 6px; }
.form-sub   { font-size: 14px; color: var(--text-light); margin-bottom: 28px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--text-mid); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 14px;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-family: 'Inter', sans-serif; font-size: 14px;
  color: var(--text-dark); background: var(--cream);
  transition: border-color .2s, box-shadow .2s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brown-main);
  box-shadow: 0 0 0 3px rgba(139,90,43,.12);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit { width: 100%; margin-top: 8px; }
.form-note   { font-size: 12px; color: var(--text-light); text-align: center; margin-top: 12px; }
#formSuccess { display: none; text-align: center; padding: 40px 20px; }
#formSuccess .success-icon { font-size: 48px; margin-bottom: 16px; }
#formSuccess h4 { font-size: 20px; color: var(--brown-dark); margin-bottom: 8px; }
#formSuccess p  { color: var(--text-light); font-size: 15px; }

/* ─── FOOTER ────────────────────────────────────── */
#footer { background: #1C0F06; color: rgba(255,255,255,.65); padding: 64px 0 32px; }
.footer-grid {
  display: grid; grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img { height: 52px; margin-bottom: 16px; background: var(--white); border-radius: 10px; padding: 6px 10px; }
.footer-brand p   { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h5 {
  font-size: 12px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--brown-pale); margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.footer-col ul a:hover { color: var(--white); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; margin-bottom: 12px; }
.footer-contact-item a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-contact-item a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; flex-wrap: wrap;
}
.footer-bottom p  { font-size: 13px; }
.footer-legal     { display: flex; gap: 20px; }
.footer-legal a   { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; }
.footer-legal a:hover { color: rgba(255,255,255,.7); }

/* ─── SCROLL-TO-TOP ─────────────────────────────── */
#scroll-top {
  position: fixed; bottom: 28px; right: 28px;
  width: 44px; height: 44px; background: var(--brown-main);
  color: var(--white); border: none; border-radius: 50%;
  cursor: pointer; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s;
  box-shadow: var(--shadow-md); z-index: 500;
}
#scroll-top.visible { opacity: 1; pointer-events: all; }
#scroll-top:hover   { transform: translateY(-2px); }

/* ─── ANIMATIONS ────────────────────────────────── */
.fade-up {
  opacity: 0; transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible      { opacity: 1; transform: translateY(0); }
.fade-up-delay-1 { transition-delay: .1s; }
.fade-up-delay-2 { transition-delay: .2s; }
.fade-up-delay-3 { transition-delay: .3s; }
.fade-up-delay-4 { transition-delay: .4s; }

/* ─── GALLERY ───────────────────────────────────── */
#gallery { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 240px 240px;
  gap: 12px;
  margin-top: 56px;
  border-radius: 20px;
  overflow: hidden;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--cream-dark);
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item--wide  { grid-column: span 2; }
.gallery-item--tall  { grid-row: span 2; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(92,58,30,.7) 0%, transparent 55%);
  opacity: 0; transition: opacity .3s;
  display: flex; align-items: flex-end; padding: 20px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  font-size: 13px; font-weight: 700; color: var(--white);
  letter-spacing: .04em; text-transform: uppercase;
}
/* Placeholder shown when no image is provided */
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;
  background: var(--cream-dark);
  color: var(--text-light);
  font-size: 13px; font-weight: 600;
}
.gallery-placeholder span { font-size: 32px; }
.gallery-cta { text-align: center; margin-top: 32px; }

/* Lightbox */
#lightbox {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(28,15,6,.92); backdrop-filter: blur(6px);
  align-items: center; justify-content: center; padding: 24px;
}
#lightbox.open { display: flex; }
#lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: 12px; box-shadow: 0 24px 80px rgba(0,0,0,.5);
  object-fit: contain;
}
#lightbox-close {
  position: absolute; top: 20px; right: 24px;
  background: rgba(255,255,255,.1); border: none;
  color: var(--white); font-size: 24px; width: 44px; height: 44px;
  border-radius: 50%; cursor: pointer; display: flex;
  align-items: center; justify-content: center;
  transition: background .2s;
}
#lightbox-close:hover { background: rgba(255,255,255,.2); }
#lightbox-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.7); font-size: 14px; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
}

/* ─── FAQ ────────────────────────────────────────── */
#faq { background: var(--cream); }
.faq-layout {
  display: grid; grid-template-columns: 1fr 1.4fr;
  gap: 80px; align-items: start; margin-top: 56px;
}
.faq-aside {}
.faq-aside-note {
  background: var(--brown-dark); border-radius: 18px;
  padding: 32px; color: var(--white); margin-top: 32px;
}
.faq-aside-note h4 {
  font-family: 'Merriweather', serif; font-size: 18px; margin-bottom: 12px;
}
.faq-aside-note p { font-size: 14px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 20px; }
.faq-list { display: flex; flex-direction: column; gap: 4px; }
.faq-item {
  border: 1px solid var(--border); border-radius: 12px;
  background: var(--white); overflow: hidden;
  transition: box-shadow .2s;
}
.faq-item.open { box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
  padding: 20px 24px; background: none; border: none;
  cursor: pointer; text-align: left;
  font-family: 'Inter', sans-serif; font-size: 15px;
  font-weight: 700; color: var(--text-dark);
  transition: color .2s;
}
.faq-question:hover { color: var(--brown-main); }
.faq-item.open .faq-question { color: var(--brown-main); }
.faq-icon {
  width: 28px; height: 28px; border-radius: 50%;
  border: 2px solid var(--border); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--brown-main);
  transition: transform .3s, background .2s, border-color .2s;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
  background: var(--brown-main); border-color: var(--brown-main); color: var(--white);
}
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height .38s ease, padding .3s ease;
  padding: 0 24px;
}
.faq-answer p {
  font-size: 14px; color: var(--text-light);
  line-height: 1.8; padding-bottom: 20px;
}
.faq-item.open .faq-answer { max-height: 400px; padding-top: 0; }

/* ─── RESPONSIVE ────────────────────────────────── */
@media (max-width: 1024px) {
  .why-grid           { grid-template-columns: 1fr; gap: 40px; }
  .why-visual         { order: -1; }
  .included-grid      { grid-template-columns: repeat(2, 1fr); }
  .steps-grid         { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .cities-grid        { grid-template-columns: repeat(4, 1fr); }
  .quote-layout       { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid        { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid       { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item--tall { grid-row: span 1; }
  .faq-layout         { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .section                { padding: 64px 0; }
  .nav-links, .nav-cta .btn, .nav-phone { display: none; }
  .hamburger              { display: flex; }
  .testimonials-grid      { grid-template-columns: 1fr; }
  .cities-grid            { grid-template-columns: repeat(3, 1fr); }
  .compare-wrap           { overflow-x: auto; }
  .compare-table          { min-width: 560px; }
  .form-row               { grid-template-columns: 1fr; }
  .hero-stats             { gap: 24px; }
  .stat-divider           { display: none; }
  .footer-grid            { grid-template-columns: 1fr; }
  .included-grid          { grid-template-columns: 1fr; }
  .gallery-grid           { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .gallery-item--wide     { grid-column: span 2; }
  .gallery-item--tall     { grid-row: span 1; }
}
@media (max-width: 480px) {
  .cities-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid   { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .gallery-item { height: 220px; }
  .gallery-item--wide { grid-column: span 1; }
}
