/* ===== CSS VARIABLES ===== */
:root {
  --black: #0a0a0a;
  --white: #f5f2ee;
  --cream: #e8e2d9;
  --gold: #c9a84c;
  --gold-light: #e2c47a;
  --gray: #6b6b6b;
  --light-gray: #d4cfc8;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(245,242,238,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--light-gray);
  transition: all .3s;
}

.logo {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
}

/* ===== LOGO CIRCLE — uses rimba-favicon.png as a fitted circular logo ===== */
.logo-circle {
  width: 48px;
  height: 48px;
  background: url("../images/rimba-favicon.png") center/cover no-repeat;
  border-radius: 50%;
  display: block;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
}

.logo-circle::before {
  content: '';
}

/* Hide the old text fallback span when the image is present */
.logo-circle span {
  display: none;
}

.logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.15rem;
  letter-spacing: 2px;
  color: var(--black);
  line-height: 1.1;
}
.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: .6rem;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  display: block;
}

.nav-links {
  display: flex; gap: 2rem; list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  position: relative;
  transition: color .2s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width .3s;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }

.hamburger {
  display: none; flex-direction: column; gap: 5px; cursor: pointer;
  background: none; border: none; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: var(--black);
  transition: all .3s;
}

/* ===== HERO ===== */
#home {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, #1a1a1a 0%, #0a0a0a 70%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: .4;
}
.hero-lines {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 79px, rgba(201,168,76,.04) 80px);
}
.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 2rem;
  animation: fadeUp .9s ease both;
}
.hero-tag {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: .92;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 1.2rem;
}
.hero-title .gold { color: var(--gold); }
.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(245,242,238,.55);
  font-weight: 300;
  letter-spacing: 3px;
  font-family: 'Space Mono', monospace;
  margin-bottom: 2.5rem;
}
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* Single-row compact hero buttons on mobile */
.hero-btns-row { flex-wrap: nowrap; }
.btn-primary {
  background: var(--gold);
  border-radius: 8px;
  color: var(--black);
  padding: .85rem 2.2rem;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: all .25s;
  display: inline-block;
}
.btn-primary:hover {
  background: transparent;
  color: var(--gold);
}
.btn-outline {
  background: transparent;
  border-radius: 8px;
  color: var(--white);
  padding: .85rem 2.2rem;
  font-weight: 500;
  font-size: .82rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(245,242,238,.3);
  transition: all .25s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(245,242,238,.3);
  font-size: .7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: 'Space Mono', monospace;
  animation: bounce 2s infinite;
}
.hero-scroll::after {
  content: '↓';
  display: block;
  text-align: center;
  margin-top: .3rem;
  font-size: 1rem;
}

/* Rotating tagline */
.hero-rotating-wrap {
  font-size: clamp(.95rem, 2vw, 1.15rem);
  color: rgba(245,242,238,.7);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  letter-spacing: 1px;
  margin-bottom: 1.6rem;
  height: 1.6em;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.hero-rotating-prefix { white-space: nowrap; color: rgba(245,242,238,.5); }
.hero-rotating-words {
  position: relative; height: 1.6em; overflow: hidden;
  min-width: 260px; text-align: left;
}
.rw {
  position: absolute; top: 0; left: 0;
  color: var(--gold-light);
  font-weight: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s, transform .5s;
  white-space: nowrap;
}
.rw.active { opacity: 1; transform: translateY(0); }

/* Trust pills */
.hero-pills {
  display: flex; gap: .7rem; justify-content: center;
  flex-wrap: wrap; margin-bottom: 2rem;
}
.pill {
  font-size: .75rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
  color: rgba(245,242,238,.6);
  border: 1px solid rgba(245,242,238,.15);
  padding: .35rem .9rem;
  background: rgba(255,255,255,.04);
}

/* Class topics list */
.class-topics {
  list-style: none;
  margin: 1rem 0;
  display: flex; flex-direction: column; gap: .5rem;
}
.class-topics li {
  font-size: .85rem;
  color: rgba(245,242,238,.5);
  padding-left: .2rem;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTIONS COMMON ===== */
section { padding: 6rem 3rem; }
.section-label {
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.section-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}
.container { max-width: 1200px; margin: 0 auto; }

/* ===== DIGITAL MARKETING ===== */
#digital-marketing { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
/* Clickable service card link */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.service-card-link h3,
.service-card-link p { color: inherit; }
.svc-link-cta {
  display: inline-block;
  margin-top: 1rem;
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-decoration: none;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,.3);
  padding-bottom: 2px;
  transition: border-color .25s, color .25s;
}
.service-card-link:hover .svc-link-cta {
  border-color: var(--gold);
  color: var(--gold-light);
}
.service-card {
  border: 1px solid var(--cream);
  border-radius: 20px;
  padding: 2rem;
  transition: all .3s;
  position: relative;
  overflow: hidden;
  background: var(--white);
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--gold);
  transition: width .4s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,.07); }
.service-card:hover::before { width: 100%; }
.service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 1px;
  margin-bottom: .5rem;
}
.service-card p { font-size: .9rem; color: var(--gray); line-height: 1.6; }

/* ===== CLASSES ===== */
#classes { background: var(--black); }
#classes .section-title { color: var(--white); }
#classes .section-desc { color: rgba(245,242,238,.55); }
.classes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.class-card {
  border: 1px solid rgba(245,242,238,.1);
  border-radius: 15px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: all .3s;
}
.class-card:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,.04);
}
.class-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: rgba(201,168,76,.15);
  line-height: 1;
  margin-bottom: .5rem;
}
.class-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.7rem;
  color: var(--white);
  letter-spacing: 1px;
  margin-bottom: .7rem;
}
.class-card p { font-size: .9rem; color: rgba(245,242,238,.55); line-height: 1.65; }
.class-duration {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: 'Space Mono', monospace;
  font-size: .7rem;
  letter-spacing: 2px;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,.4);
  padding: .3rem .8rem;
}
.cert-badge {
  margin-top: 3rem;
  display: flex; align-items: center; gap: 1rem;
  border: 1px solid rgba(201,168,76,.3);
  padding: 1.5rem 2rem;
  max-width: 520px;
  border-radius: 10px;
}
.cert-icon { font-size: 2.5rem; }
.cert-text h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.3rem;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: .2rem;
}
.cert-text p { font-size: .85rem; color: rgba(245,242,238,.5); line-height: 1.5; }

/* ===== STUDIO ===== */
#book-studio { background: var(--cream); }
.studio-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.studio-features {
  margin-top: 2rem;
  display: flex; flex-direction: column; gap: .8rem;
}
.studio-feature {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  background: var(--white);
  border-left: 3px solid var(--gold);
}
.studio-feature-icon { font-size: 1.3rem; flex-shrink: 0; }
.studio-feature h4 { font-weight: 700; font-size: .9rem; margin-bottom: .2rem; }
.studio-feature p { font-size: .82rem; color: var(--gray); }
.studio-visual {
  background: var(--black);
  aspect-ratio: 4/3;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.studio-visual-inner {
  text-align: center; color: var(--white); z-index: 1;
}
.studio-visual-inner span {
  font-size: 4rem; display: block; margin-bottom: 1rem;
}
.studio-visual-inner h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2rem; letter-spacing: 2px; color: var(--gold);
}
.studio-visual-inner p { font-size: .8rem; color: rgba(255,255,255,.5); letter-spacing: 2px; }
.studio-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(201,168,76,.03), rgba(201,168,76,.03) 1px, transparent 1px, transparent 20px);
}

/* ===== EVENT COVERAGE ===== */
#event-coverage { background: var(--white); }
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.event-card {
  padding: 2rem 1.5rem;
  border: 1px solid var(--cream);
  text-align: center;
  transition: all .3s;
}
.event-card:hover { background: var(--black); }
.event-card:hover h3, .event-card:hover p { color: var(--white); }
.event-card:hover .event-icon { filter: grayscale(0); }
.event-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.event-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem; letter-spacing: 1px; margin-bottom: .5rem;
  transition: color .3s;
}
.event-card p { font-size: .85rem; color: var(--gray); line-height: 1.6; transition: color .3s; }

/* ===== ABOUT ===== */
#about { background: var(--black); }
#about .section-title { color: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
  margin-top: 3rem;
}
.about-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.stat {
  border: 1px solid rgba(245,242,238,.1);
  padding: 1.5rem;
  border-radius: 8px;
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem; color: var(--gold); line-height: 1;
  margin-bottom: .3rem;
}
.stat-label { font-size: .8rem; color: rgba(245,242,238,.4); letter-spacing: 2px; text-transform: uppercase; }
.about-text p {
  color: rgba(245,242,238,.65);
  line-height: 1.8;
  font-size: .95rem;
  margin-bottom: 1.2rem;
}
.about-values { margin-top: 2rem; }
.about-values h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem; color: var(--white);
  letter-spacing: 1px; margin-bottom: 1rem;
}
.value-list { list-style: none; display: flex; flex-direction: column; gap: .7rem; }
.value-list li {
  color: rgba(245,242,238,.6);
  font-size: .9rem;
  padding-left: 1.2rem;
  position: relative;
}
.value-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--gold);
}

/* ===== CONTACT ===== */
#contact { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
  margin-top: 3rem;
}
.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 1rem;
}
.contact-info > p {
  font-size: .9rem; color: var(--gray); line-height: 1.7; margin-bottom: 2rem;
}
.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-detail {
  display: flex; gap: 1rem; align-items: flex-start;
}
.contact-detail-icon {
  width: 40px; height: 40px; background: var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; flex-shrink: 0;
  border-radius: 8px;
}
.contact-detail-text h4 {
  font-weight: 700; font-size: .82rem;
  text-transform: uppercase; letter-spacing: 1.5px;
  margin-bottom: .2rem;
}
.contact-detail-text p, .contact-detail-text a {
  font-size: .9rem; color: var(--gray); text-decoration: none;
  line-height: 1.5;
}
.contact-detail-text a:hover { color: var(--gold); }

.socials { margin-top: 2rem; display: flex; gap: .8rem; }
.social-btn {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--black);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 1rem;
  color: var(--white);
  transition: all .25s;
  border: 2px solid var(--black);
}
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--black); }

/* Contact Form */
.contact-form-wrap {
  background: var(--black);
  padding: 3rem;
  border-radius: 20px;
}
.contact-form-wrap h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem; color: var(--white);
  letter-spacing: 1px; margin-bottom: .4rem;
}
.contact-form-wrap .form-sub {
  font-size: .82rem; color: rgba(245,242,238,.4);
  margin-bottom: 2rem;
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: .75rem;
  letter-spacing: 2px; text-transform: uppercase;
  color: rgba(245,242,238,.5);
  margin-bottom: .5rem;
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(245,242,238,.05);
  border: 1px solid rgba(245,242,238,.12);
  color: rgba(245,242,238,.40);
  padding: .9rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .9rem;
  outline: none;
  transition: border-color .25s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: #1a1a1a; color: var(--white); }

.btn-send {
  width: 100%;
  background: var(--gold);
  color: var(--black);
  border: none;
  padding: 1rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: .5rem;
}
.btn-send:hover { background: var(--gold-light); }
.form-success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--gold);
  font-family: 'Space Mono', monospace;
}
.form-success span { font-size: 3rem; display: block; margin-bottom: 1rem; }

/* ===== PORTFOLIO PREVIEW ===== */
.portfolio-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.portfolio-cat-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  text-decoration: none;
  display: block;
}
.pcat-bg {
  position: absolute; inset: 0;
  transition: transform .5s ease;
}
.portfolio-cat-card:hover .pcat-bg { transform: scale(1.08); }
.pcat-studio  { background: linear-gradient(135deg, #1a1a1a 0%, #2d2315 50%, #1a1209 100%); }
.pcat-outdoor { background: linear-gradient(135deg, #0d1a0f 0%, #1a2d1a 50%, #0a150a 100%); }
.pcat-events  { background: linear-gradient(135deg, #1a0d12 0%, #2d1520 50%, #1a0a10 100%); }
/* Events & Weddings decorative cover */
.pcat-events-cover {
  background:
    radial-gradient(ellipse at 30% 60%, rgba(201,168,76,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 75% 30%, rgba(180,80,110,.15) 0%, transparent 50%),
    linear-gradient(135deg, #1a0d12 0%, #2d1520 50%, #1a0a10 100%);
}
.pcat-events-cover::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle, rgba(201,168,76,.22) 1px, transparent 1px),
    radial-gradient(circle, rgba(201,168,76,.1) 1px, transparent 1px);
  background-size: 28px 28px, 14px 14px;
  background-position: 0 0, 14px 14px;
}
.pcat-events-cover::after {
  content: '💒';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -60%);
  font-size: 5rem;
  opacity: .18;
  filter: grayscale(1) brightness(2);
  pointer-events: none;
}
/* Decorative pattern overlays */
.pcat-studio::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(201,168,76,.06), rgba(201,168,76,.06) 1px, transparent 1px, transparent 30px);
}
.pcat-outdoor::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, rgba(100,180,80,.05), rgba(100,180,80,.05) 1px, transparent 1px, transparent 30px);
}
.pcat-events::after {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(201,168,76,.04), rgba(201,168,76,.04) 1px, transparent 1px, transparent 40px);
}
.pcat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
  transition: background .3s;
}
.portfolio-cat-card:hover .pcat-overlay {
  background: linear-gradient(to top, rgba(0,0,0,.9) 0%, rgba(0,0,0,.35) 60%, transparent 100%);
}
.pcat-content {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 2rem 1.8rem;
  z-index: 2;
  transform: translateY(0);
  transition: transform .3s;
}
.pcat-icon { font-size: 2rem; display: block; margin-bottom: .8rem; }
.pcat-content h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: .5rem;
}
.pcat-content p {
  font-size: .82rem;
  color: rgba(245,242,238,.6);
  line-height: 1.5;
  margin-bottom: 1.2rem;
}
.pcat-cta {
  font-family: 'Space Mono', monospace;
  font-size: .72rem;
  letter-spacing: 2px;
  color: var(--gold);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s;
  display: inline-block;
}
.portfolio-cat-card:hover .pcat-cta { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .portfolio-preview-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-cat-card { aspect-ratio: 16/9; }
  .pcat-cta { opacity: 1; transform: translateY(0); }
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 4rem 3rem 2rem;
  border-top: 1px solid rgba(245,242,238,.08);
}
.footer-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { font-size: 1.3rem; margin-top: .5rem; }
.footer-brand p {
  margin-top: .8rem;
  font-size: .85rem; color: rgba(245,242,238,.4);
  line-height: 1.7;
}
.footer-col h4 {
  font-family: 'Space Mono', monospace;
  font-size: .7rem; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1.2rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a {
  text-decoration: none;
  font-size: .85rem; color: rgba(245,242,238,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li { font-size: .85rem; color: rgba(245,242,238,.5); }
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  border-top: 1px solid rgba(245,242,238,.08);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(245,242,238,.3); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 999;
  display: flex; align-items: center; gap: .7rem;
  background: #25d366;
  color: #fff;
  padding: .7rem 1.2rem;
  text-decoration: none;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .5px;
  box-shadow: 0 4px 20px rgba(37,211,102,.35);
  transition: all .25s;
  border-radius: 8px;
}
.whatsapp-float:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(37,211,102,.4); }
.whatsapp-float .wa-icon { font-size: 1.3rem; }

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.5rem;
  letter-spacing: 3px;
  color: var(--white);
  text-decoration: none;
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-close {
  position: absolute; top: 1.5rem; right: 2rem;
  font-size: 2rem; color: var(--white);
  background: none; border: none; cursor: pointer;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  nav { padding: 0.8rem 2rem; }
  section { padding: 4rem 2rem; }
  .hero-title { font-size: clamp(3rem, 10vw, 8rem); }
  .section-title { font-size: clamp(2rem, 4vw, 3.5rem); }
  .services-grid, .classes-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-preview-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .studio-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
}

@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  section { padding: 3rem 1.5rem; }
  #home { min-height: 85vh; }
  .hero-title { font-size: clamp(2.5rem, 9vw, 5rem); }
  .hero-rotating-words { min-width: 200px; }
  .hero-btns { gap: 0.8rem; }
  .btn-primary, .btn-outline { padding: 0.7rem 1.8rem; font-size: 0.75rem; }
  .hero-pills { gap: 0.5rem; }
  .pill { font-size: 0.7rem; padding: 0.3rem 0.7rem; }
  .section-title { font-size: clamp(2rem, 5vw, 3.5rem); }
  .services-grid, .classes-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .class-number { font-size: 3rem; }
  .cert-badge { flex-direction: column; align-items: flex-start; max-width: 100%; }
  .studio-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-stats { grid-template-columns: 1fr; }
  .portfolio-preview-grid { grid-template-columns: 1fr; gap: 1rem; }
  .portfolio-cat-card { aspect-ratio: 16/9; }
  .pcat-cta { opacity: 1; transform: translateY(0); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-detail { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  footer { padding: 3rem 1.5rem 2rem; }
  .whatsapp-float { bottom: 1.5rem; right: 1.5rem; padding: 0.6rem 1rem; font-size: 0.75rem; }
}

@media (max-width: 768px) {
  nav { padding: 0.8rem 1.2rem; }
  .logo-circle { width: 40px; height: 40px; }
  .logo-text { font-size: 1rem; }
  .logo-sub { font-size: 0.5rem; }
  section { padding: 2.5rem 1.2rem; }
  #home { min-height: 80vh; padding-top: 80px; }
  .hero-title { font-size: clamp(2rem, 8vw, 4rem); }
  .hero-rotating-prefix { font-size: 0.9rem; }
  .hero-rotating-words { min-width: 150px; font-size: 0.9rem; }
  .hero-btns { flex-direction: column; align-items: center; gap: 0.6rem; }
  /* Hero title bigger on tablets */
  .hero-title { font-size: clamp(2.8rem, 10vw, 5rem); }
  .btn-primary, .btn-outline { width: 100%; max-width: 280px; padding: 0.65rem 1.5rem; }
  /* Hero buttons single row on tablets */
  .hero-btns-row { flex-direction: row; flex-wrap: nowrap; gap: 0.5rem; }
  .hero-btns-row .btn-primary,
  .hero-btns-row .btn-outline { width: auto; max-width: none; flex: 1; padding: 0.65rem 0.8rem; font-size: 0.72rem; text-align: center; }
  .section-label { font-size: 0.65rem; margin-bottom: 0.5rem; }
  .section-title { font-size: clamp(1.8rem, 5vw, 2.8rem); margin-bottom: 0.8rem; }
  .section-desc { font-size: 0.95rem; max-width: 100%; }
  .container { padding: 0; }
  .service-card, .class-card, .event-card { padding: 1.5rem 1.2rem; }
  .service-icon, .event-icon { font-size: 1.8rem; margin-bottom: 0.8rem; }
  .service-card h3, .event-card h3, .class-card h3 { font-size: 1.2rem; }
  .service-card p, .event-card p, .class-card p { font-size: 0.85rem; }
  .class-number { font-size: 2.5rem; }
  .class-duration { font-size: 0.65rem; padding: 0.25rem 0.6rem; }
  .cert-badge { padding: 1rem 1.2rem; gap: 0.8rem; }
  .cert-icon { font-size: 2rem; }
  .cert-text h4 { font-size: 1.1rem; }
  .cert-text p { font-size: 0.8rem; }
  .studio-feature { padding: 0.8rem 0.8rem; gap: 0.8rem; }
  .studio-visual-inner span { font-size: 3rem; }
  .studio-visual-inner h3 { font-size: 1.6rem; }
  .about-text p { font-size: 0.9rem; }
  .about-values h3 { font-size: 1.3rem; }
  .value-list li { font-size: 0.85rem; }
  .stat-num { font-size: 2.5rem; }
  .stat-label { font-size: 0.75rem; }
  .contact-info h3 { font-size: 2rem; }
  .contact-info > p { font-size: 0.85rem; }
  .contact-detail-icon { width: 35px; height: 35px; font-size: 0.9rem; }
  .contact-detail-text h4 { font-size: 0.75rem; }
  .contact-detail-text p, .contact-detail-text a { font-size: 0.85rem; }
  .social-btn { width: 38px; height: 38px; font-size: 0.95rem; }
  .contact-form-wrap { padding: 2rem 1.2rem; }
  .contact-form-wrap h3 { font-size: 1.5rem; margin-bottom: 0.3rem; }
  .contact-form-wrap .form-sub { font-size: 0.75rem; margin-bottom: 1.5rem; }
  .form-group label { font-size: 0.7rem; margin-bottom: 0.4rem; }
  .form-group input, .form-group textarea, .form-group select { padding: 0.8rem 0.9rem; font-size: 0.85rem; }
  .form-group textarea { min-height: 100px; }
  .btn-send { padding: 0.9rem 1.5rem; font-size: 0.8rem; }
  .pcat-content { padding: 1.5rem 1.2rem; }
  .pcat-icon { font-size: 1.8rem; }
  .pcat-content h3 { font-size: 1.5rem; }
  .pcat-content p { font-size: 0.78rem; }
  .pcat-cta { font-size: 0.68rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; margin-bottom: 2rem; }
  .footer-col h4 { font-size: 0.65rem; margin-bottom: 1rem; }
  .footer-col ul li a, .footer-col ul li { font-size: 0.8rem; }
  .footer-brand p { font-size: 0.8rem; }
  .footer-bottom { padding-top: 1.2rem; }
  .footer-bottom p { font-size: 0.75rem; }
  footer { padding: 2.5rem 1.2rem 1.5rem; }
  .whatsapp-float { bottom: 1.2rem; right: 1.2rem; padding: 0.55rem 0.9rem; font-size: 0.7rem; }
  .whatsapp-float .wa-icon { font-size: 1.1rem; }
  .mobile-menu a { font-size: 2rem; gap: 1.5rem; }
  .mobile-close { top: 1.2rem; right: 1.5rem; font-size: 1.8rem; }
}

@media (max-width: 600px) {
  nav { padding: 0.7rem 1rem; }
  .logo-circle { width: 36px; height: 36px; }
  .logo-text { font-size: 0.9rem; letter-spacing: 1.5px; }
  .logo-sub { font-size: 0.45rem; letter-spacing: 2.5px; }
  section { padding: 2rem 1rem; }
  #home { min-height: 75vh; padding-top: 70px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 3rem); line-height: 0.95; margin-bottom: 0.8rem; }
  .hero-tag { font-size: 0.65rem; margin-bottom: 1rem; }
  .hero-rotating-wrap { font-size: clamp(0.85rem, 1.8vw, 1rem); margin-bottom: 1.2rem; gap: 0.2rem; }
  .hero-rotating-prefix { font-size: 0.85rem; }
  .hero-rotating-words { min-width: 120px; }
  .hero-pills { gap: 0.4rem; margin-bottom: 1.5rem; }
  .pill { font-size: 0.65rem; padding: 0.25rem 0.6rem; }
  .hero-btns { flex-direction: column; gap: 0.5rem; }
  /* Hero title bigger on small phones */
  .hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); line-height: 0.92; margin-bottom: 0.8rem; }
  .btn-primary, .btn-outline { width: 100%; max-width: 100%; padding: 0.6rem 1.2rem; font-size: 0.7rem; letter-spacing: 1px; }
  /* Hero buttons: single row, compact */
  .hero-btns-row { flex-direction: row; flex-wrap: nowrap; gap: 0.3rem; justify-content: center; }
  .hero-btns-row .btn-primary,
  .hero-btns-row .btn-outline { width: auto; padding: 0.55rem 0.7rem; font-size: 0.6rem; letter-spacing: 0.8px; flex: 1; text-align: center; max-width: none; }
  .hero-scroll { font-size: 0.6rem; bottom: 1.5rem; }
  .section-label { font-size: 0.6rem; letter-spacing: 3px; margin-bottom: 0.4rem; }
  .section-title { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin-bottom: 0.6rem; line-height: 1.1; }
  .section-desc { font-size: 0.9rem; line-height: 1.6; }
  .services-grid, .classes-grid, .events-grid { gap: 1rem; }
  .service-card, .class-card, .event-card { padding: 1.2rem 1rem; }
  .service-icon, .event-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
  .service-card h3, .event-card h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
  .service-card p, .event-card p { font-size: 0.8rem; }
  .class-number { font-size: 2rem; margin-bottom: 0.3rem; }
  .class-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
  .class-card p { font-size: 0.8rem; }
  .class-duration { font-size: 0.6rem; padding: 0.2rem 0.5rem; margin-top: 0.8rem; }
  .cert-badge { padding: 1rem; gap: 0.6rem; margin-top: 2rem; }
  .cert-icon { font-size: 1.8rem; }
  .cert-text h4 { font-size: 1rem; margin-bottom: 0.2rem; }
  .cert-text p { font-size: 0.75rem; }
  .studio-feature { padding: 0.7rem; gap: 0.6rem; border-left: 2px solid var(--gold); }
  .studio-feature-icon { font-size: 1.2rem; }
  .studio-feature h4 { font-size: 0.85rem; }
  .studio-feature p { font-size: 0.75rem; }
  .studio-visual { aspect-ratio: 16/10; }
  .studio-visual-inner span { font-size: 2.5rem; margin-bottom: 0.5rem; }
  .studio-visual-inner h3 { font-size: 1.4rem; letter-spacing: 1px; }
  .studio-visual-inner p { font-size: 0.7rem; }
  .about-text p { font-size: 0.85rem; line-height: 1.7; margin-bottom: 1rem; }
  .about-values h3 { font-size: 1.2rem; margin-bottom: 0.8rem; }
  .value-list li { font-size: 0.8rem; padding-left: 1rem; }
  .stat-num { font-size: 2rem; margin-bottom: 0.2rem; }
  .stat-label { font-size: 0.7rem; }
  .contact-info h3 { font-size: 1.6rem; line-height: 1.1; margin-bottom: 0.8rem; }
  .contact-info > p { font-size: 0.8rem; margin-bottom: 1.5rem; }
  .contact-details { gap: 1.2rem; }
  .contact-detail { flex-direction: column; gap: 0.6rem; }
  .contact-detail-icon { width: 32px; height: 32px; font-size: 0.85rem; }
  .contact-detail-text h4 { font-size: 0.7rem; margin-bottom: 0.15rem; }
  .contact-detail-text p, .contact-detail-text a { font-size: 0.8rem; }
  .socials { gap: 0.6rem; margin-top: 1.5rem; }
  .social-btn { width: 36px; height: 36px; font-size: 0.9rem; }
  .contact-form-wrap { padding: 1.5rem 1rem; }
  .contact-form-wrap h3 { font-size: 1.3rem; margin-bottom: 0.2rem; }
  .contact-form-wrap .form-sub { font-size: 0.7rem; margin-bottom: 1.2rem; }
  .form-group { margin-bottom: 1rem; }
  .form-group label { font-size: 0.65rem; margin-bottom: 0.3rem; letter-spacing: 1.5px; }
  .form-group input, .form-group textarea, .form-group select { padding: 0.75rem 0.85rem; font-size: 0.8rem; }
  .form-group textarea { min-height: 90px; }
  .btn-send { padding: 0.8rem 1.2rem; font-size: 0.75rem; margin-top: 0.4rem; }
  .portfolio-preview-grid { gap: 0.8rem; }
  .portfolio-cat-card { aspect-ratio: 4/5; }
  .pcat-content { padding: 1.2rem 1rem; }
  .pcat-icon { font-size: 1.6rem; margin-bottom: 0.6rem; }
  .pcat-content h3 { font-size: 1.3rem; margin-bottom: 0.3rem; }
  .pcat-content p { font-size: 0.75rem; line-height: 1.4; margin-bottom: 0.8rem; }
  .pcat-cta { font-size: 0.65rem; }
  .footer-grid { gap: 1.5rem; margin-bottom: 1.5rem; }
  .footer-col h4 { font-size: 0.6rem; letter-spacing: 2.5px; margin-bottom: 0.8rem; }
  .footer-col ul li a, .footer-col ul li { font-size: 0.75rem; }
  .footer-brand p { font-size: 0.75rem; }
  .footer-bottom { padding-top: 1rem; gap: 0.8rem; }
  .footer-bottom p { font-size: 0.7rem; }
  footer { padding: 2rem 1rem 1.2rem; border-top: 1px solid rgba(245,242,238,.06); }
  .whatsapp-float { bottom: 1rem; right: 1rem; padding: 0.5rem 0.8rem; font-size: 0.65rem; letter-spacing: 0; }
  .whatsapp-float .wa-icon { font-size: 1rem; }
  .mobile-menu a { font-size: 1.8rem; letter-spacing: 2px; }
  .mobile-menu { gap: 2rem; }
  .mobile-close { top: 1rem; right: 1.2rem; font-size: 1.6rem; }
}

@media (max-width: 480px) {
  nav { padding: 0.6rem 0.8rem; }
  .logo-circle { width: 32px; height: 32px; }
  .logo-text { font-size: 0.8rem; letter-spacing: 1.2px; }
  .logo-sub { font-size: 0.4rem; }
  section { padding: 1.5rem 0.8rem; }
  #home { min-height: 70vh; }
  .hero-title { font-size: clamp(1.5rem, 6.5vw, 2.5rem); margin-bottom: 0.6rem; }
  .hero-tag { font-size: 0.6rem; margin-bottom: 0.8rem; letter-spacing: 2.5px; }
  .hero-rotating-wrap { font-size: clamp(0.75rem, 1.5vw, 0.9rem); margin-bottom: 1rem; }
  .hero-pills { gap: 0.3rem; margin-bottom: 1.2rem; }
  .pill { font-size: 0.6rem; padding: 0.2rem 0.5rem; }
  .hero-btns { flex-direction: column; gap: 0.4rem; }
  .hero-title { font-size: clamp(2.5rem, 10vw, 4rem); margin-bottom: 0.6rem; }
  .btn-primary, .btn-outline { padding: 0.55rem 1rem; font-size: 0.65rem; }
  /* Hero buttons: single row */
  .hero-btns-row { flex-direction: row; flex-wrap: nowrap; gap: 0.25rem; }
  .hero-btns-row .btn-primary,
  .hero-btns-row .btn-outline { width: auto; padding: 0.5rem 0.55rem; font-size: 0.56rem; letter-spacing: 0.6px; flex: 1; text-align: center; max-width: none; }
  .hero-scroll { font-size: 0.55rem; bottom: 1rem; }
  .section-label { font-size: 0.55rem; }
  .section-title { font-size: clamp(1.3rem, 4vw, 2rem); margin-bottom: 0.5rem; }
  .section-desc { font-size: 0.85rem; }
  .service-card, .class-card, .event-card { padding: 1rem 0.8rem; }
  .service-icon, .event-icon { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .service-card h3, .event-card h3 { font-size: 1rem; }
  .service-card p, .event-card p { font-size: 0.75rem; }
  .class-number { font-size: 1.8rem; }
  .class-card h3 { font-size: 1.05rem; }
  .class-card p { font-size: 0.75rem; }
  .cert-badge { padding: 0.8rem; }
  .cert-icon { font-size: 1.5rem; }
  .contact-form-wrap { padding: 1.2rem 0.8rem; }
  .contact-form-wrap h3 { font-size: 1.2rem; }
  .form-group input, .form-group textarea, .form-group select { padding: 0.7rem 0.8rem; font-size: 0.75rem; }
  .btn-send { padding: 0.75rem 1rem; font-size: 0.7rem; }
  .pcat-content { padding: 1rem 0.8rem; }
  .pcat-icon { font-size: 1.4rem; }
  .pcat-content h3 { font-size: 1.2rem; }
  .pcat-content p { font-size: 0.7rem; }
  .whatsapp-float { bottom: 0.8rem; right: 0.8rem; padding: 0.45rem 0.7rem; font-size: 0.6rem; }
  .whatsapp-float .wa-icon { font-size: 0.95rem; }
}
