/* ==========================================================================
   MAX DESIGN DUBAI — LUXURY INTERIOR DESIGN STUDIO
   Global Stylesheet & Modular Component System
   ========================================================================== */

:root {
  --ink: #1a1a1a;
  --ink-soft: #4a4a4a;
  --ink-faint: #8a8a8a;
  --cream: #f7f4ef;
  --cream-deep: #efe9e0;
  --stone: #d8d0c4;
  --stone-light: #ece6dd;
  --accent: #b08d57;
  --accent-dark: #8a6d3f;
  --accent-glow: rgba(176, 141, 87, 0.18);
  --white: #ffffff;
  --line: rgba(26, 26, 26, 0.12);
  --line-light: rgba(26, 26, 26, 0.06);
  --radius: 3px;
  --radius-lg: 8px;
  --max: 1240px;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 40px rgba(0,0,0,0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

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

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 6.5vw, 5.2rem);
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.4rem);
}

h3 {
  font-size: 1.5rem;
}

h4 {
  font-size: 1.1rem;
  font-family: var(--sans);
  font-weight: 500;
  letter-spacing: 0.02em;
}

p {
  max-width: 64ch;
  color: var(--ink-soft);
}

a {
  color: inherit;
  text-decoration: none;
}

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

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.2rem;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1px;
  background: var(--accent);
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

/* ---------- Buttons & Interactive Elements ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: var(--radius);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-weight: 500;
}

.btn-primary {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(176, 141, 87, 0.25);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ---------- Navigation Header ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(247, 244, 239, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: padding 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  border-bottom-color: var(--line);
  padding: 12px 0;
  background: rgba(247, 244, 239, 0.96);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 2px;
}

.brand-logo-text {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--ink);
}

.brand-logo-text span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-cta {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  transition: var(--transition);
  font-weight: 500;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--cream);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: 0.3s ease;
}

/* ---------- Page Banner Header (Inner Pages) ---------- */
.page-header {
  padding: 160px 0 70px;
  background: linear-gradient(180deg, rgba(239, 233, 224, 0.7) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.page-header-content {
  max-width: 800px;
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.15rem;
  color: var(--ink-soft);
}

/* ---------- Section Layout Base ---------- */
section {
  padding: 100px 0;
}

.section-head {
  margin-bottom: 60px;
  max-width: 760px;
}

.section-head h2 {
  margin-bottom: 1rem;
}

.section-head p {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ---------- Hero Section (Home) ---------- */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  position: relative;
  background:
    linear-gradient(180deg, rgba(247,244,239,0.55) 0%, rgba(247,244,239,0.94) 65%, var(--cream) 100%),
    radial-gradient(ellipse at 80% 20%, rgba(176,141,87,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #eae3d7 0%, #f4eee5 40%, #e8dfd2 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  margin-bottom: 1.4rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--ink-soft);
  margin-bottom: 2.2rem;
  max-width: 48ch;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 24px 0 24px 40px;
  border-left: 1px solid var(--line);
}

.hero-meta-item .label {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
}

.hero-meta-item .value {
  font-size: 0.98rem;
  color: var(--ink);
  font-weight: 400;
}

.hero-meta-item .value a {
  border-bottom: 1px solid var(--stone);
  transition: border-color 0.2s;
}

.hero-meta-item .value a:hover {
  border-color: var(--accent);
}

.stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 0.95rem;
}

/* ---------- About Section ---------- */
.about-section {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  align-items: center;
}

.about-text p {
  margin-bottom: 1.3rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.stat-box {
  background: var(--white);
  padding: 38px 30px;
  transition: background 0.3s;
}

.stat-box:hover {
  background: var(--cream);
}

.stat-box .num {
  font-family: var(--serif);
  font-size: 2.8rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-box .lbl {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 500;
}

/* ---------- Services Grid ---------- */
.services-section {
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-card {
  background: var(--cream);
  padding: 44px 36px;
  transition: background 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-card:hover {
  background: var(--white);
}

.service-card .idx {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}

.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.service-link {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}

.service-link:hover {
  color: var(--ink);
}

/* ---------- Portfolio Grid & Filter ---------- */
.portfolio-section {
  background: var(--ink);
  color: var(--cream);
}

.portfolio-section .eyebrow {
  color: var(--accent);
}

.portfolio-section .section-head h2 {
  color: var(--cream);
}

.portfolio-section .section-head p {
  color: rgba(247,244,239,0.65);
}

.filter-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-tab {
  background: rgba(247,244,239,0.06);
  border: 1px solid rgba(247,244,239,0.12);
  color: rgba(247,244,239,0.7);
  padding: 10px 22px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--sans);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.pf-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 320px;
  background: #222;
  border: 1px solid rgba(247,244,239,0.08);
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  grid-column: span 6;
}

.pf-card:hover {
  transform: translateY(-6px);
}

.pf-card.wide {
  grid-column: span 12;
  min-height: 420px;
}

.pf-card.third {
  grid-column: span 4;
}

.pf-img-wrap {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
}

.pf-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.pf-card:hover .pf-img-wrap img {
  transform: scale(1.04);
}

.pf-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 20%, rgba(0,0,0,0.85) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  z-index: 2;
  transition: background 0.3s ease;
}

.pf-card:hover .pf-overlay {
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 10%, rgba(0,0,0,0.92) 100%);
}

.pf-tag {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
  font-weight: 600;
}

.pf-card h3 {
  font-size: 1.45rem;
  color: var(--cream);
  margin-bottom: 6px;
}

.pf-loc {
  font-size: 0.85rem;
  color: rgba(247,244,239,0.7);
}

/* ---------- Contact Form Section ---------- */
.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
}

.contact-info-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 20px;
  align-items: baseline;
}

.contact-info-list .k {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
  min-width: 100px;
  flex-shrink: 0;
  font-weight: 500;
}

.contact-info-list .v {
  font-size: 1.02rem;
  color: var(--ink);
}

.contact-info-list .v a {
  border-bottom: 1px solid var(--stone);
  transition: border-color 0.2s;
}

.contact-info-list .v a:hover {
  border-color: var(--accent);
}

.hours-box {
  margin-top: 32px;
  padding: 30px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.hours-box h4 {
  margin-bottom: 16px;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-bottom: 1px dashed rgba(26,26,26,0.08);
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  color: var(--ink);
  font-weight: 500;
}

.hours-row.closed {
  color: var(--ink-faint);
}

/* Responsive Form Styling */
.form-card {
  background: var(--cream);
  border: 1px solid var(--line);
  padding: 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.form-card p {
  margin-bottom: 28px;
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.form-submit-feedback {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #1b5e20;
  padding: 18px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  margin-top: 16px;
  text-align: center;
}

.form-submit-feedback.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Map & Studio Location Card ---------- */
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--cream-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 50px 36px;
  gap: 20px;
}

.map-card .pin-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--accent-glow);
  color: var(--accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

/* ---------- CTA Band ---------- */
.cta-band {
  background: var(--accent);
  color: var(--white);
  padding: 90px 0;
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 1.2rem;
}

.cta-band p {
  color: rgba(255,255,255,0.9);
  margin: 0 auto 2.2rem;
  font-size: 1.1rem;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--accent-dark);
  border-color: var(--white);
}

.cta-band .btn-primary:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(247,244,239,0.6);
  padding: 70px 0 36px;
  font-size: 0.88rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .footer-logo-img {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(1.2);
}

.footer-brand p {
  color: rgba(247,244,239,0.55);
  max-width: 32ch;
  font-size: 0.9rem;
}

.footer-col h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247,244,239,0.45);
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul a {
  transition: color 0.2s;
  color: rgba(247,244,239,0.7);
}

.footer-col ul a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(247,244,239,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.8rem;
  color: rgba(247,244,239,0.45);
}

/* ---------- FLOATING WHATSAPP CHAT WIDGET ---------- */
.wa-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
}

.wa-trigger-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  border: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.wa-trigger-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.wa-trigger-btn svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.wa-badge-pulse {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #ff3b30;
  border: 2px solid #fff;
  border-radius: 50%;
}

.wa-popup-card {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 360px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  overflow: hidden;
  border: 1px solid var(--line);
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.95);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  transform-origin: bottom right;
}

.wa-popup-card.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-popup-header {
  background: var(--ink);
  color: var(--white);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-avatar-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  object-fit: cover;
  background: #000;
}

.wa-header-info h4 {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.2;
}

.wa-status {
  font-size: 0.72rem;
  color: #25d366;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

.wa-status-dot {
  width: 7px;
  height: 7px;
  background: #25d366;
  border-radius: 50%;
  display: inline-block;
}

.wa-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  transition: color 0.2s;
}

.wa-close-btn:hover {
  color: var(--white);
}

.wa-popup-body {
  padding: 20px;
  background: var(--cream);
  max-height: 400px;
  overflow-y: auto;
}

.wa-msg-bubble {
  background: var(--white);
  padding: 14px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--ink);
  line-height: 1.5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  margin-bottom: 16px;
  border-left: 3px solid var(--accent);
}

.wa-options-label {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 10px;
  font-weight: 600;
}

.wa-options-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.wa-option-btn {
  background: var(--white);
  border: 1px solid var(--stone);
  padding: 12px 14px;
  border-radius: 6px;
  text-align: left;
  font-size: 0.84rem;
  color: var(--ink);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-option-btn:hover {
  border-color: var(--accent);
  background: var(--white);
  color: var(--accent-dark);
  transform: translateX(3px);
}

.wa-option-btn::after {
  content: "→";
  font-size: 0.9rem;
  color: var(--accent);
}

.wa-popup-footer {
  padding: 14px 20px;
  background: var(--white);
  border-top: 1px solid var(--line-light);
  display: flex;
  gap: 8px;
}

.wa-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--stone);
  border-radius: 20px;
  font-size: 0.85rem;
  outline: none;
}

.wa-send-btn {
  background: #25d366;
  color: #fff;
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.wa-send-btn:hover {
  background: #20ba5a;
}

/* ---------- LIGHTBOX MODAL ---------- */
.lightbox-modal {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 10000;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 30px;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  max-width: 1000px;
  width: 100%;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  position: relative;
}

.lightbox-img-wrap {
  min-height: 400px;
  background: #000;
}

.lightbox-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-details {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  transition: background 0.2s;
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.3);
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ---------- Mobile & Responsive Rules ---------- */
@media (max-width: 992px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-meta {
    border-left: none;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 32px;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .pf-card,
  .pf-card.wide,
  .pf-card.third {
    grid-column: span 12;
    min-height: 280px;
  }

  .lightbox-container {
    grid-template-columns: 1fr;
    max-height: 85vh;
    overflow-y: auto;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 340px);
    background: var(--cream);
    flex-direction: column;
    padding: 110px 36px 40px;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--line);
    box-shadow: -10px 0 30px rgba(0,0,0,0.08);
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .menu-toggle {
    display: block;
    z-index: 1010;
  }

  .nav-cta {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: 28px 20px;
  }

  .wa-popup-card {
    width: calc(100vw - 32px);
    right: -12px;
  }

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

  section {
    padding: 70px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
