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

:root {
  --teal: #E5C7AC;
  --teal-dark: #C4A88D;
  --teal-light: #F9F1EB;
  --navy: #443731;
  --navy-mid: #2E2521;
  --charcoal: #2C3E50;
  --text: #1A1A2E;
  --text-mute: #5A6472;
  --bg: #FAFAF8;
  --bg-card: #FFFFFF;
  --border: #E8EBF0;
  --cream: #F4F1EC;
  --gold: #C9A84C;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, .06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, .10);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, .14);
  --trans: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

/* ──────────────────────────────────────────────────────────────
   HERO SECTION
────────────────────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  min-height: 440px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 30% 50%, rgba(229, 199, 172, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 70% 30%, rgba(201, 168, 76, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  padding: 56px 48px 56px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.site-logo {
  position: absolute;
  top: 28px;
  left: 72px;
  width: 140px;
  z-index: 10;
}

.hero-text h1 {
  font-size: clamp(1.75rem, 3vw, 2.6rem);
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.hero-text h1 .highlight {
  color: var(--teal);
  display: block;
}

.hero-sub {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, .75);
  max-width: 480px;
  margin-bottom: 28px;
  line-height: 1.7;
}

.hero-sub strong {
  color: #fff;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, .60);
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Hero image panel */
.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.88) saturate(1.1);
  transition: transform 8s ease;
}

.hero-image:hover img {
  transform: scale(1.04);
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--navy) 0%, transparent 35%);
  z-index: 1;
}

.hero-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--radius-md);
  padding: 12px 20px;
  text-align: center;
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.badge-yield {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
}

.badge-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, .80);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ──────────────────────────────────────────────────────────────
   PAGE WRAPPER (two-column layout)
────────────────────────────────────────────────────────────── */
.page-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 32px 80px;
}

/* ──────────────────────────────────────────────────────────────
   SECTION HEADERS
────────────────────────────────────────────────────────────── */
.section {
  margin-bottom: 60px;
}

.section-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 14px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background: var(--teal);
  border-radius: 2px;
}

.title-tag {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-mute);
}

/* ──────────────────────────────────────────────────────────────
   FEATURE CARDS (Why Dubai)
────────────────────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(24px);
}

.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
  transform: translateY(-4px) !important;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

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

.card-icon {
  width: 52px;
  height: 52px;
  background: var(--teal-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  margin-bottom: 18px;
  transition: var(--trans);
}

.card:hover .card-icon {
  background: var(--teal);
  color: #fff;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.35;
}

.card p {
  font-size: 0.83rem;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ──────────────────────────────────────────────────────────────
   ROI SCENARIO
────────────────────────────────────────────────────────────── */
.roi-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.roi-card {
  background: var(--cream);
  border: 1px solid #E0D8CC;
  border-radius: var(--radius-lg);
  padding: 30px;
}

.roi-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-mute);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 22px;
}

.roi-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roi-item {
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.roi-value {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.roi-value.roi-green {
  color: var(--teal-dark);
  font-size: 1.15rem;
}

.roi-desc {
  font-size: 0.8rem;
  color: var(--text-mute);
  font-weight: 500;
}

.roi-divider {
  height: 1px;
  background: #D0C8BC;
}

.roi-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-md);
}

.roi-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.roi-image:hover img {
  transform: scale(1.05);
}

.roi-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(68, 55, 49, 0.75));
  padding: 20px 16px 14px;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.disclaimer {
  margin-top: 12px;
  font-size: 0.75rem;
  color: var(--text-mute);
  font-style: italic;
}

/* ──────────────────────────────────────────────────────────────
   5 STEP PROCESS
────────────────────────────────────────────────────────────── */
.steps-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 8px;
  opacity: 0;
  transform: translateY(20px);
}

.step.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.step:nth-child(1) {
  transition-delay: 0s;
}

.step:nth-child(3) {
  transition-delay: 0.1s;
}

.step:nth-child(5) {
  transition-delay: 0.2s;
}

.step:nth-child(7) {
  transition-delay: 0.3s;
}

.step:nth-child(9) {
  transition-delay: 0.4s;
}

.step-icon {
  width: 68px;
  height: 68px;
  background: #F2EEE8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal-dark);
  border: 2px solid #E0D8CC;
  transition: var(--trans);
  position: relative;
}

.step:hover .step-icon {
  background: var(--teal);
  color: #fff;
  border-color: var(--teal);
  box-shadow: 0 0 0 6px rgba(229, 199, 172, 0.12);
}

.step-num {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.08em;
}

.step p {
  font-size: 0.8rem;
  color: var(--text-mute);
  line-height: 1.4;
  font-weight: 500;
}

.step-connector {
  flex: 0 0 auto;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--teal), var(--border));
  margin-top: 34px;
  border-radius: 1px;
}

/* ──────────────────────────────────────────────────────────────
   SIDEBAR BOXES
────────────────────────────────────────────────────────────── */
.right-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 0;
  align-self: start;
}

.sidebar-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
}

.sidebar-box:hover {
  box-shadow: var(--shadow-md);
}

.sidebar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

/* Checklist */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 500;
}

.check {
  color: var(--teal);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 1px;
  flex-shrink: 0;
}

/* Diamond list */
.diamond-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.diamond-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.87rem;
  color: var(--charcoal);
}

.diamond {
  color: var(--teal);
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* ──────────────────────────────────────────────────────────────
   FORM
────────────────────────────────────────────────────────────── */
.form-box {
  background: linear-gradient(135deg, #fff 0%, #FCF9F6 100%);
  border-color: rgba(229, 199, 172, 0.25);
}

.form-group {
  margin-bottom: 10px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.87rem;
  color: var(--text);
  background: #fff;
  transition: var(--trans);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group select option[disabled] {
  color: #A0ADB8;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(229, 199, 172, 0.12);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235A6472' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}

/* ──────────────────────────────────────────────────────────────
   BUTTONS
────────────────────────────────────────────────────────────── */
.btn-primary {
  background: #E5C7AC;
  color: var(--navy);
  border: none;
  border-radius: 50px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(229, 199, 172, 0.35);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 199, 172, 0.50);
  background: #C4A88D;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-outline {
  background: transparent;
  color: #E5C7AC;
  border: 2px solid #E5C7AC;
  border-radius: 50px;
  padding: 11px 24px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}

.btn-outline:hover {
  background: #E5C7AC;
  color: var(--navy);
  border-color: #E5C7AC;
}

.btn-secondary {
  background: var(--cream);
  color: var(--navy);
  border: 1.5px solid #D8D0C4;
  border-radius: 50px;
  padding: 11px 22px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  width: 100%;
}

.btn-secondary:hover {
  background: #E5C7AC;
  border-color: #E5C7AC;
  color: var(--navy);
}

.btn-full {
  width: 100%;
  margin-bottom: 10px;
}

/* ──────────────────────────────────────────────────────────────
   THANK YOU BOX
────────────────────────────────────────────────────────────── */
.hidden {
  display: none !important;
}

.thank-you-box {
  border-color: rgba(229, 199, 172, 0.3);
  background: linear-gradient(135deg, #FCF9F6 0%, #fff 100%);
}

.ty-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.ty-icon {
  width: 48px;
  height: 48px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  flex-shrink: 0;
  animation: popIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popIn {
  from {
    transform: scale(0) rotate(-45deg);
    opacity: 0;
  }

  to {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.ty-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal-dark);
}

.ty-header h2 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}

.ty-sub {
  font-size: 0.83rem;
  color: var(--text-mute);
  margin-bottom: 20px;
  line-height: 1.6;
}

.btn-whatsapp {
  display: block;
  text-align: center;
  text-decoration: none;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 13px 26px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  margin-bottom: 10px;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.50);
}

/* Inside sidebar, .btn-outline needs dark styling */
.sidebar-box .btn-outline,
.thank-you-box .btn-outline {
  color: var(--navy);
  border-color: var(--border);
  display: block;
  text-align: center;
}

.sidebar-box .btn-outline:hover,
.thank-you-box .btn-outline:hover {
  background: #E5C7AC;
  border-color: #E5C7AC;
  color: var(--navy);
}

/* ──────────────────────────────────────────────────────────────
   FOOTER
────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255, 255, 255, .45);
  text-align: center;
  padding: 24px 32px;
  font-size: 0.78rem;
}

/* ──────────────────────────────────────────────────────────────
   LOADING PULSE on submit
────────────────────────────────────────────────────────────── */
.btn-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.75;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  right: 16px;
  margin-top: -8px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ──────────────────────────────────────────────────────────────
   RESPONSIVE
────────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .page-wrapper {
    grid-template-columns: 1fr;
  }

  .right-col {
    position: static;
  }
}

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

  .hero-image {
    height: 240px;
  }

  .hero-content {
    padding: 80px 24px 40px;
  }

  .site-logo {
    top: 24px;
    left: 24px;
    width: 120px;
  }

  .hero-text h1 {
    font-size: 1.7rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .roi-wrapper {
    grid-template-columns: 1fr;
  }

  .steps-row {
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
  }

  .step-connector {
    display: none;
  }

  .step {
    flex: 0 0 calc(33% - 12px);
  }

  .page-wrapper {
    padding: 36px 20px 56px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn-primary,
  .hero-buttons .btn-outline {
    width: 100%;
    text-align: center;
  }

  .step {
    flex: 0 0 calc(50% - 12px);
  }
}

/* ─── Shake animation (used when form invalid) ───────────── */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-6px); }
  80% { transform: translateX(6px); }
}
#lead-form.shake {
  animation: shake 0.55s ease;
}
