/* ==========================================================================
   BUDDY SOFT SOLUTIONS - LIGHT LUXURY AGENCY STYLESHEET
   ========================================================================== */

/* ---------- CSS CONSTANTS & THEMING ---------- */
:root {
  --bg-light: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-main: #09090b;
  --text-muted: #52525b;
  --text-dim: #71717a;

  --border-subtle: rgba(0, 0, 0, 0.08);
  --border-glow: rgba(217, 26, 126, 0.45);

  --accent-pink: #d91a7e;
  --accent-magenta: #c026d3;
  --accent-wa: #25d366;

  --font-display: 'Syne', 'Plus Jakarta Sans', sans-serif;
  --font-serif: 'Instrument Serif', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --radius-pill: 9999px;
  --radius-card: 20px;

  --max-width: 1240px;
}

/* ---------- RESET & GLOBAL BASE ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  background-color: var(--bg-light);
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  font-size: 1rem;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

.wrap {
  width: min(var(--max-width), 100% - 3rem);
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent-pink);
  color: #fff;
  padding: 10px 18px;
  z-index: 1000;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 20px; }

/* ---------- LIGHT AMBIENT PINK/MAGENTA AURA GLOW ---------- */
.light-ambient-aura {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 750px;
  background: radial-gradient(circle at 50% 40%, rgba(244, 114, 182, 0.22) 0%, rgba(217, 70, 239, 0.12) 35%, rgba(168, 85, 247, 0.04) 55%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* ---------- SITE HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.brand-icon {
  font-size: 1.5rem;
  color: var(--accent-pink);
  flex-shrink: 0;
}
.logo-bold { font-weight: 800; }
.logo-sub { font-family: var(--font-serif); font-style: italic; font-weight: 300; font-size: 1.15rem; color: var(--text-muted); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}
.main-nav a:not(.nav-cta-btn) {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.main-nav a:not(.nav-cta-btn):hover { color: var(--text-main); }

.nav-cta-btn {
  background: var(--text-main);
  color: #ffffff;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.nav-cta-btn:hover {
  background: var(--accent-pink);
  color: #ffffff;
}

.header-right { display: flex; align-items: center; gap: 0.85rem; }
.header-icon-link {
  color: var(--accent-wa);
  display: grid;
  place-items: center;
  padding: 0.4rem;
  font-size: 1.45rem;
  transition: transform 0.2s ease;
}
.header-icon-link:hover { transform: scale(1.15); }
.grid-icon-btn {
  background: transparent; border: 1px solid var(--border-subtle);
  color: var(--text-main); width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer; transition: all 0.2s ease;
  font-size: 1.3rem;
}
.grid-icon-btn:hover { background: rgba(0, 0, 0, 0.05); border-color: var(--text-main); }

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  z-index: 1;
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: 3rem;
}

.hero-title-container {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero-main-title {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 11vw, 8.8rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0 0.35em;
}

.title-bold { font-weight: 800; color: var(--text-main); text-transform: uppercase; }
.title-light {
  font-family: var(--font-serif);
  font-style: italic; font-weight: 300;
  color: #27272a;
  text-transform: none; letter-spacing: -0.02em;
}

/* PILLS ROW UNDER TITLE */
.hero-pills-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; max-width: 1140px; margin-inline: auto;
}
.pills-left { display: flex; gap: 0.75rem; flex-wrap: wrap; }

.hero-pill-btn {
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.1);
  color: var(--text-main); padding: 0.55rem 1.4rem;
  border-radius: var(--radius-pill); font-size: 0.92rem; font-weight: 500;
  backdrop-filter: blur(10px); transition: all 0.25s ease;
}
.hero-pill-btn:hover { background: rgba(0, 0, 0, 0.08); }
.hero-pill-btn.active-pill {
  background: var(--text-main);
  border-color: var(--text-main);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.pill-btn-outline {
  display: inline-flex; align-items: center; gap: 0.4rem;
  border: 1px solid var(--border-subtle); color: var(--text-main);
  padding: 0.55rem 1.3rem; border-radius: var(--radius-pill);
  font-size: 0.9rem; font-weight: 500; transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.02);
}
.pill-btn-outline:hover { border-color: var(--text-main); background: rgba(0, 0, 0, 0.06); }

/* HORIZONTAL DIVIDER LINE */
.hero-divider {
  width: 100%; height: 1px;
  background: rgba(0, 0, 0, 0.08);
  margin-top: 2rem; margin-bottom: 3.5rem;
}

/* SUB HERO CONTENT */
.sub-hero-content {
  text-align: center; max-width: 680px;
  margin-inline: auto; margin-bottom: 3.5rem;
}
.hero-subtext {
  font-size: clamp(1.25rem, 2.3vw, 1.7rem);
  font-weight: 400; color: #18181b; line-height: 1.4;
  margin-bottom: 1.75rem; letter-spacing: -0.01em;
}

.sub-hero-actions { display: flex; justify-content: center; gap: 1rem; }

.pill-btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--text-main);
  border: 1px solid var(--text-main);
  color: #ffffff; padding: 0.75rem 2rem;
  border-radius: var(--radius-pill); font-weight: 600; font-size: 0.98rem;
  transition: all 0.25s ease; cursor: pointer;
}
.pill-btn-solid:hover {
  background: var(--accent-pink);
  border-color: var(--accent-pink);
  box-shadow: 0 8px 25px rgba(217, 26, 126, 0.3);
  transform: translateY(-2px);
}

.pill-btn-wa {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: #25d366; color: #ffffff; padding: 0.75rem 1.8rem;
  border-radius: var(--radius-pill); font-weight: 700; font-size: 0.95rem;
  border: none; cursor: pointer; transition: all 0.2s ease;
}
.pill-btn-wa:hover { background: #20ba5a; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
.full-w { width: 100%; }

/* ---------- 2x2 HERO SHOWCASE GRID ---------- */
.hero-showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  cursor: pointer;
}
.showcase-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
  border-color: rgba(0, 0, 0, 0.2);
}
.showcase-card:hover img {
  transform: scale(1.04);
}

.showcase-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(9, 9, 11, 0.88) 0%, rgba(9, 9, 11, 0.35) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #fff;
  opacity: 0.95;
  transition: opacity 0.3s ease;
}
.sc-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-pink);
  letter-spacing: 0.05em;
}
.showcase-overlay h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.showcase-1 { background: #aeb0e6; }
.showcase-2 { background: #f2b7c4; }
.showcase-3 { background: #35373d; }
.showcase-4 { background: #e2d6c9; }

/* ---------- GENERAL SECTION HEADERS ---------- */
.section {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
  position: relative;
  z-index: 1;
}

.section-title-head {
  margin-bottom: 3rem;
}
.section-main-title {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  letter-spacing: -0.03em;
  color: var(--text-main);
  display: flex;
  align-items: baseline;
  gap: 0.25em;
  line-height: 1;
  flex-wrap: wrap;
}
.t-light {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 300;
  color: var(--text-main);
}
.t-bold {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--text-main);
}
.section-subtext {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  max-width: 600px;
}

/* ---------- OUR WORKS SECTION ---------- */
.works-section { padding-top: 3rem; }

.works-featured-row {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4rem;
}
.works-featured-img-card {
  border-radius: var(--radius-card);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.works-featured-img-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14);
}
.works-featured-img-card img { width: 100%; height: 100%; object-fit: cover; }

.works-featured-info { display: flex; flex-direction: column; gap: 0.4rem; }
.wf-title { font-size: clamp(1.8rem, 3.2vw, 2.5rem); font-weight: 700; color: var(--text-main); line-height: 1.25; }
.wf-category { font-size: 0.95rem; color: var(--text-muted); font-weight: 400; }

.works-two-col-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem; margin-bottom: 4rem; }
.works-three-col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 4rem; }

.work-col-item { display: flex; flex-direction: column; gap: 1rem; }
.w-img-box {
  border-radius: var(--radius-card); overflow: hidden; aspect-ratio: 4 / 3;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07); transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.w-img-box:hover { transform: translateY(-5px); box-shadow: 0 20px 45px rgba(0, 0, 0, 0.14); }
.w-img-box img { width: 100%; height: 100%; object-fit: cover; }

.w-text-box { display: flex; flex-direction: column; gap: 0.2rem; }
.w-item-title { font-size: 0.98rem; font-weight: 800; letter-spacing: 0.02em; color: var(--text-main); text-transform: uppercase; }
.w-item-sub { font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }

/* ---------- SERVICES GRID ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.service-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  padding: 2.2rem;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
.service-box:hover {
  border-color: var(--text-main);
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1);
}
.service-box:hover .s-card-icon {
  transform: scale(1.1) rotate(-4deg);
  background: var(--accent-pink);
  color: #ffffff;
}
.service-box.service-featured {
  border-color: var(--accent-pink);
  background: linear-gradient(180deg, rgba(217, 26, 126, 0.04) 0%, rgba(255, 255, 255, 1) 100%);
}
.s-badge {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: var(--accent-pink); color: #fff;
  font-size: 0.7rem; font-weight: 800; padding: 0.2rem 0.6rem; border-radius: var(--radius-pill);
}

.s-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}
.s-number {
  font-family: var(--font-display);
  font-size: 2.2rem; font-weight: 800; color: rgba(0, 0, 0, 0.15);
  line-height: 1;
}
.s-card-icon {
  font-size: 1.6rem;
  color: var(--accent-pink);
  background: rgba(217, 26, 126, 0.08);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  transition: all 0.3s ease;
}

.s-title { font-size: 1.35rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.75rem; }
.s-desc { font-size: 0.92rem; color: var(--text-muted); flex-grow: 1; margin-bottom: 1.25rem; }

.s-list { list-style: none; margin-bottom: 1.5rem; padding-top: 1rem; border-top: 1px solid rgba(0, 0, 0, 0.06); }
.s-list li {
  font-size: 0.88rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.s-check-icon {
  color: #10b981;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.s-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.s-price { font-weight: 800; color: var(--text-main); font-size: 1.05rem; }
.s-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent-pink);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: gap 0.2s ease;
}
.s-link:hover { gap: 0.6rem; }
.s-link ion-icon { font-size: 1.1rem; }

/* ---------- COST ESTIMATOR ---------- */
.calc-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 3rem);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.05);
}
.calc-step-box { margin-bottom: 2.2rem; padding-bottom: 1.8rem; border-bottom: 1px solid rgba(0, 0, 0, 0.06); }
.c-step-title { font-size: 0.85rem; font-weight: 800; color: var(--text-main); text-transform: uppercase; letter-spacing: 0.05em; }

.calc-options-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.c-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 1.2rem; cursor: pointer;
  display: flex; flex-direction: column; gap: 0.3rem; transition: all 0.2s ease;
}
.c-card input { position: absolute; opacity: 0; }
.c-header-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.c-card-icon {
  font-size: 1.25rem;
  color: var(--accent-pink);
  transition: color 0.2s ease;
}
.c-card.active { border-color: var(--text-main); background: var(--text-main); color: #fff; }
.c-card.active .c-name, .c-card.active .c-info, .c-card.active .c-card-icon { color: #fff; }
.c-name { font-size: 0.95rem; color: var(--text-main); }
.c-info { font-size: 0.78rem; color: var(--text-muted); }

.calc-features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.85rem; margin-top: 1rem; }
.f-check-card {
  background: var(--bg-subtle);
  border: 1px solid var(--border-subtle);
  border-radius: 12px; padding: 0.85rem 1rem;
  display: flex; align-items: center; gap: 0.65rem; cursor: pointer;
  font-size: 0.9rem; color: var(--text-main); font-weight: 500;
  transition: border-color 0.2s ease;
}
.f-check-card:hover { border-color: var(--text-main); }
.f-check-card input { position: absolute; opacity: 0; }
.f-item-icon {
  font-size: 1.2rem;
  color: var(--accent-pink);
  flex-shrink: 0;
}
.f-box-icon {
  width: 20px;
  height: 20px;
  border: 2px solid var(--border-subtle);
  border-radius: 6px;
  display: grid;
  place-items: center;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.f-box-icon ion-icon {
  font-size: 0.9rem;
  opacity: 0;
  color: #fff;
  transition: opacity 0.2s ease;
}
.f-check-card input:checked + .f-box-icon { background: var(--text-main); border-color: var(--text-main); }
.f-check-card input:checked + .f-box-icon ion-icon { opacity: 1; }

.calc-result-banner {
  background: linear-gradient(135deg, #09090b 0%, #18181b 100%);
  border-radius: 18px; padding: 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  color: #fff;
}
.r-label { font-size: 0.85rem; color: #a1a1aa; }
.r-price { font-family: var(--font-display); font-size: 2.4rem; font-weight: 800; color: #ffffff; margin: 0.2rem 0; }
.r-timeline { font-size: 0.88rem; color: var(--accent-pink); font-weight: 600; }

/* ---------- TESTIMONIALS ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testi-box {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card); padding: 2.2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}
.testi-stars {
  display: flex;
  gap: 0.25rem;
  color: #f59e0b;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.testi-quote { font-size: 1.05rem; color: var(--text-main); font-style: italic; margin-bottom: 1.5rem; line-height: 1.5; }
.testi-user { display: flex; align-items: center; gap: 0.85rem; }
.user-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--text-main); color: #fff; font-weight: 800; display: grid; place-items: center; }
.user-name { display: block; color: var(--text-main); font-size: 0.95rem; }
.user-role { font-size: 0.8rem; color: var(--text-muted); }

/* ---------- FAQ ACCORDION ---------- */
.faq-list { max-width: 840px; margin-inline: auto; display: flex; flex-direction: column; gap: 1rem; }
.faq-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle);
  border-radius: 14px; padding: 1.25rem 1.5rem;
  transition: border-color 0.2s ease;
}
.faq-card[open] { border-color: var(--text-main); }
.faq-question {
  font-weight: 700; font-size: 1.1rem; color: var(--text-main);
  cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-arrow {
  font-size: 1.3rem;
  color: var(--text-muted);
  transition: transform 0.3s ease, color 0.3s ease;
}
.faq-card[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--accent-pink);
}
.faq-answer { padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.06); margin-top: 1rem; color: var(--text-muted); font-size: 0.95rem; }

/* ---------- CONTACT SECTION ---------- */
.contact-grid-container { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3.5rem; align-items: start; }
.contact-info-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 2.2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.c-head { font-size: 1.4rem; font-weight: 700; color: var(--text-main); margin-bottom: 0.75rem; }
.c-desc { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; }

.c-items-list { display: flex; flex-direction: column; gap: 1.25rem; }
.c-item-row { display: flex; align-items: center; gap: 1rem; background: var(--bg-subtle); padding: 1.1rem; border-radius: 14px; }
.ci-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(217, 26, 126, 0.08);
  display: grid;
  place-items: center;
  color: var(--accent-pink);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.ci-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; font-weight: 700; display: block; }
.ci-val { font-weight: 700; color: var(--text-main); font-size: 1.05rem; }

.contact-form-box { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: 24px; padding: 2.2rem; box-shadow: 0 10px 30px rgba(0,0,0,0.04); }
.form-field { margin-bottom: 1.25rem; }
.form-field label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-main); margin-bottom: 0.35rem; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; background: var(--bg-subtle); border: 1px solid var(--border-subtle);
  color: var(--text-main); padding: 0.75rem 1rem; border-radius: 10px; outline: none; transition: border-color 0.2s ease;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--text-main); }
.field-error { color: #ef4444; font-size: 0.8rem; margin-top: 0.2rem; }

.form-btn-group { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.form-status { font-size: 0.88rem; margin-top: 1rem; text-align: center; font-weight: 600; }

/* ---------- LIGHT FOOTER ---------- */
.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4rem 0 2rem; background: #ffffff;
}
.foot-top p { color: var(--text-muted); margin-top: 0.75rem; max-width: 400px; }
.foot-nav { display: flex; gap: 2rem; margin: 2rem 0; flex-wrap: wrap; }
.foot-nav a { color: var(--text-muted); font-size: 0.95rem; }
.foot-nav a:hover { color: var(--text-main); }
.foot-bottom-line {
  border-top: 1px solid rgba(0, 0, 0, 0.06); padding-top: 1.75rem;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.85rem; color: var(--text-dim); flex-wrap: wrap; gap: 1rem;
}
.back-top-link {
  color: var(--text-main);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}
.back-top-link:hover { color: var(--accent-pink); }
.back-top-link ion-icon { font-size: 1.1rem; }

/* ---------- HEADER SCROLLED STATE ---------- */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(217, 26, 126, 0.15);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}
.site-header.scrolled .header-bar {
  height: 64px;
}

.main-nav a.nav-active {
  color: var(--accent-pink) !important;
  font-weight: 700;
}

/* ---------- ANIMATED AMBIENT AURA PULSE ---------- */
@keyframes auraPulse {
  0% { transform: translateX(-50%) scale(1); opacity: 0.85; }
  50% { transform: translateX(-50%) scale(1.06); opacity: 1; }
  100% { transform: translateX(-50%) scale(1); opacity: 0.85; }
}
.light-ambient-aura {
  animation: auraPulse 10s ease-in-out infinite;
}

/* ---------- STATS COUNTER BAR ---------- */
.stats-bar-section {
  padding: 3.5rem 0;
  background: var(--bg-surface);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  margin-top: 1rem;
  margin-bottom: 1rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}
.stat-num-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}
.stat-plus {
  color: var(--accent-pink);
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-left: 2px;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  max-width: 180px;
}

/* ---------- LIGHTBOX MODAL ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.modal-card {
  background: var(--bg-surface);
  border-radius: 24px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card {
  transform: translateY(0) scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}
.modal-close-btn:hover {
  background: var(--accent-pink);
  color: #ffffff;
  transform: rotate(90deg);
}
.modal-body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}
.modal-img-wrapper {
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: var(--bg-subtle);
}
.modal-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.modal-content-wrapper {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.modal-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--accent-pink);
  letter-spacing: 0.05em;
}
.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.25;
}
.modal-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.modal-actions {
  margin-top: 1rem;
}

/* ---------- FLOATING BACK TO TOP BUTTON ---------- */
.floating-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--text-main);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}
.floating-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-top-btn:hover {
  background: var(--accent-pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(217, 26, 126, 0.35);
}

/* ---------- TOAST NOTIFICATIONS ---------- */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}
.toast-item {
  background: var(--text-main);
  color: #ffffff;
  padding: 0.85rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
  animation: toastIn 0.3s ease forwards;
}
@keyframes toastIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* ---------- SCROLL REVEAL ANIMATION ---------- */
.reveal-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE MEDIA QUERIES ---------- */
@media (max-width: 960px) {
  .hero-main-title { font-size: clamp(2.8rem, 9vw, 5.5rem); }
  .hero-showcase-grid, .works-featured-row, .works-two-col-grid, .works-three-col-grid, .testi-grid, .contact-grid-container { grid-template-columns: 1fr; }
  
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .modal-body { grid-template-columns: 1fr; }
  .modal-img-wrapper { min-height: 220px; }

  /* Mobile Navigation Drawer */
  .main-nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem 1.5rem;
    flex-direction: column;
    gap: 1.25rem;
    align-items: stretch;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 99;
  }
  .main-nav.mobile-open {
    display: flex !important;
  }
  .main-nav a {
    font-size: 1.1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }
  .main-nav .nav-cta-btn {
    text-align: center;
    margin-top: 0.5rem;
  }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
}
