:root {
  --navy: #001B3D;
  --navy-deep: #000f24;
  --gold: #D4AF37;
  --rose: #B76E79;
  --silver: #C0C0C0;
  --ivory: #F7F3EE;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(0, 18, 42, 0.7);
  --glass-border: rgba(255, 255, 255, 0.15);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 18px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "Montserrat", "Segoe UI", sans-serif;
  color: var(--ivory);
  background:
    radial-gradient(circle at 15% 15%, rgba(212, 175, 55, 0.18), transparent 45%),
    radial-gradient(circle at 80% 10%, rgba(183, 110, 121, 0.2), transparent 40%),
    linear-gradient(120deg, #00122a 0%, #001b3d 50%, #00122a 100%);
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
}

body.menu-open {
  overflow: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  z-index: -1;
}

body::before {
  top: -120px;
  left: -120px;
  background: rgba(212, 175, 55, 0.35);
}

body::after {
  bottom: -120px;
  right: -120px;
  background: rgba(183, 110, 121, 0.3);
}

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

h1,
h2,
h3 {
  font-family: "Playfair Display", "Times New Roman", serif;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  margin-bottom: 16px;
}

p {
  line-height: 1.7;
  color: rgba(247, 243, 238, 0.88);
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

section {
  padding: 110px 0;
  position: relative;
  scroll-margin-top: 110px;
}

[data-aos="zoom-out"] {
  transform: scale(1.08);
  opacity: 0;
  transition-property: transform, opacity;
}

[data-aos="zoom-out"].aos-animate {
  transform: scale(1);
  opacity: 1;
}

.glass {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 18px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), background 0.4s var(--ease), border 0.4s var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--gold), #f2d382);
  color: #00121f;
  box-shadow: 0 15px 40px rgba(212, 175, 55, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.btn--primary::after {
  content: "";
  position: absolute;
  top: -60%;
  left: -120%;
  width: 60%;
  height: 220%;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  animation: button-shimmer 3s ease-in-out infinite;
  pointer-events: none;
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.02);
}

.btn--ghost {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--ivory);
}

.btn--ghost:hover {
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.2);
  transform: translateY(-2px);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(0, 18, 42, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

main {
  padding-top: 0;
}

.header__content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand__mark {
  width: 65px;
  height: 65px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.brand__mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.brand__text {
  font-size: 0.85rem;
  color: rgba(247, 243, 238, 0.8);
}

.brand__text strong {
  color: var(--gold);
  font-weight: 600;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.menu-toggle__line {
  width: 26px;
  height: 2px;
  background: var(--ivory);
  border-radius: 999px;
  transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  color: rgba(247, 243, 238, 0.9);
  z-index: 40;
}

.nav__backdrop {
  display: none;
}

.nav__panel {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav a {
  position: relative;
  padding-bottom: 6px;
  font-size: 0.9rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}

.nav a:hover::after {
  width: 100%;
}

.nav__close {
  display: none;
}

.nav__cta {
  padding: 12px 24px;
}

.hero {
  padding-top: 150px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image:
    linear-gradient(115deg, rgba(0, 18, 42, 0.92) 0%, rgba(0, 18, 42, 0.5) 60%, rgba(0, 27, 61, 0.9) 100%),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  overflow: hidden;
  animation: hero-pan 26s ease-in-out infinite;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 20%, rgba(212, 175, 55, 0.16), transparent 40%);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content .lead {
  margin: 20px 0 30px;
  font-size: 1.05rem;
}

.hero__title {
  display: block;
}

.hero__word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px);
}

.hero__content.aos-animate .hero__word {
  animation: word-reveal 0.6s var(--ease) forwards;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 30px;
}

.hero__meta {
  display: flex;
  gap: 30px;
  font-size: 0.85rem;
  color: rgba(247, 243, 238, 0.75);
}

.meta__value {
  display: block;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

.hero__visual.aos-animate {
  animation: float-y 6s ease-in-out infinite;
  will-change: transform;
}

.hero__frame {
  padding: 30px;
  max-width: 340px;
  position: relative;
}

.hero__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(192, 192, 192, 0.3);
  pointer-events: none;
}

.hero__frame-title {
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 8px;
}

.hero__frame-text {
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.hero__frame-list {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: 0.9rem;
}

.hero__frame-list i {
  color: var(--gold);
  margin-right: 10px;
}

.hero__badge {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(0, 18, 42, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.35);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: float-y 5s ease-in-out infinite;
  animation-delay: 0.6s;
  will-change: transform;
}

.about {
  background-color: var(--ivory);
  background-image:
    linear-gradient(0deg, rgba(247, 243, 238, 0.92), rgba(247, 243, 238, 0.92)),
    url("https://images.unsplash.com/photo-1523413651479-597eb2da0ad6?auto=format&fit=crop&w=1600&q=80");
  background-size: cover;
  background-position: center;
  background-attachment: scroll, fixed;
  color: var(--navy);
}

.about h2 {
  color: var(--gold);
}

.about p {
  color: rgba(0, 27, 61, 0.82);
}

.about .stat-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(0, 27, 61, 0.08);
  box-shadow: 0 20px 45px rgba(0, 27, 61, 0.08);
}

.about .stat-card__label {
  color: rgba(0, 27, 61, 0.72);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 50px;
  align-items: center;
}

.about__stats {
  display: grid;
  gap: 18px;
}

.stat-card {
  padding: 22px;
}

.stat-card__value {
  display: block;
  font-size: 1.2rem;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-heading {
  text-align: center;
  margin-bottom: 50px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.service-card {
  padding: 30px;
  text-align: left;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--rose);
  font-size: 1.4rem;
  margin-bottom: 20px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.service-card:hover .service-card__icon {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 0 20px rgba(183, 110, 121, 0.4);
  animation: shimmer 1.2s ease-in-out infinite;
}

.service-card h3 {
  margin-bottom: 12px;
}

.service-card p {
  margin-bottom: 18px;
}

.service-card .btn {
  margin-top: auto;
}

.service-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.tech__grid {
  display: grid;
  gap: 24px;
}

.video-card {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(220px, 1fr);
  gap: 24px;
  align-items: center;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(192, 192, 192, 0.3);
  background: rgba(0, 18, 42, 0.6);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  will-change: transform;
  transform: translateZ(0);
}

.video-card--highlight {
  box-shadow: 0 0 45px rgba(212, 175, 55, 0.35);
  transform: translateY(-6px);
}

.video-card__media {
  position: relative;
  padding-top: 56.25%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(192, 192, 192, 0.5);
  background: rgba(0, 0, 0, 0.6);
}

.video-card__media iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  transition: transform 0.6s var(--ease);
}

.video-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.video-card:hover .video-card__media iframe {
  transform: scale(1.05);
}

.video-card__content h3 {
  margin-bottom: 10px;
}

.testimonial-swiper {
  padding: 30px 20px 50px;
  border-radius: var(--radius);
  background: rgba(0, 18, 42, 0.6);
  border: 1px solid rgba(212, 175, 55, 0.2);
  margin-bottom: 50px;
}

.testimonial-card {
  display: grid;
  gap: 16px;
  align-items: center;
  background: rgba(0, 18, 42, 0.65);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(192, 192, 192, 0.25);
  min-height: 220px;
  grid-template-columns: auto 1fr;
  overflow: hidden;
  will-change: transform;
  transform: translateZ(0);
  transition: box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
}

.testimonial-card img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.5);
  transition: transform 0.6s var(--ease);
}

.testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.6);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.35);
}

.testimonial-card:hover img {
  transform: scale(1.08);
}

.testimonial-card__stars {
  color: var(--gold);
  margin-bottom: 10px;
  letter-spacing: 0.1em;
}

.testimonial-card__name {
  display: block;
  margin-top: 12px;
  color: var(--rose);
  font-weight: 600;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--gold);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.2rem;
  font-weight: 700;
}

.swiper-pagination-bullet {
  background: rgba(212, 175, 55, 0.3);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: var(--gold);
}

.logo-wall h3 {
  text-align: center;
  margin-bottom: 20px;
}

.logo-wall__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
}

.logo {
  padding: 16px;
  text-align: center;
  border-radius: 12px;
  border: 1px solid rgba(192, 192, 192, 0.2);
  color: rgba(192, 192, 192, 0.7);
  transition: color 0.4s var(--ease), background 0.4s var(--ease), transform 0.4s var(--ease);
  background: rgba(0, 18, 42, 0.5);
}

.logo:hover {
  color: var(--gold);
  background: rgba(183, 110, 121, 0.1);
  transform: translateY(-4px);
}

.contact__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.contact__info {
  display: grid;
  gap: 16px;
  margin: 26px 0 32px;
}

.contact__info .label {
  display: block;
  color: var(--gold);
  margin-bottom: 6px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

.contact__map iframe {
  width: 100%;
  min-height: 320px;
  border: none;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  filter: none;
}

.site-footer {
  padding: 40px 0 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(247, 243, 238, 0.7);
}

.intro {
  position: fixed;
  inset: 0;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  padding: 24px;
  --intro-duration: 0.6s;
  z-index: 100;
  overflow: hidden;
}

.intro__logo {
  width: 280px;
  max-width: 80vw;
  height: auto;
  z-index: 2;
}

.intro__text {
  font-family: "Playfair Display", serif;
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  color: var(--gold);
  letter-spacing: 0.12em;
  z-index: 2;
}

.intro__text--title {
  font-size: clamp(1.1rem, 2.6vw, 1.5rem);
  color: var(--gold);
  letter-spacing: 0.18em;
}

.intro__curtain {
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, #000, #1a1a1a);
  z-index: 1;
  transition: transform var(--intro-duration) var(--ease);
}

.intro__curtain--left {
  left: 0;
}

.intro__curtain--right {
  right: 0;
}

.intro--hide .intro__curtain--left {
  transform: translateX(-100%);
}

.intro--hide .intro__curtain--right {
  transform: translateX(100%);
}

.intro--hide {
  opacity: 0;
  transition: opacity var(--intro-duration) ease;
}

.floating-actions {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 60;
}

.floating {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding: 0;
  border: none;
  color: #fff;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.floating i {
  font-size: 1.8rem;
  line-height: 1;
}

.floating:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.floating.whatsapp {
  background: #25D366;
}

.floating.instagram {
  background: var(--rose);
}

.hero__grid,
.hero__visual,
.hero__frame,
.video-card,
.video-card__media,
.testimonial-swiper {
  max-width: 100%;
}

.whatsapp {
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
  }
  50% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
}

@keyframes shimmer {
  0% {
    box-shadow: 0 0 0 rgba(183, 110, 121, 0.0);
  }
  50% {
    box-shadow: 0 0 18px rgba(183, 110, 121, 0.5);
  }
  100% {
    box-shadow: 0 0 0 rgba(183, 110, 121, 0.0);
  }
}

@keyframes hero-pan {
  0% {
    background-position: center;
  }
  50% {
    background-position: center top;
  }
  100% {
    background-position: center;
  }
}

@keyframes button-shimmer {
  0% {
    transform: translateX(0);
  }
  60% {
    transform: translateX(320%);
  }
  100% {
    transform: translateX(320%);
  }
}

@keyframes float-y {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes word-reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1024px) {
  .about,
  .parallax {
    background-attachment: scroll;
  }

  .glass {
    backdrop-filter: none;
    background: rgba(0, 18, 42, 0.75);
  }

  .site-header {
    backdrop-filter: none;
    background: rgba(0, 18, 42, 0.92);
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s var(--ease);
  }

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

  .nav__backdrop {
    position: absolute;
    inset: 0;
    background: transparent;
    border: none;
  }

  .nav__panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(320px, 80%);
    background: rgba(0, 18, 42, 0.95);
    padding: 90px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow: hidden;
  }

  .nav__close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(0, 18, 42, 0.8);
    color: var(--gold);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    cursor: pointer;
  }

  .nav.is-open .nav__panel {
    transform: translateX(0);
  }

  .nav a::after {
    display: none;
  }

  .hero__meta {
    flex-direction: column;
    gap: 12px;
  }

  .video-card {
    grid-template-columns: 1fr;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }
}

@media (max-width: 600px) {
  section {
    padding: 80px 0;
  }

  .hero {
    padding-top: 120px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand__mark {
    width: 50px;
    height: 50px;
    padding: 0;
  }

  .intro__logo {
    width: 200px;
  }

  .floating-actions {
    right: 20px;
    bottom: 20px;
    gap: 10px;
  }

  .floating {
    width: 50px;
    height: 50px;
  }

  .floating i {
    font-size: 1.5rem;
  }

  .testimonial-card {
    grid-template-columns: 1fr;
  }
}

body.reduce-motion *,
body.reduce-motion *::before,
body.reduce-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

body.reduce-motion .btn--primary::after,
body.reduce-motion .hero__visual,
body.reduce-motion .hero__badge {
  animation: none !important;
}

body.reduce-motion .hero__word {
  opacity: 1;
  transform: none;
  animation: none !important;
}

body.reduce-motion .hero {
  animation: none;
}
