/* ==========================================================
   ALEQUICK SOLUTIONS — Luxury Interior Studio
   Walnut · Ivory · Champagne Gold · Matte Black
   ========================================================== */

:root {
  /* Brand palette */
  --walnut:        #3E2A1A;
  --walnut-deep:   #2A1B0E;
  --walnut-warm:   #6B4A2E;
  --walnut-soft:   #8A6B4A;
  --ivory:         #F6F1E7;
  --ivory-soft:    #FBF7EC;
  --beige:         #E8DCC4;
  --beige-warm:    #D9C9A8;
  --black:         #131110;
  --black-soft:    #1C1916;
  --champagne:     #C9A063;
  --champagne-hot: #B8884A;
  --champagne-pale:#E6D3A8;
  --line:          rgba(60, 40, 24, 0.14);
  --line-dark:     rgba(255, 240, 210, 0.10);

  /* Type */
  --font-serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-sans:  "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono:  "JetBrains Mono", ui-monospace, monospace;

  /* Easing */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-soft: cubic-bezier(.65,0,.35,1);
}

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

/* Sticky header sits ~96px tall — push hash-anchored sections down so they
   don't land underneath it when the user clicks a nav link or service card. */
section[id] { scroll-margin-top: 110px; }
html { scroll-behavior: smooth; }

html, body {
  background: var(--ivory);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ===== TYPE PRIMITIVES ===== */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--champagne-hot);
}
.eyebrow--light { color: var(--champagne); }
.eyebrow--mute  { color: var(--walnut-soft); }

.serif {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.005em;
}
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
}

.h-display {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.015em;
}
.h-1 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(36px, 4.5vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.h-2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.h-3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.2;
}

.lead {
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.1vw, 18px);
  line-height: 1.65;
  font-weight: 300;
  color: rgba(19, 17, 16, 0.78);
}
.body-sm {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(19, 17, 16, 0.66);
}
.rule {
  display: inline-block;
  width: 48px;
  height: 1px;
  background: var(--champagne-hot);
  vertical-align: middle;
}

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
}
.container--narrow { max-width: 1120px; }

section { padding: 120px 0; }
section.tight { padding: 80px 0; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.header--scrolled {
  box-shadow: 0 1px 0 rgba(60,40,24,.05), 0 8px 24px rgba(60,40,24,.04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  gap: 32px;
  transition: padding .35s var(--ease);
}
.header--scrolled .header__inner { padding: 14px 40px; }
.header--scrolled .header__logo .brand-logo { height: 54px; }
.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* ===== BRAND LOGO ===== */
.brand-logo {
  display: block;
  height: calc(72px * var(--logo-size, 1));
  width: auto;
  transition: height .35s var(--ease);
}
.header__logo { display: flex; align-items: center; }
.header__logo .brand-logo {
  height: calc(80px * var(--logo-size, 1));
}
.header__nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.header__nav a {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--black);
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  transition: color .25s var(--ease);
}
.header__nav a:hover { color: var(--champagne-hot); }
.header__nav a.active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--champagne-hot);
}
.header__right { display: flex; align-items: center; gap: 18px; }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
  background: rgba(255,255,255,0.4);
}
.lang-toggle button {
  border: 0;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  color: var(--walnut-soft);
  transition: all .25s var(--ease);
}
.lang-toggle button.is-active {
  background: var(--black);
  color: var(--ivory);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .3s var(--ease);
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.btn--gold {
  background: var(--champagne-hot);
  color: var(--ivory);
}
.btn--gold:hover { background: var(--walnut); }
.btn--gold-lg {
  padding: 20px 32px;
  font-size: 13px;
  letter-spacing: 0.16em;
  box-shadow: 0 12px 30px rgba(184, 136, 74, 0.35);
  max-width: 540px;
  text-align: left;
  line-height: 1.4;
  flex-wrap: wrap;
}
.btn--gold-lg .arrow { flex-shrink: 0; }
.btn--ink {
  background: var(--black);
  color: var(--ivory);
}
.btn--ink:hover { background: var(--walnut); }
.btn--outline {
  border-color: rgba(255,255,255,0.55);
  color: var(--ivory);
}
.btn--outline:hover { background: var(--ivory); color: var(--black); border-color: var(--ivory); }
.btn--outline-dark {
  border-color: var(--black);
  color: var(--black);
}
.btn--outline-dark:hover { background: var(--black); color: var(--ivory); }
.btn--ghost {
  color: var(--black);
  padding: 14px 0;
}
.btn--ghost:hover { color: var(--champagne-hot); }
.btn--wa {
  background: var(--champagne-hot);
  color: var(--ivory);
  padding: 12px 20px;
  font-size: 11px;
}
.btn--wa:hover { background: var(--walnut); }
.btn .arrow {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s var(--ease);
}
.btn .arrow::after {
  content:''; position: absolute; right: -1px; top: -3px;
  width: 7px; height: 7px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn:hover .arrow { width: 24px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: calc(100vh - 100px);
  display: flex;
  align-items: center;
  color: var(--ivory);
  overflow: hidden;
  padding: 80px 0;
  isolation: isolate;
}
.hero__bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(19,17,16,.82) 0%, rgba(19,17,16,.55) 45%, rgba(19,17,16,.25) 100%),
    linear-gradient(0deg, rgba(19,17,16,.5) 0%, rgba(19,17,16,0) 50%);
}
.hero__brand-mark {
  position: relative;
  margin-bottom: 36px;
  display: inline-block;
}
.hero__brand-mark .brand-logo {
  height: clamp(160px, 18vw, 240px);
  filter: drop-shadow(0 12px 32px rgba(0,0,0,0.4));
}
.hero__content {
  max-width: 760px;
  position: relative;
}
.hero__eyebrow {
  margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.hero__eyebrow .rule { background: var(--champagne); }
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  margin-bottom: 28px;
  color: var(--ivory);
}
.hero h1 em {
  font-style: italic;
  color: var(--champagne-pale);
  font-weight: 300;
}
.hero p {
  font-size: 17px;
  line-height: 1.65;
  font-weight: 300;
  color: rgba(246, 241, 231, 0.82);
  max-width: 520px;
  margin-bottom: 42px;
}
.hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; }

.hero__meta {
  position: absolute;
  bottom: 48px;
  right: 40px;
  text-align: right;
  color: rgba(246, 241, 231, 0.7);
  font-size: 10.5px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.hero__meta strong {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0;
  text-transform: none;
  color: var(--champagne-pale);
  margin-bottom: 6px;
  font-weight: 400;
}

/* ===== SECTION HEAD ===== */
.section-head {
  text-align: center;
  margin-bottom: 72px;
}
.section-head .eyebrow { margin-bottom: 18px; display: inline-block; }
.section-head h2 { margin-bottom: 22px; }
.section-head p { max-width: 580px; margin: 0 auto; }

/* ===== SERVICES ===== */
.services {
  background: var(--ivory);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-card {
  background: var(--ivory);
  padding: 48px 36px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: background .35s var(--ease);
  cursor: pointer;
}
.service-card:hover { background: var(--ivory-soft); }
.service-card__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--champagne-hot);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.service-card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 28px;
  color: var(--walnut);
}
.service-card h3 {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(19,17,16,0.6);
  font-weight: 300;
  margin-bottom: 28px;
}
.service-card__cta {
  margin-top: auto;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--walnut);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.service-card__cta .arrow { width: 18px; }

/* ===== EDITORIAL / LEGACY ===== */
.legacy {
  background: var(--walnut-deep);
  color: var(--ivory);
  position: relative;
  overflow: hidden;
}
.legacy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.legacy__media {
  display: block;
  position: relative;
}
.legacy__media image-slot {
  width: 100%;
  height: 640px;
  display: block;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(201, 160, 99, 0.15);
}
.legacy__media::before {
  content: '';
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 1px solid rgba(201, 160, 99, 0.35);
  pointer-events: none;
  z-index: 0;
}
.legacy__media image-slot { position: relative; z-index: 1; }
.legacy__content .eyebrow { color: var(--champagne); }
.legacy__content h2 {
  color: var(--ivory);
  margin: 18px 0 28px;
  font-weight: 300;
}
.legacy__content h2 em {
  color: var(--champagne-pale);
  font-style: italic;
}
.legacy__content p {
  color: rgba(246, 241, 231, 0.72);
  font-size: 16px;
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 22px;
  max-width: 520px;
}
.legacy__quote {
  margin-top: 40px;
  padding-left: 24px;
  border-left: 1px solid var(--champagne);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--champagne-pale);
  font-weight: 300;
  max-width: 480px;
}
.legacy__sig {
  margin-top: 24px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* ===== PORTFOLIO ===== */
.portfolio {
  background: var(--ivory-soft);
}
.portfolio__filters {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.portfolio__filters button {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 10px 18px;
  background-color: transparent;
  border: 1px solid transparent;
  color: var(--walnut-soft);
  cursor: pointer;
  border-radius: 999px;
  /* NOTE: transitioning background-color caused the active highlight to
     "stick" on the previously-clicked filter — the new click and the
     smooth-scroll triggered together raced the .25s transition and the
     paint never caught up. We only transition color now; the active
     background snaps instantly to the right button. */
  transition: color .25s var(--ease);
}
.portfolio__filters button:hover:not(.is-active) { color: var(--black); }
.portfolio__filters button.is-active {
  background-color: var(--black);
  color: var(--ivory);
}
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-flow: dense;
  gap: 16px;
  grid-auto-rows: 130px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  background: var(--beige);
  cursor: pointer;
  /* NOTE: opacity/filter intentionally NOT transitioned. The filter-click
     also triggers a smooth-scroll on the same frame, and that race used to
     leave the previous category's images highlighted (opacity 1) while the
     new category's images stayed dimmed. Snapping these instantly keeps
     the dim state in sync with the active filter. Hover transforms below
     are still smooth. */
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.portfolio-item image-slot {
  width: 100%;
  height: 100%;
  display: block;
  transition: transform .9s var(--ease);
  will-change: transform;
}
.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px -18px rgba(19, 17, 16, 0.45);
  z-index: 2;
}
.portfolio-item:hover image-slot {
  transform: scale(1.06);
}
.portfolio-item.is-dim {
  opacity: 0.32;
  filter: saturate(0.4);
}
.portfolio-item.is-dim:hover {
  opacity: 0.6;
  filter: saturate(0.7);
}
.portfolio-item__label {
  position: absolute;
  left: 24px;
  bottom: 24px;
  right: 24px;
  color: var(--ivory);
  z-index: 2;
  opacity: 0;
  transform: translateY(8px);
  transition: all .4s var(--ease);
  pointer-events: none;
}
.portfolio-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(19,17,16,.7) 0%, rgba(19,17,16,0) 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.portfolio-item:hover::after { opacity: 1; }
.portfolio-item:hover .portfolio-item__label {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-item__label .eyebrow { color: var(--champagne); margin-bottom: 6px; }
.portfolio-item__label .title {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.15;
}

/* portfolio layout - editorial - 6 hero pieces */
.pi-1 { grid-column: span 7; grid-row: span 4; }
.pi-2 { grid-column: span 5; grid-row: span 4; }
.pi-3 { grid-column: span 4; grid-row: span 3; }
.pi-4 { grid-column: span 4; grid-row: span 3; }
.pi-5 { grid-column: span 4; grid-row: span 3; }
.pi-6 { grid-column: span 12; grid-row: span 4; }

/* ===== PROCESS ===== */
.process {
  background: var(--ivory);
  position: relative;
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  border-top: 1px solid var(--line);
  padding-top: 64px;
  margin-top: 32px;
}
.process-step {
  position: relative;
}
.process-step__num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 14px;
  color: var(--champagne-hot);
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}
.process-step h3 {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 14px;
  letter-spacing: -0.005em;
}
.process-step p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(19,17,16,0.62);
  font-weight: 300;
  max-width: 220px;
}
.process-step::before {
  content: '';
  position: absolute;
  top: -65px;
  left: 0;
  width: 28px;
  height: 1px;
  background: var(--champagne-hot);
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--beige);
  color: var(--walnut-deep);
}
.tcar {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}
.tcar__stage {
  position: relative;
}
.tcar__viewport {
  overflow: hidden;
  transition: height .5s var(--ease);
}
.tcar__track {
  display: flex;
  align-items: flex-start;
  transition: transform .7s var(--ease);
}
.tcar__slide {
  flex: 0 0 100%;
  min-width: 100%;
  display: flex;
  box-sizing: border-box;
}
.tcar__slide .testimonial {
  width: 100%;
}
.tcar__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(60, 40, 24, 0.18);
  background: var(--ivory-soft);
  color: var(--walnut-deep);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(60, 40, 24, 0.12);
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.tcar__arrow:hover {
  background: var(--walnut);
  color: var(--ivory);
}
.tcar__arrow--prev { left: -22px; }
.tcar__arrow--next { right: -22px; }
.tcar__arrow--prev:hover { transform: translateY(-50%) scale(1.07); }
.tcar__arrow--next:hover { transform: translateY(-50%) scale(1.07); }
.tcar__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
.tcar__dots button {
  width: 9px; height: 9px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(60, 40, 24, 0.22);
  cursor: pointer;
  transition: background .3s var(--ease), width .3s var(--ease);
}
.tcar__dots button.is-active {
  width: 28px;
  background: var(--champagne-hot);
}
.testimonial {
  background: var(--ivory-soft);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  position: relative;
}
.testimonial__quote-mark {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 72px;
  line-height: 0.8;
  color: var(--champagne-hot);
  margin-bottom: 16px;
}
.testimonial__text {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  color: var(--walnut-deep);
  margin-bottom: 32px;
  flex-grow: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(60, 40, 24, 0.16);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--walnut);
  color: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 500;
}
.testimonial__author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
}
.testimonial__author-meta {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--walnut-soft);
  margin-top: 3px;
}
.testimonial__stars {
  position: absolute;
  top: 48px;
  right: 40px;
  color: var(--champagne-hot);
  letter-spacing: 2px;
  font-size: 13px;
}

/* ===== LOCATIONS ===== */
.locations {
  background: var(--ivory);
  text-align: center;
}
.locations__inner {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 80px 0;
}
.locations__map {
  margin-top: 32px;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 60px;
  color: var(--champagne-hot);
  letter-spacing: -0.01em;
  font-weight: 300;
}
.locations__cities {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--walnut);
}
.locations__cities .dot {
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--champagne-hot);
}

/* ===== CTA ===== */
.cta {
  background: var(--black);
  color: var(--ivory);
  padding: 100px 0;
}
.cta__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta h2 { color: var(--ivory); font-weight: 300; margin-bottom: 22px; }
.cta h2 em { font-style: italic; color: var(--champagne-pale); }
.cta p { color: rgba(246, 241, 231, 0.72); font-size: 16px; line-height: 1.65; font-weight: 300; max-width: 480px; }
.cta__contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cta__contact-row {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  border: 1px solid rgba(246, 241, 231, 0.18);
  transition: all .3s var(--ease);
  cursor: pointer;
}
.cta__contact-row:hover {
  border-color: var(--champagne);
  background: rgba(201, 160, 99, 0.06);
}
.cta__contact-row .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--champagne-hot);
  color: var(--ivory);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cta__contact-row .label {
  font-size: 10.5px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.5);
  margin-bottom: 6px;
}
.cta__contact-row .value {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--ivory);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--black-soft);
  color: rgba(246, 241, 231, 0.62);
  padding: 80px 0 32px;
  font-size: 13px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line-dark);
}
.footer__brand .brand-logo { margin-bottom: 22px; height: 88px; }
.footer__brand p { line-height: 1.65; color: rgba(246, 241, 231, 0.5); font-size: 13.5px; max-width: 320px; }
.footer__brand .footer__socials {
  display: flex; gap: 12px;
  margin-top: 28px;
}
.footer__brand .footer__socials a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(246, 241, 231, 0.6);
  transition: all .25s var(--ease);
}
.footer__brand .footer__socials a:hover {
  color: var(--ivory);
  border-color: var(--champagne);
  background: rgba(201, 160, 99, 0.1);
}
.footer__col h4 {
  font-family: var(--font-sans);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--champagne);
  font-weight: 600;
  margin-bottom: 22px;
}
.footer__col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer__col a {
  font-size: 14px;
  color: rgba(246, 241, 231, 0.62);
  font-weight: 300;
  transition: color .2s var(--ease);
}
.footer__col a:hover { color: var(--champagne); }
.footer__bottom {
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 241, 231, 0.4);
}
.footer__bottom .legal { display: flex; gap: 24px; }

/* ===== WHATSAPP FLOATING ===== */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .35), 0 16px 40px rgba(0,0,0,.18);
  transition: transform .3s var(--ease);
}
.wa-float:hover { transform: translateY(-3px) scale(1.04); }

/* ===== IMAGE SLOT styling overrides ===== */
image-slot {
  background: linear-gradient(135deg, var(--beige) 0%, var(--beige-warm) 100%);
}
.legacy image-slot {
  background: linear-gradient(135deg, var(--walnut-warm) 0%, var(--walnut) 100%);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .header__nav { display: none; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .legacy__grid { grid-template-columns: 1fr; gap: 48px; }
  .process__steps { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .tcar { padding: 0 6px; }
  .tcar__arrow--prev { left: 2px; }
  .tcar__arrow--next { right: 2px; }
  .tcar__arrow { width: 40px; height: 40px; font-size: 22px; background: rgba(246, 241, 231, 0.92); }
  .cta__inner { grid-template-columns: 1fr; gap: 48px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .portfolio__grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 180px; }
  .pi-1, .pi-2, .pi-3, .pi-4, .pi-5, .pi-6 { grid-column: span 3; grid-row: span 2; }
}
@media (max-width: 640px) {
  section { padding: 80px 0; }
  .container { padding: 0 24px; }
  .header__inner { padding: 14px 24px; }
  .header__logo .brand-logo { height: 52px; }
  .header--scrolled .header__inner { padding: 9px 24px; }
  .header--scrolled .header__logo .brand-logo { height: 42px; }
  .services__grid { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero__meta { display: none; }
  .portfolio__grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .pi-1, .pi-2, .pi-3, .pi-4, .pi-5, .pi-6 { grid-column: span 1; grid-row: span 1; }
  .hero__brand-mark { transform: scale(0.85); transform-origin: left center; }
  .btn--gold-lg { padding: 16px 22px; font-size: 11px; letter-spacing: 0.14em; }

  /* Carousel: on phones the long testimonial makes the card very tall, so the
     vertically-centered side arrows ended up far down. Move both arrows into a
     compact control bar at the bottom, flanking the dots. */
  .tcar__stage { position: static; }
  .tcar__arrow { top: auto; bottom: 0; transform: none; }
  .tcar__arrow--prev { left: calc(50% - 84px); right: auto; }
  .tcar__arrow--next { right: calc(50% - 84px); left: auto; }
  .tcar__dots { margin-top: 28px; min-height: 40px; align-items: center; }
}

/* ===== PORTFOLIO ZOOM HINT ===== */
.portfolio-item__zoom {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
  background: rgba(20, 14, 8, 0.55);
  border: 1px solid rgba(246, 241, 231, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(-6px) scale(0.88);
  transition: opacity .32s var(--ease), transform .32s var(--ease), background .25s var(--ease);
  pointer-events: none;
  z-index: 3;
}
.portfolio-item__zoom svg { width: 20px; height: 20px; }
.portfolio-item:hover .portfolio-item__zoom,
.portfolio-item:focus-visible .portfolio-item__zoom {
  opacity: 1;
  transform: translateY(0) scale(1);
  background: rgba(201, 160, 99, 0.85);
  border-color: rgba(246, 241, 231, 0.4);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  cursor: pointer;
  inset: 0;
  z-index: 1000;
  background: rgba(15, 10, 6, 0.94);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 56px 100px 36px;
  animation: aqLightboxFade .25s var(--ease);
}
@keyframes aqLightboxFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.lightbox__stage {
  position: relative;
  max-width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: default;
}
.lightbox__img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55);
  border-radius: 2px;
  animation: aqLightboxImg .42s var(--ease) both;
}
@keyframes aqLightboxImg {
  0%   { opacity: 0; transform: scale(0.985) translateY(6px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.lightbox__caption {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: var(--ivory);
  text-align: center;
  max-width: 720px;
  flex: 0 0 auto;
  animation: aqLightboxCap .42s var(--ease) both;
}
@keyframes aqLightboxCap {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lightbox__caption .eyebrow {
  color: var(--champagne);
}
.lightbox__title {
  font-family: var(--font-serif);
  font-size: 22px;
  letter-spacing: -0.005em;
  font-weight: 400;
}
.lightbox__count {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: rgba(246, 241, 231, 0.55);
  text-transform: uppercase;
  margin-top: 4px;
}
.lightbox__close,
.lightbox__nav {
  position: absolute;
  background: rgba(246, 241, 231, 0.06);
  border: 1px solid rgba(246, 241, 231, 0.18);
  color: var(--ivory);
  font-family: var(--font-serif);
  cursor: pointer;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(201, 160, 99, 0.18);
  border-color: rgba(201, 160, 99, 0.55);
  transform: scale(1.06);
}
.lightbox__close {
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  font-size: 28px;
  line-height: 1;
}
.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  font-size: 40px;
  line-height: 1;
}
.lightbox__nav:hover { transform: translateY(-50%) scale(1.06); }
.lightbox__nav--prev { left: 28px; }
.lightbox__nav--next { right: 28px; }

@media (max-width: 720px) {
  /* Use the dynamic viewport so in-app browsers (Instagram/Facebook) and the
     mobile address bar don't push controls out of sight. */
  .lightbox { height: 100dvh; padding: 16px 10px 24px; justify-content: center; gap: 14px; }
  .lightbox__stage { touch-action: pan-y; }
  .lightbox__img { max-height: calc(100dvh - 200px); -webkit-user-select: none; user-select: none; -webkit-user-drag: none; touch-action: pan-y; }
  /* Bigger, always-on-top, clearly tappable close button. */
  .lightbox__close {
    top: 12px; right: 12px;
    width: 50px; height: 50px;
    font-size: 30px;
    z-index: 6;
    background: rgba(20, 14, 9, 0.62);
    border-color: rgba(246, 241, 231, 0.45);
    color: var(--ivory);
  }
  /* Arrows: vertically centered on the screen, tucked inside both edges. */
  .lightbox__nav {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    width: 46px; height: 46px; font-size: 26px;
    z-index: 5;
    background: rgba(20, 14, 9, 0.55);
    border-color: rgba(246, 241, 231, 0.42);
    color: var(--ivory);
  }
  .lightbox__nav:hover { transform: translateY(-50%); }
  .lightbox__nav--prev { left: 8px; right: auto; }
  .lightbox__nav--next { right: 8px; left: auto; }
  .lightbox__title { font-size: 17px; }
}
