/* ============================================
   ESTRO & DESIGNER LATINA
   Premium Interior Surface Design
   Design System & Styles
   ============================================ */

/* ---------- DESIGN TOKENS ---------- */
:root {
  /* Primary palette — derived from logo burgundy/maroon */
  --color-primary-deep: #4A1A2E;
  --color-primary: #7B2D3F;
  --color-primary-light: #9E4456;
  --color-primary-muted: #A0706B;

  /* Luxury neutrals */
  --color-ivory: #FAF6F0;
  --color-ivory-warm: #F5EDE3;
  --color-sand: #E8DFD4;
  --color-taupe: #B8A99A;
  --color-greige: #9C8B7A;
  --color-mocha: #6B5744;
  --color-walnut: #4A3C30;
  --color-charcoal: #2C2825;
  --color-charcoal-deep: #1A1816;

  /* Accent metallics */
  --color-champagne: #C9A96E;
  --color-champagne-light: #D4BC8A;
  --color-bronze: #8B7355;

  /* Functional */
  --color-white: #FFFFFF;
  --color-black: #0A0908;
  --color-success: #5A7A5A;
  --color-overlay: rgba(26, 24, 22, 0.7);
  --color-overlay-light: rgba(26, 24, 22, 0.4);

  /* Typography */
  --font-heading: 'Playfair Display', 'Georgia', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-accent: 'Cormorant Garamond', 'Georgia', serif;

  /* Type scale */
  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.9rem + 0.25vw, 1.05rem);
  --text-md: clamp(1.05rem, 1rem + 0.25vw, 1.15rem);
  --text-lg: clamp(1.15rem, 1.05rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.3rem, 1.15rem + 0.75vw, 1.7rem);
  --text-2xl: clamp(1.6rem, 1.3rem + 1.5vw, 2.2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;
  --space-section: clamp(4rem, 3rem + 5vw, 8rem);

  /* Layout */
  --max-width: 1280px;
  --max-width-narrow: 900px;
  --max-width-text: 680px;
  --gutter: clamp(1.25rem, 1rem + 2vw, 3rem);

  /* Borders & Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --border-thin: 1px solid var(--color-sand);
  --border-accent: 1px solid var(--color-champagne);

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.12);
  --shadow-inner: inset 0 2px 8px rgba(0,0,0,0.04);
  --shadow-glow: 0 0 40px rgba(201, 169, 110, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 200ms;
  --duration-base: 350ms;
  --duration-slow: 600ms;
  --duration-slower: 900ms;

  /* Z-index */
  --z-base: 1;
  --z-sticky: 100;
  --z-nav: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-whatsapp: 500;
  --z-top: 999;
}


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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-charcoal);
  background-color: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

::selection {
  background-color: var(--color-champagne-light);
  color: var(--color-charcoal-deep);
}


/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-charcoal-deep);
  letter-spacing: -0.01em;
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-3xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-md); }

.font-accent {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
}

.text-champagne { color: var(--color-champagne); }
.text-greige { color: var(--color-greige); }
.text-primary { color: var(--color-primary); }
.text-mocha { color: var(--color-mocha); }

p + p { margin-top: var(--space-md); }

.lead {
  font-size: var(--text-lg);
  line-height: 1.8;
  color: var(--color-mocha);
}

.section-label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.section-heading {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-lg);
  position: relative;
}

.section-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: var(--color-champagne);
  margin-top: var(--space-lg);
}

.section-heading--center::after {
  margin-left: auto;
  margin-right: auto;
}

.section-subheading {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--color-greige);
  max-width: var(--max-width-text);
  line-height: 1.6;
}


/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.container--text {
  max-width: var(--max-width-text);
}

.section {
  padding: var(--space-section) 0;
}

.section--dark {
  background-color: var(--color-charcoal-deep);
  color: var(--color-sand);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-ivory);
}

.section--dark .section-label {
  color: var(--color-champagne);
}

.section--sand {
  background-color: var(--color-ivory-warm);
}

.section--walnut {
  background-color: var(--color-walnut);
  color: var(--color-sand);
}

.section--walnut h2,
.section--walnut h3 {
  color: var(--color-ivory);
}

.text-center { text-align: center; }

.grid {
  display: grid;
  gap: var(--space-xl);
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 { grid-template-columns: 1fr; }
}


/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.95rem 2.2rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.15) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.btn:hover::after {
  transform: translateX(100%);
}

.btn--primary {
  background-color: var(--color-champagne);
  color: var(--color-charcoal-deep);
  border: 1px solid var(--color-champagne);
}

.btn--primary:hover {
  background-color: var(--color-champagne-light);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-charcoal);
  border: 1px solid var(--color-taupe);
}

.btn--outline:hover {
  border-color: var(--color-champagne);
  color: var(--color-champagne);
}

.btn--outline-light {
  background: transparent;
  color: var(--color-ivory);
  border: 1px solid rgba(255,255,255,0.4);
}

.btn--outline-light:hover {
  border-color: var(--color-champagne);
  color: var(--color-champagne);
}

.btn--dark {
  background-color: var(--color-charcoal-deep);
  color: var(--color-ivory);
  border: 1px solid var(--color-charcoal-deep);
}

.btn--dark:hover {
  background-color: var(--color-charcoal);
}

.btn--whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  border: 1px solid #25D366;
}

.btn--whatsapp:hover {
  background-color: #22c55e;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transform: translateY(-1px);
}

.btn--sm {
  padding: 0.65rem 1.5rem;
  font-size: var(--text-xs);
}

.btn--lg {
  padding: 1.15rem 2.8rem;
  font-size: var(--text-sm);
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}


/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  transition: all var(--duration-base) var(--ease-out);
  padding: 1.25rem 0;
}

.nav--scrolled {
  background-color: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-sand);
  padding: 0.75rem 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.nav__logo {
  display: flex;
  align-items: center;
  height: 45px;
  flex-shrink: 0;
  transition: height var(--duration-base) var(--ease-out);
}

.nav--scrolled .nav__logo {
  height: 38px;
}

.nav__logo img {
  height: 100%;
  width: auto;
}

.nav__menu {
  display: flex;
  align-items: center;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.5rem);
}

.nav__link {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  position: relative;
  padding: var(--space-xs) 0;
  white-space: nowrap;
}

.nav--hero .nav__link {
  color: var(--color-ivory);
}

.nav--scrolled .nav__link {
  color: var(--color-charcoal);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--color-champagne);
  transition: width var(--duration-base) var(--ease-out);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__cta {
  margin-left: var(--space-md);
}

.nav--hero .nav__cta .btn--outline {
  color: var(--color-ivory);
  border-color: rgba(255,255,255,0.4);
}

.nav--scrolled .nav__cta .btn--outline {
  color: var(--color-charcoal);
  border-color: var(--color-taupe);
}

/* Mobile menu toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: var(--z-top);
}

.nav__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-charcoal);
  transition: all var(--duration-base) var(--ease-out);
  transform-origin: center;
}

.nav--hero .nav__toggle span {
  background-color: var(--color-ivory);
}

.nav--scrolled .nav__toggle span {
  background-color: var(--color-charcoal);
}

.nav__toggle--active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav__toggle--active span:nth-child(2) {
  opacity: 0;
}

.nav__toggle--active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 1024px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-ivory);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-2xl);
    transition: right var(--duration-slow) var(--ease-out);
    z-index: var(--z-overlay);
  }

  .nav__menu--open {
    right: 0;
  }

  .nav__menu--open .nav__link {
    color: var(--color-charcoal) !important;
  }

  .nav__links {
    flex-direction: column;
    gap: var(--space-xl);
  }

  .nav__link {
    font-size: var(--text-md);
    letter-spacing: 0.2em;
  }

  .nav__cta {
    margin-left: 0;
    margin-top: var(--space-lg);
  }

  .nav__cta .btn--outline {
    color: var(--color-charcoal) !important;
    border-color: var(--color-taupe) !important;
  }
}


/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 24, 22, 0.75) 0%,
    rgba(26, 24, 22, 0.50) 40%,
    rgba(26, 24, 22, 0.35) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding-top: 80px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: var(--space-xl);
  display: inline-block;
}

.hero__title {
  font-size: var(--text-5xl);
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: var(--space-xl);
  font-weight: 400;
}

.hero__title em {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 300;
  color: var(--color-champagne-light);
}

.hero__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.80);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
  max-width: 560px;
}

.hero__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%, 100% { opacity: 0.3; transform: scaleY(0.5); }
  50% { opacity: 1; transform: scaleY(1); }
}


/* ---------- BRAND STATEMENT ---------- */
.brand-statement {
  text-align: center;
  padding: var(--space-5xl) 0;
}

.brand-statement__text {
  font-family: var(--font-accent);
  font-size: var(--text-2xl);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-mocha);
  max-width: 800px;
  margin: 0 auto;
}

.brand-statement__line {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--color-champagne);
  margin: var(--space-2xl) auto;
}

.brand-statement__author {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-greige);
}


/* ---------- SERVICES PREVIEW ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.service-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--color-champagne), transparent);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.service-card:hover {
  border-color: var(--color-sand);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-lg);
  color: var(--color-champagne);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
}

.service-card__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-md);
  color: var(--color-charcoal-deep);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-greige);
  line-height: 1.7;
}


/* ---------- GALLERY / PROJECTS ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-sm);
}

.gallery-grid--featured {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
}

.gallery-grid--featured .gallery-item:first-child {
  grid-row: 1 / 3;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid--featured {
    grid-template-columns: 1fr;
  }

  .gallery-grid--featured .gallery-item:first-child {
    grid-row: auto;
  }
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  cursor: pointer;
}

.gallery-item--tall {
  aspect-ratio: 3/4;
}

.gallery-item--square {
  aspect-ratio: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 24, 22, 0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-xl);
  opacity: 0;
  transition: opacity var(--duration-base) var(--ease-out);
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__category {
  font-size: var(--text-xs);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: var(--space-xs);
}

.gallery-item__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  color: var(--color-white);
  margin-bottom: var(--space-xs);
}

.gallery-item__desc {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.7);
  font-style: italic;
}


/* ---------- BENEFITS ---------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
}

@media (max-width: 768px) {
  .benefits {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.benefit {
  text-align: center;
  padding: var(--space-xl) var(--space-md);
}

.benefit__number {
  font-family: var(--font-accent);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--color-champagne);
  line-height: 1;
  margin-bottom: var(--space-md);
  font-style: italic;
}

.benefit__title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  margin-bottom: var(--space-sm);
}

.benefit__text {
  font-size: var(--text-sm);
  color: var(--color-greige);
  max-width: 300px;
  margin: 0 auto;
}


/* ---------- PROCESS / METHOD ---------- */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-lg);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-champagne), transparent);
}

@media (max-width: 1024px) {
  .process-steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-steps::before {
    display: none;
  }
}

@media (max-width: 640px) {
  .process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step__number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-champagne);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-champagne);
  background: var(--color-ivory);
  position: relative;
  z-index: 2;
}

.section--dark .process-step__number {
  background: var(--color-charcoal-deep);
}

.process-step__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin-bottom: var(--space-sm);
}

.process-step__text {
  font-size: var(--text-sm);
  color: var(--color-greige);
  line-height: 1.6;
}


/* ---------- REVIEWS / TESTIMONIALS ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

@media (max-width: 1024px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.review-card {
  background: var(--color-white);
  padding: var(--space-2xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-sand);
  transition: all var(--duration-base) var(--ease-out);
  position: relative;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-champagne-light);
}

.review-card__quote {
  font-family: var(--font-accent);
  font-size: 3rem;
  color: var(--color-champagne);
  line-height: 1;
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  opacity: 0.3;
}

.review-card__stars {
  display: flex;
  gap: 2px;
  margin-bottom: var(--space-md);
  color: var(--color-champagne);
}

.review-card__stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.review-card__text {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-mocha);
  margin-bottom: var(--space-lg);
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-champagne-light), var(--color-taupe));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-white);
  flex-shrink: 0;
}

.review-card__name {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-charcoal);
}

.review-card__detail {
  font-size: var(--text-xs);
  color: var(--color-greige);
}


/* ---------- CTA SECTION ---------- */
.cta-section {
  position: relative;
  padding: var(--space-5xl) 0;
  overflow: hidden;
}

.cta-section__bg {
  position: absolute;
  inset: 0;
}

.cta-section__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-section__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(74, 26, 46, 0.88), rgba(44, 40, 37, 0.88));
}

.cta-section__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 650px;
  margin: 0 auto;
}

.cta-section__title {
  font-size: var(--text-3xl);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
}

.cta-section__text {
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: rgba(255,255,255,0.75);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.cta-section__actions {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}


/* ---------- FAQ ---------- */
.faq-list {
  max-width: var(--max-width-narrow);
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-sand);
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-xl) 0;
  text-align: left;
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-charcoal-deep);
  cursor: pointer;
  transition: color var(--duration-fast) var(--ease-out);
  gap: var(--space-md);
}

.faq-item__question:hover {
  color: var(--color-primary);
}

.faq-item__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  position: relative;
  color: var(--color-champagne);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out);
}

.faq-item__icon::before {
  width: 16px;
  height: 1px;
  transform: translate(-50%, -50%);
}

.faq-item__icon::after {
  width: 1px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-item--open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-slow) var(--ease-out),
              padding var(--duration-slow) var(--ease-out);
}

.faq-item--open .faq-item__answer {
  max-height: 300px;
  padding-bottom: var(--space-xl);
}

.faq-item__answer p {
  font-size: var(--text-sm);
  color: var(--color-mocha);
  line-height: 1.8;
}


/* ---------- CONTACT FORM ---------- */
.contact-form {
  max-width: 600px;
}

.form-group {
  margin-bottom: var(--space-xl);
}

.form-label {
  display: block;
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-greige);
  margin-bottom: var(--space-sm);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: var(--space-md) 0;
  font-size: var(--text-base);
  color: var(--color-charcoal);
  border-bottom: 1px solid var(--color-sand);
  background: transparent;
  transition: border-color var(--duration-base) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-champagne);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--color-taupe);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.7;
}


/* ---------- FOOTER ---------- */
.footer {
  background-color: var(--color-charcoal-deep);
  color: var(--color-taupe);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  padding-bottom: var(--space-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

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

.footer__brand {
  max-width: 350px;
}

.footer__logo {
  height: 40px;
  margin-bottom: var(--space-lg);
  filter: brightness(0) invert(1) opacity(0.8);
}

.footer__logo img {
  height: auto;
    width: 50%;
}

.footer__desc {
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--color-greige);
}

.footer__heading {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-ivory);
  margin-bottom: var(--space-lg);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-greige);
  transition: color var(--duration-fast) var(--ease-out);
}

.footer__link:hover {
  color: var(--color-champagne);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-greige);
}

.footer__love {
  font-size: 0.7rem;
  color: var(--color-greige);
  margin-top: 4px;
  opacity: 0.7;
}

.footer__agency {
  color: var(--color-champagne);
  text-decoration: none;
  transition: opacity var(--duration-base);
}

.footer__agency:hover {
  opacity: 0.8;
}

.footer__social {
  display: flex;
  gap: var(--space-md);
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-greige);
  transition: all var(--duration-fast) var(--ease-out);
}

.footer__social-link:hover {
  border-color: var(--color-champagne);
  color: var(--color-champagne);
}

.footer__social-link svg {
  width: 18px;
  height: 18px;
}


/* ---------- WHATSAPP FLOATING ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: var(--z-whatsapp);
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--duration-base) var(--ease-out);
  animation: whatsappPulse 3s ease-in-out infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6); }
}


/* ---------- STICKY MOBILE CTA ---------- */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  background: rgba(250, 246, 240, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: var(--space-md) var(--gutter);
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
  border-top: 1px solid var(--color-sand);
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    gap: var(--space-sm);
  }

  .mobile-cta .btn {
    flex: 1;
    padding: 0.85rem 1rem;
    font-size: var(--text-xs);
  }

  .whatsapp-float {
    bottom: 5rem;
  }

  body {
    padding-bottom: 70px;
  }
}


/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(10, 9, 8, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-base) var(--ease-out);
  cursor: zoom-out;
}

.lightbox--open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.9);
  transition: transform var(--duration-slow) var(--ease-out);
}

.lightbox--open .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--duration-fast);
}

.lightbox__close:hover {
  opacity: 1;
}


/* ---------- BEFORE / AFTER ---------- */
.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16/9;
  cursor: ew-resize;
}

.before-after__label {
  position: absolute;
  top: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white);
  background: var(--color-overlay-light);
  border-radius: var(--radius-sm);
  z-index: 3;
}

.before-after__label--before {
  left: var(--space-md);
}

.before-after__label--after {
  right: var(--space-md);
}


/* ---------- PAGE HEADER ---------- */
.page-header {
  position: relative;
  padding: clamp(8rem, 6rem + 10vw, 14rem) 0 var(--space-4xl);
  background-color: var(--color-charcoal-deep);
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
}

.page-header__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header__content {
  position: relative;
  z-index: 2;
}

.page-header__label {
  font-size: var(--text-xs);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-champagne);
  margin-bottom: var(--space-lg);
  display: inline-block;
}

.page-header__title {
  font-size: var(--text-4xl);
  color: var(--color-ivory);
  margin-bottom: var(--space-lg);
}

.page-header__subtitle {
  font-family: var(--font-accent);
  font-size: var(--text-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--color-taupe);
  max-width: var(--max-width-text);
}


/* ---------- ABOUT PAGE ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h3 {
  margin-bottom: var(--space-lg);
}

.about-text p {
  color: var(--color-mocha);
  line-height: 1.9;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (max-width: 480px) {
  .about-values {
    grid-template-columns: 1fr;
  }
}

.about-value {
  padding-left: var(--space-lg);
  border-left: 2px solid var(--color-champagne);
}

.about-value__title {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  margin-bottom: var(--space-xs);
}

.about-value__text {
  font-size: var(--text-sm);
  color: var(--color-greige);
}


/* ---------- SERVICE DETAIL ---------- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
  padding: var(--space-4xl) 0;
  border-bottom: 1px solid var(--color-sand);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

@media (max-width: 768px) {
  .service-detail,
  .service-detail:nth-child(even) {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: var(--space-2xl);
  }
}

.service-detail__image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-detail__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail__content h3 {
  margin-bottom: var(--space-md);
}

.service-detail__content p {
  color: var(--color-mocha);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}


/* ---------- CONTACT PAGE ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.contact-info__item {
  display: flex;
  gap: var(--space-lg);
}

.contact-info__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--color-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-champagne);
  flex-shrink: 0;
}

.contact-info__icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.contact-info__label {
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-greige);
  margin-bottom: var(--space-xs);
}

.contact-info__value {
  font-family: var(--font-heading);
  font-size: var(--text-md);
  color: var(--color-charcoal);
}


/* ---------- SCROLL ANIMATIONS ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slower) var(--ease-out),
              transform var(--duration-slower) var(--ease-out);
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 100ms; }
.reveal--delay-2 { transition-delay: 200ms; }
.reveal--delay-3 { transition-delay: 300ms; }
.reveal--delay-4 { transition-delay: 400ms; }
.reveal--delay-5 { transition-delay: 500ms; }
.reveal--delay-6 { transition-delay: 600ms; }

.reveal--left {
  transform: translateX(-30px);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--left.reveal--visible,
.reveal--right.reveal--visible {
  transform: translateX(0);
}

.reveal--scale {
  transform: scale(0.95);
}

.reveal--scale.reveal--visible {
  transform: scale(1);
}


/* ---------- DIVIDER ---------- */
.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-sand), transparent);
  border: none;
}

.divider--gold {
  background: linear-gradient(to right, transparent, var(--color-champagne), transparent);
}


/* ---------- BADGE ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-xs) var(--space-md);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 100px;
  background: var(--color-ivory-warm);
  color: var(--color-mocha);
  border: 1px solid var(--color-sand);
}


/* ---------- PROJECTS PAGE ---------- */
.projects-filter {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  margin-bottom: var(--space-2xl);
}

.projects-filter__btn {
  padding: var(--space-sm) var(--space-lg);
  font-size: var(--text-xs);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-greige);
  border: 1px solid var(--color-sand);
  border-radius: 100px;
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
}

.projects-filter__btn:hover,
.projects-filter__btn--active {
  background: var(--color-charcoal-deep);
  color: var(--color-ivory);
  border-color: var(--color-charcoal-deep);
}


/* ---------- METHOD TIMELINE ---------- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 1px;
  background: linear-gradient(to bottom, var(--color-champagne), var(--color-sand));
}

.timeline-item {
  display: flex;
  gap: var(--space-2xl);
  padding-bottom: var(--space-3xl);
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item__marker {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--color-champagne);
  background: var(--color-ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-accent);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-champagne);
  position: relative;
  z-index: 2;
}

.timeline-item__content h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
  padding-top: var(--space-sm);
}

.timeline-item__content p {
  font-size: var(--text-sm);
  color: var(--color-mocha);
  line-height: 1.8;
}


/* ---------- UTILITY ---------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.mb-0 { margin-bottom: 0; }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }
.mb-2xl { margin-bottom: var(--space-2xl); }
.mb-3xl { margin-bottom: var(--space-3xl); }
.mb-4xl { margin-bottom: var(--space-4xl); }

.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mt-2xl { margin-top: var(--space-2xl); }

.pt-0 { padding-top: 0; }

.mx-auto { margin-left: auto; margin-right: auto; }

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}


/* ---------- DEMO DIALOG ---------- */
.demo-dialog {
  border: none;
  background: none;
  padding: 0;
  max-width: 500px;
  width: calc(100% - 32px);
  margin: auto;
}

.demo-dialog::backdrop {
  background: rgba(44, 40, 37, 0.8);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.demo-dialog__inner {
  background: var(--color-charcoal-deep);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-sm);
  padding: 44px 40px 36px;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.demo-dialog__badge {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-champagne);
  border: 1px solid rgba(201, 169, 110, 0.35);
  padding: 4px 14px;
  margin-bottom: 22px;
}

.demo-dialog__title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  color: var(--color-ivory);
  margin-bottom: 22px;
  line-height: 1.2;
}

.demo-dialog__text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: rgba(250, 246, 240, 0.6);
  line-height: 1.8;
  margin-bottom: 12px;
  text-align: left;
}

.demo-dialog__text strong {
  color: rgba(250, 246, 240, 0.85);
  font-weight: 600;
}

.demo-dialog__copy {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: rgba(250, 246, 240, 0.35);
  letter-spacing: 0.08em;
  margin-top: 18px;
  margin-bottom: 0;
}

.demo-dialog__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 22px;
  background: var(--color-champagne);
  color: var(--color-charcoal-deep);
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 14px 40px;
  border: 2px solid var(--color-champagne);
  border-radius: 0;
  cursor: pointer;
  transition: background var(--duration-base), color var(--duration-base);
  width: 100%;
}

.demo-dialog__btn:hover {
  background: transparent;
  color: var(--color-champagne);
}

@media (max-width: 480px) {
  .demo-dialog__inner {
    padding: 32px 24px 28px;
  }
  .demo-dialog__title {
    font-size: 1.3rem;
  }
}


/* ---------- PRINT ---------- */
@media print {
  .nav, .whatsapp-float, .mobile-cta, .lightbox, .demo-dialog { display: none; }
  body { font-size: 12pt; color: #000; background: #fff; }
  .hero { min-height: auto; page-break-after: always; }
  .section { padding: 2rem 0; }
}
