/* ═══════════════════════════════════════════════════════════════════
   Home Interior — Premium Website Stylesheet
   Author: Agency-level build
   ═══════════════════════════════════════════════════════════════════ */

/* ── CSS Variables ───────────────────────────────────────────────── */
:root {
  --cream:    #f5f0e8;
  --cream-2:  #ede8de;
  --gold:     #c8a96e;
  --gold-2:   #b8943e;
  --dark:     #1a1714;
  --dark-2:   #2c2820;
  --mid:      #6b6460;
  --light-mid:#9a9490;
  --white:    #ffffff;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-script:  'Pinyon Script', cursive;
  --font-body:    'Jost', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 80px;
  --container: 1280px;
}

/* ── Reset & Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
  cursor: none;
}

img { display: block; width: 100%; height: 100%; object-fit: cover; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: none; font-family: var(--font-body); border: none; background: none; }

/* ── Custom Cursor ────────────────────────────────────────────────── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: background 0.2s;
}

.cursor-ring {
  width: 32px; height: 32px;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s, opacity 0.3s, border-color 0.3s;
  opacity: 0.7;
}

body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
  width: 48px; height: 48px;
  opacity: 1;
  border-color: var(--gold);
}

/* ── Scroll Progress ─────────────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Container ───────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 768px) { .container { padding: 0 20px; } }

/* ── Section Base ─────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.15;
  color: var(--dark);
}
.section-title em {
  font-style: italic;
  color: var(--gold);
}
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  margin-top: 16px;
  max-width: 520px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .section-subtitle { margin: 16px auto 0; }

/* ── Buttons ─────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, transform 0.3s var(--ease-out-expo);
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--dark);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out-expo);
}
.btn-primary:hover::before { transform: scaleX(1); }
.btn-primary:hover { color: var(--white); transform: translateY(-2px); }
.btn-primary span, .btn-primary i { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 34px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: all 0.3s;
  backdrop-filter: blur(4px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.btn-full { width: 100%; justify-content: center; }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #25d366;
  color: white;
  font-weight: 500;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.3s;
  margin-top: 16px;
}
.btn-whatsapp:hover { background: #20b858; transform: translateY(-2px); }

/* ── Animations ────────────────────────────────────────────────────── */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* Curtain reveal — window opening effect */
.curtain-reveal {
  position: relative;
  overflow: hidden;
}
.curtain-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cream);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.9s var(--ease-out-expo);
  z-index: 2;
}
.curtain-reveal.visible::after { transform: scaleX(0); }

/* Delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════ NAVBAR ══════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}
.navbar.scrolled {
  background: rgba(26, 23, 20, 0.97);
  backdrop-filter: blur(12px);
  height: 65px;
  box-shadow: 0 1px 40px rgba(0,0,0,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;

  color: var(--white);
}
.logo-img {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}
.logo-text {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  border-left: 1px solid rgba(200,169,110,0.4);
  padding-left: 10px;
  line-height: 1.4;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-links a {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 400;
  position: relative;
  transition: color 0.3s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-links .nav-cta {
  padding: 8px 24px;
  border: 1px solid rgba(200,169,110,0.5);
  color: var(--gold);
  transition: all 0.3s;
}
.nav-links .nav-cta:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.nav-links .nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

/* ═══════════════════════════ HERO ════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}
.hero-img {
  animation: heroScale 8s ease-out forwards;
}
@keyframes heroScale {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(26,23,20,0.78) 0%,
    rgba(26,23,20,0.45) 60%,
    rgba(26,23,20,0.15) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 60px;
  max-width: 720px;
}

.hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 300;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}
.hero-title em {
  display: block;
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}
.scroll-line {
  width: 60px;
  height: 1px;
  background: var(--gold);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { width: 60px; opacity: 0.5; }
  50%       { width: 90px; opacity: 1; }
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  right: 60px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(26,23,20,0.75);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(200,169,110,0.2);
  padding: 20px 32px;
}
.stat-card { text-align: center; }
.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
}
.stat-card span {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  display: block;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(200,169,110,0.25);
  margin: 0 28px;
}

/* ═══════════════════════════ MARQUEE ═════════════════════════════════ */
.marquee-strip {
  background: var(--dark);
  padding: 18px 0;
  overflow: hidden;
  border-top: 1px solid rgba(200,169,110,0.15);
  border-bottom: 1px solid rgba(200,169,110,0.15);
}
.marquee-track {
  display: flex;
  gap: 0;
  animation: marquee 30s linear infinite;
  white-space: nowrap;
}
.marquee-track span {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  padding: 0 20px;
}
.marquee-track .dot { color: var(--gold); padding: 0 4px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ═══════════════════════════ ABOUT ═══════════════════════════════════ */
.about {
  padding: 140px 0;
  background: var(--cream);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-images {
  position: relative;
  height: 600px;
}
.about-img-primary {
  position: absolute;
  top: 0; left: 0;
  width: 75%; height: 80%;
  overflow: hidden;
}
.about-img-secondary {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%; height: 50%;
  overflow: hidden;
  border: 4px solid var(--cream);
}
.about-badge {
  position: absolute;
  bottom: 60px; left: -20px;
  background: var(--gold);
  color: var(--dark);
  padding: 18px 24px;
  text-align: center;
  z-index: 3;
  box-shadow: 0 20px 60px rgba(200,169,110,0.3);
}
.badge-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
}
.badge-stars { font-size: 0.8rem; letter-spacing: 0.1em; margin: 4px 0; }
.badge-label {
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
}

.about-divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 24px 0;
}
.about-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 20px;
}
.about-values {
  display: flex;
  gap: 32px;
  margin: 32px 0 40px;
  flex-wrap: wrap;
}
.value-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
}
.value-item i { color: var(--gold); font-size: 0.9rem; }

/* ═══════════════════════════ PORTFOLIO ═══════════════════════════════ */
.portfolio {
  padding: 140px 0;
  background: var(--dark);
}
.portfolio .section-title { color: var(--white); }
.portfolio .section-subtitle { color: rgba(255,255,255,0.45); }
.portfolio .section-eyebrow { color: var(--gold); }

.portfolio-filters {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 9px 24px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.3s;
  font-weight: 400;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 12px;
}
.portfolio-item.large { grid-column: span 2; }

.portfolio-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.portfolio-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out-expo);
}
.portfolio-item:hover .portfolio-img-wrap img { transform: scale(1.06); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,23,20,0.92) 0%, rgba(26,23,20,0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity 0.4s;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }

.portfolio-tag {
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 8px;
}
.portfolio-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 4px;
}
.portfolio-overlay p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.1em;
}
.portfolio-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: none;
  transition: gap 0.3s;
}
.portfolio-view-btn:hover { gap: 14px; }

.portfolio-item {
  transition: opacity 0.4s, transform 0.4s, filter 0.4s;
  animation: fadeIn 0.6s var(--ease-out-expo) both;
}
.portfolio-item.hidden {
  display: none;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Modal ────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26,23,20,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
  padding: 40px;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  max-width: 1000px;
  width: 100%;
  max-height: 85vh;
  background: var(--dark-2);
  overflow: hidden;
  transform: scale(0.96);
  transition: transform 0.4s var(--ease-out-expo);
  position: relative;
}
.modal-overlay.open .modal-container { transform: scale(1); }

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 1.1rem;
  z-index: 10;
  background: rgba(255,255,255,0.05);
  transition: all 0.3s;
}
.modal-close:hover { color: var(--white); background: rgba(255,255,255,0.1); }

.modal-img-wrap { overflow: hidden; min-height: 400px; }
.modal-info {
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.modal-tag {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.modal-info h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
}
.modal-info p {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
}

/* ═══════════════════════════ SERVICES ════════════════════════════════ */
.services {
  padding: 140px 0;
  background: var(--cream-2);
  position: relative;
  overflow: hidden;
}
.services-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 18rem);
  font-weight: 600;
  color: rgba(200,169,110,0.04);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(200,169,110,0.15);
  border: 1px solid rgba(200,169,110,0.15);
}

.service-card {
  background: var(--cream-2);
  padding: 48px 36px;
  position: relative;
  transition: background 0.3s;
}
.service-card:hover { background: var(--white); }
.service-line {
  position: absolute;
  bottom: 0; left: 36px;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width 0.5s var(--ease-out-expo);
}
.service-card:hover .service-line { width: calc(100% - 72px); }

.service-icon {
  width: 52px; height: 52px;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  font-size: 1.1rem;
  color: var(--dark);
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: rotate(-5deg) scale(1.05); }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.3;
}
.service-card p {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.75;
}

/* ═══════════════════════════ PROCESS ════════════════════════════════ */
.process {
  padding: 140px 0;
  background: var(--dark);
  position: relative;
}
.process .section-title { color: var(--white); }
.process .section-subtitle { color: rgba(255,255,255,0.45); }

.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 60px auto 0;
  padding: 40px 0;
}

.process-timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, 
    transparent 0%, 
    rgba(200,169,110,0.3) 15%, 
    rgba(200,169,110,0.3) 85%, 
    transparent 100%
  );
  transform: translateX(-50%);
}

.process-step {
  display: grid;
  grid-template-columns: 1fr 100px 1fr;
  align-items: center;
  margin-bottom: 100px;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}
.process-step.visible {
  opacity: 1;
  transform: translateY(0);
}
.process-step:last-child { margin-bottom: 0; }

.step-number {
  position: absolute;
  top: -20px;
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 600;
  color: rgba(200,169,110,0.05);
  line-height: 1;
  z-index: 1;
  pointer-events: none;
}

.process-step:nth-child(odd) .step-number { right: 40px; }
.process-step:nth-child(even) .step-number { left: 40px; }

.step-icon {
  grid-column: 2;
  width: 64px;
  height: 64px;
  background: var(--dark);
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  color: var(--gold);
  font-size: 1.4rem;
  transition: all 0.5s var(--ease-out-expo);
}

.process-step:hover .step-icon {
  background: var(--gold);
  color: var(--dark);
  transform: scale(1.1) rotate(-8deg);
  box-shadow: 0 0 30px rgba(200,169,110,0.3);
}

.step-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(200,169,110,0.15);
  border-radius: 50%;
  transition: all 0.5s var(--ease-out-expo);
}
.process-step:hover .step-icon::after {
  inset: -12px;
  opacity: 0;
}

.step-content {
  position: relative;
  z-index: 2;
  transition: transform 0.5s var(--ease-out-expo);
}

.process-step:nth-child(odd) .step-content {
  grid-column: 1;
  text-align: right;
  padding-right: 60px;
}
.process-step:nth-child(even) .step-content {
  grid-column: 3;
  text-align: left;
  padding-left: 60px;
}

.process-step:hover .step-content {
  transform: translateY(-5px);
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}
.step-content p {
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
}

/* ═══════════════════════════ TESTIMONIALS ════════════════════════════ */
.testimonials {
  position: relative;
  padding: 140px 0;
  overflow: hidden;
}
.testimonials-bg {
  position: absolute;
  inset: 0;
}
.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,23,20,0.9);
}

.testimonials-slider {
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s var(--ease-out-expo);
}

.testimonial-card {
  flex: 0 0 calc(33.33% - 16px);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(200,169,110,0.15);
  padding: 44px 36px;
  backdrop-filter: blur(8px);
  transition: all 0.4s;
}
.testimonial-card:hover {
  background: rgba(200,169,110,0.07);
  border-color: rgba(200,169,110,0.4);
  transform: translateY(-4px);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  margin-bottom: 20px;
}
.testimonial-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar {
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-author strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--white);
  font-weight: 500;
}
.testimonial-author span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
  display: block;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 2;
}
.slider-btn {
  width: 48px; height: 48px;
  border: 1px solid rgba(200,169,110,0.3);
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: all 0.3s;
}
.slider-btn:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}
.slider-dots { display: flex; gap: 8px; }
.slider-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s;
  cursor: none;
}
.slider-dot.active { background: var(--gold); width: 24px; border-radius: 3px; }

/* ═══════════════════════════ GALLERY ════════════════════════════════ */
.gallery {
  padding: 140px 0 0;
  background: var(--cream);
}
.gallery-masonry {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
}
.gallery-item {
  overflow: hidden;
  cursor: none;
}
.gallery-item.tall { grid-row: span 2; }
.gallery-item img {
  transition: transform 0.7s var(--ease-out-expo);
  height: 100%;
}
.gallery-item:hover img { transform: scale(1.06); }

/* ═══════════════════════════ CONTACT ════════════════════════════════ */
.contact {
  padding: 140px 0;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
  margin-bottom: 80px;
}

.contact-body {
  font-size: 1rem;
  font-weight: 300;
  color: var(--mid);
  line-height: 1.8;
  margin: 20px 0 32px;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-detail-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-detail-item strong {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--dark);
  font-weight: 500;
  margin-bottom: 4px;
}
.contact-detail-item span,
.contact-detail-item a {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--mid);
}
.contact-detail-item a:hover { color: var(--gold); }

/* Form */
.contact-form-wrap { position: relative; }

.contact-form {
  background: var(--dark);
  padding: 52px 44px;
}
.form-success {
  display: none;
  background: var(--dark);
  padding: 52px 44px;
  text-align: center;
  color: var(--white);
}
.form-success i {
  font-size: 3rem;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 10px;
}
.form-success p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  font-weight: 400;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(200,169,110,0.5);
  background: rgba(255,255,255,0.06);
}
.form-group select option { background: var(--dark-2); color: var(--white); }
.form-group textarea { 
  resize: none; 
  min-height: 150px; 
  line-height: 1.6;
}
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 20px rgba(200,169,110,0.1);
}

/* Map */
.map-placeholder {
  position: relative;
  height: 350px;
  overflow: hidden;
}
.map-overlay-text {
  position: absolute;
  bottom: 20px; left: 20px;
  z-index: 10;
  background: var(--gold);
  color: var(--dark);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* ═══════════════════════════ FOOTER ═════════════════════════════════ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
  border-top: 1px solid rgba(200,169,110,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-logo .logo-im { font-family: var(--font-display); font-size: 1.8rem; color: var(--gold); font-weight: 600; }
.footer-logo span:last-child { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.5); }

.footer-brand p {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  margin-bottom: 28px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: all 0.3s;
}
.footer-social a:hover {
  background: var(--gold);
  color: var(--dark);
  border-color: var(--gold);
}

.footer-col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
  margin-bottom: 24px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(255,255,255,0.35);
  transition: color 0.3s;
}
.footer-col li i { color: var(--gold); font-size: 0.75rem; margin-top: 3px; flex-shrink: 0; }
.footer-col a { color: rgba(255,255,255,0.35); }
.footer-col a:hover { color: var(--gold); }
.footer-col li:hover { color: rgba(255,255,255,0.7); }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255,255,255,0.2);
}
.footer-bottom i { color: var(--gold); margin: 0 2px; }

/* ═══════════════════════════ FAB WHATSAPP ════════════════════════════ */
.fab-whatsapp {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 56px; height: 56px;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 900;
  box-shadow: 0 8px 32px rgba(37,211,102,0.4);
  border-radius: 50%;
  transition: all 0.3s var(--ease-out-expo);
  animation: waPulse 2.5s ease-in-out infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 40px rgba(37,211,102,0.5);
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 8px 32px rgba(37,211,102,0.7), 0 0 0 8px rgba(37,211,102,0.1); }
}

/* ═══════════════════════════ RESPONSIVE ═════════════════════════════ */
@media (max-width: 1200px) {
  .container { padding: 0 40px; }
  .about-grid { gap: 60px; }
}

@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item.large { grid-column: span 2; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  :root { --nav-h: 70px; }
  .navbar { padding: 0 30px; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 80%; height: 100vh;
    background: var(--dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: right 0.6s var(--ease-out-expo);
    z-index: 1001;
    box-shadow: -10px 0 50px rgba(0,0,0,0.5);
  }
  .nav-links.open { right: 0; }
  .nav-links a { font-size: 1.2rem; }
  .nav-links .nav-cta { margin-top: 10px; width: auto; }
  .hamburger { display: flex; position: relative; z-index: 1002; }
  .hamburger span { background: var(--white); }

  .hero-content { padding: 0 30px; }
  .hero-title { font-size: clamp(2.8rem, 8vw, 4rem); }
  .hero-stats { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-images { height: 450px; }
  .about-badge { left: 0; bottom: 40px; }

  .process-timeline::before { left: 30px; transform: none; }
  .process-step { 
    grid-template-columns: 60px 1fr; 
    margin-bottom: 60px; 
    gap: 0;
  }
  .process-step:nth-child(odd) .step-content,
  .process-step:nth-child(even) .step-content {
    grid-column: 2;
    text-align: left;
    padding-left: 30px;
    padding-right: 0;
  }
  .step-icon { grid-column: 1; margin: 0; width: 60px; height: 60px; }
  .step-number { display: none; }

  .contact-grid { grid-template-columns: 1fr; gap: 60px; }
  .form-row { grid-template-columns: 1fr; }
  
  .modal-container { grid-template-columns: 1fr; max-height: 90vh; }
  .modal-img-wrap { min-height: 300px; }
}

@media (max-width: 600px) {
  :root { --nav-h: 60px; }
  .container { padding: 0 20px; }
  .section-title { font-size: 2.4rem; }
  .hero-title { font-size: 2.6rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }

  .about { padding: 80px 0; }
  .about-images { height: 350px; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .portfolio-item.large { grid-column: span 1; }
  
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 40px 24px; }

  .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .gallery-item.tall { grid-row: span 1; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }

  .process-timeline::before { left: 20px; }
  .process-step { grid-template-columns: 40px 1fr; }
  .step-icon { width: 40px; height: 40px; font-size: 1rem; }
  .process-step:nth-child(odd) .step-content,
  .process-step:nth-child(even) .step-content { padding-left: 20px; }
}

/* ── Prevent cursor flicker ─────────────────────────────────────── */
@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
  button { cursor: pointer; }
  a { cursor: pointer; }
  .portfolio-view-btn, .filter-btn, .slider-btn, .slider-dot { cursor: pointer; }
}
/* -- Toast Notifications ------------------------------------------ */
.toast-container {
  position: fixed;
  top: 40px;
  right: 40px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  background: var(--dark-2);
  color: var(--white);
  padding: 16px 24px;
  border-left: 3px solid var(--gold);
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 320px;
  transform: translateX(120%);
  transition: transform 0.6s var(--ease-out-expo);
  pointer-events: all;
  border: 1px solid rgba(255,255,255,0.05);
}

.toast.show { transform: translateX(0); }
.toast.error { border-left-color: #ff4b2b; }
.toast.success { border-left-color: #25d366; }

.toast-icon {
  font-size: 1.2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.toast.error .toast-icon { color: #ff4b2b; }
.toast.success .toast-icon { color: #25d366; }

.toast-content h4 {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2px;
  color: var(--gold);
}
.toast.error .toast-content h4 { color: #ff4b2b; }
.toast.success .toast-content h4 { color: #25d366; }

.toast-content p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  font-weight: 300;
}

@media (max-width: 600px) {
  .toast-container { top: 20px; right: 20px; left: 20px; }
  .toast { min-width: auto; width: 100%; }
}

.logo-img { height: 50px; width: auto; object-fit: contain; transition: height 0.4s; }
.navbar.scrolled .logo-img { height: 40px; }
.footer-logo .logo-img { height: 55px; }

.logo-img { border-radius: 50%; }

.logo-img { height: 75px; }
.navbar.scrolled .logo-img { height: 55px; }
.footer-logo .logo-img { height: 100px; }

@media (max-width: 900px) { .testimonial-card { flex: 0 0 calc(50% - 12px); padding: 32px 24px; } }
@media (max-width: 600px) { .testimonial-card { flex: 0 0 100%; } .testimonials-track { gap: 16px; } .testimonial-text { font-size: 0.95rem; line-height: 1.6; } }

@media (max-width: 900px) { .portfolio-overlay { opacity: 1; background: linear-gradient(to top, rgba(26,23,20,0.95) 0%, rgba(26,23,20,0.4) 80%, transparent 100%); } .portfolio-overlay h3 { font-size: 1.2rem; } .portfolio-overlay p { margin-bottom: 12px; } }

.portfolio-grid { grid-auto-flow: dense; }

/* -------------------------- VIDEO SHOWCASE -------------------------- */
.video-showcase { padding: 140px 0; background: var(--dark-2); }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 60px; }
.video-card { position: relative; border-radius: 12px; overflow: hidden; background: var(--dark); aspect-ratio: 9/16; cursor: pointer; }
.video-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease-out-expo); }
.video-card:hover video { transform: scale(1.05); }
.video-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(26,23,20,0.8) 0%, transparent 60%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; transition: background 0.3s; }
.video-card:hover .video-overlay { background: rgba(26,23,20,0.4); }
.play-btn-circle { width: 64px; height: 64px; border: 1px solid rgba(255,255,255,0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.2rem; backdrop-filter: blur(4px); transition: all 0.3s; }
.video-card:hover .play-btn-circle { background: var(--gold); border-color: var(--gold); color: var(--dark); transform: scale(1.1); }
.video-overlay span { color: var(--white); font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; opacity: 0.8; }
.video-actions { display: flex; justify-content: center; margin-top: 60px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
@media (max-width: 600px) { .video-grid { grid-template-columns: 1fr; } .video-card { aspect-ratio: 4/5; } .video-showcase { padding: 80px 0; } }

.video-card.is-playing .video-overlay { opacity: 0; pointer-events: none; }
.video-card.is-playing video { transform: scale(1); }
.video-card video::-webkit-media-controls-enclosure { border-radius: 0; }
/* Ensure the overlay is always above the video but below controls if possible */
.video-overlay { z-index: 2; pointer-events: auto; transition: opacity 0.4s var(--ease-out-expo); }
.video-card video { z-index: 1; }

.section-subtitle.light { color: rgba(255,255,255,0.7); }

@media (max-width: 900px) { .logo-img { height: 60px; } }
@media (max-width: 600px) { .logo-img { height: 50px; } .nav-logo { margin-top: 2px; } }

/* ---------------------------------- PRELOADER --------------------------------------- */
.preloader { position: fixed; inset: 0; background: var(--dark); z-index: 10000; display: flex; align-items: center; justify-content: center; transition: transform 0.8s var(--ease-out-expo), opacity 0.6s ease; }
.preloader.loaded { transform: translateY(-100%); opacity: 0; pointer-events: none; }
.preloader-content { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; max-width: 300px; text-align: center; }
.preloader-logo { width: 120px; animation: preloaderPulse 2s ease-in-out infinite; }
.preloader-logo img { width: 100%; height: auto; border-radius: 50%; }
.preloader-bar { width: 100%; height: 1px; background: rgba(255,255,255,0.1); position: relative; overflow: hidden; }
.preloader-progress { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--gold); transition: width 0.4s ease; animation: preloaderProgress 2.5s cubic-bezier(0.65, 0, 0.35, 1) forwards; }
.preloader-text { font-family: 'Pinyon Script', cursive; color: var(--gold); font-size: 1.8rem; opacity: 0; transform: translateY(10px); animation: preloaderFadeIn 0.8s ease 0.5s forwards; }
@keyframes preloaderPulse { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes preloaderProgress { 0% { width: 0; } 100% { width: 100%; } }
@keyframes preloaderFadeIn { to { opacity: 1; transform: translateY(0); } }
