:root {
  --navy: #0a1630;
  --navy-soft: #142448;
  --ink: #000000;
  --muted: #111111;
  --paper: #f7f5f2;
  --white: #ffffff;
  --blue: #1a4fcc;
  --purple: #7b2cff;
  --magenta: #c2188a;
  --orange: #e85a1c;
  --gold: #ffb020;
  --grad: linear-gradient(135deg, #1a4fcc 0%, #7b2cff 45%, #e85a1c 100%);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Syne", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --topbar-h: 38px;
  --site-header-h: calc(var(--topbar-h) + var(--header-h));
  --radius: 18px;
  --shadow: 0 24px 60px rgba(10, 22, 48, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: #000;
  background: var(--paper);
  font-family: var(--font-ui);
  font-weight: 500;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

/* Ambient lights */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  mix-blend-mode: multiply;
  opacity: 0.35;
  will-change: transform, opacity;
  animation: orbFloat 18s var(--ease) infinite alternate;
}

.orb-blue {
  width: 42vw;
  height: 42vw;
  background: #4d7cff;
  top: -10%;
  left: -8%;
  animation-duration: 22s;
}

.orb-orange {
  width: 36vw;
  height: 36vw;
  background: #ff9a4d;
  bottom: 10%;
  right: -12%;
  animation-duration: 26s;
  animation-delay: -4s;
}

.orb-purple {
  width: 28vw;
  height: 28vw;
  background: #9b5cff;
  top: 40%;
  left: 30%;
  animation-duration: 20s;
  animation-delay: -8s;
}

.orb-pink {
  width: 24vw;
  height: 24vw;
  background: #ff6bcb;
  top: 15%;
  right: 20%;
  animation-duration: 24s;
  animation-delay: -2s;
}

@keyframes orbFloat {
  0% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.28; }
  50% { opacity: 0.42; }
  100% { transform: translate3d(4%, -6%, 0) scale(1.12); opacity: 0.32; }
}

main,
.site-header,
.site-footer,
.modal,
.wa,
.loader {
  position: relative;
  z-index: 1;
}

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity 0.7s var(--ease), visibility 0.7s;
}

.loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader__inner {
  text-align: center;
  width: min(360px, 86vw);
}

.loader__logo-wrap {
  position: relative;
  overflow: hidden;
  display: inline-block;
  opacity: 0;
  transform: scale(0.92);
}

.loader__logo {
  width: min(320px, 78vw);
  height: auto;
}

.loader__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
  transform: translateX(-120%);
}

.loader__bar {
  margin: 1.75rem auto 0.9rem;
  height: 2px;
  width: 100%;
  background: rgba(10, 22, 48, 0.08);
  overflow: hidden;
  border-radius: 2px;
}

.loader__bar-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--grad);
}

.loader__text {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  background: linear-gradient(90deg, #0a1630 0%, #142448 55%, #1a2548 100%);
  border-bottom: 3px solid var(--gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  transition: box-shadow 0.3s, background 0.3s;
}

.site-header.is-scrolled {
  background: linear-gradient(90deg, #070f22 0%, #0f1c38 55%, #142448 100%);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.topbar {
  height: var(--topbar-h);
  background: #070f22;
  border-bottom: 1px solid rgba(255, 176, 32, 0.28);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
}

.topbar__inner {
  width: min(1180px, calc(100% - 3rem));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.topbar__left,
.topbar__right {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-width: 0;
}

.topbar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: color 0.25s;
}

.topbar__item:hover {
  color: var(--gold);
}

.topbar__item--static {
  pointer-events: none;
}

.topbar__icon {
  color: var(--gold);
  font-size: 0.78rem;
  line-height: 1;
}

.topbar__divider {
  width: 1px;
  height: 14px;
  background: rgba(255, 176, 32, 0.35);
}

.topbar__tag {
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-header__main {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border-radius: 10px;
  padding: 0.3rem 0.55rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.brand img {
  width: 132px;
  height: auto;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 176, 32, 0.22);
  border-radius: 999px;
  padding: 0.28rem;
}

.nav a {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s, transform 0.25s;
}

.nav a:hover,
.nav a.is-active {
  color: #0a1630;
  background: var(--gold);
  transform: translateY(-1px);
}

.site-header .btn--sm {
  background: var(--gold);
  color: #0a1630;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(255, 176, 32, 0.35);
  border: 0;
}

.site-header .btn--sm:hover {
  background: #fff;
  color: #0a1630;
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 176, 32, 0.45);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  background: var(--gold);
  margin-inline: auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  cursor: pointer;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s, color 0.3s;
}

.btn--sm {
  padding: 0.7rem 1.15rem;
  font-size: 0.72rem;
}

.btn--solid {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 10px 30px rgba(10, 22, 48, 0.2);
}

.btn--solid:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #142448, #1a4fcc 60%, #e85a1c);
}

.btn--ghost {
  background: transparent;
  color: #000;
  border: 1px solid rgba(0, 0, 0, 0.35);
  font-weight: 600;
}

.btn--ghost:hover {
  border-color: #000;
  transform: translateY(-2px);
}

.btn--wa {
  width: 100%;
  background: #25d366;
  color: #fff;
  border-radius: 12px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
}

.text-link {
  display: inline-block;
  margin-top: 1.2rem;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  color: #000;
  font-weight: 700;
  border-bottom: 1px solid rgba(0, 0, 0, 0.35);
  padding-bottom: 2px;
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end stretch;
  color: #fff;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 48, 0.35) 0%, rgba(10, 22, 48, 0.55) 45%, rgba(10, 22, 48, 0.78) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: calc(var(--site-header-h) + 2rem) 0 5.5rem;
}

.hero__brand {
  width: min(360px, 78vw);
  height: auto;
  margin-bottom: 1.4rem;
  opacity: 0;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 14px;
  padding: 0.7rem 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: 0.01em;
  max-width: 14ch;
}

.hero__title .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(120%);
}

.hero__title .char-space {
  display: inline-block;
  width: 0.28em;
}

.hero__sub {
  margin: 0 0 1.8rem;
  max-width: 36ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, 0.86);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__cta .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.hero__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll span {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.section-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: #000;
  letter-spacing: 0.01em;
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.2rem;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

.section-lead {
  margin: 0;
  max-width: 42ch;
  color: #000;
  font-size: 1.05rem;
  font-weight: 500;
}

.reveal-up,
.stagger-item,
.clip-reveal {
  opacity: 0;
}

.clip-reveal {
  overflow: hidden;
  clip-path: inset(0 0 100% 0);
}

.clip-reveal img {
  transform: scale(1.12);
  will-change: transform;
}

/* Stats */
.stats {
  padding: 0;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.stat-card {
  text-align: center;
  padding: 1.2rem 0.6rem;
  border-radius: 14px;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 0 0 1px rgba(122, 44, 255, 0.12), 0 18px 40px rgba(232, 90, 28, 0.18);
}

.stat-card__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
}

.stat-card__label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about__visual {
  border-radius: 22px;
  min-height: 420px;
}

.about__visual img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* Services */
.services {
  position: relative;
  overflow: hidden;
  color: #000;
}

.services__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.services__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
}

.services__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 245, 242, 0.78) 0%, rgba(247, 245, 242, 0.88) 55%, rgba(247, 245, 242, 0.92) 100%);
}

.services__content {
  position: relative;
  z-index: 1;
}

.services .eyebrow {
  color: var(--orange);
}

.services .section-title {
  color: #000;
  text-shadow: none;
}

.services__grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  border-top: none;
}

.service-card {
  margin: 0;
  padding: 1.5rem 1.25rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
  text-shadow: none;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
}

.service-card__idx {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--orange);
  margin-bottom: 1rem;
  font-weight: 700;
}

.service-card h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: #000;
}

.service-card p {
  margin: 0;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
}

/* Why Choose Us */
.why {
  background: #fff;
}

.why__head {
  margin-bottom: 2.4rem;
}

.why__head .section-lead {
  margin-top: 0.75rem;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.why-card {
  margin: 0;
  padding: 1.6rem 1.35rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 176, 32, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.why-card__num {
  display: block;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  color: var(--orange);
}

.why-card h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #000;
  line-height: 1.2;
}

.why-card p {
  margin: 0;
  color: #000;
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
}

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

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

/* Projects grid */
.gallery__head {
  margin-bottom: 2.4rem;
}

.gallery__head .section-lead {
  margin-top: 0.75rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
  min-height: 560px;
}

.project-card {
  margin: 0;
}

.project-card.is-hidden {
  display: none;
}

.project-card__img {
  border-radius: 16px;
  height: 240px;
  overflow: hidden;
  background: rgba(10, 22, 48, 0.06);
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.project-card:hover .project-card__img img {
  transform: scale(1.05);
}

.project-card figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.7rem;
}

.project-card span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
  opacity: 0.7;
}

.project-card strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
}

.projects-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.projects-pager__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(10, 22, 48, 0.18);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.projects-pager__btn:hover:not(:disabled) {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  transform: translateY(-1px);
}

.projects-pager__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.projects-pager__dots {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.projects-pager__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(10, 22, 48, 0.2);
  cursor: pointer;
  transition: transform 0.25s, background 0.25s;
}

.projects-pager__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

.projects-pager__meta {
  margin: 0;
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #000;
  font-weight: 600;
}

@media (max-width: 900px) {
  .projects-grid {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
  }
}

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

  .project-card__img {
    height: 220px;
  }
}

/* Before / After */
.transform .section-lead {
  margin-bottom: 2rem;
}

.ba {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 22px;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  box-shadow: var(--shadow);
  cursor: ew-resize;
  opacity: 0;
  transform: translateY(40px);
}

.ba__after,
.ba__before {
  position: absolute;
  inset: 0;
}

.ba__after img,
.ba__before img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.ba__before {
  width: 50%;
  overflow: hidden;
  border-right: 2px solid rgba(255, 255, 255, 0.85);
}

.ba__before img {
  width: 100vw;
  max-width: none;
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
}

.ba__label {
  position: absolute;
  top: 1.1rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  background: rgba(10, 22, 48, 0.72);
  color: #fff;
  backdrop-filter: blur(8px);
  border-radius: 999px;
}

.ba__label--before { left: 1rem; }
.ba__label--after { right: 1rem; }

.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  z-index: 3;
}

.ba__glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 6px rgba(255, 176, 32, 0.35),
    0 0 28px rgba(122, 44, 255, 0.55),
    0 8px 24px rgba(10, 22, 48, 0.35);
}

.ba__glow::before,
.ba__glow::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--navy);
  border-right: 2px solid var(--navy);
}

.ba__glow::before {
  left: 14px;
  transform: translateY(-50%) rotate(-135deg);
}

.ba__glow::after {
  right: 14px;
  transform: translateY(-50%) rotate(45deg);
}

/* Clients Say */
.testimonials {
  background: #fff;
}

.testimonials__head {
  margin-bottom: 2.4rem;
}

.testimonials__head .section-lead {
  margin-top: 0.75rem;
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  margin: 0;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 18px;
  background: var(--paper);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.testimonial__stars {
  color: var(--gold);
  letter-spacing: 0.12em;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.testimonial__quote {
  margin: 0 0 1.4rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.45;
  color: #000;
}

.testimonial__person {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.testimonial__person img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 176, 32, 0.45);
}

.testimonial__person strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
}

.testimonial__person span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #000;
  opacity: 0.7;
  font-weight: 500;
}

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

/* CTA */
.cta__inner {
  text-align: center;
  padding: 3.5rem 1.5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at 20% 20%, rgba(26, 79, 204, 0.12), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(232, 90, 28, 0.14), transparent 42%),
    #fff;
  border: 1px solid rgba(10, 22, 48, 0.06);
}

.cta .section-lead {
  margin: 0 auto 1.6rem;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 0;
  background: #0f1c38;
  color: rgba(255, 255, 255, 0.82);
  border-top: 5px solid var(--gold);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.7fr 1.1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2.5rem;
}

.footer__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 12px;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer__logo-box--sm {
  padding: 0.45rem 0.6rem;
  margin-bottom: 1rem;
}

.footer__logo {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer__logo-box--sm .footer__logo {
  width: 140px;
}

.footer__name {
  margin: 0.9rem 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #fff;
}

.footer__tag {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__slogan {
  margin: 1rem 0 0;
  max-width: 28ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.footer__heading {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s, padding-left 0.25s;
}

.footer__links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer__map {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 32, 0.35);
  aspect-ratio: 4 / 3;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.06);
}

.footer__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.2) contrast(1.05);
}

.footer__address {
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.footer__address p {
  margin: 0 0 0.9rem;
}

.footer__address strong {
  display: inline-block;
  margin-bottom: 0.2rem;
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.footer__address a {
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s;
}

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

.footer__bottom {
  border-top: 4px solid var(--gold);
  padding: 1.15rem 0 1.4rem;
  background: #0a1428;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

@media (max-width: 1100px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s, visibility 0.35s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 48, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  border-radius: 22px;
  box-shadow: var(--shadow);
  transform: translateY(28px) scale(0.96);
  opacity: 0;
}

.modal.is-open .modal__panel {
  animation: modalIn 0.55s var(--ease) forwards;
}

@keyframes modalIn {
  to { transform: none; opacity: 1; }
}

.glass {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.modal__media img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.modal__body {
  padding: 1.6rem 1.5rem 1.5rem;
}

.modal__close {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy);
}

.modal__body h2 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: #000;
  line-height: 1.15;
  font-weight: 700;
}

.modal__body > .modal__form-view > p,
.modal__success p {
  margin: 0 0 1.2rem;
  color: #000;
}

.field {
  margin-bottom: 0.85rem;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid rgba(10, 22, 48, 0.14);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  padding: 0.75rem 0.85rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(123, 44, 255, 0.12);
}

.field input.is-invalid,
.field select.is-invalid,
.field textarea.is-invalid {
  border-color: #d64545;
}

.form-error {
  color: #d64545;
  font-size: 0.85rem;
  margin: 0 0 0.8rem;
}

.modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.4rem;
}

.modal__success {
  text-align: center;
  padding: 2rem 0.5rem;
}

.modal__success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  margin: 0.8rem 0 0.4rem;
}

.success-check {
  width: 64px;
  height: 64px;
  margin: 0 auto;
  border-radius: 50%;
  background: var(--grad);
  position: relative;
  transform: scale(0);
}

.success-check::after {
  content: "";
  position: absolute;
  left: 22px;
  top: 18px;
  width: 14px;
  height: 26px;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
}

.modal__success.is-shown .success-check {
  animation: popIn 0.55s var(--ease) forwards;
}

@keyframes popIn {
  to { transform: scale(1); }
}

/* WhatsApp */
/* Floating Book Consultation (left) */
.float-consult {
  position: fixed;
  left: 1.2rem;
  bottom: 1.2rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.float-consult__btn {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #0a1630;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.55), 0 12px 28px rgba(10, 22, 48, 0.22);
  animation: consultPulse 2.2s ease infinite;
}

.float-consult__btn:hover {
  background: #fff;
}

@keyframes consultPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0.55), 0 12px 28px rgba(10, 22, 48, 0.22); }
  70% { box-shadow: 0 0 0 16px rgba(255, 176, 32, 0), 0 12px 28px rgba(10, 22, 48, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(255, 176, 32, 0), 0 12px 28px rgba(10, 22, 48, 0.22); }
}

.float-consult__tip {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 176, 32, 0.45);
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #0a1630;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(10, 22, 48, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}

.float-consult:hover .float-consult__tip,
.float-consult.is-tip-on .float-consult__tip {
  opacity: 1;
  transform: none;
}

.float-consult__tip span {
  color: var(--orange);
  font-weight: 700;
}

/* WhatsApp */
.wa {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.7rem;
}

.wa__btn {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 28px rgba(10, 22, 48, 0.22);
  animation: waPulse 2.2s ease infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55), 0 12px 28px rgba(10, 22, 48, 0.22); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0), 0 12px 28px rgba(10, 22, 48, 0.22); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0), 0 12px 28px rgba(10, 22, 48, 0.22); }
}

.wa__tip {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.65rem 0.9rem;
  border-radius: 14px;
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(10, 22, 48, 0.12);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s, transform 0.35s;
  pointer-events: none;
}

.wa:hover .wa__tip,
.wa.is-tip-on .wa__tip {
  opacity: 1;
  transform: none;
}

.wa__tip span {
  color: var(--muted);
}

.wa__bubble {
  width: min(300px, calc(100vw - 2.4rem));
  padding: 1rem;
  border-radius: 18px;
  box-shadow: var(--shadow);
  transform-origin: bottom right;
  animation: bubbleIn 0.4s var(--ease);
}

.wa__bubble[hidden] {
  display: none !important;
}

@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.wa__hi {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--navy);
}

.wa__msg {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  .topbar__right {
    display: none;
  }

  .topbar__inner {
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--site-header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    background: #0a1630;
    border: 0;
    border-radius: 0;
    border-bottom: 3px solid var(--gold);
    padding: 0.7rem;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  }

  .nav.is-open { display: flex; }

  .nav a {
    padding: 0.9rem 1.1rem;
    border-radius: 10px;
  }

  .site-header .btn--sm { display: none; }

  .nav-toggle { display: flex; }

  .stats__grid,
  .services__grid,
  .about__grid,
  .modal__panel {
    grid-template-columns: 1fr;
  }

  .service-card {
    margin-right: 0;
  }

  .modal__media {
    display: none;
  }

  .ba {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 640px) {
  .topbar__left {
    gap: 0.7rem;
  }

  .topbar__item {
    font-size: 0.68rem;
  }

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

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

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

/* Contact page */
.page-main {
  padding-top: var(--site-header-h);
}

.page-hero {
  position: relative;
  min-height: 38vh;
  display: grid;
  align-items: end;
  color: #000;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 245, 242, 0.55) 0%, rgba(247, 245, 242, 0.92) 100%);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 2.5rem;
}

.page-hero .section-lead {
  margin-top: 0.75rem;
}

.contact-page__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-page__heading {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #000;
}

.contact-page__text {
  margin: 0 0 1.5rem;
  color: #000;
  font-weight: 500;
}

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

.contact-list__label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
}

.contact-list strong {
  font-weight: 600;
  color: #000;
  line-height: 1.5;
}

.contact-list a {
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
}

.contact-page__map {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 176, 32, 0.4);
  aspect-ratio: 16 / 10;
  background: rgba(0, 0, 0, 0.04);
}

.contact-page__map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.contact-page__form-wrap {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 20px;
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow);
}

.contact-form .btn {
  margin-top: 0.4rem;
}

.form-success {
  color: #1a7a3c;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 0.8rem;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
