*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #08111f;
  --bg-soft: #0f1b2e;
  --surface: rgba(12, 23, 40, 0.72);
  --surface-strong: rgba(15, 28, 48, 0.92);
  --card: rgba(17, 30, 51, 0.86);
  --text: #f6f8ff;
  --muted: #9fb0cf;
  --line: rgba(183, 212, 255, 0.12);
  --primary: #7cf7d4;
  --secondary: #ff8f70;
  --accent: #7ea7ff;
  --gold: #ffd27a;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius: 24px;
  --radius-sm: 16px;
  --container: min(1180px, calc(100% - 2rem));
  --topbar-height: 48px;
  --header-height: 88px;
}

html[data-theme="light"] {
  --bg: #f4f8ff;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: rgba(255, 255, 255, 0.96);
  --card: rgba(255, 255, 255, 0.92);
  --text: #142033;
  --muted: #5d6984;
  --line: rgba(20, 32, 51, 0.1);
  --primary: #0fbf9f;
  --secondary: #ff7a59;
  --accent: #4b79ff;
  --gold: #e0a600;
  --shadow: 0 18px 50px rgba(79, 102, 149, 0.18);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(126, 167, 255, 0.12), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(124, 247, 212, 0.12), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, #09101c 100%);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-overflow-scrolling: touch;
}

body.nav-open,
body.modal-open,
body.loading {
  overflow: hidden;
}

body.loading .site-shell {
  opacity: 0;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-intro h2,
.about-copy h2,
.contact-copy h2,
.cta-shell h2 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.04;
}

.section-intro p,
.about-copy p,
.contact-copy p,
.cta-shell p,
.hero-copy,
.stat-card p,
.service-card p,
.pricing-card p,
.testimonial-text,
.footer-copy {
  color: var(--muted);
  line-height: 1.75;
}

.button,
.mini-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.button {
  color: #07121f;
  background: linear-gradient(135deg, var(--primary), #bffff0);
  box-shadow: 0 18px 45px rgba(124, 247, 212, 0.24);
}

.button:hover,
.mini-button:hover,
.filter-button:hover,
.slider-button:hover,
.theme-toggle:hover,
.menu-toggle:hover,
.newsletter button:hover,
.back-to-top:hover {
  transform: translateY(-3px);
}

.button-secondary {
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.button-small {
  padding: 0.75rem 1.1rem;
  font-size: 0.92rem;
}

.button-block {
  width: 100%;
}

.mini-button {
  padding: 0.6rem 1rem;
  color: var(--text);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.06);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(8, 17, 31, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.topbar-inner,
.topbar-left,
.topbar-right,
.nav-wrap,
.nav-actions,
.hero-actions,
.hero-badges,
.contact-cards,
.progress-head,
.slider-controls,
.footer-bottom {
  display: flex;
  align-items: center;
}

.topbar-inner {
  min-height: var(--topbar-height);
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.topbar-left,
.topbar-right,
.social-links,
.language-switcher {
  gap: 1rem;
}

.topbar-left a:first-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  min-height: 2.6rem;
  font-size: 1.35rem;
  line-height: 1;
}

.social-links {
  display: flex;
}

.social {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
}

.social svg {
  width: 1rem;
  fill: currentColor;
}

.facebook { background: #1877f2; }
.instagram { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.linkedin { background: #0a66c2; }

.language-switcher {
  padding: 0.25rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-language-switcher {
  display: none;
  gap: 0.25rem;
  margin-right: 0.15rem;
}

.lang {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
}

.lang.active {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text);
}

.header {
  position: sticky;
  top: var(--topbar-height);
  z-index: 35;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.nav-wrap {
  position: relative;
  z-index: 2;
}

.header.scrolled {
  background: rgba(9, 17, 30, 0.82);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.nav-wrap {
  min-height: var(--header-height);
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.logo-mark {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 14px 36px rgba(126, 167, 255, 0.25);
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.1rem;
}

.logo-text small {
  margin-top: 0.3rem;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a,
.mobile-menu a {
  position: relative;
  font-weight: 600;
}

.nav a::after,
.mobile-menu a::after,
.footer a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--primary), transparent);
  transition: transform 0.3s ease;
}

.nav a:hover::after,
.mobile-menu a:hover::after,
.footer a:hover::after {
  transform: scaleX(1);
}

.theme-toggle,
.menu-toggle,
.slider-button,
.newsletter button,
.back-to-top,
.filter-button {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.theme-toggle,
.slider-button,
.back-to-top {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.back-to-top {
  width: auto;
  min-width: 3.8rem;
  padding: 0 1rem;
  border-radius: 999px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle .theme-sun,
.theme-toggle .theme-moon {
  display: none;
  font-size: 1.15rem;
  line-height: 1;
}

html[data-theme="dark"] .theme-toggle .theme-sun {
  display: inline-flex;
}

html[data-theme="light"] .theme-toggle .theme-moon {
  display: inline-flex;
}

.menu-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  padding: 0.7rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--text);
  margin: 0.18rem 0;
  transition: transform 0.3s ease, opacity 0.3s 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); }

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 12, 22, 0.42);
  backdrop-filter: blur(10px);
  z-index: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 100%;
  z-index: 1;
  padding: 1rem;
  display: grid;
  gap: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  backdrop-filter: blur(22px);
  transform: translateY(-24px);
  transform-origin: top center;
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s ease, opacity 0.35s ease, visibility 0.35s ease;
  box-shadow: var(--shadow);
}

.mobile-menu.active,
.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu.active {
  transform: translateY(0);
}

.hero {
  min-height: calc(100vh - var(--topbar-height));
  position: relative;
  display: grid;
  place-items: center;
  overflow: clip;
}

.hero-video,
.hero-overlay,
.hero-grid {
  position: absolute;
  inset: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: auto;
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(8, 17, 31, 0.1), rgba(8, 17, 31, 0.68)),
    linear-gradient(120deg, rgba(8, 17, 31, 0.48), rgba(20, 35, 58, 0.16));
}

.hero-grid {
  background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 85%);
}

.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(18px);
  opacity: 0.55;
  animation: float 9s ease-in-out infinite;
  will-change: transform;
}

.orb-one {
  width: 15rem;
  height: 15rem;
  background: rgba(124, 247, 212, 0.22);
  top: 15%;
  left: -4%;
}

.orb-two {
  width: 12rem;
  height: 12rem;
  background: rgba(255, 143, 112, 0.2);
  right: 8%;
  top: 20%;
  animation-delay: -2s;
}

.orb-three {
  width: 10rem;
  height: 10rem;
  background: rgba(126, 167, 255, 0.2);
  right: 18%;
  bottom: 10%;
  animation-delay: -4s;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 0 6rem;
}

.hero-title {
  max-width: 980px;
  min-height: 2.9em;
  margin: 0;
  display: block;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2.9rem, 7vw, 6.25rem);
  line-height: 0.96;
}

#typingText {
  display: block;
  min-height: inherit;
}

.typing-caret {
  display: none;
  width: 3px;
  height: 0.95em;
  margin-left: 0.25rem;
  vertical-align: -0.1em;
  background: var(--primary);
  animation: blink 0.8s steps(1) infinite;
}

.hero-copy {
  max-width: 720px;
  margin: 1.5rem 0 0;
  font-size: 1.1rem;
}

  .hero-actions {
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
  }

.hero-badges {
  gap: 0.8rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-badges span {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(10px);
}

.scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  z-index: 2;
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: var(--muted);
}

.scroll-indicator i {
  width: 1px;
  height: 3rem;
  background: linear-gradient(var(--primary), transparent);
  animation: slideDown 1.8s ease-in-out infinite;
}

.stats-grid,
.services-grid,
.portfolio-grid,
.pricing-grid,
.footer-grid {
  display: grid;
  gap: 1.4rem;
}

.stats-grid { grid-template-columns: repeat(4, 1fr); }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.portfolio-grid { grid-template-columns: repeat(3, 1fr); }
.pricing-grid { grid-template-columns: repeat(3, 1fr); }
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.1fr; }

.stat-card,
.service-card,
.pricing-card,
.testimonial-card,
.contact-panel,
.contact-card,
.cta-shell,
.portfolio-card,
.about-visual,
.modal-content,
.map-shell,
.newsletter,
.topbar,
.header.scrolled {
  border: 1px solid var(--line);
  background: var(--card);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.stat-card,
.service-card,
.pricing-card,
.contact-panel,
.contact-card {
  border-radius: var(--radius);
  padding: 1.7rem;
}

.stat-card {
  text-align: center;
  justify-items: center;
}

.stat-card,
.service-card,
.pricing-card,
.portfolio-card {
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.stat-card:hover,
.service-card:hover,
.pricing-card:hover,
.portfolio-card:hover {
  transform: translateY(-10px);
  border-color: rgba(124, 247, 212, 0.35);
}

.stat-icon,
.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 18px;
  margin-bottom: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, rgba(124, 247, 212, 0.16), rgba(126, 167, 255, 0.16));
  color: var(--primary);
}

.stat-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 247, 212, 0.22), rgba(126, 167, 255, 0.22));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 14px 28px rgba(0, 0, 0, 0.2);
}

.stat-icon img {
  width: 1.9rem;
  height: 1.9rem;
  object-fit: contain;
}

.stat-card h3,
.pricing-card h3,
.testimonial-card h3 {
  margin: 0;
  font-size: 1.8rem;
}

.service-card h3,
.pricing-card .price {
  margin: 0 0 0.8rem;
  font-size: 1.4rem;
}

.split-layout,
.contact-grid,
.cta-shell {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.split-layout,
.contact-grid {
  grid-template-columns: repeat(2, 1fr);
}

.split-layout + .split-layout {
  margin-top: 3rem;
}

.split-layout.reverse .about-visual {
  order: 2;
}

.about-visual {
  overflow: hidden;
  border-radius: 30px;
  min-height: 420px;
}

.about-visual img,
.portfolio-card img,
#modalImage {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.check-list,
.pricing-card ul {
  display: grid;
  gap: 0.85rem;
  padding: 0;
  margin: 1.4rem 0 1.6rem;
  list-style: none;
}

.check-list li,
.pricing-card li {
  padding-left: 1.5rem;
  position: relative;
}

.check-list li::before,
.pricing-card li::before {
  content: "*";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.progress-list {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 1.8rem;
}

.progress-head {
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.portfolio-filters {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 1.6rem;
}

.filter-button {
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
}

.filter-button.active {
  background: linear-gradient(135deg, rgba(124, 247, 212, 0.2), rgba(126, 167, 255, 0.2));
  border-color: rgba(124, 247, 212, 0.3);
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  min-height: 360px;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.8rem;
  padding: 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.9));
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
  transform: translateY(0);
}

.portfolio-card.is-hidden {
  display: none;
}

.testimonial-slider {
  position: relative;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.testimonial-card {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  border-radius: 30px;
}

.testimonial-card img {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card.hidden-slide {
  display: none;
}

.role,
.pricing-label {
  color: var(--primary);
  font-weight: 700;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.slider-controls {
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dots button {
  width: 0.85rem;
  height: 0.85rem;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.slider-dots button.active {
  background: var(--primary);
}

.pricing-card.featured {
  position: relative;
  transform: translateY(-10px);
  border-color: rgba(124, 247, 212, 0.32);
}

.price {
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.4rem;
}

.cta-shell {
  grid-template-columns: 1fr;
  padding: 2rem;
  border-radius: 32px;
  justify-items: center;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(124, 247, 212, 0.18), transparent 32%),
    radial-gradient(circle at 80% 30%, rgba(255, 143, 112, 0.18), transparent 28%),
    var(--card);
}

.cta-button {
  margin-top: 0.5rem;
}

.contact-panel {
  padding: 2rem;
  width: 100%;
  min-width: 0;
  border-radius: 32px;
  background:
    radial-gradient(circle at top left, rgba(124, 247, 212, 0.14), transparent 34%),
    radial-gradient(circle at 85% 15%, rgba(126, 167, 255, 0.16), transparent 28%),
    var(--card);
}

.contact-copy {
  display: grid;
  gap: 1.4rem;
  align-content: start;
}

.contact-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.contact-highlights span {
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.contact-cards {
  display: grid;
  gap: 1rem;
}

.contact-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  text-align: left;
  padding: 1.15rem 1.2rem;
}

.contact-card-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(124, 247, 212, 0.2), rgba(126, 167, 255, 0.18));
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.contact-card-icon img {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
}

.contact-card-body {
  display: grid;
  gap: 0.3rem;
}

.contact-card-body strong {
  color: var(--text);
  font-size: 1rem;
}

.contact-card-body span {
  color: var(--muted);
  line-height: 1.55;
}

.contact-note {
  display: grid;
  gap: 0.45rem;
  padding: 1.2rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.04);
}

.contact-note strong {
  color: var(--text);
}

.contact-note span {
  color: var(--muted);
  line-height: 1.7;
}

.contact-panel-head {
  display: grid;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}

.contact-panel-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: rgba(124, 247, 212, 0.12);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-panel-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.contact-panel-head p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.contact-form,
.progress-list,
.newsletter {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.6rem;
  min-width: 0;
}

.contact-form span {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea,
.newsletter input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(7, 16, 29, 0.42);
  color: var(--text);
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus,
.newsletter input:focus {
  outline: 2px solid rgba(124, 247, 212, 0.35);
  outline-offset: 2px;
  border-color: rgba(124, 247, 212, 0.34);
  background: rgba(7, 16, 29, 0.62);
  box-shadow: 0 0 0 6px rgba(124, 247, 212, 0.08);
}

.phone-field {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
}

.submit-button {
  margin-top: 0.35rem;
}

.form-message {
  min-height: 1.4rem;
  margin: 0;
  color: var(--primary);
}

.map-shell {
  border-radius: 30px;
  overflow: hidden;
  margin-top: 2rem;
}

.map-shell iframe {
  border: 0;
  width: 100%;
  height: 360px;
}

.footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.footer-grid h3 {
  margin: 0 0 1rem;
}

.footer-grid > div,
.footer-grid a,
.footer-grid span {
  display: grid;
  gap: 0.8rem;
  color: var(--muted);
}

.footer-logo,
.footer-bottom {
  margin-top: 0;
}

.footer-bottom {
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.newsletter {
  grid-template-columns: 1fr auto;
  padding: 0.35rem;
  border-radius: 999px;
}

.newsletter input {
  border: 0;
  background: transparent;
}

.newsletter button {
  border-radius: 999px;
  padding: 0.85rem 1.1rem;
}

.page-loader,
.modal {
  position: fixed;
  inset: 0;
}

.page-loader {
  z-index: 60;
  display: grid;
  place-items: center;
  background: #07111e;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.page-loader.hidden,
.modal.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  display: flex;
  gap: 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.loader-mark span {
  animation: rise 1s ease-in-out infinite;
}

.loader-mark span:nth-child(2) { animation-delay: 0.08s; }
.loader-mark span:nth-child(3) { animation-delay: 0.16s; }
.loader-mark span:nth-child(4) { animation-delay: 0.24s; }
.loader-mark span:nth-child(5) { animation-delay: 0.32s; }
.loader-mark span:nth-child(6) { animation-delay: 0.4s; }

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 70;
  background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 35;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.popup-stack {
  position: fixed;
  left: 1rem;
  bottom: 0.35rem;
  z-index: 39;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.popup-stack-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.7rem;
}

.popup-stack:not(.is-open) .popup-stack-actions {
  pointer-events: none;
}

.popup-stack:not(.is-open) .whatsapp-widget,
.popup-stack:not(.is-open) .booking-widget {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(0.92);
}

.popup-stack.is-open .whatsapp-widget,
.popup-stack.is-open .booking-widget {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-widget,
.booking-widget {
  position: relative;
  display: grid;
  justify-items: start;
  gap: 0.45rem;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease;
}

.popup-trigger {
  position: relative;
  width: 4.1rem;
  height: 3.65rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.38), transparent 38%),
    linear-gradient(180deg, #24d366 0%, #1db954 48%, #139b49 100%);
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    inset 0 -8px 16px rgba(0, 0, 0, 0.12);
  color: #ffffff;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease;
}

.popup-trigger::after {
  content: "";
  position: absolute;
  left: 0.65rem;
  bottom: -0.28rem;
  width: 1.05rem;
  height: 1.05rem;
  border-radius: 0 0 0.28rem 0;
  background: linear-gradient(135deg, #1bb356, #139446);
  transform: rotate(44deg);
  z-index: -1;
  box-shadow: 4px 6px 16px rgba(0, 0, 0, 0.14);
}

.popup-trigger:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.32);
}

.popup-trigger-icon {
  width: 1.7rem;
  height: 1.7rem;
  display: grid;
  place-items: center;
}

.popup-trigger-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
  transition: transform 0.28s ease, filter 0.28s ease;
}

.popup-stack.is-open .popup-trigger {
  background:
    radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.34), transparent 38%),
    linear-gradient(180deg, #1fc45e 0%, #17a64f 48%, #10863f 100%);
}

.popup-stack.is-open .popup-trigger-icon svg {
  transform: scale(0.95);
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
}

.whatsapp-greeting {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: #e53935;
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.popup-stack .whatsapp-greeting {
  display: none;
}

.popup-trigger-greeting {
  padding: 0.26rem 0.7rem;
  border-radius: 999px;
  background: #ffffff;
  color: #e53935;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  opacity: 1;
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s ease;
}

.popup-trigger-greeting.is-blinking {
  animation: whatsappBlink 1s ease-in-out infinite;
}

.popup-trigger-greeting.is-hidden {
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
}

.whatsapp-greeting.is-blinking {
  animation: whatsappBlink 1s ease-in-out infinite;
}

.whatsapp-greeting.is-hidden {
  display: none;
}

.whatsapp-fab {
  width: 3.4rem;
  height: 3.4rem;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

.whatsapp-fab svg {
  width: 100%;
  height: 100%;
}

.whatsapp-popup {
  position: absolute;
  left: 0;
  bottom: calc(100% + 0.75rem);
  width: min(320px, calc(100vw - 2rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(10, 20, 34, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.96);
  transform-origin: bottom left;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
}

.whatsapp-popup.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-popup-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.whatsapp-popup-head strong {
  display: block;
  margin-bottom: 0.25rem;
}

.whatsapp-popup-head span,
.whatsapp-field span {
  color: var(--muted);
  font-size: 0.92rem;
}

.whatsapp-close {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.whatsapp-field {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 0.9rem;
}

.whatsapp-field textarea {
  width: 100%;
  min-width: 0;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.whatsapp-field textarea:focus {
  outline: 2px solid rgba(124, 247, 212, 0.35);
  outline-offset: 2px;
}

.whatsapp-send {
  background: linear-gradient(135deg, #25d366, #60e995);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.26);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 247, 212, 0.14), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: transform 0.08s linear;
}

.modal {
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 12, 22, 0.7);
  backdrop-filter: blur(12px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 2rem));
  border-radius: 30px;
  overflow: hidden;
}

.modal-content img {
  height: 320px;
}

.modal-body {
  padding: 1.6rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(6, 12, 22, 0.5);
  color: #fff;
  z-index: 2;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: transform, opacity;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -16px, 0); }
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  50.01%, 100% { opacity: 0; }
}

@keyframes slideDown {
  0% { transform: scaleY(0.2); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
  100% { transform: translateY(14px) scaleY(0.2); opacity: 0; }
}

@keyframes rise {
  0%, 100% { transform: translateY(0); opacity: 0.4; }
  50% { transform: translateY(-10px); opacity: 1; color: var(--primary); }
}

@keyframes whatsappBlink {
  0%, 100% { opacity: 1; transform: translateY(0); }
  50% { opacity: 0.35; transform: translateY(-2px); }
}

@media (max-width: 1024px) {
  .stats-grid,
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-layout,
  .contact-grid,
  .cta-shell {
    grid-template-columns: 1fr;
  }

  .testimonial-track {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .desktop-cta,
  .nav {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }
}

@media (max-width: 720px) {
  :root {
    --topbar-height: 0px;
  }

  .topbar {
    display: none;
  }

  .mobile-language-switcher {
    display: inline-flex;
    align-items: center;
  }

  .mobile-language-switcher .lang {
    padding: 0.38rem 0.62rem;
    font-size: 0.78rem;
  }

  .topbar-inner,
  .topbar-left,
  .topbar-right,
  .hero-badges,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    padding-bottom: 4.75rem;
  }

  .footer-bottom p {
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
    width: 100%;
    margin: 0 auto;
  }

  .topbar-inner {
    padding: 0.75rem 0;
  }

  .mobile-menu {
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 2px);
    justify-items: center;
    text-align: center;
    padding: 1.25rem 1rem 1.4rem;
    gap: 1.1rem;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .mobile-menu a {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 4.5rem 0;
  }

  .hero {
    min-height: 92svh;
  }

  .hero-video {
    opacity: 0.72;
  }

  .hero-grid,
  .floating-orb,
  .cursor-glow {
    display: none;
  }

  .topbar,
  .mobile-menu,
  .contact-panel,
  .contact-card,
  .cta-shell,
  .portfolio-card,
  .about-visual,
  .modal-content,
  .map-shell,
  .newsletter,
  .header.scrolled,
  .stat-card,
  .service-card,
  .pricing-card,
  .testimonial-card {
    backdrop-filter: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
    will-change: auto;
  }

  .portfolio-overlay {
    opacity: 1;
    transform: none;
  }

  .stat-card:hover,
  .service-card:hover,
  .pricing-card:hover,
  .portfolio-card:hover,
  .button:hover,
  .mini-button:hover,
  .filter-button:hover,
  .slider-button:hover,
  .theme-toggle:hover,
  .menu-toggle:hover,
  .newsletter button:hover,
  .back-to-top:hover {
    transform: none;
  }

  .stats-grid,
  .services-grid,
  .portfolio-grid,
  .pricing-grid,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    gap: 1.25rem;
  }

  .contact-panel {
    order: 1;
  }

  .contact-copy {
    order: 2;
    gap: 1rem;
  }

  .contact-panel {
    display: block;
    padding: 1.1rem;
    border-radius: 22px;
    overflow: visible;
  }

  .contact-panel-head {
    margin-bottom: 1.15rem;
  }

  .contact-card {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-card-icon {
    width: 2.9rem;
    height: 2.9rem;
  }

  .contact-highlights {
    gap: 0.65rem;
  }

  .contact-highlights span {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .contact-form {
    display: grid;
    width: 100%;
  }

  .contact-form label,
  .contact-form .phone-field,
  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
  }

  .testimonial-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .testimonial-card {
    padding: 1.1rem;
    border-radius: 22px;
  }

  .testimonial-card h3 {
    font-size: 1rem;
  }

  .testimonial-card img {
    width: 3.25rem;
    height: 3.25rem;
  }

  .testimonial-text,
  .role,
  .stars {
    font-size: 0.84rem;
  }

  .hero-content {
    padding: 1.5rem 0 5rem;
  }

  .hero-title {
    font-size: clamp(2.5rem, 12vw, 4rem);
    min-height: 3.8em;
  }

  #typingText {
    min-height: 3.8em;
  }

  .hero-actions {
    width: 100%;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .nav-actions {
    gap: 0.45rem;
  }

  .hero-actions .button {
    justify-content: center;
  }

  .scroll-indicator {
    bottom: 1rem;
  }

  .phone-field,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .whatsapp-widget {
    gap: 0.35rem;
  }

  .whatsapp-popup {
    width: min(300px, calc(100vw - 1.7rem));
  }

  .whatsapp-fab {
    width: 3.1rem;
    height: 3.1rem;
  }

  .popup-stack {
    left: 0.85rem;
    bottom: 0.25rem;
  }

  .popup-trigger-greeting {
    font-size: 0.82rem;
  }

  .popup-stack-actions {
    gap: 0.55rem;
  }

  .popup-trigger {
    width: 3.75rem;
    height: 3.3rem;
  }

  .cursor-glow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

.top-ad{
  text-align: center;
  margin: 10px 0;
}
