/* ═══════════════════════════════════════════
   THAILAND HOUSE — Premium Real Estate
   Design System & Styles
═══════════════════════════════════════════ */

/* ── Variables ── */
:root {
  --dark:        #0F0F12;
  --dark-mid:    #1A1A1F;
  --dark-card:   #16161A;
  --gold:        #C9A96E;
  --gold-light:  #DEC08A;
  --gold-pale:   #F5ECD4;
  --cream:       #F8F5EE;
  --cream-dark:  #F0EBE0;
  --white:       #FFFFFF;
  --text-dark:   #1A1A1F;
  --text-mid:    #4A4A52;
  --text-muted:  #8A8A94;
  --border:      #E8E3D8;
  --border-dark: rgba(255,255,255,0.08);

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:  0.4s var(--ease);

  --radius-sm:   6px;
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow:      0 8px 40px rgba(0,0,0,0.10);
  --shadow-lg:   0 24px 80px rgba(0,0,0,0.16);
  --shadow-gold: 0 8px 32px rgba(201,169,110,0.24);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

em { font-style: italic; color: var(--gold); }

/* ── Container ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 60px);
}

/* ── Section Headers ── */
.section-header {
  text-align: center;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.section-label::before,
.section-label::after {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.section-label--light { color: rgba(255,255,255,0.6); }
.section-label--light::before,
.section-label--light::after { background: rgba(255,255,255,0.4); }

.section-title {
  margin-bottom: 16px;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.1);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-lg { padding: 17px 36px; font-size: 0.95rem; }
.btn-sm { padding: 10px 20px; font-size: 0.82rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-gold {
  background: var(--gold);
  color: var(--dark);
  font-weight: 600;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(201,169,110,0.36);
}
.btn-gold:active { transform: translateY(0); }

.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-2px);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  transform: translateY(-2px);
}

/* ═══════════════ HEADER ═══════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
}
.header-container {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px clamp(20px, 5vw, 60px);
  transition: padding 0.4s var(--ease);
}
.header.scrolled {
  background: rgba(15, 15, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.05), 0 8px 40px rgba(0,0,0,0.3);
}
.header.scrolled .header-container {
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; align-items: center; }
.logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.logo-text em {
  font-style: italic;
  color: var(--gold);
}

/* Nav */
.nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.nav-link {
  font-size: 0.88rem;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  padding: 8px 14px;
  border-radius: 100px;
  transition: var(--transition);
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}

.header-cta { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 16px clamp(20px, 5vw, 60px) 24px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s var(--ease), opacity 0.3s var(--ease), padding 0.4s var(--ease);
}
.mobile-menu.open {
  max-height: 500px;
  opacity: 1;
}
.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-link {
  display: block;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.3s;
}
.mobile-nav-link:hover { color: var(--gold); }
.mobile-cta { margin-top: 20px; align-self: flex-start; }

/* ═══════════════ HERO ═══════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 75% 50%, rgba(45, 30, 70, 0.5) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 20% 80%, rgba(201,169,110,0.08) 0%, transparent 60%),
    var(--dark);
  z-index: 0;
}

.hero-container {
  position: relative;
  z-index: 1;
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px clamp(20px, 5vw, 60px) 80px;
  width: 100%;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.hero-title em { color: var(--gold); font-style: italic; }

.hero-subtitle {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.01em;
}

/* Hero Visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-frame {
  position: relative;
  width: 100%;
  max-width: 500px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.07);
  background: #F8F6F2;
}
.hero-image {
  width: 100%;
  height: 580px;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  filter: brightness(1.01) contrast(1.02);
}
.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 72%, rgba(15,15,18,0.08) 100%);
}

/* Hero Badges */
.hero-badge {
  position: absolute;
  bottom: 48px;
  left: -24px;
  background: var(--gold);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: var(--shadow-gold);
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.badge-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1;
}
.badge-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--dark-mid);
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-badge-2 {
  position: absolute;
  top: 40px;
  right: -20px;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: float 4s ease-in-out infinite 2s;
  white-space: nowrap;
}
.badge2-text {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* Scroll Indicator */
.hero-scroll-indicator {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-bottom: 32px;
  animation: fade-in-up 1.2s var(--ease) 1.5s both;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: scroll-line 2s ease-in-out infinite;
}
@keyframes scroll-line {
  0% { top: -100%; }
  100% { top: 100%; }
}
.hero-scroll-indicator span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
}

/* ═══════════════ STATS ═══════════════ */
.stats {
  background: var(--dark-mid);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
  padding: 60px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stats-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 800px;
  margin: 0 auto;
}
.stat-item {
  text-align: center;
  padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: rgba(255,255,255,0.02); }

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ═══════════════ ADVANTAGES ═══════════════ */
.advantages {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.advantage-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.advantage-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201,169,110,0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201,169,110,0.3);
}
.advantage-card:hover::before { opacity: 1; }

.advantage-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: var(--transition);
}
.advantage-card:hover .advantage-icon {
  background: var(--dark);
}
.advantage-card:hover .advantage-icon svg path,
.advantage-card:hover .advantage-icon svg circle,
.advantage-card:hover .advantage-icon svg rect {
  stroke: var(--gold);
}

.advantage-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.advantage-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ═══════════════ PROCESS ═══════════════ */
.process {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.process::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.process .section-header .section-title,
.process .section-header .section-desc {
  color: var(--white);
}
.process .section-header .section-desc {
  color: rgba(255,255,255,0.5);
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  gap: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
}
.step-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px rgba(201,169,110,0.3);
  line-height: 1;
  margin-bottom: 20px;
  transition: var(--transition);
}
.process-step:hover .step-number {
  color: var(--gold);
  -webkit-text-stroke: 1px var(--gold);
}
.step-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.process-connector {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.3), rgba(201,169,110,0.1));
  margin-top: 28px;
  align-self: start;
}

/* ═══════════════ PROPERTIES ═══════════════ */
.properties {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream-dark);
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}
.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.property-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}
.property-card--featured {
  box-shadow: 0 0 0 2px var(--gold), var(--shadow);
}
.property-card--featured:hover {
  box-shadow: 0 0 0 2px var(--gold), var(--shadow-lg);
}

.property-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

/* Property Card Gradient Backgrounds */
.property-img-1 {
  background:
    linear-gradient(160deg, #1a2a4a 0%, #0d3060 40%, #1a5080 70%, #2a7090 100%);
}
.property-img-1::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 70% 60%, rgba(255,255,255,0.06) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Ccircle cx='100' cy='80' r='50' fill='none' stroke='rgba(255,255,255,0.04)' stroke-width='30'/%3E%3Crect x='60' y='120' width='80' height='50' rx='4' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") center/cover;
}

.property-img-2 {
  background:
    linear-gradient(150deg, #0a2010 0%, #0d3a18 40%, #1a5025 70%, #2a6030 100%);
}
.property-img-2::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(255,255,255,0.05) 0%, transparent 60%),
    radial-gradient(circle at 80% 30%, rgba(201,169,110,0.08) 0%, transparent 40%);
}

.property-img-3 {
  background:
    linear-gradient(145deg, #2a1a0a 0%, #3a2210 40%, #5a3820 70%, #705028 100%);
}
.property-img-3::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 60% 40%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

.property-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, transparent 60%);
  z-index: 1;
}
.property-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,0.85);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.12);
}
.property-roi {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 100px;
  letter-spacing: 0.05em;
}
.property-featured-badge {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(201,169,110,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(201,169,110,0.4);
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  white-space: nowrap;
}

.property-body {
  padding: 24px;
}
.property-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.property-title {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--text-dark);
  line-height: 1.3;
}
.property-specs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.property-specs span {
  font-size: 0.76rem;
  color: var(--text-mid);
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 3px 10px;
}
.property-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.property-price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
}

.properties-cta {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.properties-cta p {
  color: var(--text-mid);
  font-size: 0.95rem;
}

/* ═══════════════ ABOUT ═══════════════ */
.about {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--cream);
  box-shadow: var(--shadow-lg);
}
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
  filter: brightness(1.02);
  transition: transform 0.8s var(--ease);
}
.about-image-wrap:hover .about-image {
  transform: scale(1.03);
}

.about-image-caption {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  background: rgba(15,15,18,0.85);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.caption-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  flex-shrink: 0;
}
.caption-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.4;
}

.about-content { padding: 0 8px; }
.about-title { margin-bottom: 24px; }
.about-text {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.value-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}
.value-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--text-dark);
}
.value-item p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ═══════════════ TESTIMONIALS ═══════════════ */
.testimonials {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--cream);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201,169,110,0.2);
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 16px;
  opacity: 0.4;
}
.testimonial-text {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--dark);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 3px;
}
.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ═══════════════ CTA SECTION ═══════════════ */
.cta-section {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  overflow: hidden;
  background: var(--dark);
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,169,110,0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 20%, rgba(45,30,70,0.5) 0%, transparent 60%),
    var(--dark);
}
.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.cta-title em { color: var(--gold); }
.cta-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}
.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ═══════════════ CONTACT ═══════════════ */
.contact {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-title { margin-bottom: 16px; }
.contact-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.detail-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.detail-value {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
  transition: color 0.3s;
}
a.detail-value:hover { color: var(--gold); }

.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
  transform: translateY(-3px);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 48px);
  position: relative;
}
.form-title {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.form-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--text-dark);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238A8A94' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}
.form-textarea {
  height: 100px;
  resize: vertical;
  min-height: 80px;
}

.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.5;
}
.form-privacy a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Form Success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 32px;
  position: absolute;
  inset: 0;
  background: var(--cream);
  border-radius: var(--radius-xl);
  z-index: 10;
}
.form-success.show { display: flex; }
.form-success h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-dark);
}
.form-success p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ═══════════════ FOOTER ═══════════════ */
.footer {
  background: var(--dark);
  padding: clamp(60px, 8vw, 100px) 0 0;
}
.footer-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo--light .logo-text { color: var(--white); }
.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
  margin-top: 16px;
}

.footer-nav-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-phone {
  display: block;
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 8px;
  transition: color 0.3s;
}
.footer-phone:hover { color: var(--gold); }
.footer-email {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  transition: color 0.3s;
}
.footer-email:hover { color: var(--gold); }

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.4);
  transition: var(--transition);
}
.footer-socials a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,169,110,0.1);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 20px;
}
.footer-copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.2);
  transition: color 0.3s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ═══════════════ ANIMATIONS ═══════════════ */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-animate="fade-left"] {
  transform: translateX(40px);
}
[data-animate="fade-right"] {
  transform: translateX(-40px);
}
[data-animate="scale-in"] {
  transform: scale(0.8);
}
[data-animate].animated {
  opacity: 1;
  transform: none;
}

@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

/* ═══════════════ RESPONSIVE ═══════════════ */

/* Tablet */
@media (max-width: 1024px) {
  .advantages-grid { grid-template-columns: repeat(2, 1fr); }
  .properties-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .process-connector { display: none; }
  .process-step { text-align: left; align-items: flex-start; flex-direction: row; gap: 24px; }
  .step-number { font-size: 2.5rem; margin-bottom: 0; flex-shrink: 0; width: 60px; }

  .about-layout { gap: 48px; }
  .contact-layout { gap: 48px; }
  .hero-container { gap: 40px; }

  .nav { display: none; }
  .header-cta { display: none; }
  .burger { display: flex; }
  .mobile-menu { display: flex; }
}

/* Mobile */
@media (max-width: 768px) {
  .hero-container {
    grid-template-columns: 1fr;
    padding-top: 100px;
    padding-bottom: 60px;
    text-align: center;
  }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-actions { justify-content: center; }
  .hero-trust { justify-content: center; }
  .hero-label { justify-content: center; }

  .hero-visual { order: -1; }
  .hero-image-frame { max-width: 360px; margin: 0 auto; }
  .hero-image { height: 400px; }
  .hero-badge { left: 0; bottom: 20px; }
  .hero-badge-2 { right: 0; top: 16px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.06); }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }

  .advantages-grid { grid-template-columns: 1fr; }
  .properties-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }

  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { aspect-ratio: 4/3; }

  .contact-layout { grid-template-columns: 1fr; gap: 48px; }

  .footer-layout { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .cta-actions { flex-direction: column; align-items: center; }
  .btn-lg { width: 100%; justify-content: center; }

  .hero-scroll-indicator { display: none; }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-badge { display: none; }
  .hero-badge-2 { display: none; }
  .hero-image { height: 320px; }

  .section-label::before,
  .section-label::after { display: none; }
}
