/*
 * CLIAKE STUDIO — styles.css
 * Self Photo Studio | Cubao Expo, Quezon City & Katipunan-Xavierville
 *
 * PALETTE: Pure White + Warm Black + Electric Coral + Soft Lavender
 * --dark:      #0F0C14  (near-black deep violet-black — editorial, strong, studio backdrop)
 * --accent:    #E84060  (vivid coral-pink — matches the brand's youthful, pop energy)
 * --highlight: #A888E8  (soft electric lavender — contrasts accent, modern K-studio vibe)
 * --cream:     #FAF7FF  (near-white with faint violet tone — airy, clean studio feel)
 * --bg-alt:    #1C1528  (dark muted indigo — depth variation, studio ambient)
 *
 * FONTS: Dela Gothic One (display — bold, graphic, contemporary pop poster energy)
 *        + Plus Jakarta Sans (body — clean modern humanist, very legible)
 *
 * RATIONALE: Cliake Studio is a youthful, fun self photo studio popular with students
 * and young professionals in Quezon City. The palette avoids every brown/amber/coffee/
 * forest/navy/teal/rose/plum combo used in the hospitality-heavy portfolio.
 * Instead: deep violet-black dark + electric coral accent + soft lavender highlight
 * creates a distinctive, Instagrammable, K-aesthetics-influenced studio brand.
 * Dela Gothic One is a bold display serif with graphic poster energy (first use).
 * Plus Jakarta Sans is a refined geometric humanist body (first use in this portfolio).
 *
 * SECTIONS:
 * 01. Custom Properties & Reset
 * 02. Typography
 * 03. Navbar
 * 04. Hero / Page Hero
 * 05. Buttons
 * 06. Features Strip
 * 07. Portfolio Grid
 * 08. Brand Teaser / Split Layout
 * 09. Stats Row
 * 10. Review Cards
 * 11. Social CTA
 * 12. Social Feed Grid
 * 13. About Sections
 * 14. Philosophy & Values
 * 15. Timeline
 * 16. Portfolio Category Tiles
 * 17. Portfolio Service List
 * 18. Gallery (Masonry + Lightbox)
 * 19. Contact Form & Blocks
 * 20. FAQ
 * 21. Footer
 * 22. Animations & Utilities
 */

/* ============================================================
   01. CUSTOM PROPERTIES & RESET
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Dela+Gothic+One&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&display=swap');

:root {
  --dark:     #0F0C14;
  --accent:   #E84060;
  --highlight:#A888E8;
  --cream:    #FAF7FF;
  --bg-alt:   #1C1528;

  --nav-h:    70px;
  --hero-page-img: url('images/banner.jpg');

  --font-display: 'Dela Gothic One', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;

  --radius-sm:  6px;
  --radius-md:  14px;
  --radius-lg:  24px;
  --shadow-card: 0 4px 24px rgba(15,12,20,0.18);
  --shadow-hover:0 12px 40px rgba(232,64,96,0.22);
  --transition:  0.3s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--accent); color: var(--cream); }

/* ============================================================
   02. TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.1; }
h1 { font-size: clamp(2.4rem, 6vw, 5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
p  { font-size: 1rem; color: #4A4460; }
.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-intro { font-size: 1.1rem; max-width: 620px; }

/* ============================================================
   03. NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center;
  padding: 0 5%;
  transition: background var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: rgba(15,12,20,0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  flex: 0 0 auto;
}
.nav-logo img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.nav-logo-name {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  margin-left: auto; margin-right: 2rem;
}
.nav-links a {
  color: rgba(250,247,255,0.82);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.nav-links a:hover { color: var(--cream); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--cream); }
.nav-cta {
  background: var(--accent);
  color: var(--cream) !important;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.88rem;
  transition: background var(--transition), transform var(--transition);
}
.nav-cta:hover { background: #d03555 !important; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  margin-left: auto;
  padding: 8px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--cream);
  transition: var(--transition);
  transform-origin: center;
}
.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); }

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(15,12,20,0.98);
    flex-direction: column; gap: 0;
    align-items: stretch;
    padding: 1rem 0 2rem;
    transform: translateY(-110%);
    transition: transform var(--transition);
    margin: 0;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 1rem 5%;
    font-size: 1rem;
    border-bottom: 1px solid rgba(250,247,255,0.08);
  }
  .nav-cta {
    margin: 1rem 5% 0;
    text-align: center;
    border-radius: var(--radius-md);
  }
  .nav-cta::after { display: none !important; }
}

/* ============================================================
   04. HERO / PAGE HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-page-img);
  background-size: cover;
  background-position: center top;
  opacity: 0.38;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,12,20,0.92) 0%, rgba(15,12,20,0.5) 60%, rgba(168,136,232,0.15) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 5%;
  padding-top: var(--nav-h);
  max-width: 800px;
}
.hero-badge {
  display: inline-block;
  background: rgba(232,64,96,0.18);
  border: 1px solid rgba(232,64,96,0.4);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--cream); margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(250,247,255,0.75);
  margin-bottom: 0.6rem;
  font-weight: 400;
}
.hero-tagline {
  font-size: 1.05rem;
  color: rgba(250,247,255,0.62);
  margin-bottom: 2.2rem;
  font-style: italic;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(250,247,255,0.5);
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: bob 2s ease-in-out infinite;
}
.scroll-indicator svg { width: 20px; height: 20px; }
@keyframes bob { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

/* Page Hero (interior pages) */
.page-hero {
  position: relative;
  height: min(60vh, 500px);
  display: flex; align-items: flex-end;
  overflow: hidden;
  background: var(--dark);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-page-img);
  background-size: cover; background-position: center;
  opacity: 0.35;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,20,0.95) 0%, rgba(15,12,20,0.3) 100%);
}
.page-hero-content {
  position: relative; z-index: 2;
  padding: 3rem 5%;
  width: 100%;
}
.page-hero-content h1 { color: var(--cream); margin-bottom: 0.5rem; }
.page-hero-content p  { color: rgba(250,247,255,0.65); font-size: 1.05rem; }

/* ============================================================
   05. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.75rem 1.9rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--cream);
}
.btn-primary:hover {
  background: #d03555;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,64,96,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(250,247,255,0.4);
}
.btn-outline:hover {
  border-color: var(--cream);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--dark);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.btn-lavender {
  background: var(--highlight);
  color: var(--dark);
}
.btn-lavender:hover {
  background: #9470d8;
  color: var(--cream);
  transform: translateY(-2px);
}

/* ============================================================
   06. FEATURES STRIP
   ============================================================ */
.features {
  background: var(--dark);
  padding: 4rem 5%;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem;
}
.feature-item {
  text-align: center;
}
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(232,64,96,0.12);
  border: 1.5px solid rgba(232,64,96,0.25);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
  color: var(--accent);
}
.feature-icon svg { width: 26px; height: 26px; }
.feature-item h4 {
  font-size: 0.95rem;
  color: var(--cream);
  margin-bottom: 0.4rem;
}
.feature-item p {
  font-size: 0.82rem;
  color: rgba(250,247,255,0.5);
  line-height: 1.5;
}

/* ============================================================
   07. PORTFOLIO GRID
   ============================================================ */
.portfolio-grid-section {
  padding: 5rem 5%;
  background: var(--cream);
}
.section-header {
  margin-bottom: 2.5rem;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.portfolio-item {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-alt);
}
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-item-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,20,0.88) 0%, transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex; align-items: flex-end; padding: 1.2rem;
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }
.portfolio-item-info h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.2rem; }
.portfolio-item-info .category-tag {
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   08. BRAND TEASER / SPLIT LAYOUT
   ============================================================ */
.brand-teaser {
  padding: 5rem 5%;
  background: var(--bg-alt);
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }
.split-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
}
.split-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.split-image-accent {
  position: absolute;
  width: 100px; height: 100px;
  background: var(--accent);
  border-radius: 50%;
  top: -20px; right: -20px;
  opacity: 0.18;
  filter: blur(30px);
}
.split-text h2 { color: var(--cream); margin-bottom: 1.5rem; }
.split-text p  { color: rgba(250,247,255,0.68); margin-bottom: 1rem; }
.split-text .btn { margin-top: 1rem; }

/* ============================================================
   09. STATS ROW
   ============================================================ */
.stats {
  background: var(--dark);
  padding: 3.5rem 5%;
  border-top: 1px solid rgba(250,247,255,0.06);
  border-bottom: 1px solid rgba(250,247,255,0.06);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.stat-item {
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(250,247,255,0.08);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(250,247,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   10. REVIEW CARDS
   ============================================================ */
.reviews {
  padding: 5rem 5%;
  background: var(--cream);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.review-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-card);
  position: relative;
  border: 1px solid rgba(168,136,232,0.12);
}
.review-quote-mark {
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  opacity: 0.25;
  margin-bottom: 0.5rem;
  font-family: var(--font-display);
}
.review-text {
  font-size: 0.95rem;
  color: #3A2A50;
  line-height: 1.7;
  margin-bottom: 1.2rem;
}
.review-author { display: flex; align-items: center; gap: 0.8rem; }
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--highlight));
  display: flex; align-items: center; justify-content: center;
  color: var(--cream);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.review-meta h5 { font-family: var(--font-display); font-size: 0.88rem; color: var(--dark); }
.review-meta span { font-size: 0.75rem; color: #A898C0; }
.review-stars { color: #FFB347; font-size: 0.85rem; letter-spacing: 2px; margin-bottom: 0.3rem; }

/* ============================================================
   11. SOCIAL CTA
   ============================================================ */
.social-cta {
  background: var(--bg-alt);
  padding: 4rem 5%;
  text-align: center;
}
.social-cta h2 { color: var(--cream); margin-bottom: 0.75rem; }
.social-cta p  { color: rgba(250,247,255,0.6); margin-bottom: 2rem; max-width: 500px; margin-left: auto; margin-right: auto; }
.social-cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   12. SOCIAL FEED GRID
   ============================================================ */
.social-feed {
  padding: 5rem 5%;
  background: var(--cream);
}
.feed-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin-top: 2rem;
}
.feed-item {
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
  background: var(--bg-alt);
}
.feed-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s;
}
.feed-item:hover img { transform: scale(1.08); opacity: 0.8; }
.feed-item-overlay {
  position: absolute; inset: 0;
  background: rgba(232,64,96,0.55);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  color: var(--cream); font-size: 1.5rem;
}
.feed-item:hover .feed-item-overlay { opacity: 1; }

/* ============================================================
   13. ABOUT SECTIONS
   ============================================================ */
.about-origin {
  padding: 5rem 5%;
  background: var(--cream);
}
.about-origin .split-text h2 { color: var(--dark); }
.about-origin .split-text p  { color: #4A4460; }

/* ============================================================
   14. PHILOSOPHY CARDS & VALUES
   ============================================================ */
.philosophy {
  padding: 5rem 5%;
  background: var(--dark);
}
.philosophy h2 { color: var(--cream); text-align: center; margin-bottom: 0.5rem; }
.philosophy > p { text-align: center; color: rgba(250,247,255,0.55); margin-bottom: 3rem; }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.philosophy-card {
  background: rgba(250,247,255,0.04);
  border: 1px solid rgba(250,247,255,0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
}
.philosophy-icon {
  width: 60px; height: 60px;
  margin: 0 auto 1.2rem;
  display: flex; align-items: center; justify-content: center;
  background: rgba(232,64,96,0.1);
  border-radius: 50%;
  color: var(--accent);
}
.philosophy-icon svg { width: 28px; height: 28px; }
.philosophy-card h3 { color: var(--cream); font-size: 1.2rem; margin-bottom: 0.7rem; }
.philosophy-card p  { color: rgba(250,247,255,0.55); font-size: 0.9rem; line-height: 1.6; }

.values-section {
  padding: 5rem 5%;
  background: var(--bg-alt);
}
.values-section h2 { color: var(--cream); margin-bottom: 2.5rem; }
.values-list { display: flex; flex-direction: column; gap: 1.2rem; }
.value-item {
  display: flex; gap: 1.5rem; align-items: flex-start;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  background: rgba(250,247,255,0.03);
  border: 1px solid rgba(250,247,255,0.07);
}
.value-number {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.35;
  min-width: 60px;
  text-align: center;
  line-height: 1;
}
.value-text h4 { color: var(--cream); margin-bottom: 0.4rem; font-size: 1.05rem; }
.value-text p  { color: rgba(250,247,255,0.55); font-size: 0.88rem; }

/* ============================================================
   15. TIMELINE
   ============================================================ */
.timeline-section {
  padding: 5rem 5%;
  background: var(--dark);
}
.timeline-section h2 { color: var(--cream); text-align: center; margin-bottom: 3rem; }
.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0; width: 1px;
  background: rgba(250,247,255,0.1);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 45%;
  margin-bottom: 2.5rem;
}
.timeline-item:nth-child(odd) { margin-right: auto; padding-right: 2rem; text-align: right; }
.timeline-item:nth-child(even) { margin-left: auto; padding-left: 2rem; }
.timeline-item::before {
  content: '';
  position: absolute; top: 6px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(232,64,96,0.2);
}
.timeline-item:nth-child(odd)::before  { right: -6px; transform: translateX(50%); }
.timeline-item:nth-child(even)::before { left: -6px;  transform: translateX(-50%); }
.timeline-year {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.3rem;
}
.timeline-item h4 { color: var(--cream); font-size: 0.95rem; margin-bottom: 0.3rem; }
.timeline-item p  { color: rgba(250,247,255,0.5); font-size: 0.82rem; line-height: 1.55; }

/* ============================================================
   16. PORTFOLIO CATEGORY TILES
   ============================================================ */
.portfolio-cats {
  padding: 5rem 5%;
  background: var(--cream);
}
.portfolio-cats h2 { color: var(--dark); margin-bottom: 2rem; }
.cat-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.2rem;
  margin-bottom: 4rem;
}
.cat-tile {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  text-decoration: none;
  background: var(--bg-alt);
}
.cat-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  opacity: 0.75;
}
.cat-tile:hover img { transform: scale(1.06); opacity: 0.6; }
.cat-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,12,20,0.9) 0%, transparent 50%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 1.2rem;
}
.cat-tile h4 { color: var(--cream); font-size: 1rem; margin-bottom: 0.2rem; }
.cat-tile-count { font-size: 0.75rem; color: var(--accent); font-weight: 600; }

/* Portfolio service list */
.portfolio-service-section {
  padding: 3rem 5%;
  background: var(--cream);
  border-top: 1px solid rgba(15,12,20,0.07);
}
.service-category-header {
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--accent);
}
.service-category-header h3 { color: var(--dark); }
.service-list { display: flex; flex-direction: column; gap: 0; }
.service-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(15,12,20,0.06);
}
.service-item:last-child { border-bottom: none; }
.service-name { font-family: var(--font-display); font-size: 0.95rem; color: var(--dark); margin-bottom: 0.4rem; }
.service-desc { font-size: 0.85rem; color: #6A5A80; line-height: 1.6; }
.service-badge {
  background: rgba(168,136,232,0.12);
  color: var(--highlight);
  border: 1px solid rgba(168,136,232,0.25);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
  align-self: flex-start;
}
.portfolio-bottom-cta {
  padding: 3rem 5% 5rem;
  background: var(--cream);
  text-align: center;
}
.portfolio-bottom-cta h3 { color: var(--dark); margin-bottom: 0.75rem; }
.portfolio-bottom-cta p  { color: #6A5A80; margin-bottom: 2rem; }
.disclaimer-bar {
  background: rgba(168,136,232,0.1);
  border-left: 4px solid var(--highlight);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1rem 1.5rem;
  margin: 0 5% 2rem;
  font-size: 0.88rem;
  color: #5A4870;
}

/* ============================================================
   17. (merged above)
   ============================================================ */

/* ============================================================
   18. GALLERY (MASONRY + LIGHTBOX)
   ============================================================ */
.gallery-section {
  padding: 3rem 5%;
  background: var(--cream);
}
.gallery-filter-bar {
  display: flex; gap: 0.6rem; flex-wrap: wrap;
  margin-bottom: 2.5rem;
  padding: 0 5%;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1.5px solid rgba(15,12,20,0.15);
  color: var(--dark);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition);
}
.filter-btn.active, .filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--cream);
}
.masonry-container {
  columns: 4;
  column-gap: 12px;
  padding: 0 5% 3rem;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.masonry-item img {
  width: 100%;
  display: block;
  transition: transform 0.4s ease;
}
.masonry-item:hover img { transform: scale(1.04); }
.masonry-item-overlay {
  position: absolute; inset: 0;
  background: rgba(232,64,96,0.5);
  opacity: 0; transition: opacity var(--transition);
  display: flex; align-items: center; justify-content: center;
  color: var(--cream); font-size: 1.8rem;
}
.masonry-item:hover .masonry-item-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.94);
  display: none;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--cream);
  font-size: 2rem; cursor: pointer; line-height: 1;
  background: rgba(255,255,255,0.1);
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover { background: var(--accent); }
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  color: var(--cream); font-size: 2rem; cursor: pointer;
  background: rgba(255,255,255,0.1);
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); }
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }
.lightbox-counter {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(250,247,255,0.6);
  font-size: 0.85rem; letter-spacing: 0.1em;
}

.gallery-cta {
  padding: 3rem 5% 5rem;
  background: var(--cream);
  text-align: center;
}

/* ============================================================
   19. CONTACT FORM & BLOCKS
   ============================================================ */
.contact-main {
  padding: 5rem 5%;
  background: var(--cream);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-blocks { display: flex; flex-direction: column; gap: 1.2rem; }
.contact-block {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.4rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(168,136,232,0.1);
}
.contact-block-icon {
  width: 46px; height: 46px; flex-shrink: 0;
  background: rgba(232,64,96,0.1);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.contact-block-icon svg { width: 22px; height: 22px; }
.contact-block-text h4 { font-size: 0.85rem; font-family: var(--font-display); color: var(--dark); margin-bottom: 0.2rem; }
.contact-block-text p, .contact-block-text a {
  font-size: 0.88rem; color: #6A5A80; line-height: 1.5;
}
.contact-block-text a:hover { color: var(--accent); }

/* Form */
.contact-form-wrap {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(168,136,232,0.1);
}
.contact-form-wrap h3 { color: var(--dark); margin-bottom: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.8rem; font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid rgba(15,12,20,0.12);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--cream);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  background: #fff;
}
.form-group input.invalid,
.form-group select.invalid,
.form-group textarea.invalid {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(232,64,96,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group select { appearance: none; cursor: pointer; }
.form-submit-btn { width: 100%; }
#formSuccess {
  display: none;
  background: rgba(168,136,232,0.1);
  border: 1px solid rgba(168,136,232,0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  color: var(--dark);
  margin-top: 1rem;
}
#formSuccess h4 { margin-bottom: 0.3rem; font-size: 1.1rem; }
#formSuccess p  { font-size: 0.88rem; color: #6A5A80; }

/* Map placeholder */
.map-placeholder {
  margin: 3rem 5%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 320px;
  background: var(--bg-alt);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.75rem;
  color: rgba(250,247,255,0.5);
  font-size: 0.9rem;
}
.map-placeholder svg { width: 36px; height: 36px; opacity: 0.5; }
.map-placeholder a {
  color: var(--highlight);
  text-decoration: underline;
  font-size: 0.85rem;
}

/* ============================================================
   20. FAQ
   ============================================================ */
.faq-section {
  padding: 5rem 5%;
  background: var(--cream);
}
.faq-section h2 { color: var(--dark); margin-bottom: 2.5rem; text-align: center; }
.faq-list { max-width: 780px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(15,12,20,0.08);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--dark);
  gap: 1rem;
}
.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(232,64,96,0.1);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: transform var(--transition), background var(--transition);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  color: var(--cream);
}
.faq-answer {
  display: none;
  padding: 0 0 1.3rem;
  font-size: 0.9rem;
  color: #5A4870;
  line-height: 1.7;
}
.faq-item.active .faq-answer { display: block; }

/* ============================================================
   21. FOOTER
   ============================================================ */
footer {
  background: var(--dark);
  color: var(--cream);
  padding: 4rem 5% 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(250,247,255,0.08);
}
.footer-brand .nav-logo { margin-bottom: 1rem; }
.footer-brand .nav-logo img { border: none; }
.footer-tagline { font-size: 0.88rem; color: rgba(250,247,255,0.5); margin-bottom: 1.2rem; }
.footer-socials { display: flex; gap: 0.75rem; }
.footer-social-link {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(250,247,255,0.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(250,247,255,0.65);
  transition: background var(--transition), color var(--transition);
}
.footer-social-link:hover { background: var(--accent); color: var(--cream); }
.footer-social-link svg { width: 18px; height: 18px; }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(250,247,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--cream); }
.footer-contact-item {
  display: flex; gap: 0.6rem; align-items: flex-start;
  margin-bottom: 0.8rem;
  font-size: 0.85rem;
  color: rgba(250,247,255,0.55);
}
.footer-contact-item svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; color: var(--accent); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem;
  color: rgba(250,247,255,0.3);
}
.footer-bottom a { color: var(--accent); }

/* ============================================================
   22. ANIMATIONS & UTILITIES
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--cream);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(232,64,96,0.4);
  transform: translateY(100px);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}
.scroll-top.visible { transform: translateY(0); }
.scroll-top:hover { box-shadow: 0 8px 24px rgba(232,64,96,0.5); }
.scroll-top svg { width: 22px; height: 22px; }

.container { max-width: 1280px; margin: 0 auto; }
.text-center { text-align: center; }
.mb-sm { margin-bottom: 0.75rem; }
.mb-md { margin-bottom: 1.5rem; }
.mb-lg { margin-bottom: 3rem; }

/* CTA split */
.cta-split {
  background: var(--accent);
  padding: 4rem 5%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
}
.cta-split h2 { color: var(--cream); margin-bottom: 0.5rem; }
.cta-split p  { color: rgba(250,247,255,0.78); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(250,247,255,0.08); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(250,247,255,0.08); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .philosophy-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .masonry-container { columns: 3; }
}

@media (max-width: 768px) {
  .split-layout { grid-template-columns: 1fr; gap: 2rem; }
  .split-layout.reverse { direction: ltr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .feed-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 0; }
  .timeline-item { width: 100%; padding-left: 2rem; padding-right: 0; text-align: left; margin-right: 0; }
  .timeline-item:nth-child(odd)::before,
  .timeline-item:nth-child(even)::before { left: -6px; right: auto; transform: translateX(-50%); }
  .cta-split { grid-template-columns: 1fr; }
  .masonry-container { columns: 2; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .portfolio-grid { grid-template-columns: 1fr; }
  .feed-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-btns { flex-direction: column; }
  .social-cta-btns { flex-direction: column; align-items: center; }
  .masonry-container { columns: 2; }
  .cat-tiles { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
}
