/* ==========================================================================
   TRAJANO CURTAIN'S PH — DESIGN TOKENS
   Display: Fraunces (serif)  /  Body & Utility: Manrope (sans)
   Palette: Ivory / Paper / Charcoal / Emerald Deep / Champagne Gold
   ========================================================================== */

:root {
  --ivory: #FBF9F5;
  --paper: #F2ECE1;
  --cream: #FBF7EF;
  --ink: #211D18;
  --charcoal: #1F2937;
  --emerald-deep: #0E4D3C;
  --emerald-bright: #1C6B54;
  --gold: #B4915A;
  --gold-light: #D9C193;
  --hairline: rgba(33, 29, 24, 0.10);

  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-6: 48px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
}

.font-display,
h1,
h2,
h3,
.font-display * {
  font-family: 'Fraunces', Georgia, serif;
}

.font-utility {
  font-family: 'Manrope', system-ui, sans-serif;
}

/* ---------- utility color classes (custom palette, used alongside Tailwind) ---------- */
.bg-ivory {
  background-color: var(--ivory);
}

.bg-paper {
  background-color: var(--paper);
}

.bg-charcoal {
  background-color: var(--charcoal);
}

.text-ink {
  color: var(--ink);
}

.text-cream {
  color: var(--cream);
}

.text-emerald-deep {
  color: var(--emerald-deep);
}

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

/* ---------- skip link ---------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--emerald-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: 0 0 8px 0;
}

.skip-link:focus {
  left: 0;
}

/* ---------- focus states (accessibility) ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav-glass {
  background: rgba(251, 249, 245, 0.65);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}

.nav-glass.scrolled {
  background: rgba(251, 249, 245, 0.92);
  border-bottom-color: var(--hairline);
  box-shadow: 0 8px 30px -12px rgba(33, 29, 24, 0.15);
}

.curtain-mark {
  position: relative;
  width: 26px;
  height: 26px;
  display: inline-flex;
}

.curtain-mark span {
  position: absolute;
  top: 0;
  width: 10px;
  height: 26px;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, var(--emerald-bright), var(--emerald-deep));
}

.curtain-mark span:first-child {
  left: 0;
  transform: rotate(-4deg);
}

.curtain-mark span:last-child {
  right: 0;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  transform: rotate(4deg);
}

.nav-link {
  position: relative;
  color: var(--ink);
  opacity: .8;
  transition: opacity .25s var(--ease);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.nav-link:hover {
  opacity: 1;
}

.nav-link:hover::after {
  width: 100%;
}

.btn-outline-sm {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: all .3s var(--ease);
}

.btn-outline-sm:hover {
  background: var(--ink);
  color: var(--cream);
}

.burger-line {
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  margin: 2.5px 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

/* ---------- mobile drawer (curtain-slide) ---------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 380px);
  background: linear-gradient(180deg, var(--charcoal), #14181d);
  z-index: 70;
  transform: translateX(100%);
  transition: transform .5s var(--ease);
  box-shadow: -30px 0 60px -20px rgba(0, 0, 0, .4);
}

.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-panel {
  padding: 32px 28px;
  height: 100%;
  overflow-y: auto;
}

.drawer-link {
  color: var(--cream);
  opacity: .85;
  transition: opacity .25s, padding-left .25s;
}

.drawer-link:hover {
  opacity: 1;
  padding-left: 8px;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, .5);
  backdrop-filter: blur(2px);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   HERO + SIGNATURE CURTAIN REVEAL
   ========================================================================== */
.hero-scrim {
  background: linear-gradient(180deg, rgba(17, 20, 18, .35) 0%, rgba(17, 20, 18, .25) 35%, rgba(14, 17, 15, .85) 100%);
}

.curtain-stage {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.curtain-panel {
  position: absolute;
  top: 0;
  height: 100%;
  width: 52%;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .05) 0 6px, rgba(0, 0, 0, .06) 6px 14px),
    linear-gradient(180deg, #0E4D3C 0%, #123f31 60%, #0a2d23 100%);
  box-shadow: 0 0 70px 10px rgba(0, 0, 0, .45) inset;
  transition: transform 1.6s var(--ease);
}

.curtain-left {
  left: 0;
  transform: translateX(0);
  border-right: 1px solid rgba(212, 188, 139, .35);
}

.curtain-right {
  right: 0;
  transform: translateX(0);
  border-left: 1px solid rgba(212, 188, 139, .35);
}

.curtain-stage.open .curtain-left {
  transform: translateX(-102%);
}

.curtain-stage.open .curtain-right {
  transform: translateX(102%);
}

.hero-eyebrow {
  color: var(--gold-light);
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 600;
}

.hero-title {
  font-family: 'Fraunces', serif;
  color: var(--cream);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.4vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-top: 14px;
  max-width: 18ch;
}

.hero-sub {
  color: rgba(251, 247, 239, .82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  max-width: 46ch;
  margin-top: 20px;
  line-height: 1.6;
}

.reveal-up {
  opacity: 0;
  transform: translateY(26px);
  animation: revealUp .9s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--cream);
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
}

.scroll-indicator span:first-child {
  display: block;
  width: 1px;
  height: 40px;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(251, 247, 239, 0), var(--gold-light) 60%, rgba(251, 247, 239, 0));
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {

  0%,
  100% {
    opacity: .3;
  }

  50% {
    opacity: 1;
  }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn-gold,
.btn-ghost-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: .03em;
  font-weight: 600;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #201705;
  box-shadow: 0 10px 30px -10px rgba(180, 145, 90, .6);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -10px rgba(180, 145, 90, .75);
}

.btn-ghost-light {
  border: 1px solid rgba(251, 247, 239, .55);
  color: var(--cream);
  background: rgba(255, 255, 255, .04);
  backdrop-filter: blur(6px);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, .12);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */
.trust-strip {
  background: var(--charcoal);
  color: var(--cream);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trust-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  color: var(--gold-light);
}

.trust-label {
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .7;
}

/* ==========================================================================
   SECTIONS / TYPE
   ========================================================================== */
.section-pad {
  padding-block: clamp(64px, 9vw, 128px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--emerald-deep);
}

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

.eyebrow-light {
  color: var(--gold-light);
}

.section-title {
  font-weight: 400;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  line-height: 1.15;
  margin-top: 14px;
  max-width: 18ch;
}

.body-lg {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(33, 29, 24, .75);
  max-width: 54ch;
}

/* ---------- scroll reveal ---------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal-on-scroll.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ABOUT COLLAGE
   ========================================================================== */
.collage {
  position: relative;
  min-height: 420px;
}

.collage-main {
  width: 78%;
  border-radius: 20px;
  object-fit: cover;
  height: 480px;
  box-shadow: 0 30px 60px -25px rgba(33, 29, 24, .35);
}

.collage-small {
  position: absolute;
  right: 0;
  bottom: -40px;
  width: 46%;
  border-radius: 16px;
  object-fit: cover;
  height: 280px;
  border: 6px solid var(--ivory);
  box-shadow: 0 20px 40px -18px rgba(33, 29, 24, .4);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  color: var(--emerald-deep);
}

.stat-suffix {
  font-family: 'Fraunces', serif;
  font-size: 2.1rem;
  color: var(--emerald-deep);
}

.stat-label {
  font-size: 12.5px;
  letter-spacing: .05em;
  color: rgba(33, 29, 24, .6);
  margin-top: 4px;
}

/* ==========================================================================
   SERVICE CARDS
   ========================================================================== */
/* ==========================================================================
   Universal Card & Aspect Ratio Lock (No Media Queries Needed)
   ========================================================================== */
.service-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--hairline);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  
  /* Proteksyon para sa grid system */
  width: 100% !important;
  min-width: 0 !important; 
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px -24px rgba(33, 29, 24, .28);
}

/* LOCK RATIO: Tinanggal ang height: 220px para sumunod sa 3 columns kahit sa mobile */
.service-card img,
.service-card video {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 800 / 560 !important; /* Laging nakakandado sa 10:7 landscape ratio ng image mo */
  object-fit: cover !important;
  transition: transform .6s var(--ease);
}

.service-card:hover img {
  transform: scale(1.06);
}

/* automatic scaling ng text para sa maliliit na screen */
.service-body {
  padding: 5% !important; /* Gumamit ng percentage para kusa siyang lumiliit kapag sumisikip ang card */
}

@media screen and (max-width: 600px) {
  .service-card {
    border-radius: 10px;
  }
  .service-body h3 {
    font-size: 0.85rem !important;
    margin-bottom: 4px;
  }
  .service-body p {
    font-size: 0.65rem !important;
    line-height: 1.3;
  }
  .service-link {
    font-size: 0.6rem !important;
    margin-top: 6px;
  }
}



/* ==========================================================================
   PORTFOLIO / MASONRY / FILTER
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  font-size: 13px;
  background: #fff;
  color: var(--ink);
  transition: all .25s var(--ease);
}

.filter-btn:hover {
  border-color: var(--gold);
}

.filter-btn.is-active {
  background: var(--emerald-deep);
  color: var(--cream);
  border-color: var(--emerald-deep);
}

.masonry {
  columns: 1;
  column-gap: 20px;
  margin-top: 34px;
}

@media (min-width: 640px) {
  .masonry {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .masonry {
    columns: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 20px;
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: zoom-in;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}

.masonry-item.hide {
  display: none;
}

.masonry-item img {
  width: 100%;
  display: block;
  height: 280px;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.masonry-item.tall img {
  height: 380px;
}

.masonry-item:hover img {
  transform: scale(1.07);
}

.masonry-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .72), transparent);
  color: #fff;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(8px);
  transition: all .35s var(--ease);
}

.masonry-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.masonry-item figcaption span {
  font-weight: 600;
  font-size: .95rem;
}

.masonry-item figcaption small {
  opacity: .75;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---------- lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, .94);
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  max-width: 88vw;
  max-height: 78vh;
  border-radius: 12px;
  transform: scale(.94);
  transition: transform .35s var(--ease);
  box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .6);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  color: #fff;
  font-size: 2.2rem;
  background: none;
  border: none;
  line-height: 1;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.1rem;
  transition: background .25s;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, .22);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-caption {
  position: absolute;
  bottom: 30px;
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  letter-spacing: .04em;
}

/* ==========================================================================
   BEFORE / AFTER SLIDER (PERFECT MOBILE ALIGNMENT)
   ========================================================================== */
.ba-slider {
  position: relative;
  max-width: 960px;
  margin: 40px auto 0;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 16/9;
  box-shadow: 0 30px 60px -25px rgba(33, 29, 24, .35);
  user-select: none;
}

/* Parehong picture dapat ay sakop ang buong slider */
.ba-img,
.ba-after-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Ito ang bintana na nagtatakip/nagpapakita sa "After" image */
.ba-after-wrap {
  position: absolute;
  inset: 0;
  width: 55%; /* Binabago ng JS gamit ang percentage */
  overflow: hidden;
  z-index: 1;
}

/* ANG SIKRETO: Sapilitang panatilihin ang lapad ng "After" image 
   na katumbas ng buong slider container, hindi ng maliit na wrapper nito!
*/
.ba-after-wrap img {
  width: var(--slider-width, 100%); 
  max-width: none;
}

/* Handle Controls */
.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 55%;
  width: 3px;
  background: var(--cream);
  transform: translateX(-50%);
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.ba-handle-grip {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}

.ba-tag {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, .5);
  color: #fff;
  z-index: 3;
}

.ba-tag-left { left: 20px; }
.ba-tag-right { right: 20px; }


/* ==========================================================================
   WHY CHOOSE US
   ========================================================================== */
.why-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  padding: 30px 24px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -22px rgba(33, 29, 24, .25);
}

.why-icon {
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  font-family: 'Manrope', sans-serif;
}

.why-card p {
  font-size: .88rem;
  color: rgba(33, 29, 24, .62);
  line-height: 1.6;
}
/* ==========================================================================
   PROCESS TIMELINE
   ========================================================================== */
.timeline {
  list-style: none;
  position: relative;
  padding-left: 0;
}

.timeline-step {
  display: flex;
  gap: 26px;
  padding-bottom: 46px;
  position: relative;
}

.timeline-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(212, 193, 147, .5), rgba(212, 193, 147, .05));
}

.timeline-mark {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--gold-light);
  border: 1px solid rgba(212, 193, 147, .4);
  background: rgba(255, 255, 255, .03);
}

.timeline-step h3 {
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--cream);
  margin-bottom: 6px;
}

.timeline-step p {
  color: rgba(251, 247, 239, .65);
  font-size: .93rem;
  line-height: 1.6;
  max-width: 46ch;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 30px;
  transition: transform .35s var(--ease);
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.stars {
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 14px;
  font-size: .95rem;
}

.testimonial-card p {
  font-size: .95rem;
  line-height: 1.7;
  color: rgba(33, 29, 24, .78);
  font-style: italic;
}

.testimonial-card footer {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  font-style: normal;
}

.testimonial-card footer strong {
  font-size: .9rem;
}

.testimonial-card footer span {
  font-size: .78rem;
  color: rgba(33, 29, 24, .5);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-item {
  border-bottom: 1px solid var(--hairline);
}

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  padding: 22px 4px;
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 400;
  background: none;
  border: none;
  color: var(--ink);
}

.faq-toggle {
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform .3s var(--ease);
  flex: none;
  margin-left: 16px;
}

.faq-q[aria-expanded="true"] .faq-toggle {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a p {
  padding: 0 4px 22px;
  color: rgba(33, 29, 24, .65);
  font-size: .93rem;
  line-height: 1.7;
  max-width: 62ch;
}

/* ==========================================================================
   QUOTE FORM
   ========================================================================== */
.quote-section {
  background: linear-gradient(180deg, var(--charcoal), #171b21);
}

.quote-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 26px;
  padding: clamp(28px, 4vw, 56px);
  backdrop-filter: blur(10px);
}

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

@media (min-width: 700px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-field label {
  font-size: 12.5px;
  letter-spacing: .04em;
  color: rgba(251, 247, 239, .75);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--cream);
  font-family: 'Manrope', sans-serif;
  font-size: .92rem;
  transition: border-color .25s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(251, 247, 239, .35);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
}

.form-field select option {
  color: #111;
}

.form-error {
  color: #E88;
  font-size: .78rem;
  min-height: 1em;
}

.file-input {
  padding: 10px 14px;
}

.form-success {
  margin-top: 18px;
  text-align: center;
  color: var(--gold-light);
  background: rgba(180, 145, 90, .12);
  border: 1px solid rgba(180, 145, 90, .3);
  padding: 14px;
  border-radius: 12px;
  font-size: .92rem;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.2rem;
  flex: none;
  margin-top: 2px;
}

.contact-row strong {
  display: block;
  font-size: .9rem;
  margin-bottom: 3px;
}

.contact-row p,
.contact-row a {
  font-size: .93rem;
  color: rgba(33, 29, 24, .68);
}

.contact-row a:hover {
  color: var(--emerald-deep);
}

.map-frame {
  border-radius: 20px;
  overflow: hidden;
  height: 420px;
  box-shadow: 0 26px 50px -24px rgba(33, 29, 24, .3);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(15%);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #14181D;
}

.footer h4 {
  color: var(--cream);
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: .7;
}

.footer a {
  display: block;
  color: rgba(251, 247, 239, .55);
  font-size: .9rem;
  margin-bottom: 10px;
  transition: color .25s;
}

.footer a:hover {
  color: var(--gold-light);
}

/* ==========================================================================
   FLOATING BUTTONS
   ========================================================================== */
.floating-buttons {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease);
}

.fab:hover {
  transform: scale(1.08);
}

.fab-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #201705;
}

.fab-emerald {
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald-deep));
}

.fab-charcoal {
  background: var(--charcoal);
}

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
#back-to-top {
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001s !important;
    transition-duration: .001s !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   RESPONSIVE TWEAKS
   ========================================================================== */
@media (max-width: 767px) {
  .collage-small {
    width: 52%;
    bottom: -28px;
    height: 200px;
  }

  .collage-main {
    height: 380px;
  }

  .timeline-step {
    gap: 18px;
  }
}

h2 .class-section {
  display: flex;
  align-items: center;

}