:root {
  --ink: #f8f3e8;
  --muted: #b7b0a3;
  --black: #070707;
  --black-soft: #101014;
  --panel: rgba(18, 18, 21, 0.78);
  --line: rgba(255, 255, 255, 0.14);
  --gold: #d6a932;
  --gold-bright: #f5d36d;
  --amber: #b87819;
  --cyan: #2eeaff;
  --magenta: #d43dff;
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius: 8px;
  --container: min(1160px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--black);
  color: var(--ink);
  overflow-x: hidden;
}

body.is-loading {
  overflow: hidden;
}

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

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

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

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 22px;
  background:
    radial-gradient(circle at 50% 38%, rgba(214, 169, 50, 0.28), transparent 25%),
    radial-gradient(circle at 30% 70%, rgba(46, 234, 255, 0.16), transparent 22%),
    linear-gradient(135deg, #040404, #12100b 52%, #050505);
  transition: opacity 0.7s ease, visibility 0.7s ease, transform 0.7s ease;
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.03);
}

.preloader__halo {
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(245, 211, 109, 0.38);
  border-radius: 50%;
  animation: haloPulse 1.8s ease-in-out infinite;
}

.preloader__logo {
  position: relative;
  width: clamp(130px, 18vw, 210px);
  filter: drop-shadow(0 26px 45px rgba(214, 169, 50, 0.28));
  animation: logoRise 1.5s ease both;
}

.preloader p {
  position: relative;
  margin: 0;
  color: var(--gold-bright);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.preloader__bar {
  width: min(280px, 72vw);
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}

.preloader__bar span {
  display: block;
  width: 42%;
  height: 100%;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--magenta));
  animation: loadBar 1.4s ease-in-out infinite;
}

.particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.45;
}

.site-header,
main,
.footer,
.floating-whatsapp {
  position: relative;
  z-index: 2;
}

.site-header {
  position: fixed;
  z-index: 60;
  top: 16px;
  left: 50%;
  width: var(--container);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 900;
  letter-spacing: 0;
}

.brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand span {
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
  color: rgba(248, 243, 232, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
}

.nav a {
  transition: color 0.25s ease;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--gold {
  color: #0b0904;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 48%, var(--amber));
  box-shadow: 0 18px 42px rgba(214, 169, 50, 0.28);
}

.btn--glass {
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.header-cta {
  width: max-content;
  justify-self: end;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 150px 0 58px;
  overflow: hidden;
}

.parallax-bg {
  background-image: var(--bg-image);
  background-size: cover;
  background-position: center calc(50% + var(--parallax-y, 0px));
  background-attachment: fixed;
}

.hero__shade,
.contact::before,
.visual-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.62) 44%, rgba(0, 0, 0, 0.32) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.96));
}

.hero__content {
  position: relative;
  width: var(--container);
  margin: 0 auto;
  max-width: 920px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 980px;
  font-size: clamp(3.4rem, 8.4vw, 8.8rem);
  line-height: 0.88;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-title__brand,
.hero-title__brand span {
  display: block;
}

.hero-title__line {
  display: block;
  margin-top: 18px;
  font-size: clamp(2rem, 4.3vw, 4.8rem);
  line-height: 1;
  color: rgba(248, 243, 232, 0.84);
}

.hero-title em {
  color: var(--gold-bright);
  font-style: italic;
  text-shadow: 0 0 28px rgba(214, 169, 50, 0.48);
}

.hero__copy {
  max-width: 760px;
  margin: 28px 0 0;
  color: rgba(248, 243, 232, 0.78);
  font-size: clamp(1rem, 1.7vw, 1.26rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 860px;
  margin-top: 48px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.trust-strip span {
  padding: 18px;
  background: rgba(7, 7, 7, 0.48);
  color: rgba(248, 243, 232, 0.82);
  font-weight: 800;
}

.section {
  padding: clamp(80px, 10vw, 130px) 0;
  background:
    radial-gradient(circle at 6% 18%, rgba(46, 234, 255, 0.08), transparent 24%),
    linear-gradient(180deg, #f8f3e8, #e9e2d4);
  color: #11100e;
}

.section--dark {
  background:
    radial-gradient(circle at 80% 10%, rgba(212, 61, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #070707, #121211);
  color: var(--ink);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 40px;
  max-width: none;
}

.section-heading h2,
.visual-band h2,
.contact h2 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(17, 16, 14, 0.66);
  line-height: 1.7;
}

.section--dark .section-heading p:not(.eyebrow) {
  color: rgba(248, 243, 232, 0.65);
}

.reason-grid,
.service-grid,
.process-grid,
.gallery-grid,
.stats-grid,
.footer-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.number-card {
  position: relative;
  min-height: 300px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.number-card span {
  display: block;
  margin-bottom: 48px;
  color: rgba(245, 211, 109, 0.28);
  font-size: clamp(4rem, 7vw, 7.2rem);
  line-height: 0.8;
  font-weight: 900;
}

.number-card h3,
.process-step h3,
.service-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.number-card p,
.process-step p,
.service-card p {
  margin: 0;
  color: rgba(248, 243, 232, 0.66);
  line-height: 1.65;
}

.visual-band {
  position: relative;
  min-height: 62vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.visual-band::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.36)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.7));
}

.visual-band__content {
  position: relative;
  max-width: 860px;
}

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

.service-card {
  overflow: hidden;
  border: 1px solid rgba(17, 16, 14, 0.12);
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 22px 60px rgba(17, 16, 14, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 34px 80px rgba(17, 16, 14, 0.18);
}

.service-card img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card p {
  color: rgba(17, 16, 14, 0.66);
}

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

.process-step {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(160deg, rgba(214, 169, 50, 0.16), transparent 44%),
    rgba(255, 255, 255, 0.04);
}

.process-step span {
  display: inline-flex;
  margin-bottom: 54px;
  color: var(--cyan);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stats {
  padding: 48px 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-bright), var(--cyan));
  color: #080806;
}

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

.stat {
  padding: 24px 12px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  line-height: 0.9;
  font-weight: 900;
}

.stat span {
  display: block;
  margin-top: 12px;
  font-weight: 900;
}

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

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 16, 14, 0.12);
  background: rgba(255, 255, 255, 0.58);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 1.28;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item figcaption {
  padding: 14px 16px 16px;
  color: rgba(17, 16, 14, 0.72);
  font-weight: 800;
}

.contact {
  position: relative;
  padding: clamp(82px, 10vw, 132px) 0;
  overflow: hidden;
}

.contact::before {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.72)),
    radial-gradient(circle at 84% 20%, rgba(214, 169, 50, 0.22), transparent 24%);
}

.contact-grid {
  position: relative;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  align-items: start;
  gap: clamp(24px, 6vw, 70px);
}

.contact-copy h2 {
  max-width: 780px;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  color: rgba(248, 243, 232, 0.78);
}

.contact-list p {
  margin: 0;
}

.map-note {
  overflow: hidden;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
}

.map-note iframe {
  width: 100%;
  height: 250px;
  border: 0;
  filter: grayscale(1) contrast(1.08) brightness(0.88);
}

.map-note span {
  display: block;
  padding: 12px 14px;
  color: rgba(248, 243, 232, 0.64);
  font-size: 0.86rem;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 8, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(248, 243, 232, 0.78);
  font-size: 0.88rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  outline: none;
  padding: 14px 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-form select option {
  color: #11100e;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(214, 169, 50, 0.16);
}

.footer {
  background: #050505;
  color: var(--ink);
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  padding: 54px 0 34px;
}

.brand--footer img {
  width: 86px;
  height: 86px;
}

.footer p {
  max-width: 330px;
  color: rgba(248, 243, 232, 0.64);
}

.footer h2 {
  margin: 0 0 14px;
  color: var(--gold-bright);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer a:not(.brand) {
  display: block;
  margin: 10px 0;
  color: rgba(248, 243, 232, 0.68);
}

.footer-bottom {
  width: var(--container);
  margin: 0 auto;
  padding: 18px 0 26px;
  border-top: 1px solid var(--line);
  color: rgba(248, 243, 232, 0.48);
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 70;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  color: #0b0904;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  box-shadow: 0 18px 50px rgba(214, 169, 50, 0.38);
  font-weight: 900;
}

.section-particles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(245, 211, 109, 0.9) 0 1px, transparent 2px),
    radial-gradient(circle, rgba(46, 234, 255, 0.62) 0 1px, transparent 2px);
  background-size: 90px 90px, 140px 140px;
  animation: particleDrift 16s linear infinite;
  opacity: 0.26;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@keyframes haloPulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.42;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes logoRise {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes loadBar {
  0% {
    transform: translateX(-110%);
  }
  100% {
    transform: translateX(260%);
  }
}

@keyframes particleDrift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 180px 90px, -140px 140px;
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .brand span {
    display: none;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    background: rgba(8, 8, 8, 0.94);
    backdrop-filter: blur(18px);
  }

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

  .nav a {
    padding: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .reason-grid,
  .service-grid,
  .process-grid,
  .gallery-grid,
  .stats-grid,
  .footer-grid,
  .contact-grid,
  .section-heading--split {
    grid-template-columns: 1fr 1fr;
  }

  .contact-grid,
  .section-heading--split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --container: min(100% - 28px, 1160px);
  }

  .site-header {
    top: 10px;
    padding: 8px;
    gap: 8px;
  }

  .brand img {
    width: 56px;
    height: 56px;
  }

  .header-cta {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.88rem;
  }

  .hero {
    min-height: 100svh;
    padding-top: 118px;
  }

  .hero-title {
    font-size: clamp(2.25rem, 10.5vw, 2.6rem);
    line-height: 0.94;
  }

  .hero-title__line {
    font-size: clamp(1.55rem, 7.8vw, 2.25rem);
  }

  .trust-strip,
  .reason-grid,
  .service-grid,
  .process-grid,
  .gallery-grid,
  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .trust-strip span {
    padding: 14px;
  }

  .number-card,
  .process-step {
    min-height: auto;
  }

  .number-card span {
    margin-bottom: 34px;
  }

  .parallax-bg {
    background-attachment: scroll;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 520px) {
  .hero__content {
    width: min(var(--container), 360px);
  }

  .floating-whatsapp {
    right: auto;
    left: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
