/* ============================================================
   Kristine Lepesko — Interior Design · Dubai
   style.css
   ============================================================ */

:root {
  --cream:        #FAF7F2;
  --cream-dark:   #F0EAE0;
  --gold:         #C9A96E;
  --gold-dark:    #A8884A;
  --brown-dark:   #2C1A0E;
  --brown-mid:    #5C3D2E;
  --brown-light:  #9C7B6A;
  --text-primary: #2C1A0E;
  --text-secondary:#6B5344;
  --white:        #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;

  --nav-height: 76px;
  --section-pad: 100px;
  --container:  1200px;
  --radius:     4px;

  --shadow-sm: 0 2px 12px rgba(44,26,14,0.08);
  --shadow-md: 0 8px 32px rgba(44,26,14,0.14);
  --shadow-lg: 0 20px 60px rgba(44,26,14,0.18);

  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--cream);
}

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

/* ── Utilities ── */
.container { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.section-padding { padding: var(--section-pad) 0; }
.bg-cream      { background: var(--cream); }
.bg-cream-dark { background: var(--cream-dark); }
.bg-brown-dark { background: var(--brown-dark); }

.testimonial { background: var(--brown-dark); padding: 64px 0; }

.section-eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--brown-mid);
}

.section-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }

/* ── Fade-in ── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(169,136,74,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-full { width: 100%; text-align: center; }


/* ============================================================
   NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  transition: background var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  background: var(--cream);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; flex-direction: row; align-items: center; gap: 12px; }

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text { display: flex; flex-direction: column; line-height: 1.2; }

.logo-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition);
}

.logo-tagline {
  font-family: var(--font-sans);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

#navbar.scrolled .logo-name   { color: var(--text-primary); }
#navbar.scrolled .logo-tagline { color: var(--brown-light); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

#navbar.scrolled .nav-link { color: var(--text-secondary); }
#navbar.scrolled .nav-link:hover,
#navbar.scrolled .nav-link.active { color: var(--text-primary); }

.nav-cta {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 10px 22px;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius);
  color: var(--white);
  transition: all var(--transition);
}

.nav-cta:hover { background: var(--gold); border-color: var(--gold); }
#navbar.scrolled .nav-cta { border-color: var(--gold); color: var(--gold); }
#navbar.scrolled .nav-cta:hover { background: var(--gold); color: var(--white); }

.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
  transform-origin: center;
}
#navbar.scrolled .hamburger span { background: var(--text-primary); }
.hamburger.active span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


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

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 8s ease;
}

.hero:hover .hero-bg { transform: scale(1); }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44,26,14,0.35) 0%,
    rgba(44,26,14,0.55) 60%,
    rgba(44,26,14,0.7) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 820px;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 24px;
}

.hero-headline em { font-style: italic; font-weight: 400; }

.hero-subtext {
  font-size: 18px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  margin-bottom: 44px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute;
  bottom: 36px; 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);
  transition: color var(--transition);
}

.hero-scroll-hint:hover { color: rgba(255,255,255,0.9); }

.scroll-line {
  display: block;
  width: 1px; height: 40px;
  background: currentColor;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label { font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; }

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(0.6); }
}


/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap { position: relative; }

.about-img-wrap img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  display: block;
}

.about-img-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 2px solid var(--gold);
  border-radius: 2px;
  z-index: -1;
  opacity: 0.4;
}

.about-text { padding: 20px 0; }

.about-text .section-title {
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 3px solid var(--gold);
}

.about-body {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.8;
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.process-step {
  padding: 40px 32px;
  background: var(--cream);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.process-step:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step-number {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 20px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}


/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.service-card {
  background: var(--cream);
  border-top: 3px solid var(--gold);
  padding: 44px 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.service-num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--gold);
  opacity: 0.5;
  line-height: 1;
}

.service-icon { width: 44px; height: 44px; color: var(--gold); }
.service-icon svg { width: 100%; height: 100%; }

.service-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-primary);
}

.service-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
}

.service-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}

.service-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}

.service-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

.service-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: 6px;
}

.service-link {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius);
  padding: 8px 18px;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.service-link:hover {
  background: var(--gold);
  color: var(--white);
}

.service-price {
  font-size: 12px;
  color: var(--brown-light);
  text-align: right;
  line-height: 1.4;
}


/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: pointer;
  aspect-ratio: 4 / 3;
  background: var(--cream-dark);
}

.project-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,20,10,0.82) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  transition: opacity var(--transition);
}

.project-name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1.3;
}

.project-sub {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-top: 4px;
  text-transform: uppercase;
}

.project-gallery-icon {
  position: absolute;
  top: 12px; right: 12px;
  width: 32px; height: 32px;
  background: rgba(0,0,0,0.45);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.9);
  pointer-events: none;
  backdrop-filter: blur(4px);
}

.project-gallery-icon svg { width: 14px; height: 14px; }

.project-view {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-top: 10px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.project-card:hover .project-view {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial-inner { max-width: 560px; margin: 0 auto; text-align: center; }

.quote-icon {
  width: 48px;
  height: auto;
  color: var(--gold);
  opacity: 0.6;
  margin: 0 auto 28px;
}

.testimonial-inner blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.5vw, 1.65rem);
  font-style: italic;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  line-height: 1.55;
  margin-bottom: 28px;
}

.testimonial-inner cite {
  font-size: 13px;
  font-style: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}


/* ============================================================
   CONTACT / LEAD FORM
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info .section-title { margin-bottom: 20px; }

.contact-body {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

.contact-details { display: flex; flex-direction: column; gap: 18px; }

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  color: var(--text-secondary);
}

.contact-detail svg { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); }
.contact-detail a { color: var(--gold); transition: color var(--transition); }
.contact-detail a:hover { color: var(--gold-dark); }

.contact-form-wrap {
  background: var(--white);
  padding: 48px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

.form-group { display: flex; flex-direction: column; margin-bottom: 28px; }

.form-group label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.required { color: var(--gold); }

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--cream-dark);
  padding: 10px 0;
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239C7B6A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
  cursor: pointer;
}

.form-group textarea { resize: vertical; min-height: 100px; line-height: 1.6; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group input.error,
.form-group textarea.error { border-color: #c0392b; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: #c4b4a8; }
.field-error { font-size: 12px; color: #c0392b; margin-top: 5px; }

#submit-btn { margin-top: 8px; font-size: 13px; }
#submit-btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.form-success[hidden] { display: none; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 64px 48px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.form-success svg {
  width: 48px; height: 48px;
  color: var(--gold);
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--text-primary);
  margin: 0;
}
.form-success p {
  font-size: 15px;
  color: var(--text-secondary);
  margin: 0;
}


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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
  display: block;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.footer-logo-sub {
  display: block;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.footer-bio { font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.7; max-width: 260px; }

.footer-heading {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-chevron {
  display: none;
  width: 16px; height: 16px;
  color: rgba(255,255,255,0.4);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  letter-spacing: 0.04em;
}


/* ============================================================
   WHATSAPP BUTTON
   ============================================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 90;
  width: 54px; height: 54px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease, transform var(--transition), box-shadow var(--transition);
}

.whatsapp-btn.visible {
  opacity: 1;
  pointer-events: auto;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}

.whatsapp-btn svg { width: 28px; height: 28px; }


/* ============================================================
   MOBILE BOOK BAR
   ============================================================ */
.mobile-book-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-book-bar {
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: auto;
    z-index: 95;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s ease;
  }

  .mobile-book-bar.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
  }

  .mobile-book-btn {
    display: block;
    background: var(--gold);
    border: 2px solid var(--gold);
    border-radius: var(--radius);
    text-align: center;
    padding: 15px 36px;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    white-space: nowrap;
    box-shadow: 0 8px 24px rgba(169,136,74,0.35);
  }

  .whatsapp-btn {
    bottom: 64px;
  }
}


/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18,10,5,0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox[hidden] { display: none; }

.lightbox-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 90vw;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 2px;
  display: block;
}

.lightbox-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-top: 14px;
  gap: 16px;
}

.lightbox-caption {
  font-family: var(--font-serif);
  font-size: 14px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
}

.lightbox-counter {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  font-size: 32px; line-height: 1;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
  padding: 4px;
}
.lightbox-close:hover { color: var(--white); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  color: rgba(255,255,255,0.5);
  padding: 16px;
  transition: color var(--transition);
  line-height: 1;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }


/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .contact-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
  }
  .contact-left    { display: contents; }
  .contact-info    { order: 1; }
  .contact-form-wrap { order: 2; }
  .contact-details { order: 3; }
  .about-grid   { grid-template-columns: 1fr; gap: 48px; }
  .about-img-wrap img { height: auto; }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 40px; }
}


/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 24px; }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--cream);
    padding: 28px 24px 40px;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    pointer-events: none;
  }

  .nav-links.open { transform: translateY(0); pointer-events: auto; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--cream-dark); }
  .nav-link { display: block; padding: 16px 0; color: var(--text-secondary); font-size: 15px; }
  .nav-link::after { display: none; }
  .nav-cta { margin-top: 20px; display: inline-block; color: var(--gold); border-color: var(--gold); }

  .process-steps { grid-template-columns: 1fr; gap: 20px; }
  .services-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }

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

  #contact .container { padding: 0 12px !important; }
  .contact-form-wrap { padding: 32px 20px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 0; }

  .footer-grid { border-bottom: none; }
  .footer-col { border-bottom: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }

  .footer-chevron { display: block; }

  .footer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 0;
    user-select: none;
  }

  .footer-collapse-body {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease, margin-top 0.3s ease;
    margin-top: 0;
  }

  .footer-collapsible.open .footer-collapse-body {
    max-height: 200px;
    margin-top: 16px;
  }

  .footer-collapsible.open .footer-chevron {
    transform: rotate(180deg);
  }

  .whatsapp-btn { bottom: 64px; right: 20px; width: 48px; height: 48px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .footer { padding-bottom: 64px; }
}


/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  :root { --section-pad: 40px; --nav-height: 64px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-scroll-hint { display: none; }
}

@media (max-width: 1024px) {
  .contact-form-wrap {
    width: 100%;
    box-sizing: border-box;
  }
}
