:root {
  --bg: #080a0f;
  --bg-soft: #12151d;
  --surface: #171b25;
  --surface-2: #202635;
  --text: #f4f6ff;
  --text-muted: #b6c0d6;
  --accent: #ff7a00;
  --accent-strong: #ff9500;
  --line: #2a3144;
  --success: #35d493;
  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  --container: min(1120px, 92vw);
  --text-strong: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top right, #1d263a 0%, var(--bg) 45%), var(--bg);
  line-height: 1.55;
}

body.nav-open {
  overflow: hidden;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1200;
  pointer-events: none;
}

.scroll-progress .bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 0 18px rgba(255, 149, 0, 0.6);
  transform-origin: left center;
}

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

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip-link:focus {
  left: 0.75rem;
  top: 0.75rem;
  background: #fff;
  color: #000;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  z-index: 999;
}

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

.section {
  padding: 4.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 10, 15, 0.75);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(8, 10, 15, 0.95);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-wrap {
  min-height: 4.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.logo {
  width: clamp(3.4rem, 11vw, 5rem);
  height: clamp(3.4rem, 11vw, 5rem);
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

.brand-text {
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.1;
  max-width: 11rem;
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 0.75rem;
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.28rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(255, 149, 0, 0.6);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.menu-toggle span {
  width: 1.2rem;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
  position: fixed;
  inset: 4.75rem 1rem auto 1rem;
  display: grid;
  gap: 0.5rem;
  padding: 0.9rem;
  background: rgba(12, 16, 24, 0.98);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-14px) scale(0.98);
  transform-origin: top center;
  clip-path: inset(0 0 100% 0 round 1rem);
  transition: opacity 0.32s ease, transform 0.32s ease, visibility 0.32s ease, clip-path 0.38s ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  clip-path: inset(0 0 0 0 round 1rem);
}

.site-nav a {
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.7rem 0.78rem;
  border-radius: 0.65rem;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-5px);
  transition: transform 0.26s ease, opacity 0.26s ease, background 0.2s ease, color 0.2s ease;
}

.site-nav.is-open a {
  opacity: 1;
  transform: translateY(0);
}

.site-nav.is-open a:nth-child(1) { transition-delay: 0.03s; }
.site-nav.is-open a:nth-child(2) { transition-delay: 0.06s; }
.site-nav.is-open a:nth-child(3) { transition-delay: 0.09s; }
.site-nav.is-open a:nth-child(4) { transition-delay: 0.12s; }
.site-nav.is-open a:nth-child(5) { transition-delay: 0.15s; }
.site-nav.is-open a:nth-child(6) { transition-delay: 0.18s; }
.site-nav.is-open a:nth-child(7) { transition-delay: 0.21s; }

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active {
  color: var(--text);
  background: rgba(255, 122, 0, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #101010 !important;
  text-align: center;
}

.hero {
  position: relative;
  min-height: min(96vh, 820px);
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(112deg, rgba(8, 10, 15, 0.95) 8%, rgba(8, 10, 15, 0.72) 52%, rgba(8, 10, 15, 0.9) 100%),
    url("../images/logo.png");
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) contrast(1.05);
  transform: scale(1.03);
}

.hero-glow {
  position: absolute;
  width: min(80vw, 700px);
  aspect-ratio: 1;
  right: -20%;
  top: -25%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 149, 0, 0.44) 0%, rgba(255, 149, 0, 0.12) 36%, rgba(255, 149, 0, 0) 72%);
  pointer-events: none;
  animation: heroPulse 6s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  font-family: "Oswald", sans-serif;
  font-size: clamp(2.4rem, 9vw, 5.9rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text-strong);
  text-wrap: balance;
  max-width: 12ch;
  text-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

h2 {
  font-size: clamp(1.8rem, 5.8vw, 3.1rem);
  font-weight: 800;
  max-width: 24ch;
  text-wrap: balance;
}

h3 {
  font-size: 1.22rem;
  font-weight: 800;
}

p {
  margin: 0;
}

.hero-subtitle {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: clamp(1.03rem, 4.1vw, 1.34rem);
  font-weight: 600;
  max-width: 54ch;
}

.hero-highlights {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-highlights span {
  border: 1px solid rgba(255, 149, 0, 0.36);
  background: rgba(8, 10, 15, 0.58);
  color: #ffd6a8;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  border: none;
  border-radius: 0.75rem;
  padding: 0.82rem 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
  color: #101010;
  box-shadow: 0 12px 24px rgba(255, 122, 0, 0.28);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.section-head {
  margin-bottom: 1.6rem;
}

.section-head h2 {
  margin-top: 0.2rem;
}

.card-grid,
.pricing-grid,
.gallery-grid,
.timeline {
  display: grid;
  gap: 1rem;
}

.info-card,
.step,
.price-card,
.booking-form,
.contact-info {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.interactive-card {
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(var(--ty, 0));
}

.interactive-card.is-hover {
  --ty: -3px;
  border-color: rgba(255, 149, 0, 0.38);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.28);
}

.icon-wrap {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
  background: rgba(255, 122, 0, 0.14);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
}

.icon-wrap svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: var(--accent-strong);
}

.info-card p,
.step p,
.price-card li,
.contact-info p {
  color: var(--text-muted);
  font-weight: 500;
}

.timeline {
  counter-reset: step;
}

.step {
  position: relative;
}

.step-number {
  display: inline-flex;
  margin-bottom: 0.7rem;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.price-card {
  position: relative;
}

.price {
  margin-top: 0.8rem;
  font-size: 1.9rem;
  font-weight: 900;
}

.price span {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 600;
}

.price-card ul {
  margin: 0.9rem 0 1.2rem;
  padding-left: 1rem;
}

.price-card li {
  margin-bottom: 0.4rem;
}

.price-card.featured {
  border-color: rgba(255, 122, 0, 0.55);
  box-shadow: 0 20px 32px rgba(0, 0, 0, 0.25);
}

.badge {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  background: rgba(53, 212, 147, 0.16);
  color: var(--success);
  border: 1px solid rgba(53, 212, 147, 0.4);
  border-radius: 100px;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.24rem 0.65rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0f1118;
}

.gallery-item img {
  width: 100%;
  height: 14rem;
  object-fit: cover;
  filter: saturate(0.9);
}

.contact-grid {
  display: grid;
  gap: 1rem;
}

.contact-links {
  margin-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.contact-links a {
  color: var(--text);
  font-weight: 800;
}

.booking-form {
  display: grid;
  gap: 0.55rem;
}

.booking-form label {
  font-size: 0.9rem;
  font-weight: 600;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 0.72rem 0.8rem;
  background: #0f121a;
  color: var(--text);
  font: inherit;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: var(--accent-strong);
  outline: 2px solid transparent;
}

#form-status {
  min-height: 1.2rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
}

#form-status.success {
  color: var(--success);
}

#form-status.error {
  color: #ff8c8c;
}

.form-hidden {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.site-footer {
  padding: 1.8rem 0 2.2rem;
  background:
    linear-gradient(rgba(6, 9, 14, 0.92), rgba(6, 9, 14, 0.92)),
    url("../images/background-pattern.png") center/cover no-repeat;
}

.footer-shell {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1.4rem;
  background: rgba(7, 11, 18, 0.78);
  backdrop-filter: blur(2px);
  padding: 1rem;
}

.footer-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.6rem;
}

.footer-brand-logo {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: contain;
  background: #fff;
  border-radius: 999px;
  padding: 0.2rem;
}

.footer-brand-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.footer-brand-subtitle {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.footer-lead {
  margin: 0;
  max-width: 52ch;
  color: var(--text-muted);
  text-align: left;
  font-size: 0.95rem;
}

.footer-title {
  margin: 0 0 0.6rem;
  font-size: 1.06rem;
  font-weight: 800;
  text-align: left;
}

.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.25rem;
  justify-items: start;
}

.footer-links a {
  color: var(--text-muted);
  font-weight: 600;
  display: inline-block;
  padding: 0.32rem 0.2rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--text);
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 0.95rem 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.42rem;
}

.social-link {
  width: 2.05rem;
  height: 2.05rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #0b1019;
  border: 2px solid rgba(255, 149, 0, 0.9);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover,
.social-link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.36);
}

.social-link img {
  width: 0.82rem;
  height: 0.82rem;
  object-fit: contain;
  filter: none;
}

.social-link img[src$=".svg"] {
  filter: drop-shadow(0 0 0 transparent);
}

.social-link img[src*="threads-logo"] {
  filter: brightness(0) invert(1);
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 149, 0, 0.55);
  background: rgba(10, 15, 24, 0.92);
  color: var(--accent-strong);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
  z-index: 1300;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 149, 0, 0.9);
}

.back-to-top svg {
  width: 1.1rem;
  height: 1.1rem;
  fill: currentColor;
}

.footer-copy,
.footer-sitemap {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.footer-copy a,
.footer-sitemap a {
  color: var(--text);
  font-weight: 600;
}

.legal-page {
  min-height: 70vh;
  display: grid;
  align-items: start;
}

.legal-card {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.4rem;
}

.legal-card h1 {
  margin-bottom: 1rem;
}

.legal-card h2 {
  margin: 1.2rem 0 0.5rem;
  font-size: clamp(1.2rem, 4vw, 1.8rem);
}

.legal-card p,
.legal-card li {
  color: var(--text-muted);
}

.legal-card ul {
  padding-left: 1.1rem;
}

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

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

.ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.38);
  transform: translate(-50%, -50%) scale(0);
  pointer-events: none;
  animation: rippleBurst 0.6s ease-out forwards;
}

@media (min-width: 680px) {
  .brand-text {
    max-width: none;
  }

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

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

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: start;
  }

  .hero-highlights span {
    font-size: 0.8rem;
  }

  .footer-shell {
    padding: 1.6rem;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 1.5rem;
  }

  .footer-brand-head {
    justify-content: flex-start;
  }

  .footer-brand-logo {
    width: 3.2rem;
    height: 3.2rem;
  }

  .footer-brand-title {
    font-size: 1.5rem;
  }

  .footer-lead,
  .footer-title {
    text-align: left;
  }

  .footer-links {
    justify-items: start;
    gap: 0.45rem;
  }

  .footer-links a {
    padding: 0.18rem 0;
  }

  .footer-social {
    gap: 0.7rem;
  }

  .social-link {
    width: 2.7rem;
    height: 2.7rem;
  }

  .social-link img {
    width: 1.2rem;
    height: 1.2rem;
  }

  .footer-copy,
  .footer-sitemap {
    font-size: 0.97rem;
  }
}

@media (min-width: 980px) {
  .section {
    padding: 6rem 0;
  }

  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    inset: auto;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
    clip-path: none;
  }

  .site-nav a {
    padding: 0.5rem 0.65rem;
    opacity: 1;
    transform: none;
    transition: background 0.2s ease, color 0.2s ease;
  }

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

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

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

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

  .gallery-item img {
    height: 16rem;
  }

  .hero-glow {
    right: -8%;
    top: -18%;
    width: min(50vw, 650px);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@keyframes rippleBurst {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(24);
  }
}

@keyframes heroPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.7;
  }
}
