/* ==========================================================================
   EverPortrait — Core Stylesheet
   A luxury digital art studio. Design system + components.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,500&family=Inter:wght@300;400;500;600;700&display=swap');

/* ---------------------------------------------------------------------- *
 * 1. TOKENS
 * ---------------------------------------------------------------------- */
:root{
  /* Brand palette (from brief) */
  --bg:            #FAF8F5;
  --white:         #FFFFFF;
  --primary:       #B8865B;
  --secondary:     #6F4E37;
  --accent:        #D8C3A5;
  --dark:          #2B2B2B;
  --gold:          #C8A96A;

  /* Derived */
  --primary-deep:  #9c6f47;
  --gold-soft:     rgba(200,169,106,0.18);
  --line:          rgba(43,43,43,0.10);
  --line-soft:     rgba(43,43,43,0.06);
  --shadow-color:  30, 22, 12;

  /* Typography */
  --font-display: 'Fraunces', 'Cormorant Garamond', serif;
  --font-accent:  'Cormorant Garamond', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Type scale */
  --fs-2xs: 0.75rem;
  --fs-xs:  0.85rem;
  --fs-sm:  0.95rem;
  --fs-md:  1.05rem;
  --fs-lg:  1.3rem;
  --fs-xl:  1.75rem;
  --fs-2xl: 2.5rem;
  --fs-3xl: 3.4rem;
  --fs-4xl: 4.6rem;

  /* Spacing */
  --space-section: 9rem;
  --space-section-sm: 5.5rem;
  --container: 1280px;
  --container-narrow: 860px;

  /* Radii */
  --r-sm: 8px;
  --r-md: 16px;
  --r-lg: 28px;
  --r-xl: 40px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.7s;
}

/* ---------------------------------------------------------------------- *
 * 2. RESET
 * ---------------------------------------------------------------------- */
*, *::before, *::after{ box-sizing: border-box; margin: 0; padding: 0; }
html{ scroll-behavior: smooth; }
body{
  background: var(--bg);
  color: var(--dark);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font-family: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select{ font-family: inherit; font-size: inherit; }
h1, h2, h3, h4{ font-family: var(--font-display); font-weight: 500; line-height: 1.12; letter-spacing: -0.01em; }
::selection{ background: var(--gold-soft); color: var(--secondary); }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Visible keyboard focus */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------------------------------------------------------------------- *
 * 3. LAYOUT HELPERS
 * ---------------------------------------------------------------------- */
.container{ max-width: var(--container); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
.container-narrow{ max-width: var(--container-narrow); margin: 0 auto; padding: 0 clamp(1.5rem, 5vw, 4rem); }
section{ padding: var(--space-section) 0; position: relative; }
.section-tight{ padding: var(--space-section-sm) 0; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: var(--fs-lg);
  color: var(--primary);
  margin-bottom: 1.1rem;
}
.eyebrow::before{
  content: '';
  width: 34px; height: 1px;
  background: var(--gold);
}

.section-head{
  max-width: 640px;
  margin-bottom: 3.5rem;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: var(--fs-3xl); color: var(--dark); }
.section-head p{ margin-top: 1.1rem; font-size: var(--fs-lg); color: var(--secondary); font-weight: 300; }

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

/* ---------------------------------------------------------------------- *
 * 4. BUTTONS
 * ---------------------------------------------------------------------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1.05rem 2.3rem;
  border-radius: 100px;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), background 0.35s ease, color 0.35s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  color: var(--white);
  box-shadow: 0 8px 24px -8px rgba(184,134,91,0.55);
}
.btn-primary:hover{ transform: translateY(-3px); box-shadow: 0 16px 32px -10px rgba(184,134,91,0.65); }
.btn-ghost{
  background: transparent;
  color: var(--dark);
  border: 1px solid rgba(43,43,43,0.25);
}
.btn-ghost:hover{ border-color: var(--dark); background: rgba(43,43,43,0.04); transform: translateY(-3px); }
.btn-light{
  background: rgba(255,255,255,0.14);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(10px);
}
.btn-light:hover{ background: rgba(255,255,255,0.24); transform: translateY(-3px); }
.btn-sm{ padding: 0.8rem 1.6rem; font-size: var(--fs-xs); }
.btn svg{ width: 16px; height: 16px; transition: transform 0.4s var(--ease); }
.btn:hover svg{ transform: translateX(3px); }

/* ---------------------------------------------------------------------- *
 * 5. NAVIGATION
 * ---------------------------------------------------------------------- */
.navbar{
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 1.6rem 0;
  transition: all 0.5s var(--ease);
}
.navbar.is-scrolled{
  padding: 1rem 0;
  background: rgba(250, 248, 245, 0.82);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--line);
}
.navbar .container{ display: flex; align-items: center; justify-content: space-between; }

.brand{ display: flex; align-items: center; gap: 0.8rem; }
.brand-mark{ width: 40px; height: 40px; flex-shrink: 0; }
.brand-text{ display: flex; flex-direction: column; line-height: 1.1; }
.brand-text .name{ font-family: var(--font-display); font-size: 1.35rem; color: var(--dark); letter-spacing: 0.01em; }
.brand-text .sub{ font-family: var(--font-accent); font-style: italic; font-size: 0.78rem; color: var(--primary); }

.nav-links{ display: flex; align-items: center; gap: 2.4rem; }
.nav-links a{
  font-size: 0.9rem; font-weight: 500; color: var(--dark);
  position: relative; padding: 0.3rem 0;
}
.nav-links a::after{
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--primary);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after{ width: 100%; }
.nav-links a.active{ color: var(--primary); }

.nav-cta{ display: flex; align-items: center; gap: 1.2rem; }

.nav-toggle{
  display: none;
  flex-direction: column; gap: 5px;
  width: 26px;
  z-index: 1001;
}
.nav-toggle span{
  width: 100%; height: 1.5px; background: var(--dark);
  transition: all 0.4s var(--ease);
}
.nav-toggle.is-open span:nth-child(1){ transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2){ opacity: 0; }
.nav-toggle.is-open span:nth-child(3){ transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu{
  position: fixed; inset: 0; z-index: 1000;
  background: var(--bg);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2.2rem;
  opacity: 0; visibility: hidden;
  transform: translateY(-12px);
  transition: all 0.5s var(--ease);
}
.mobile-menu.is-open{ opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-menu a{ font-family: var(--font-display); font-size: 2rem; color: var(--dark); }
.mobile-menu .btn{ margin-top: 1rem; }

/* ---------------------------------------------------------------------- *
 * 6. HERO
 * ---------------------------------------------------------------------- */
.hero{
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before{
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 700px 500px at 85% 10%, var(--gold-soft), transparent 60%),
    radial-gradient(ellipse 600px 500px at 5% 90%, rgba(184,134,91,0.14), transparent 60%);
  pointer-events: none;
}
.hero .container{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.hero-copy .eyebrow{ opacity: 0; animation: fadeUp 0.9s var(--ease) 0.15s forwards; }
.hero-copy h1{
  font-size: clamp(2.6rem, 5vw, var(--fs-4xl));
  color: var(--dark);
  opacity: 0; animation: fadeUp 1s var(--ease) 0.3s forwards;
}
.hero-copy h1 em{
  font-style: italic;
  color: var(--primary);
  background: linear-gradient(120deg, var(--primary), var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy p{
  margin-top: 1.6rem;
  font-size: var(--fs-lg);
  font-weight: 300;
  color: var(--secondary);
  max-width: 480px;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.45s forwards;
}
.hero-actions{
  margin-top: 2.6rem;
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.6s forwards;
}
.hero-trust{
  margin-top: 3rem;
  display: flex; align-items: center; gap: 1rem;
  opacity: 0; animation: fadeUp 1s var(--ease) 0.75s forwards;
}
.hero-trust .stars{ color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.hero-trust .label{ font-size: var(--fs-xs); color: var(--secondary); }
.hero-trust .label strong{ color: var(--dark); }

.hero-visual{
  position: relative;
  opacity: 0; animation: fadeIn 1.2s var(--ease) 0.4s forwards;
}
.hero-frame{
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: 0 40px 80px -24px rgba(var(--shadow-color), 0.35), 0 4px 12px rgba(var(--shadow-color),0.12);
  transform: rotate(1.2deg);
}
.hero-frame img{ width: 100%; height: 640px; object-fit: cover; }
.hero-frame::after{
  content: '';
  position: absolute; inset: 0;
  border-radius: var(--r-xl);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.4);
}
.hero-badge{
  position: absolute;
  bottom: -1.6rem; left: -2.2rem;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 1.3rem 1.6rem;
  box-shadow: 0 20px 40px -16px rgba(var(--shadow-color), 0.28);
  display: flex; align-items: center; gap: 0.9rem;
  max-width: 250px;
  animation: floatY 5s ease-in-out infinite;
}
.hero-badge .icon{
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); flex-shrink: 0;
}
.hero-badge .icon svg{ width: 20px; height: 20px; }
.hero-badge strong{ display: block; font-size: 0.85rem; color: var(--dark); }
.hero-badge span{ font-size: 0.75rem; color: var(--secondary); }

.hero-corner{
  position: absolute; width: 46px; height: 46px;
  border-color: var(--gold);
  opacity: 0.85;
}
.hero-corner.tl{ top: -14px; left: -14px; border-top: 2px solid; border-left: 2px solid; }
.hero-corner.br{ bottom: -14px; right: -14px; border-bottom: 2px solid; border-right: 2px solid; }

.scroll-indicator{
  position: absolute; bottom: 2.2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0; animation: fadeIn 1s ease 1.2s forwards;
}
.scroll-indicator span{ font-size: var(--fs-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); }
.scroll-indicator .line{
  width: 1px; height: 46px;
  background: linear-gradient(var(--primary), transparent);
  position: relative; overflow: hidden;
}
.scroll-indicator .line::after{
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: linear-gradient(var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes fadeUp{ from{ opacity: 0; transform: translateY(24px); } to{ opacity: 1; transform: translateY(0); } }
@keyframes fadeIn{ from{ opacity: 0; } to{ opacity: 1; } }
@keyframes floatY{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-10px); } }
@keyframes scrollLine{ 0%{ top: -100%; } 100%{ top: 100%; } }

/* ---------------------------------------------------------------------- *
 * 7. FEATURED CATEGORIES
 * ---------------------------------------------------------------------- */
.categories-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.cat-card{
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--accent);
  box-shadow: 0 1px 2px var(--line);
  transition: box-shadow 0.5s var(--ease);
}
.cat-card::before{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,43,43,0) 40%, rgba(20,14,8,0.82) 100%);
  z-index: 1;
  transition: opacity 0.5s ease;
}
.cat-card img{
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease);
}
.cat-card:hover img{ transform: scale(1.08); }
.cat-card:hover{ box-shadow: 0 24px 48px -18px rgba(var(--shadow-color), 0.4); }
.cat-label{
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 1.5rem 1.3rem;
  color: var(--white);
}
.cat-label .num{ font-size: var(--fs-2xs); letter-spacing: 0.12em; color: var(--accent); opacity: 0.85; }
.cat-label h3{ font-size: 1.15rem; margin-top: 0.25rem; font-weight: 500; }

/* ---------------------------------------------------------------------- *
 * 8. WHY CHOOSE US
 * ---------------------------------------------------------------------- */
.why-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.6rem;
}
.why-item{ text-align: left; }
.why-icon{
  width: 58px; height: 58px;
  border-radius: 50%;
  background: linear-gradient(150deg, var(--white), var(--bg));
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  margin-bottom: 1.4rem;
  box-shadow: 0 10px 24px -12px rgba(var(--shadow-color),0.18);
}
.why-icon svg{ width: 24px; height: 24px; }
.why-item h3{ font-size: 1.2rem; margin-bottom: 0.6rem; color: var(--dark); }
.why-item p{ font-size: var(--fs-sm); color: var(--secondary); font-weight: 300; }

/* ---------------------------------------------------------------------- *
 * 9. ABOUT SECTION (home teaser + about page)
 * ---------------------------------------------------------------------- */
.about-split{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.about-visual{ position: relative; }
.about-visual .frame-main{
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(var(--shadow-color), 0.3);
}
.about-visual .frame-main img{ width: 100%; height: 560px; object-fit: cover; }
.about-visual .frame-float{
  position: absolute; width: 46%;
  bottom: -2.5rem; left: -2.5rem;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: 0 20px 44px -14px rgba(var(--shadow-color), 0.32);
}
.about-visual .frame-float img{ width: 100%; height: 220px; object-fit: cover; }
.about-copy .eyebrow{ margin-bottom: 1rem; }
.about-copy h2{ font-size: var(--fs-3xl); margin-bottom: 1.4rem; }
.about-copy p{ color: var(--secondary); font-weight: 300; font-size: var(--fs-md); margin-bottom: 1.1rem; }
.about-copy p:last-of-type{ margin-bottom: 0; }
.about-signature{
  margin-top: 2.2rem;
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--primary);
}
.about-stats{
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 2.6rem;
  padding-top: 2.2rem; border-top: 1px solid var(--line);
}
.about-stats .stat b{
  display: block; font-family: var(--font-display); font-size: 2.1rem; color: var(--dark);
}
.about-stats .stat span{ font-size: var(--fs-xs); color: var(--secondary); }

/* ---------------------------------------------------------------------- *
 * 10. HOW IT WORKS
 * ---------------------------------------------------------------------- */
.steps-wrap{ position: relative; }
.steps-grid{
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  position: relative;
}
.steps-grid::before{
  content: '';
  position: absolute; top: 34px; left: 12%; right: 12%; height: 1px;
  background: repeating-linear-gradient(90deg, var(--gold) 0 8px, transparent 8px 16px);
  opacity: 0.6;
}
.step-card{ position: relative; text-align: center; padding: 0 0.8rem; }
.step-num{
  width: 68px; height: 68px; margin: 0 auto 1.6rem;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.5rem; color: var(--primary);
  position: relative; z-index: 1;
  box-shadow: 0 14px 30px -14px rgba(var(--shadow-color),0.25);
}
.step-card h3{ font-size: 1.15rem; margin-bottom: 0.6rem; }
.step-card p{ font-size: var(--fs-sm); color: var(--secondary); font-weight: 300; }

/* ---------------------------------------------------------------------- *
 * 11. BEFORE / AFTER
 * ---------------------------------------------------------------------- */
.ba-track{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.ba-card{
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  box-shadow: 0 20px 44px -18px rgba(var(--shadow-color), 0.28);
}
.ba-card img{ width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ba-card:hover img{ transform: scale(1.05); }
.ba-tag{
  position: absolute; top: 1.1rem; left: 1.1rem;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  color: var(--secondary);
  font-size: var(--fs-2xs);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 100px;
}

/* ---------------------------------------------------------------------- *
 * 12. GALLERY / MASONRY
 * ---------------------------------------------------------------------- */
.gallery-filters{
  display: flex; flex-wrap: wrap; gap: 0.7rem;
  margin-bottom: 3rem;
}
.filter-btn{
  padding: 0.65rem 1.4rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  font-size: var(--fs-xs); font-weight: 500;
  color: var(--secondary);
  transition: all 0.35s ease;
}
.filter-btn:hover{ border-color: var(--primary); color: var(--primary); }
.filter-btn.active{ background: var(--dark); border-color: var(--dark); color: var(--white); }

.masonry{
  columns: 3 240px;
  column-gap: 1.4rem;
}
.masonry-item{
  break-inside: avoid;
  margin-bottom: 1.4rem;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 1px 2px var(--line);
  transition: box-shadow 0.5s var(--ease), opacity 0.5s ease, transform 0.5s ease;
}
.masonry-item.is-hidden{ display: none; }
.masonry-item img{ width: 100%; display: block; transition: transform 1s var(--ease); }
.masonry-item .m-overlay{
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(43,43,43,0) 45%, rgba(20,14,8,0.86) 100%);
  opacity: 0; transition: opacity 0.45s ease;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.4rem;
  color: var(--white);
}
.masonry-item:hover .m-overlay{ opacity: 1; }
.masonry-item:hover img{ transform: scale(1.06); }
.masonry-item .m-cat{ font-size: var(--fs-2xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.masonry-item .m-title{ font-family: var(--font-display); font-size: 1.05rem; margin-top: 0.3rem; }
.masonry-item .m-zoom{
  position: absolute; top: 1rem; right: 1rem;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.9);
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  opacity: 0; transform: scale(0.7);
  transition: all 0.4s var(--ease);
}
.masonry-item:hover .m-zoom{ opacity: 1; transform: scale(1); }
.masonry-item .m-zoom svg{ width: 16px; height: 16px; }

/* Lightbox */
.lightbox{
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(20,14,8,0.92);
  display: flex; align-items: center; justify-content: center;
  padding: 3rem;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.lightbox.is-open{ opacity: 1; visibility: visible; }
.lightbox img{ max-width: 90vw; max-height: 82vh; border-radius: var(--r-sm); box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lightbox-close, .lightbox-next, .lightbox-prev{
  position: absolute; color: var(--white);
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s ease;
}
.lightbox-close:hover, .lightbox-next:hover, .lightbox-prev:hover{ background: rgba(255,255,255,0.25); }
.lightbox-close{ top: 2rem; right: 2rem; }
.lightbox-prev{ left: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 2rem; top: 50%; transform: translateY(-50%); }
.lightbox svg{ width: 18px; height: 18px; }
.lightbox-caption{
  position: absolute; bottom: 2.2rem; left: 50%; transform: translateX(-50%);
  color: var(--accent); font-size: var(--fs-xs); letter-spacing: 0.06em;
}

/* ---------------------------------------------------------------------- *
 * 13. PRICING
 * ---------------------------------------------------------------------- */
.pricing-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
  align-items: stretch;
}
.price-card{
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  padding: 2.8rem 2.4rem;
  display: flex; flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
  position: relative;
}
.price-card:hover{ transform: translateY(-8px); box-shadow: 0 30px 60px -22px rgba(var(--shadow-color), 0.3); }
.price-card.featured{
  background: linear-gradient(165deg, var(--secondary), #4f3627);
  color: var(--white);
  border: none;
  transform: scale(1.03);
}
.price-card.featured:hover{ transform: scale(1.03) translateY(-8px); }
.price-badge{
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--dark);
  font-size: var(--fs-2xs); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.5rem 1.1rem; border-radius: 100px; font-weight: 600;
}
.price-card .p-name{ font-size: 1.15rem; font-weight: 500; margin-bottom: 0.4rem; }
.price-card .p-sub{ font-size: var(--fs-xs); opacity: 0.7; margin-bottom: 1.8rem; }
.price-card .p-amount{ font-family: var(--font-display); font-size: 3rem; margin-bottom: 0.3rem; }
.price-card .p-amount sup{ font-size: 1.2rem; top: -1.2rem; }
.price-card .p-note{ font-size: var(--fs-xs); opacity: 0.65; margin-bottom: 2rem; }
.price-features{ margin-bottom: 2.2rem; flex-grow: 1; }
.price-features li{
  display: flex; align-items: flex-start; gap: 0.7rem;
  font-size: var(--fs-sm); padding: 0.55rem 0;
  border-bottom: 1px solid rgba(43,43,43,0.06);
}
.price-card.featured .price-features li{ border-bottom: 1px solid rgba(255,255,255,0.12); }
.price-features li svg{ width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; margin-top: 3px; }
.price-card.featured .price-features li svg{ color: var(--gold); }
.price-card .btn{ width: 100%; }
.pricing-addon{
  margin-top: 2.4rem;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--white);
  border: 1px dashed var(--primary);
  border-radius: var(--r-md);
  padding: 1.5rem 2rem;
  flex-wrap: wrap; gap: 1rem;
}
.pricing-addon .a-text strong{ color: var(--dark); }
.pricing-addon .a-price{ font-family: var(--font-display); font-size: 1.6rem; color: var(--primary); }

/* ---------------------------------------------------------------------- *
 * 14. TESTIMONIALS
 * ---------------------------------------------------------------------- */
.testimonial-slider{ position: relative; overflow: hidden; }
.testimonial-track{
  display: flex;
  transition: transform 0.7s var(--ease);
}
.t-slide{
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.t-card{
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.2rem;
  border: 1px solid var(--line);
}
.t-stars{ color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 1.2rem; }
.t-card p{ font-size: var(--fs-sm); color: var(--secondary); font-style: italic; margin-bottom: 1.6rem; }
.t-person{ display: flex; align-items: center; gap: 0.9rem; }
.t-avatar{
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-family: var(--font-display); font-size: 1rem;
  flex-shrink: 0;
}
.t-person strong{ display: block; font-size: 0.88rem; color: var(--dark); }
.t-person span{ font-size: 0.76rem; color: var(--secondary); }
.t-controls{ display: flex; justify-content: center; gap: 0.8rem; margin-top: 2.6rem; }
.t-dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: all 0.4s ease; }
.t-dot.active{ background: var(--primary); width: 22px; border-radius: 4px; }

/* ---------------------------------------------------------------------- *
 * 15. FAQ
 * ---------------------------------------------------------------------- */
.faq-list{ max-width: 780px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid var(--line);
}
.faq-q{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.6rem 0;
  text-align: left;
  font-size: 1.05rem; font-weight: 500; color: var(--dark);
  gap: 1.5rem;
}
.faq-q .plus{
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative;
  transition: all 0.4s var(--ease);
}
.faq-q .plus::before, .faq-q .plus::after{
  content: ''; position: absolute; background: var(--primary);
}
.faq-q .plus::before{ width: 11px; height: 1.5px; }
.faq-q .plus::after{ width: 1.5px; height: 11px; transition: transform 0.4s var(--ease); }
.faq-item.is-open .faq-q .plus{ background: var(--primary); border-color: var(--primary); }
.faq-item.is-open .faq-q .plus::before, .faq-item.is-open .faq-q .plus::after{ background: var(--white); }
.faq-item.is-open .faq-q .plus::after{ transform: rotate(90deg); opacity: 0; }
.faq-a{
  max-height: 0; overflow: hidden;
  transition: max-height 0.5s var(--ease);
}
.faq-a p{ padding-bottom: 1.6rem; color: var(--secondary); font-weight: 300; font-size: var(--fs-sm); max-width: 640px; }

/* ---------------------------------------------------------------------- *
 * 16. SECURE PAYMENTS
 * ---------------------------------------------------------------------- */
.payments-strip{
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 3rem clamp(1.5rem, 5vw, 4rem);
  display: flex; align-items: center; justify-content: space-between;
  gap: 2.5rem; flex-wrap: wrap;
  border: 1px solid var(--line);
}
.payments-text h3{ font-size: 1.4rem; margin-bottom: 0.5rem; }
.payments-text p{ color: var(--secondary); font-size: var(--fs-sm); max-width: 380px; font-weight: 300; }
.payments-icons{ display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.pay-icon{
  height: 42px; padding: 0 1.1rem;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  font-size: var(--fs-2xs); font-weight: 600; letter-spacing: 0.02em;
  color: var(--secondary);
}

/* ---------------------------------------------------------------------- *
 * 17. CONTACT
 * ---------------------------------------------------------------------- */
.contact-grid{
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
}
.contact-info-card{
  background: linear-gradient(165deg, var(--secondary), #4a3320);
  border-radius: var(--r-lg);
  padding: 3rem 2.6rem;
  color: var(--white);
  height: 100%;
}
.contact-info-card h3{ font-size: 1.7rem; margin-bottom: 0.9rem; }
.contact-info-card > p{ font-weight: 300; opacity: 0.85; margin-bottom: 2.4rem; font-size: var(--fs-sm); }
.contact-line{
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.contact-line:last-child{ border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact-line .c-icon{
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-line .c-icon svg{ width: 18px; height: 18px; }
.contact-line span{ display: block; font-size: 0.72rem; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.08em; }
.contact-line strong{ font-weight: 500; font-size: 0.95rem; }

.form-card{
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2.8rem;
  border: 1px solid var(--line);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; }
.field{ margin-bottom: 1.3rem; }
.field label{ display: block; font-size: var(--fs-xs); font-weight: 500; margin-bottom: 0.5rem; color: var(--dark); }
.field input, .field select, .field textarea{
  width: 100%;
  padding: 0.9rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--dark);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field textarea{ resize: vertical; min-height: 130px; }
.field-error{ font-size: var(--fs-2xs); color: #b8433f; margin-top: 0.4rem; display: none; }
.field.has-error input, .field.has-error textarea{ border-color: #b8433f; }
.field.has-error .field-error{ display: block; }
.form-note{ font-size: var(--fs-2xs); color: var(--secondary); margin-top: 1rem; }
.form-success{
  display: none;
  align-items: center; gap: 0.8rem;
  background: rgba(184,134,91,0.1);
  color: var(--primary-deep);
  padding: 1rem 1.3rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  margin-bottom: 1.3rem;
}
.form-success.is-visible{ display: flex; }

/* ---------------------------------------------------------------------- *
 * 18. CTA BAND
 * ---------------------------------------------------------------------- */
.cta-band{
  background: linear-gradient(165deg, var(--dark), #1a1512);
  border-radius: var(--r-xl);
  padding: clamp(3rem, 8vw, 6rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 600px 400px at 50% 0%, rgba(200,169,106,0.18), transparent 70%);
}
.cta-band .eyebrow{ justify-content: center; color: var(--gold); }
.cta-band .eyebrow::before{ display: none; }
.cta-band h2{ color: var(--white); font-size: var(--fs-3xl); max-width: 700px; margin: 0 auto; position: relative; }
.cta-band p{ color: var(--accent); font-weight: 300; margin: 1.4rem auto 2.4rem; max-width: 520px; position: relative; }
.cta-band .hero-actions{ justify-content: center; opacity: 1; animation: none; position: relative; }

/* ---------------------------------------------------------------------- *
 * 19. FOOTER
 * ---------------------------------------------------------------------- */
footer{ background: var(--dark); color: rgba(255,255,255,0.7); padding-top: 6rem; }
.footer-top{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .brand-text .name{ color: var(--white); }
.footer-brand p{ margin-top: 1.3rem; font-size: var(--fs-sm); font-weight: 300; max-width: 300px; line-height: 1.7; }
.footer-social{ display: flex; gap: 0.8rem; margin-top: 1.6rem; }
.footer-social a{
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s ease;
}
.footer-social a:hover{ background: var(--primary); border-color: var(--primary); transform: translateY(-3px); }
.footer-social svg{ width: 16px; height: 16px; }
.footer-col h4{
  font-family: var(--font-body); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--white); font-weight: 600; margin-bottom: 1.5rem;
}
.footer-col ul li{ margin-bottom: 0.9rem; }
.footer-col a{ font-size: var(--fs-sm); font-weight: 300; transition: color 0.3s ease, padding-left 0.3s ease; }
.footer-col a:hover{ color: var(--gold); padding-left: 4px; }
.footer-bottom{
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 0; font-size: var(--fs-2xs); flex-wrap: wrap; gap: 1rem;
}
.footer-bottom-links{ display: flex; gap: 1.5rem; }

/* Back to top */
.back-to-top{
  position: fixed; bottom: 6.4rem; right: 2rem; z-index: 500;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--dark); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: all 0.4s var(--ease);
  box-shadow: 0 12px 28px -10px rgba(var(--shadow-color), 0.4);
}
.back-to-top.is-visible{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top svg{ width: 18px; height: 18px; }

/* Floating WhatsApp */
.whatsapp-float{
  position: fixed; bottom: 2rem; right: 2rem; z-index: 500;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: var(--white);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6);
  animation: pulseWa 2.6s ease-in-out infinite;
}
.whatsapp-float svg{ width: 26px; height: 26px; }
@keyframes pulseWa{ 0%,100%{ box-shadow: 0 14px 30px -10px rgba(37,211,102,0.6); } 50%{ box-shadow: 0 14px 30px -6px rgba(37,211,102,0.85); } }

/* ---------------------------------------------------------------------- *
 * 20. SCROLL REVEAL
 * ---------------------------------------------------------------------- */
.reveal{ opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
.reveal-delay-1{ transition-delay: 0.1s; }
.reveal-delay-2{ transition-delay: 0.2s; }
.reveal-delay-3{ transition-delay: 0.3s; }
.reveal-delay-4{ transition-delay: 0.4s; }

/* ---------------------------------------------------------------------- *
 * 21. INNER PAGE HEADER (about/gallery/pricing/contact banners)
 * ---------------------------------------------------------------------- */
.page-header{
  padding: 11rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before{
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 50% 0%, var(--gold-soft), transparent 70%);
}
.page-header .eyebrow{ justify-content: center; }
.page-header h1{ font-size: clamp(2.4rem, 5vw, 3.6rem); position: relative; }
.page-header p{ max-width: 560px; margin: 1.2rem auto 0; color: var(--secondary); font-weight: 300; font-size: var(--fs-lg); position: relative; }
.breadcrumb{
  display: flex; justify-content: center; gap: 0.5rem;
  font-size: var(--fs-xs); color: var(--secondary); margin-bottom: 1.2rem; position: relative;
}
.breadcrumb a:hover{ color: var(--primary); }
.breadcrumb .sep{ opacity: 0.4; }

/* ---------------------------------------------------------------------- *
 * 22. POLICY PAGES
 * ---------------------------------------------------------------------- */
.policy-body{ padding: 4rem 0 7rem; }
.policy-body h2{ font-size: 1.5rem; margin: 2.6rem 0 1rem; color: var(--dark); }
.policy-body h2:first-child{ margin-top: 0; }
.policy-body p{ color: var(--secondary); font-weight: 300; margin-bottom: 1rem; }
.policy-body ul{ margin: 0 0 1rem 0; }
.policy-body li{
  color: var(--secondary); font-weight: 300; padding-left: 1.4rem; position: relative; margin-bottom: 0.6rem;
}
.policy-body li::before{
  content: ''; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--primary);
}
.policy-updated{ font-size: var(--fs-xs); color: var(--primary); margin-bottom: 2.5rem; display: inline-block; }
.policy-toc{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 1.8rem 2rem; margin-bottom: 3rem;
}
.policy-toc h4{ font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem; color: var(--dark); }
.policy-toc ol{ padding-left: 1.2rem; }
.policy-toc li{ padding-left: 0; font-size: var(--fs-sm); margin-bottom: 0.5rem; }
.policy-toc li::before{ display: none; }
.policy-toc a:hover{ color: var(--primary); }

/* ---------------------------------------------------------------------- *
 * 23. MISC PAGE ELEMENTS (about page extras, pricing FAQ small print)
 * ---------------------------------------------------------------------- */
.value-grid{ display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; }
.value-card{ background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 2.4rem; }
.value-card .why-icon{ margin-bottom: 1.6rem; }
.value-card h3{ font-size: 1.15rem; margin-bottom: 0.7rem; }
.value-card p{ font-size: var(--fs-sm); color: var(--secondary); font-weight: 300; }

.process-quote{
  max-width: 780px; margin: 0 auto; text-align: center;
  font-family: var(--font-accent); font-style: italic; font-size: 1.7rem; color: var(--secondary);
  line-height: 1.5;
}
.process-quote span{ color: var(--primary); }

.team-note{
  display: flex; align-items: center; gap: 1.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 2rem; max-width: 560px; margin: 3rem auto 0;
}
.team-note .t-avatar{ width: 60px; height: 60px; font-size: 1.4rem; }
.team-note p{ font-size: var(--fs-sm); color: var(--secondary); font-style: italic; }
.team-note strong{ display: block; color: var(--dark); font-style: normal; margin-bottom: 0.2rem; }

/* Loading animation */
.page-loader{
  position: fixed; inset: 0; z-index: 3000;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.page-loader.is-hidden{ opacity: 0; visibility: hidden; }
.loader-mark{
  width: 54px; height: 54px;
  border: 1.5px solid var(--line);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
@keyframes spin{ to{ transform: rotate(360deg); } }
