/* ============================================
   LUXEDECOR — MAIN STYLESHEET
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
  --gold:       #0D1B6B;
  --gold-dark:  #091452;
  --gold-light: #C5CCE8;
  --dark:       #1C1C1C;
  --dark-2:     #2C2C2C;
  --cream:      #F4F6FB;
  --cream-2:    #E8ECEF;
  --text:       #4A4A4A;
  --text-light: #7A7A7A;
  --white:      #FFFFFF;
  --wa:         #25D366;
  --wa-dark:    #128C7E;
  --shadow:     0 4px 30px rgba(0,0,0,0.08);
  --shadow-md:  0 8px 40px rgba(0,0,0,0.12);
  --radius:     12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Section Commons ---------- */
.section { padding: 100px 0; }

.section__header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section__header--light .section__title,
.section__header--light .section__sub { color: var(--white); }
.section__header--light .section__title em { color: var(--gold-light); }

.section__sub {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 500;
  color: var(--dark);
  line-height: 1.25;
  margin-bottom: 18px;
}
.section__title em { font-style: italic; color: var(--gold); }

.section__desc {
  color: var(--text-light);
  font-size: 1rem;
  line-height: 1.8;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: var(--transition);
  white-space: nowrap;
}

.btn--gold {
  background: var(--gold);
  color: var(--white);
}
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,27,107,0.35); }

.btn--outline {
  border: 1.5px solid rgba(255,255,255,0.6);
  color: var(--white);
  background: transparent;
}
.btn--outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

.btn--outline-dark {
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--gold); color: var(--white); }

.btn--wa {
  background: var(--wa);
  color: var(--white);
}
.btn--wa:hover { background: var(--wa-dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37,211,102,0.35); }

.btn--sm  { padding: 9px 18px; font-size: 0.8rem; }
.btn--lg  { padding: 16px 36px; font-size: 0.95rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Reveal Animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  padding: 8px 0;
}
.topbar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.topbar__inner span { display: flex; align-items: center; gap: 6px; }
.topbar__inner i { color: var(--gold); }
.topbar__wa {
  margin-left: auto;
  background: var(--wa);
  color: var(--white) !important;
  padding: 4px 14px;
  border-radius: 3px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.topbar__wa:hover { background: var(--wa-dark); }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  margin-top: 37px; /* topbar height */
}
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.08);
  padding: 14px 0;
  margin-top: 0;
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo__img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: none;
  transition: var(--transition);
}
/* Invert logo to white when on dark/transparent header */
.header:not(.scrolled) .logo__img { filter: brightness(0) invert(1); }
/* Footer light logo stays white */
.logo--light .logo__img--light { filter: brightness(0) invert(1); }

.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.header:not(.scrolled) .logo__name { color: var(--white); }
.logo__tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Nav */
.nav { margin-left: auto; }
.nav__list { display: flex; gap: 36px; align-items: center; }
.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link:hover,
.nav__link.active { color: var(--gold); }

.header.scrolled .nav__link {
  color: var(--dark-2);
}
.header.scrolled .nav__link:hover,
.header.scrolled .nav__link.active { color: var(--gold); }

.header__actions { display: flex; align-items: center; gap: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.header.scrolled .hamburger span { background: var(--dark); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero__slides {
  position: absolute;
  inset: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease;
  transform: scale(1.05);
  animation: none;
}
.hero__slide.active {
  opacity: 1;
  animation: zoomIn 8s ease forwards;
}
@keyframes zoomIn {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,rgba(20,15,10,0.75) 0%,rgba(20,15,10,0.4) 60%,transparent 100%);
}

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

.hero__sub {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__sub::before {
  content: '';
  display: block;
  width: 40px;
  height: 1.5px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}
.hero__title em { font-style: italic; color: var(--gold-light); }

.hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero__btns { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__content .reveal {
  opacity: 0;
  transform: translateY(30px);
}
.hero__content .reveal.visible { opacity: 1; transform: translateY(0); }
.hero__content .reveal:nth-child(1) { transition-delay: 0.1s; }
.hero__content .reveal:nth-child(2) { transition-delay: 0.25s; }
.hero__content .reveal:nth-child(3) { transition-delay: 0.4s; }
.hero__content .reveal:nth-child(4) { transition-delay: 0.55s; }

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.hero__scroll span {
  display: block;
  width: 1.5px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.6));
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  right: 40px;
  z-index: 2;
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: var(--transition);
}
.hero__dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ============================================
   TRUST STRIP
   ============================================ */
.trust {
  background: var(--dark);
  padding: 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.trust__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 32px 24px;
  border-right: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.trust__item:last-child { border-right: none; }
.trust__item:hover { background: rgba(201,169,110,0.06); }
.trust__item > i {
  font-size: 2rem;
  color: var(--gold);
  flex-shrink: 0;
}
.trust__item > div { display: flex; flex-direction: column; line-height: 1.3; }
.trust__item strong { color: var(--white); font-size: 1.05rem; }
.trust__item span { color: var(--text-light); font-size: 0.82rem; margin-top: 2px; }

/* ============================================
   SERVICES
   ============================================ */
.services { background: var(--cream); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }

.service-card__img {
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  background-color: #e8e0d5; /* placeholder while lazy loading */
}
.portfolio__img {
  background-color: #e8e0d5; /* placeholder while lazy loading */
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,20,10,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover .service-card__overlay { opacity: 1; }

.service-card__body { padding: 24px; }

.service-card__icon {
  width: 48px; height: 48px;
  background: var(--cream-2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 14px;
  transition: var(--transition);
}
.service-card:hover .service-card__icon { background: var(--gold); color: var(--white); }

.service-card__body h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--dark);
  margin-bottom: 10px;
}
.service-card__body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.04em;
  transition: var(--transition);
}
.service-card__link i { font-size: 0.75rem; transition: var(--transition); }
.service-card__link:hover { color: var(--gold); }
.service-card__link:hover i { transform: translateX(4px); }

/* ============================================
   ABOUT
   ============================================ */
.about { background: var(--white); }

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__images {
  position: relative;
  height: 560px;
}
.about__img-main {
  position: absolute;
  top: 0; left: 0;
  width: 80%;
  height: 85%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
}
.about__img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  height: 50%;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  box-shadow: var(--shadow-md);
  border: 6px solid var(--white);
}
.about__badge {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--white);
  padding: 20px 24px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(13,27,107,0.35);
  z-index: 2;
}
.about__badge strong { display: block; font-family: var(--font-serif); font-size: 2rem; font-weight: 600; line-height: 1; }
.about__badge span { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.9; }

.about__content .section__title { text-align: left; }
.about__content > p { color: var(--text); margin-bottom: 16px; font-size: 0.95rem; line-height: 1.85; }

.about__list { margin: 24px 0 32px; display: flex; flex-direction: column; gap: 12px; }
.about__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--dark-2);
}
.about__list li i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

.about__btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio { background: var(--cream); }

.portfolio__filter {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 9px 22px;
  border-radius: 30px;
  font-size: 0.83rem;
  font-weight: 500;
  border: 1.5px solid var(--cream-2);
  color: var(--text-light);
  background: var(--white);
  transition: var(--transition);
  cursor: pointer;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}

.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio__item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.portfolio__item.hidden { display: none; }

.portfolio__img {
  height: 280px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.portfolio__item:hover .portfolio__img { transform: scale(1.07); }

.portfolio__info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(20,15,10,0.85), transparent);
  padding: 40px 24px 20px;
  color: var(--white);
  transform: translateY(4px);
  transition: var(--transition);
}
.portfolio__item:hover .portfolio__info { transform: translateY(0); }
.portfolio__info h3 { font-family: var(--font-serif); font-size: 1.15rem; font-weight: 500; }
.portfolio__info p { font-size: 0.8rem; opacity: 0.8; margin-top: 4px; }

/* ============================================
   WHY US
   ============================================ */
.whyus {
  position: relative;
  padding: 100px 0;
  overflow: hidden;
}
.whyus__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.whyus__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20,15,10,0.82);
}
.whyus__content { position: relative; z-index: 2; }

.whyus__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 60px;
}
.whyus__card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,169,110,0.2);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
}
.whyus__card:hover {
  background: rgba(201,169,110,0.1);
  border-color: var(--gold);
  transform: translateY(-6px);
}
.whyus__icon {
  width: 64px; height: 64px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.4rem;
  margin: 0 auto 20px;
}
.whyus__card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 12px;
}
.whyus__card p { color: rgba(255,255,255,0.65); font-size: 0.88rem; line-height: 1.75; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { background: var(--white); }

.testimonials__slider { overflow: hidden; }
.testimonials__track {
  display: flex;
  gap: 28px;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}

.testimonial-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 36px;
  min-width: calc(33.333% - 19px);
  border: 1px solid var(--cream-2);
  flex-shrink: 0;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.testimonial-card__stars { color: #F59E0B; font-size: 0.9rem; margin-bottom: 16px; display: flex; gap: 3px; }

.testimonial-card > p {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--dark-2);
  line-height: 1.75;
  margin-bottom: 24px;
}
.testimonial-card > p::before { content: '\201C'; font-size: 1.5rem; color: var(--gold); line-height: 0; vertical-align: -6px; margin-right: 4px; }
.testimonial-card > p::after  { content: '\201D'; font-size: 1.5rem; color: var(--gold); line-height: 0; vertical-align: -6px; margin-left: 4px; }

.testimonial-card__author { display: flex; align-items: center; gap: 14px; }
.testimonial-card__avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.2rem;
  font-family: var(--font-serif);
  font-weight: 600;
  flex-shrink: 0;
}
.testimonial-card__author strong { display: block; color: var(--dark); font-size: 0.95rem; }
.testimonial-card__author span { font-size: 0.8rem; color: var(--text-light); }

.testimonials__controls {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}
.testimonials__btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 2px solid var(--cream-2);
  background: var(--white);
  color: var(--gold-dark);
  font-size: 1rem;
  transition: var(--transition);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.testimonials__btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

/* ============================================
   PROCESS
   ============================================ */
.process { background: var(--cream); }

.process__steps {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.process__step {
  flex: 1;
  text-align: center;
  padding: 0 20px;
  position: relative;
}
.process__num {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 300;
  color: var(--cream-2);
  line-height: 1;
  margin-bottom: -10px;
}
.process__icon {
  width: 72px; height: 72px;
  background: var(--white);
  border: 2px solid var(--gold-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.5rem;
  margin: 0 auto 20px;
  transition: var(--transition);
  box-shadow: var(--shadow);
}
.process__step:hover .process__icon { background: var(--gold); color: var(--white); border-color: var(--gold); }
.process__step h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 10px;
}
.process__step p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; }

.process__connector {
  flex: 0 0 60px;
  height: 2px;
  background: linear-gradient(to right, var(--gold-light), var(--gold));
  margin-top: 76px;
  position: relative;
}
.process__connector::after {
  content: '';
  position: absolute;
  right: -6px; top: -4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

/* ============================================
   CONTACT
   ============================================ */
.contact { background: var(--white); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info .section__title { text-align: left; font-size: 2rem; }
.contact__info > p { color: var(--text); margin-bottom: 32px; line-height: 1.85; }

.contact__details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 36px; }
.contact__detail { display: flex; align-items: flex-start; gap: 16px; }
.contact__detail-icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact__detail strong { display: block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-light); margin-bottom: 3px; }
.contact__detail a,
.contact__detail span { color: var(--dark-2); font-size: 0.95rem; transition: var(--transition); }
.contact__detail a:hover { color: var(--gold); }

/* Form */
.form {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 28px;
}
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.form__group label { font-size: 0.8rem; font-weight: 500; color: var(--text-light); letter-spacing: 0.04em; text-transform: uppercase; }

.form__group input,
.form__group textarea,
.form__group select {
  padding: 13px 16px;
  border: 1.5px solid #E8E0D5;
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  resize: none;
}
.form__group input:focus,
.form__group textarea:focus,
.form__group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,169,110,0.12);
}
.form__group input::placeholder,
.form__group textarea::placeholder { color: #C0B8B0; }

.form__success {
  display: none;
  align-items: center;
  gap: 10px;
  background: #ECFDF5;
  color: #065F46;
  border-radius: 8px;
  padding: 14px 18px;
  font-size: 0.9rem;
  margin-top: 16px;
  border: 1px solid #A7F3D0;
}
.form__success.show { display: flex; }
.form__success i { color: #10B981; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark);
  padding: 80px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer__brand .logo { margin-bottom: 20px; }
.footer__brand .logo__name { color: var(--white); }
.footer__brand > p { color: rgba(255,255,255,0.5); font-size: 0.88rem; line-height: 1.8; margin-bottom: 24px; }

.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 44px; height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer__social a:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }

.footer__col h3 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col ul li a {
  color: rgba(255,255,255,0.5);
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer__col ul li a::before {
  content: '';
  width: 14px; height: 1px;
  background: var(--gold);
  opacity: 0;
  transition: var(--transition);
}
.footer__col ul li a:hover { color: var(--gold); padding-left: 4px; }
.footer__col ul li a:hover::before { opacity: 1; }

.footer__hours { gap: 10px !important; }
.footer__hours li {
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.footer__hours li span:first-child { color: rgba(255,255,255,0.7); }
.footer__wa { margin-top: 20px; }

.footer__bottom {
  padding: 20px 0;
  text-align: center;
}
.footer__bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

/* ============================================
   FLOATING BUTTONS
   ============================================ */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 58px; height: 58px;
  background: var(--wa);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulse 2.5s infinite;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.1); animation: none; }

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

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px; height: 48px;
  background: var(--dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 900px) {
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item:nth-child(2) { border-right: none; }
  .about__inner { grid-template-columns: 1fr; gap: 48px; }
  .about__images { height: 400px; order: -1; }
  .whyus__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__inner { grid-template-columns: 1fr; }
  .portfolio__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - 14px); }
  .process__steps { flex-wrap: wrap; }
  .process__connector { display: none; }
  .process__step { flex: 0 0 calc(50% - 20px); }
}

@media (max-width: 768px) {
  /* === Topbar & Header === */
  .topbar { display: none; }
  .header { margin-top: 0; padding: 14px 0; }
  .header.scrolled { padding: 10px 0; }

  /* === Mobile Nav Drawer === */
  .nav {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--dark);
    padding: 90px 32px 40px;
    z-index: 999;
    transition: right 0.4s ease;
    overflow-y: auto;
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
  }
  .nav.open { right: 0; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__link {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav__link::after { display: none; }
  .header.scrolled .nav__link { color: rgba(255,255,255,0.8); }

  .hamburger { display: flex; }
  .header__actions .btn--outline { display: none; }
  .header__actions .btn--sm { display: none; }

  /* === Logo sizing on mobile === */
  .logo__img { width: 36px; height: 36px; }
  .logo__name { font-size: 1.1rem; }

  /* === Hero === */
  .hero { min-height: 100svh; }
  .hero__content { padding-top: 60px; max-width: 100%; }
  .hero__title { font-size: clamp(2rem, 8vw, 2.6rem); }
  .hero__desc { font-size: 0.95rem; margin-bottom: 28px; }
  .hero__btns { gap: 12px; flex-wrap: wrap; }
  .hero__scroll { display: none; }
  .hero__dots { bottom: 20px; right: 20px; }

  /* === Section === */
  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }
  .section__title { font-size: clamp(1.6rem, 5vw, 2rem); }
  .container { padding: 0 16px; }

  /* === Trust Strip === */
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__item { padding: 20px 16px; }
  .trust__item > i { font-size: 1.5rem; }
  .trust__item strong { font-size: 0.95rem; }
  .trust__item span { font-size: 0.77rem; }

  /* === Services === */
  .services__grid { grid-template-columns: 1fr; }
  .service-card__img { height: 180px; }

  /* === About === */
  .about__inner { gap: 32px; }
  .about__images { height: 280px; order: -1; }
  .about__img-main { width: 75%; height: 80%; }
  .about__img-accent { width: 55%; height: 48%; }
  .about__badge {
    top: auto;
    bottom: 0;
    right: 0;
    transform: none;
    padding: 14px 18px;
  }
  .about__badge strong { font-size: 1.6rem; }
  .about__btns { flex-direction: column; }
  .about__btns .btn { width: 100%; justify-content: center; }

  /* === Portfolio === */
  .portfolio__grid { grid-template-columns: 1fr; }
  .portfolio__img { height: 240px; }
  .portfolio__filter { gap: 8px; }
  .filter-btn { padding: 7px 16px; font-size: 0.8rem; }

  /* === Why Us === */
  .whyus__grid { grid-template-columns: 1fr; gap: 20px; }
  .whyus__card { padding: 28px 20px; }

  /* === Testimonials === */
  .testimonial-card { min-width: 100%; padding: 24px 20px; }
  .testimonials__controls { margin-top: 24px; }

  /* === Process === */
  .process__step { flex: 0 0 100%; padding: 0 10px; }
  .process__num { font-size: 3rem; }

  /* === Contact === */
  .contact__inner { gap: 40px; }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: 1fr; }
  .contact__info .section__title { font-size: 1.6rem; }

  /* === Footer === */
  .footer__grid { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .footer { padding: 56px 0 0; }

  /* === Floating buttons === */
  .wa-float { width: 50px; height: 50px; font-size: 1.4rem; right: 16px; bottom: 78px; }
  .back-to-top { width: 42px; height: 42px; right: 16px; bottom: 18px; }
}

@media (max-width: 480px) {
  /* === Container === */
  .container { padding: 0 14px; }

  /* === Section === */
  .section { padding: 52px 0; }
  .section__header { margin-bottom: 32px; }

  /* === Hero === */
  .hero__title { font-size: clamp(1.75rem, 7.5vw, 2.2rem); }
  .hero__sub { font-size: 0.72rem; }
  .hero__btns { flex-direction: column; align-items: stretch; }
  .hero__btns .btn { justify-content: center; }

  /* === Trust === */
  .trust__grid { grid-template-columns: 1fr; }
  .trust__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .trust__item:last-child { border-bottom: none; }

  /* === About === */
  .about__images { height: 240px; }
  .about__badge { padding: 10px 14px; }
  .about__badge strong { font-size: 1.4rem; }

  /* === Services card === */
  .service-card__body { padding: 18px; }
  .service-card__body h3 { font-size: 1.1rem; }

  /* === Why Us === */
  .whyus__card { padding: 24px 16px; }

  /* === Process === */
  .process__icon { width: 60px; height: 60px; font-size: 1.2rem; }
  .process__step h3 { font-size: 1rem; }

  /* === Form === */
  .form { padding: 20px 14px; }
  .form h3 { font-size: 1.25rem; }

  /* === Footer === */
  .footer__hours li { flex-direction: column; gap: 2px; }

  /* === Modal === */
  .sg-modal__grid { grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 14px; }
  .sg-modal__header { padding: 16px 16px 14px; }
  .sg-modal__header h3 { font-size: 1.15rem; }
}

/* ============================================
   SERVICE GALLERY MODAL
   ============================================ */

/* Card updates */
.btn--white {
  background: rgba(255,255,255,0.95);
  color: var(--gold);
  font-weight: 600;
}
.btn--white:hover { background: var(--white); }

.service-card__actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 4px;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.03em;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
}
.service-card__link i { font-size: 0.78rem; transition: var(--transition); }
.service-card__link:hover { color: var(--gold-dark); }
.service-card__link:hover i { transform: translateX(3px); }

.service-card__quote {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
}
.service-card__quote i { font-size: 0.75rem; transition: var(--transition); }
.service-card__quote:hover { color: var(--gold-dark); }
.service-card__quote:hover i { transform: translateX(3px); }

/* Modal backdrop */
.sg-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.sg-modal.open {
  opacity: 1;
  pointer-events: all;
}
.sg-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,20,0.82);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

/* Modal box */
.sg-modal__box {
  position: relative;
  z-index: 1;
  background: var(--white);
  border-radius: 20px;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.3);
  transform: translateY(30px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  scrollbar-width: thin;
  scrollbar-color: var(--gold-light) transparent;
}
.sg-modal.open .sg-modal__box {
  transform: translateY(0) scale(1);
}

/* Header */
.sg-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 32px 20px;
  border-bottom: 1px solid var(--cream-2);
  position: sticky;
  top: 0;
  background: var(--white);
  z-index: 5;
  border-radius: 20px 20px 0 0;
}
.sg-modal__title-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
}
.sg-modal__icon {
  width: 44px; height: 44px;
  background: var(--cream);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}
.sg-modal__header h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--dark);
}
.sg-modal__close {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--text-light);
  font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}
.sg-modal__close:hover { background: #FFE0E0; color: #C0392B; }

.sg-modal__desc {
  padding: 12px 32px 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* Gallery grid */
.sg-modal__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 24px 32px;
}
.sg-thumb {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
}
.sg-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.sg-thumb:hover img { transform: scale(1.08); }
.sg-thumb__overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,107,0.0);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.sg-thumb:hover .sg-thumb__overlay { background: rgba(13,27,107,0.35); }
.sg-thumb__overlay i {
  color: var(--white);
  font-size: 1.8rem;
  opacity: 0;
  transform: scale(0.6);
  transition: var(--transition);
}
.sg-thumb:hover .sg-thumb__overlay i { opacity: 1; transform: scale(1); }
.sg-thumb__label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(13,27,107,0.7), transparent);
  color: var(--white);
  font-size: 0.75rem;
  padding: 20px 10px 8px;
  opacity: 0;
  transition: var(--transition);
}
.sg-thumb:hover .sg-thumb__label { opacity: 1; }

/* Full-screen viewer */
.sg-viewer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(5,5,15,0.97);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.sg-viewer.open { display: flex; }
.sg-viewer__img-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 78vh;
  display: flex; align-items: center; justify-content: center;
}
.sg-viewer__img-wrap img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 60px rgba(0,0,0,0.6);
}
.sg-viewer__loader {
  position: absolute;
  color: var(--white);
  font-size: 1.8rem;
  display: none;
}
.sg-viewer.loading .sg-viewer__loader { display: block; }
.sg-viewer.loading img { opacity: 0; }

.sg-viewer__nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.1);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10;
}
.sg-viewer__nav--prev { left: 20px; }
.sg-viewer__nav--next { right: 20px; }
.sg-viewer__nav:hover { background: var(--gold); border-color: var(--gold); }

.sg-viewer__close {
  position: fixed;
  bottom: 28px;
  left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.85rem;
  display: flex; align-items: center; gap: 8px;
  cursor: pointer;
  transition: var(--transition);
}
.sg-viewer__close:hover { background: rgba(255,255,255,0.22); }

.sg-viewer__counter {
  position: fixed;
  top: 20px;
  left: 50%; transform: translateX(-50%);
  background: rgba(255,255,255,0.12);
  color: var(--white);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.82rem;
}

/* Modal footer */
.sg-modal__footer {
  padding: 0 32px 28px;
  display: flex;
  justify-content: center;
}
.sg-modal__cta { min-width: 280px; justify-content: center; }

/* Responsive */
@media (max-width: 768px) {
  .sg-modal { padding: 10px; }
  .sg-modal__box { max-height: 95vh; border-radius: 16px; }
  .sg-modal__header { padding: 20px; }
  .sg-modal__desc { padding: 10px 20px 0; }
  .sg-modal__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 16px 20px; }
  .sg-modal__footer { padding: 0 20px 20px; }
  .sg-viewer__nav--prev { left: 8px; }
  .sg-viewer__nav--next { right: 8px; }
}

/* ============================================
   MOBILE PERFORMANCE: Serve smaller hero images
   on mobile to reduce LCP (matches preload hints)
   ============================================ */
@media (max-width: 768px) {
  .hero__slides .hero__slide:nth-child(1) {
    background-image: url('../images/hero/hero1-m.webp') !important;
  }
  .hero__slides .hero__slide:nth-child(2) {
    background-image: url('../images/hero/hero2-m.webp') !important;
  }
  .hero__slides .hero__slide:nth-child(3) {
    background-image: url('../images/hero/hero3-m.webp') !important;
  }
}

/* ============================================
   FONT FALLBACK: Show readable text immediately
   while Google Fonts loads asynchronously
   ============================================ */
body {
  font-family: 'Jost', system-ui, -apple-system, Arial, sans-serif;
}
h1, h2, h3, .hero__title, .section__title, .logo__name {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
}
