/* =========================
   ROOT VARIABLES
========================= */
:root {
  --primary: #1d7caf;
  --primary-dark: #166088;
  --accent: #3b82f6;
  --accent-rgb: 59, 130, 246;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 0.6s;
  --duration-base: 0.75s;
  --duration-slow: 0.9s;

  --dark: #0f172a;


  --accent: #3b82f6;
  --accent-rgb: 59, 130, 246;

  --dark: #0f172a;
  --text: #1e293b;
  --muted: #64748b;

  --bg-light: #f8fafc;
  --bg-light-sec: #eef2ff;
  --bg-neutral: #f5f5f5;
  --section-warm: #fbf9f6;
  --section-cool: #eef4fb;
  --white: #ffffff;
  --gray-100: #f9fafb;
  --gray-200: #e5e7eb;
  --border: #e5e7eb;

  --radius: 0.875rem;
  --shadow-soft: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
  --shadow-btn: 0 0.875rem 2rem rgba(var(--accent-rgb), 0.45);

  /* FONTS */

  --font-primary: 'Outfit', sans-serif;
  --font-secondary: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* BREAKPOINTS */
  --breakpoint-xs: 0;
  --breakpoint-sm: 576px;
  --breakpoint-md: 768px;
  --breakpoint-lg: 992px;
  --breakpoint-xl: 1200px;
  --breakpoint-xxl: 1400px;
  --breakpoint-xxxl: 1600px;
  --breakpoint-xxxxl: 2000px;

}

/* =========================
   RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: 'Playfair Display', serif;
}

main section h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 90%;
  max-width: 75rem;
  margin: auto;
}

section {
  padding: 5.625rem 0;
  background-color: var(--bg-light);
}


.section-header {
  margin-bottom: 3.5rem;
}

.section-header .eyebrow,
.section-head .eyebrow {
  display: block;
}

.center {
  text-align: center;
  margin-bottom: 3.5rem;
}

.h2 {
  margin-bottom: 3rem;
}

.subtext {
  color: var(--muted);
  max-width: 45rem;
  margin: 1rem auto 4rem;
}

/* =========================
   GRIDS
========================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16.25rem, 1fr));
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  gap: 1.25rem;
}

/* =========================
   CARDS
========================= */
.card,
.service-card,
.step {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.service-card:hover {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-lg);
}

/* =========================
   BUTTONS (GLOBAL)
========================= */
.btn {
  padding: 0.875rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.btn.primary {
  background: var(--primary);
  color: var(--white);
}

.btn.primary:hover {
  background: var(--primary-dark);
  transform: translateY(-0.125rem);
  box-shadow: var(--shadow-btn);
}

.icon-inline {
  width: 1em;
  height: 1em;
  margin-right: 0.45rem;
  vertical-align: -0.125em;
  fill: currentColor;
  flex-shrink: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn.outline {
  border: 2px solid var(--primary);
  color: var(--white);
  background: transparent;
  margin-left: 0.5rem;
  margin-right: 0.5rem;
}

.btn.outline:hover {
  background: var(--primary);
  color: var(--white);
}

/* =========================
   LINKS
========================= */
.link {
  color: var(--primary);
  font-weight: 600;
}

.link:hover {
  text-decoration: underline;
}

/* =========================
   SERVICES CTA WRAPPER
========================= */
.Service-button {
  margin-top: 3rem;
  text-align: center;
}

/* =========================
   HERO
========================= */
.hero {
  position: relative;
  min-height: 100vh;
  background: url("../img/Birdnetting/Image-07.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 7.5rem 0 4rem;
  background-position: center calc(50% + var(--hero-parallax, 0px));
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.page-loaded .hero {
  opacity: 1;
  transform: translateY(0);
}

.services-page .hero {
  background: url("../img/service/service-hero.jpg") center / cover no-repeat;
}

.about-page .hero {
  background: url("../img/Birdnetting/Image-05.jpg") center / cover no-repeat;
}

.faq-page .hero {
  background: url("../img/Birdnetting/Image-14.jpg") center / cover no-repeat;
}

.about-page .hero,
.services-page .hero,
.contact-page .hero,
.faq-page .hero {
  min-height: 70vh;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65));
}

.hero-content {
  position: relative;
  max-width: 46rem;
  color: var(--white);
  margin-top: 6.5rem;
  text-align: center;
}

.hero-animate .hero-content {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.hero-animate .hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .hero,
  .hero-animate .hero-content,
  .hero-animate .hero-content.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal,
  .reveal-spin,
  .reveal-stagger .reveal-item,
  .reveal-stagger .reveal-item.reveal-spin,
  .reveal-image img {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-line::after {
    width: 3.5rem;
    transition: none;
  }

  .reveal-bg::before {
    opacity: 0.12;
    transform: none;
    transition: none;
  }
}

.hero--inner .hero-content {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgba(var(--accent-rgb), 0.2);
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  font-size: 0.75rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 3.75rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-200);
  margin-bottom: 2.25rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero--inner .hero-buttons {
  justify-content: center;
}

@media (max-width: 1024px) {
  .hero {
    min-height: 85vh;
    padding: 7rem 0 4rem;
  }

  .hero-content {
    margin-top: 5.5rem;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    align-items: flex-start;
    padding: 7rem 0 4rem;
  }

  .about-page .hero,
  .services-page .hero,
  .contact-page .hero,
  .faq-page .hero {
    min-height: auto;
  }

  .hero-content {
    margin-top: 0;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    min-height: auto;
    padding: 6.5rem 0 3.5rem;
  }

  .badge {
    letter-spacing: 0.12em;
  }

  .hero p {
    margin-bottom: 1.75rem;
  }
}

/* =========================
   SCROLL REVEALS
========================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-spin {
  opacity: 0;
  transform: translateY(22px) rotate(-3deg);
  transition: opacity var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

.reveal-spin.is-visible {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.reveal-stagger .reveal-item {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--duration-fast) var(--ease-out),
    transform var(--duration-fast) var(--ease-out);
  transition-delay: calc(var(--stagger-index, 0) * 0.08s);
}

.reveal-stagger.is-visible .reveal-item {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger .reveal-item.reveal-spin {
  opacity: 0;
  transform: translateY(16px) rotate(-3deg);
}

.reveal-stagger.is-visible .reveal-item.reveal-spin {
  opacity: 1;
  transform: translateY(0) rotate(0);
}

.reveal-image {
  overflow: hidden;
}

.reveal-image img {
  opacity: 0;
  transform: scale(1.06);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.reveal-image.is-visible img {
  opacity: 1;
  transform: scale(1);
}

.reveal-line {
  position: relative;
  display: inline-block;
  padding-bottom: 0.5rem;
}

.reveal-line::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: width var(--duration-base) var(--ease-out);
}

.reveal-line.is-visible::after {
  width: 3.5rem;
}

.reveal-bg {
  position: relative;
}

.reveal-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(var(--accent-rgb), 0.18),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
  pointer-events: none;
  z-index: 0;
}

.reveal-bg.is-visible::before {
  opacity: 0.12;
  transform: translateY(0);
}

.reveal-bg > .container {
  position: relative;
  z-index: 1;
}

/* =========================
   RECORDS / STATS SECTION
========================= */
.records {
  background: var(--section-cool);
  padding: 3rem 0;
}

.records-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 3rem;
  align-items: center;
}

.records-intro p {
  color: var(--muted);
  max-width: 26rem;
}

.records-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.record-item h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.record-item p {
  font-size: 0.85rem;
  color: var(--muted);
}

.record-item {
  background: var(--white);
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  width: 11rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

@media (max-width: 900px) {
  .records-wrap {
    grid-template-columns: 1fr;
  }

  .records-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-item {
    width: 100%;
  }
}

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

/* =========================
   ABOUT US SECTION
========================= */
.about {
  background: var(--section-warm);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image img {
  border-radius: 1.75rem;
  object-fit: cover;
  height: 100%;
}

.about-content h2 {
  margin-bottom: 1rem;
}

.about-subtext {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 26.25rem;
}

.about-points {
  list-style: none;
  margin-bottom: 2rem;
}

.about-points li {
  font-size: 0.9375rem;
  margin-bottom: 0.625rem;
  color: var(--text);
}

.about-image {
  position: relative;
  padding: 0.75rem;
  background: var(--white);
  border-radius: 2rem;
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.08);
  overflow: hidden;
}

.about-glow {
  position: absolute;
  right: -2rem;
  bottom: -2rem;
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  background: #dfe7e0;
  opacity: 0.6;
  z-index: 0;
}

.about-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  background: var(--white);
  border-radius: 1rem;
  padding: 0.75rem 1rem;
  display: grid;
  gap: 0.15rem;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.1);
  z-index: 1;
}

.about-badge-number {
  font-weight: 700;
  color: var(--primary);
  font-size: 1.35rem;
}

.about-badge-text {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow {
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.about-content p {
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.about-directors {
  margin: 1.5rem 0 1.75rem;
}

.about-directors h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.about-directors p {
  color: var(--muted);
  margin-bottom: 0;
  font-weight: 400;
}

.about-directors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0rem 2rem;
}

.about-directors h3 {
  grid-column: 1 / -1;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.about-highlights h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-highlights p {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .about-image {
    margin-bottom: 2rem;
  }
}

@media (max-width: 640px) {
  .about-directors {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .about-highlights {
    gap: 1.25rem;
  }
}

/* =========================
   TRUST SECTION
========================= */
.trust {
  background: var(--bg-light);
}

.trust-card {
  text-align: center;
}

.trust-card h3 {
  margin: 1rem 0 0.625rem;
  font-size: 1.25rem;
}

.trust-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.6;
}

.trust-icon {
  width: 3.5rem;
  height: 3.5rem;
  margin: 0 auto 0.75rem;
  border-radius: var(--radius);
  background: rgba(var(--accent-rgb), 0.12);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  font-weight: 700;
}

/* =========================
   SERVICES
========================= */
.services {
  background: var(--section-warm);
}

.service .section-alt {
  margin-top: 0;
  padding-top: 0;
}

.section-head {
  text-align: center;
}

.service-card img {
  height: 16rem;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 1rem;
}

.card-title {
  margin-bottom: 1rem;
}

.service-subtext {
  margin: 0.5rem auto 2rem;
}

.service-button .servce-btn {
  align-items: center;
  padding: 0.75rem 1.625rem;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.5rem;
}

.service-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.service-card-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: var(--radius);
}

.service-card-link:focus-visible .service-card {
  transform: translateY(-0.375rem);
  box-shadow: var(--shadow-lg);
}

.service-details {
  background: var(--section-warm);
  padding: 4.5rem 0 5rem;
}

.service-detail-grid {
  display: grid;
  gap: 2rem;
}

.service-detail-card {
  background: var(--white);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 1.5rem 3rem rgba(15, 23, 42, 0.12);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.services-page .service-detail-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1.75rem 3.5rem rgba(15, 23, 42, 0.16);
}

.service-detail-media {
  border-radius: 1.25rem;
  overflow: hidden;
  height: 220px;
}

.service-detail-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-detail-carousel {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  overflow: hidden;
  background: #eef2f7;
}

.service-detail-carousel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.45s ease;
}

.service-detail-carousel img.is-fading {
  opacity: 0;
}

.service-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.detail-left,
.detail-right {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.detail-block p {
  margin: 0;
}

.detail-cta {
  width: fit-content;
}

.detail-benefits-row {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.detail-benefits-row .detail-block {
  flex: 1;
}

.detail-benefits-row .detail-cta {
  margin-left: auto;
  align-self: flex-end;
}

.service-detail-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.service-detail-head h3 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

.detail-tag {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--primary);
  background: rgba(59, 130, 246, 0.14);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.detail-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.detail-benefits {
  margin-top: 1.75rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--text);
  display: grid;
  gap: 0.4rem;
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .service-media {
    height: 14rem;
  }

  .service-detail-card {
    padding: 1.5rem;
  }
}

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

  .service-detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-benefits-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .detail-benefits-row .detail-cta {
    margin-left: 0;
  }
}

.service-card--featured {
  background: #fdfbf7;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 1.125rem 2.75rem rgba(15, 23, 42, 0.08);
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.service-card--featured:hover {
  transform: translateY(-0.375rem);
  box-shadow: 0 1.5rem 3.25rem rgba(15, 23, 42, 0.12);
}

.service-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.25rem;
  height: 18rem;
}

.service-card--featured .service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  margin-bottom: 0;
  transition: transform 0.6s ease;
}

.services-page .service-card-link:hover .service-media img {
  transform: scale(1.04);
}

.service-media-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.1) 0%, rgba(15, 23, 42, 0.6) 100%);
}

.service-media-text {
  position: absolute;
  left: 1.25rem;
  bottom: 1.25rem;
  color: var(--white);
}

.service-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: block;
  margin-bottom: 0.35rem;
}

.service-card--featured .card-title {
  font-size: 1.4rem;
  margin-bottom: 0;
  color: var(--white);
}

.service-body {
  padding: 1.25rem 0.75rem 0.5rem;
}

.service-desc {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.service-pills {
  list-style: none;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  padding: 0;
}

.service-pills li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.service-pills li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

/* =========================
   GALLERY
========================= */

.gallery {
  background: #1f4339;
  color: var(--gallery-text, var(--white));
  padding: 10rem 0rem;
  position: relative;
  --gallery-border: rgba(255, 255, 255, 0.18);

}

.gallery .eyebrow {
  color: var(--gallery-eyebrow, rgba(255, 255, 255, 0.75));
}

.gallery-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 2.25rem;
  align-items: stretch;
  transition: opacity 0.35s ease, transform 0.35s ease;
  border: 1px solid var(--gallery-border, rgba(255, 255, 255, 0.18));
  border-radius: 1.75rem;
  padding: 2rem;
  background: var(--gallery-glass, rgba(255, 255, 255, 0.08));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.18);
}

.gallery-left {
  display: grid;
  gap: 1.5rem;
}

.gallery-intro h2 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}

.gallery-intro p {
  color: var(--gallery-muted, rgba(255, 255, 255, 0.8));
  max-width: 60rem;
}

.gallery-controls {
  position: absolute;
  top: 50%;
  left: 1rem;
  right: 1rem;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}

.gallery-nav {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(15, 23, 42, 0.78);
  color: var(--gallery-text, var(--white));
  font-size: 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  pointer-events: auto;
}

.gallery-nav:hover {
  background: rgba(15, 23, 42, 0.92);
  border-color: rgba(255, 255, 255, 0.7);
}

.gallery-nav:active {
  transform: scale(0.96);
}

.gallery-switching .gallery-grid {
  opacity: 0;
  transform: translateY(10px);
}

.before-after-card {
  position: relative;
  border-radius: 1.75rem;
  overflow: hidden;
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.25);
}

.before-after {
  background: var(--gallery-card-bg, rgba(255, 255, 255, 0.08));
  --split: 55%;
}

.before-after-media {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 28rem;
}

.before-img,
.after-img,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}

.before-img,
.after-img {
  position: absolute;
  inset: 0;
}

.before-img {
  z-index: 1;
}

.after-img {
  z-index: 2;
  clip-path: inset(0 calc(100% - var(--split)) 0 0);
}

.before-after-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  z-index: 4;
}

.before-after::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  width: 2px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 0 0.4rem rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  transform: translateX(-1px);
  z-index: 3;
}

.before-after::before {
  content: "";
  position: absolute;
  left: calc(var(--split) - 0.85rem);
  top: 50%;
  transform: translateY(-50%);
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  border: 2px solid rgba(255, 255, 255, 0.9);
  z-index: 4;
}

.before-after-labels {
  position: absolute;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  background: rgba(15, 23, 42, 0.8);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 5;
}


.before-after-labels .badge-dot {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0.3rem rgba(var(--accent-rgb), 0.25);
}

.gallery-card {
  border-radius: 1.4rem;
  overflow: hidden;
  background: var(--gallery-card-bg, rgba(255, 255, 255, 0.08));
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.gallery-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  align-content: start;
  align-items: stretch;
  /* margin-top: auto; */
}

.gallery-col {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  height: 100%;
}

.gallery-col--wide {
  align-content: start;
}

.gallery-col--square {
  align-content: end;
  margin-top: 0;
  margin-bottom: 2.5rem;
}

.gallery-col--wide .gallery-card {
  aspect-ratio: 1 / 1;
}

.gallery-col--square .gallery-card {
  aspect-ratio: 1 / 1;
}

.gallery-card--wide {
  aspect-ratio: 4 / 3;
}

.gallery-card--square {
  aspect-ratio: 1 / 1;
}

.gallery-right .gallery-mini-grid {
  padding-top: 0.25rem;
}

.gallery-right {
  justify-self: stretch;
  max-width: none;
  width: 100%;
  align-self: stretch;
  display: flex;
  flex-direction: column;
}

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

  .gallery-left {
    gap: 1.5rem;
  }

  .gallery-right {
    max-width: 100%;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .gallery {
    padding: 4.5rem 0;
  }

  .gallery-grid {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .gallery-intro h2 {
    font-size: 2rem;
  }

  .gallery-cards {
    grid-template-columns: 1fr;
  }

  .before-after-card {
    grid-column: span 1;
  }

  .gallery-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .before-after-media {
    min-height: 20rem;
  }

  .gallery-col--square {
    margin-bottom: 0;
  }
}

/* =========================
   PROCESS (REFERENCE STYLE)
========================= */
.process {
  background: var(--section-cool);
}

.process-wrapper {
  position: relative;
  margin-top: 3.75rem;
}

.process-line {
  position: absolute;
  top: 2.25rem;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--gray-200);
  z-index: 0;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

.process-item {
  text-align: center;
}

.process-circle {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 3px solid var(--primary);
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.process-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.process-item p {
  font-size: 0.875rem;
  color: var(--muted);
  max-width: 16.25rem;
  margin: auto;
}

@media (max-width: 900px) {
  .process-line {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .process-item p {
    max-width: 26rem;
  }
}

@media (max-width: 640px) {
  .process-line {
    display: none;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .process-circle {
    width: 3rem;
    height: 3rem;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
  }

  .process-item h3 {
    font-size: 0.95rem;
  }

  .process-item p {
    font-size: 0.85rem;
    max-width: 22rem;
  }
}

/* =========================
   TABLES
========================= */
.comparison {
  background: var(--section-warm);
}

.table-card {
  max-width: 56.25rem;
  margin: 2.5rem auto 0;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.comparison table th,
.comparison table td {
  text-align: left;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.table-card.table-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}

thead th {
  background: var(--dark);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 1.125rem;
}

thead th:nth-child(2) {
  background: var(--primary);
}

tbody td {
  padding: 1.125rem 1.125rem 1.125rem 1.5rem;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px) {
  .table-card {
    margin: 2rem 0 0;
    overflow-x: auto;
  }

  table {
    min-width: 36rem;
  }
}

tbody tr:last-child td {
  border-bottom: none;
}

tbody td:nth-child(2) {
  font-weight: 600;
  color: var(--primary);
}

.comparison tbody td:nth-child(2) {
  position: relative;
  padding-left: 2rem;
}

.comparison tbody td:nth-child(2)::before {
  content: "\2713";
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #22c55e;
  font-weight: 700;
  font-size: 0.95rem;
}

tbody tr:nth-child(even) {
  background: var(--gray-100);
}

@media (max-width: 768px) {
  .table-card {
    overflow-x: visible;
  }

  table {
    width: 100%;
    min-width: 0;
  }

  thead th,
  tbody td {
    white-space: normal;
    font-size: 0.75rem;
    padding: 0.6rem 0.5rem 0.6rem 0.85rem;
  }

  .comparison tbody td:nth-child(2) {
    padding-left: 1.35rem;
  }

  .comparison tbody td:nth-child(2)::before {
    left: 0.55rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 640px) {

  .reviews h2,
  .process h2,
  .services h2,
  .records h2,
  .comparison h2 {
    font-size: 1.75rem;
  }
}

/* =========================
   CONTACT
========================= */
.reviews {
  background: var(--section-cool);
}

.reviews-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.reviews-header h2 {
  color: var(--primary);
}

.review-stars {
  margin-top: 0.5rem;
  color: var(--primary);
  letter-spacing: 0.35rem;
  font-size: 0.9rem;
}

.reviews-slider {
  --reviews-per-view: 3;
  --reviews-gap: 1.5rem;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
}

.reviews-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.review-track {
  display: flex;
  gap: var(--reviews-gap);
  transition: transform 0.45s ease;
  will-change: transform;
}

.review-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.75rem;
  /* box-shadow: 0 0rem 0rem rgba(31, 59, 46, 0.18); */
  border: 1px solid #ffbe0bb6;
  flex: 0 0 calc((100% - (var(--reviews-gap) * (var(--reviews-per-view) - 1))) / var(--reviews-per-view));
  min-height: 100%;
}

.review-text {
  color: var(--text);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.reviewer {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.review-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  object-fit: cover;
  background: #d9e6de;
  display: block;
  flex-shrink: 0;
}

.review-name {
  font-weight: 600;
  color: var(--primary);
}

.review-role {
  font-size: 0.8rem;
  color: var(--muted);
}

.reviews-arrow {
  position: relative;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(31, 59, 46, 0.2);
  background: var(--white);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  box-shadow: 0 0.75rem 1.5rem rgba(31, 59, 46, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
  z-index: 2;
}

.reviews-arrow:hover {
  transform: translateY(-1px);
  box-shadow: 0 1rem 2rem rgba(31, 59, 46, 0.16);
}

.reviews-arrow:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.reviews-cta {
  margin-top: 2rem;
  text-align: center;
}

/* =========================
   FAQ
========================= */
.faq {
  background: var(--section-warm);
}

.faq-page .faq {
  background: var(--section-cool);
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow-soft);
  align-self: start;
  cursor: pointer;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-cta {
  margin-top: 2rem;
  text-align: center;
}

@media (max-width: 900px) {
  .reviews-slider {
    --reviews-per-view: 2;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .faq {
    padding: 3.25rem 0;
  }

  .faq .section-header {
    margin-bottom: 2rem;
  }

  .faq .subtext {
    margin-bottom: 2rem;
    font-size: 0.95rem;
  }

  .faq-grid {
    gap: 1rem;
  }

  .faq-item {
    padding: 1rem 1.1rem;
  }

  .faq-item summary {
    font-size: 0.95rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }

  .reviews-slider {
    --reviews-per-view: 1;
    grid-template-columns: 1fr;
  }

  .reviews-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }

  .reviews-prev {
    left: -0.5rem;
  }

  .reviews-next {
    right: -0.5rem;
  }
}

.contact-cta {
  background: var(--section-cool);
}

.services-page .contact-cta {
  background: var(--section-cool);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  background: var(--white);
  border-radius: 2rem;
  overflow: hidden;
  box-shadow: 0 1.5rem 3.5rem rgba(31, 59, 46, 0.2);
}

.contact-left {
  background: var(--primary);
  color: var(--white);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-left h2 {
  font-size: 2rem;
  line-height: 1.2;
}

.contact-left p {
  color: rgba(255, 255, 255, 0.85);
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.5rem;
  padding: 0;
}

.contact-list li {
  display: grid;
  gap: 0.25rem;
  font-size: 0.95rem;
}

.contact-list li.contact-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-list .contact-block {
  display: grid;
  gap: 0.25rem;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}

.contact-map {
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.2);
  height: 18rem;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-wrap {
  margin-top: auto;
}

.contact-map-note {
  margin-top: 0.65rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  text-align: center;
  letter-spacing: 0.02em;
}

.contact-right {
  padding: 2.25rem;
  display: flex;
  align-items: center;
}

.contact-form {
  width: 100%;
  display: grid;
  gap: 1rem;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.contact-form .field {
  display: grid;
  gap: 0.5rem;
}

.contact-form label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.65rem;
  color: var(--muted);
  font-weight: 600;
}

.contact-form label.label-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-form label.label-with-icon .icon-inline {
  margin-right: 0;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e2e8f0;
  font-family: inherit;
  background: #fbfbfb;
}

.contact-form textarea {
  min-height: 6.5rem;
  resize: vertical;
}

@media (max-width: 640px) {
  .contact-left,
  .contact-right {
    padding: 1.5rem;
  }

  .contact-list li.contact-inline {
    grid-template-columns: 1fr;
  }

  .contact-map {
    height: 14rem;
  }

  .contact-form .form-row {
    grid-template-columns: 1fr;
  }
}

.btn.btn-dark {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.95rem 2rem;
  border-radius: 0.85rem;
  font-weight: 600;
  box-shadow: 0 1rem 2rem rgba(0, 33, 71, 0.25);
}

.btn.btn-dark:hover {
  background: #17392c;
  transform: translateY(-0.125rem);
}

.form-note {
  text-align: center;
  font-size: 0.7rem;
  color: var(--muted);
}

/* =========================
   SCROLL TO TOP
========================= */
.scroll-top {
  position: fixed;
  right: 1.5rem;
  bottom: 3.25rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: var(--white);
  font-size: 1.4rem;
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 60;
}

.scroll-top:hover {
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.28);
}

.scroll-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* =========================
   FLOATING SOCIAL BUTTONS
========================= */
.floating-social {
  position: fixed;
  right: 1.5rem;
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 50;
}

.floating-social-btn {
  width: 3rem;
  height: 3rem;
  padding: 0;
  border-radius: 50%;
  color: var(--white);
  box-shadow: 0 0.75rem 1.5rem rgba(15, 23, 42, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.floating-social-btn:hover {
  transform: translateY(-0.2rem);
  box-shadow: 0 1rem 2rem rgba(15, 23, 42, 0.28);
}

.floating-social-btn svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: currentColor;
}

.floating-social-btn.whatsapp {
  background: #16a34a;
}

.floating-social-btn.instagram {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af);
}

.floating-social-btn.youtube {
  background: #dc2626;
}

@media (max-width: 640px) {
  .scroll-top {
    right: 1rem;
    bottom: 1rem;
    width: 2.6rem;
    height: 2.6rem;
    font-size: 1.2rem;
    z-index: 70;
  }

  .floating-social {
    right: 1rem;
    bottom: 4.25rem;
    gap: 0.5rem;
    z-index: 60;
  }

  .floating-social-btn {
    width: 2.4rem;
    height: 2.4rem;
  }

  .floating-social-btn svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}

@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-left,
  .contact-right {
    padding: 2.25rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 4.5rem 0;
  }
}

@media (max-width: 480px) {
  section {
    padding: 3.75rem 0;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-content {
    margin-top: 3.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .before-after-media {
    min-height: 16rem;
  }

  .reviews-arrow {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.1rem;
  }

  .reviews-prev {
    left: 0.25rem;
  }

  .reviews-next {
    right: 0.25rem;
  }
}
