/* ===================== VARIABLES ===================== */
:root {
  --charcoal: #232529;
  --charcoal-2: #2b2d33;
  --charcoal-3: #35383f;
  --blue: #29abe2;
  --blue-dark: #1c86b4;
  --blue-light: #6fd1f7;
  --white: #ffffff;
  --off-white: #f5f7fa;
  --gray-100: #eceef1;
  --gray-400: #9aa0aa;
  --gray-600: #5c626c;
  --text: #23262b;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(20, 24, 33, 0.08);
  --shadow-lg: 0 20px 50px rgba(20, 24, 33, 0.16);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1160px;
}

/* ===================== RESET ===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; font-weight: 700; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--blue-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section { padding: 100px 0; }
.section-alt { background: var(--off-white); }
.section-dark {
  background: linear-gradient(160deg, var(--charcoal) 0%, var(--charcoal-2) 100%);
  color: var(--white);
  padding: 100px 0;
}
.section-dark .eyebrow { color: var(--blue-light); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-sub { color: var(--gray-600); font-size: 1.05rem; margin-top: 12px; }
.section-dark .section-sub { color: var(--gray-400); }

.placeholder-note {
  background: #fff4e5;
  color: #8a5a00;
  border: 1px solid #ffdca8;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: inline-block;
  margin-top: 14px;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 25px rgba(41, 171, 226, 0.35);
}
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(41, 171, 226, 0.45); }
.btn-ghost {
  background: transparent;
  border: 2px solid var(--charcoal-3);
  color: var(--text);
}
.section-dark .btn-ghost, .hero .btn-ghost { border-color: rgba(255,255,255,0.3); color: var(--white); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-2px); }
.section-dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: var(--blue); color: var(--blue-light); }
.btn-block { width: 100%; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }

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

.brand { display: flex; align-items: center; gap: 12px; }
.brand-logo { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.brand-text { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--charcoal); }
.brand-text em { font-style: normal; color: var(--blue); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.main-nav a { font-weight: 600; font-size: 0.95rem; color: var(--gray-600); transition: color 0.2s ease; }
.main-nav a:hover { color: var(--blue); }
.nav-cta {
  background: var(--charcoal);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 999px;
}
.nav-cta:hover { background: var(--blue) !important; }

.header-actions { display: flex; align-items: center; gap: 16px; }
.call-btn {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 0.9rem;
  color: var(--charcoal);
}
.call-btn svg { color: var(--blue); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  height: 24px;
}
.hamburger span {
  display: block; height: 3px; width: 100%;
  background: var(--charcoal); border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 170px 0 100px;
  overflow: hidden;
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(41,171,226,0.14), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(35,37,41,0.06), transparent 40%);
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
.hero-copy .eyebrow { color: var(--blue-dark); }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  color: var(--charcoal);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--blue); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero .btn-ghost { border-color: var(--charcoal-3); color: var(--charcoal); }
.hero .btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }

.hero-badges { display: flex; gap: 24px; flex-wrap: wrap; }
.badge {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 0.9rem;
  color: var(--gray-600);
}
.badge svg { color: var(--blue); flex-shrink: 0; }

.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-card {
  background: linear-gradient(155deg, var(--charcoal-2), var(--charcoal));
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-big { width: 100%; border-radius: var(--radius); }

.hero-floaters { position: absolute; inset: 0; pointer-events: none; }
.floater {
  position: absolute;
  background: var(--white);
  box-shadow: var(--shadow);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--charcoal);
  animation: floaty 5s ease-in-out infinite;
}
.floater-1 { top: 6%; left: -6%; animation-delay: 0s; }
.floater-2 { bottom: 18%; right: -8%; animation-delay: 1.2s; }
.floater-3 { bottom: -4%; left: 8%; animation-delay: 2.4s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ===================== TRUST STRIP ===================== */
.trust-strip {
  background: var(--charcoal);
  color: var(--gray-400);
  padding: 14px 0;
}
.trust-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.9rem;
  flex-wrap: wrap;
}
.trust-label { font-weight: 600; }

.social-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.social-btn svg { flex-shrink: 0; }
.social-btn:hover {
  transform: translateY(-2px);
  border-color: transparent;
}
.social-btn--facebook:hover {
  background: #1877f2;
  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}
.social-btn--instagram:hover {
  background: linear-gradient(45deg, #f9ce34, #ee2a7b, #6228d7);
  box-shadow: 0 8px 20px rgba(238, 42, 123, 0.35);
}
@media (max-width: 480px) {
  .social-btn span { display: none; }
  .social-btn { padding: 10px; }
}

/* ===================== CARDS / GRID ===================== */
.grid { display: grid; gap: 28px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.reviews-grid { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(155deg, var(--blue), var(--blue-dark));
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.service-card h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--charcoal); }
.service-card p { color: var(--gray-600); font-size: 0.96rem; }

/* ===================== WHY US ===================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 32px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; }
.why-list svg { color: var(--blue); flex-shrink: 0; margin-top: 3px; }
.why-list strong { display: block; font-size: 1.02rem; color: var(--charcoal); margin-bottom: 2px; }
.why-list span { color: var(--gray-600); font-size: 0.93rem; }

.why-visual { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 30px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 4px solid var(--blue);
}
.stat-card strong { font-family: var(--font-head); font-size: 1.05rem; color: var(--charcoal); }
.stat-card span:last-child { color: var(--gray-600); font-size: 0.88rem; }
.stat-icon { font-size: 1.6rem; margin-bottom: 6px; }
.stat-card-2 { margin-left: 40px; }
.stat-card-3 { margin-left: 80px; }

/* ===================== PROCESS ===================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.process-step {
  position: relative;
  padding: 30px 26px;
  background: var(--off-white);
  border-radius: var(--radius);
}
.step-num {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--charcoal);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 18px;
}
.process-step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--charcoal); }
.process-step p { color: var(--gray-600); font-size: 0.92rem; }

/* ===================== REVIEWS ===================== */
.stars { color: var(--blue); font-size: 1.1rem; letter-spacing: 3px; margin-bottom: 14px; }
.review-card p { color: var(--gray-600); font-style: italic; margin-bottom: 18px; }
.review-author { font-weight: 700; color: var(--charcoal); font-size: 0.9rem; }
.reviews-cta { text-align: center; margin-top: 44px; }

/* ===================== SERVICE AREA ===================== */
.area-inner h2 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); margin-bottom: 6px; }
.area-placeholder { color: var(--blue-dark); border-bottom: 2px dashed var(--blue); }
.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.area-list li {
  background: var(--off-white);
  border: 1px solid var(--gray-100);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--gray-600);
  font-size: 0.92rem;
}

/* ===================== CONTACT ===================== */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact-methods { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-method {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.contact-method svg { color: var(--blue-light); flex-shrink: 0; }
.contact-method:hover { background: rgba(41,171,226,0.14); border-color: var(--blue); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--text);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.contact-form input, .contact-form textarea {
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s ease;
  resize: vertical;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-note { text-align: center; font-size: 0.88rem; color: var(--blue-dark); font-weight: 600; min-height: 1.2em; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--charcoal-2); color: var(--gray-400); padding: 50px 0 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand-text { color: var(--white); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { font-weight: 600; font-size: 0.9rem; transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--blue-light); }
.footer-socials { display: flex; gap: 14px; }
.footer-socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.footer-socials a:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.footer-bottom {
  padding: 22px 24px;
  text-align: center;
  font-size: 0.82rem;
}

/* ===================== BACK TO TOP ===================== */
.back-to-top {
  position: fixed;
  bottom: 26px; right: 26px;
  width: 48px; height: 48px;
  background: var(--charcoal);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease;
  z-index: 900;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--blue); }

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ===================== BEFORE / AFTER SLIDER ===================== */
.ba-slider { width: 100%; }
.ba-slider__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  cursor: ew-resize;
  user-select: none;
  background: var(--charcoal-2);
}
.ba-slider__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
}
.ba-slider__img--before.ba-slider__img--placeholder { background: linear-gradient(155deg, var(--charcoal-3), var(--charcoal)); }
.ba-slider__img--after.ba-slider__img--placeholder { background: linear-gradient(155deg, var(--blue-dark), var(--blue)); }

.ba-slider__divider {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.15);
  transform: translateX(-50%);
  pointer-events: none;
}
.ba-slider__handle {
  position: absolute;
  top: 50%; left: 50%;
  width: 44px; height: 44px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--charcoal);
  box-shadow: var(--shadow-lg);
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.ba-slider__handle svg { width: 20px; height: 20px; }
.ba-slider.is-dragging .ba-slider__handle { background: var(--blue); color: var(--white); }

.ba-slider__label {
  position: absolute;
  top: 14px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(35, 37, 41, 0.55);
  pointer-events: none;
}
.ba-slider__label--before { left: 14px; }
.ba-slider__label--after { right: 14px; }

.ba-slider__range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba-slider__range:focus-visible ~ .ba-slider__handle,
.ba-slider__frame:has(.ba-slider__range:focus-visible) .ba-slider__handle {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}
.ba-slider__caption { text-align: center; color: var(--gray-600); font-size: 0.88rem; margin-top: 12px; }

/* ===================== PREVIOUS WORK ===================== */
.jobs-grid { grid-template-columns: repeat(2, 1fr); }
.job-card { display: flex; flex-direction: column; gap: 16px; }
.job-card-body h3 { font-size: 1.1rem; margin-bottom: 4px; color: var(--charcoal); }
.job-date { color: var(--blue-dark); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; display: block; }
.job-card-body p { color: var(--gray-600); font-size: 0.95rem; }
.recent-work-cta { text-align: center; margin-top: 44px; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 320px; margin: 0 auto 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { flex-direction: row; flex-wrap: wrap; }
  .stat-card-2, .stat-card-3 { margin-left: 0; }
  .contact-inner { grid-template-columns: 1fr; }
  .services-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed;
    top: 78px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    gap: 4px;
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  .main-nav.open { transform: translateY(0); opacity: 1; }
  .main-nav a { padding: 12px 4px; border-bottom: 1px solid var(--gray-100); }
  .main-nav .nav-cta { text-align: center; margin-top: 10px; border-bottom: none; }
  .hamburger { display: flex; }
  .call-btn span { display: none; }
  .services-grid, .reviews-grid, .process-grid, .jobs-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .hero { padding: 140px 0 70px; }
}
