:root {
  color-scheme: light;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-strong: #f1f5f9;
  --text: #1e293b;
  --muted: #64748b;
  --heading: #0f172a;
  --primary: #06b6d4;
  --primary-strong: #0891b2;
  --primary-soft: rgba(6, 182, 212, 0.12);
  --secondary: #8b5cf6;
  --accent: var(--secondary);
  --accent-soft: rgba(139, 92, 246, 0.14);
  --danger-soft: rgba(239, 68, 68, 0.1);
  --border: rgba(15, 23, 42, 0.1);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.14);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --header-height: 70px;
  --bottom-nav-height: 65px;
  --container: 1200px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0f172a;
  --surface: rgba(255, 255, 255, 0.03);
  --surface-strong: rgba(255, 255, 255, 0.06);
  --text: #f1f5f9;
  --muted: #cbd5e1;
  --heading: #ffffff;
  --primary: #06b6d4;
  --primary-strong: #22d3ee;
  --primary-soft: rgba(6, 182, 212, 0.14);
  --secondary: #8b5cf6;
  --accent: var(--secondary);
  --accent-soft: rgba(139, 92, 246, 0.16);
  --danger-soft: rgba(239, 68, 68, 0.12);
  --border: rgba(255, 255, 255, 0.1);
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.26);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(6, 182, 212, 0.12), transparent 34rem),
    radial-gradient(circle at bottom right, rgba(139, 92, 246, 0.12), transparent 26rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  transition: background-color 250ms ease, color 250ms ease;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

i[class^="ri-"],
i[class*=" ri-"] {
  display: inline-block;
  line-height: 1;
  vertical-align: -0.08em;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 780px;
}

.section {
  padding: 92px 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  transform: translateY(-160%);
  background: var(--heading);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-soft);
}

.navbar {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--heading);
  font-size: 1rem;
  font-weight: 800;
}

.brand-container {
  display: flex;
  align-items: center;
  min-width: 0;
}

.logo {
  gap: 0;
  color: var(--heading);
  font-family: "Courier New", monospace;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.logo-primary {
  color: var(--primary);
}

.logo-secondary {
  color: var(--secondary);
}

.tagline-container {
  display: none;
  width: 220px;
  margin-left: 15px;
  padding-left: 10px;
  border-left: 2px solid var(--secondary);
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.2;
  opacity: 0.8;
}

.dynamic-text {
  display: inline-block;
  transition: opacity 500ms ease;
}

@media (min-width: 768px) {
  .tagline-container {
    display: block;
  }
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 0.9rem;
  letter-spacing: 0;
  box-shadow: 0 10px 22px rgba(6, 182, 212, 0.28);
}

.nav-panel {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  background: var(--primary-soft);
  color: var(--primary-strong);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 104px;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  box-shadow: var(--shadow-soft);
}

.toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary-soft);
  transition: background-color 220ms ease;
}

.toggle-thumb {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  transition: transform 220ms ease, background-color 220ms ease;
}

[data-theme="dark"] .toggle-thumb {
  transform: translateX(18px);
  background: var(--accent);
}

.hero {
  min-height: calc(100vh - var(--header-height));
  display: flex;
  align-items: center;
  padding: 88px 0 76px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  align-items: center;
  gap: 54px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  color: var(--primary-strong);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.08;
}

h1 {
  max-width: 820px;
  margin-bottom: 22px;
  font-size: 5.2rem;
  letter-spacing: 0;
}

h2 {
  font-size: 2.8rem;
  letter-spacing: 0;
}

h3 {
  font-size: 1.18rem;
}

.hero-copy p,
.page-hero p {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 32px 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, color 180ms ease;
}

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

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(6, 182, 212, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-strong);
  box-shadow: 0 18px 34px rgba(6, 182, 212, 0.36);
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--heading);
  box-shadow: var(--shadow-soft);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-weight: 700;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 80%, transparent);
}

.trust-row i {
  color: var(--primary);
}

.hero-visual {
  position: relative;
  min-height: 570px;
  isolation: isolate;
  animation: float 5.5s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 38px 4px 10px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.32), rgba(139, 92, 246, 0.22));
  transform: rotate(-4deg);
  z-index: -1;
}

.hero-visual img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 250px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
}

.hero-card i,
.hero-card strong {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-strong);
}

.hero-card span {
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-card-top {
  top: 34px;
  left: -22px;
}

.hero-card-bottom {
  right: -18px;
  bottom: 58px;
}

.device-marquee {
  overflow: hidden;
  border-block: 1px solid var(--border);
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-group {
  display: flex;
  align-items: center;
  gap: 42px;
  min-width: 100vw;
  padding: 18px 21px;
}

.marquee-group span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 800;
}

.marquee-group i {
  color: var(--primary);
  font-size: 1.45rem;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.card-grid,
.service-detail-grid,
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

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

.service-card,
.pricing-card,
.contact-form,
.legal-content {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  box-shadow: var(--shadow-soft);
}

.service-card {
  min-height: 248px;
  padding: 26px;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow);
}

.icon-badge,
.pricing-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: var(--radius);
  background: var(--primary-soft);
  color: var(--primary-strong);
  font-size: 1.25rem;
}

.service-card h3,
.service-card h2,
.pricing-card h2 {
  margin: 22px 0 12px;
}

.service-card p,
.pricing-card li,
.contact-card p,
.legal-content p {
  color: var(--muted);
}

.about-band {
  background: linear-gradient(135deg, var(--surface), var(--surface-strong));
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  gap: 54px;
}

.about-media {
  position: relative;
}

.about-media::after {
  content: "";
  position: absolute;
  inset: 22px -16px -16px 22px;
  border: 2px solid var(--accent);
  border-radius: 28px;
  z-index: 0;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.stats-grid div {
  min-height: 108px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.stats-grid strong,
.stats-grid span {
  display: block;
}

.stats-grid strong {
  color: var(--primary-strong);
  font-size: 1.4rem;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.testimonial-shell {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
}

.testimonial-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  overflow: hidden;
  border-radius: var(--radius);
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
}

.testimonial-card {
  min-height: 250px;
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  scroll-snap-align: start;
}

.testimonial-card p {
  color: var(--text);
  font-size: 1.28rem;
}

.testimonial-card h3 {
  margin-bottom: 0;
}

.stars {
  margin-bottom: 16px;
  color: var(--accent);
}

.slider-btn {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--heading);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, background-color 180ms ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  background: var(--primary-soft);
}

.cta-section {
  padding-top: 34px;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow);
}

.cta-panel h2,
.cta-panel .eyebrow {
  color: #ffffff;
}

.cta-panel h2 {
  max-width: 690px;
  margin-bottom: 0;
}

.cta-panel .btn-primary {
  background: #ffffff;
  color: #0f172a;
  box-shadow: none;
}

.page-hero {
  padding: 90px 0 56px;
  text-align: center;
}

.page-hero .eyebrow {
  margin-inline: auto;
}

.page-hero h1 {
  margin-inline: auto;
}

.page-hero p {
  margin-inline: auto;
}

.service-detail {
  min-height: 270px;
}

.price-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding: 18px 20px;
  border: 1px solid color-mix(in srgb, var(--accent) 48%, var(--border));
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--heading);
}

.price-alert i {
  color: var(--secondary);
  font-size: 1.35rem;
}

.pricing-card {
  position: relative;
  min-height: 424px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow);
}

.pricing-card.featured {
  border-color: color-mix(in srgb, var(--primary) 60%, var(--border));
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
}

.popular-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  font-size: 0.76rem;
  font-weight: 800;
}

.price {
  margin-bottom: 18px;
  color: var(--primary-strong);
  font-size: 1.35rem;
  font-weight: 900;
}

.pricing-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
}

.pricing-card li {
  position: relative;
  padding-left: 24px;
}

.pricing-card li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--primary);
  font-family: inherit;
  font-weight: 900;
}

.pricing-card .btn {
  margin-top: auto;
  width: 100%;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 220px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease, filter 500ms ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 11px;
  border-radius: var(--radius);
  background: rgba(7, 21, 19, 0.76);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  align-items: start;
  gap: 28px;
}

.contact-info {
  display: grid;
  gap: 16px;
}

.contact-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.contact-card h2 {
  margin: 0 0 4px;
  font-size: 1.08rem;
}

.contact-card p,
.contact-card a {
  margin: 0;
}

.contact-card a {
  color: var(--primary-strong);
  font-weight: 800;
}

.map-card {
  overflow: hidden;
  min-height: 292px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.map-card iframe {
  display: block;
  width: 100%;
  height: 292px;
  border: 0;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  color: var(--heading);
  font-weight: 800;
}

.form-row input,
.form-row textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  outline: none;
  padding: 13px 14px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent);
}

.form-row textarea {
  resize: vertical;
}

.form-submit {
  width: 100%;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--primary-strong);
  font-weight: 800;
}

.legal-content {
  max-width: 900px;
  padding: 34px;
}

.legal-content h2 {
  margin: 28px 0 10px;
  font-size: 1.38rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content a {
  color: var(--primary-strong);
  font-weight: 800;
}

.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 95;
  display: grid;
  width: 62px;
  height: 62px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  font-size: 2rem;
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.36);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 20px 44px rgba(37, 211, 102, 0.42);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 30px;
  padding: 44px 0 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  max-width: 390px;
  color: var(--muted);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer a,
.site-footer span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--primary-strong);
}

.site-footer .logo {
  display: inline-flex;
}

.site-footer .logo-primary,
.site-footer .logo-secondary {
  display: inline;
  margin-bottom: 0;
}

.site-footer .logo-primary {
  color: var(--primary);
}

.site-footer .logo-secondary {
  color: var(--secondary);
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.site-footer .footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  color: var(--text);
  font-size: 1.5rem;
  opacity: 0.62;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-footer .footer-social-icons a:hover,
.site-footer .footer-social-icons a:focus-visible {
  color: var(--secondary);
  opacity: 1;
  transform: translateY(-5px);
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid var(--border);
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

.reveal-delay-1 {
  transition-delay: 90ms;
}

.reveal-delay-2 {
  transition-delay: 170ms;
}

.reveal-delay-3 {
  transition-delay: 250ms;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 1060px) {
  h1 {
    font-size: 4.3rem;
  }

  h2 {
    font-size: 2.55rem;
  }

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

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

  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 720px;
    margin-inline: auto;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  h1 {
    font-size: 3.55rem;
  }

  h2 {
    font-size: 2.25rem;
  }

  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .section {
    padding: 70px 0;
  }

  .nav-toggle {
    display: grid;
  }

  .nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    left: 14px;
    right: 14px;
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
    transform-origin: top;
    transform: scaleY(0.94) translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .nav-panel.open {
    transform: scaleY(1) translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links {
    display: grid;
    gap: 4px;
  }

  .nav-links a {
    width: 100%;
  }

  .theme-toggle {
    justify-content: center;
    width: 100%;
  }

  .hero {
    min-height: auto;
    padding-top: 68px;
  }

  .hero-visual,
  .hero-visual img {
    min-height: 0;
    height: 460px;
  }

  .hero-card-top {
    left: 12px;
  }

  .hero-card-bottom {
    right: 12px;
  }

  .stats-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 210px;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .brand {
    gap: 9px;
    font-size: 0.95rem;
  }

  .brand.logo {
    font-size: 1.25rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .hero-actions,
  .cta-panel {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual,
  .hero-visual img {
    height: 390px;
  }

  .hero-card {
    max-width: 220px;
    padding: 12px;
  }

  .hero-card span {
    font-size: 0.82rem;
  }

  .feature-grid,
  .card-grid,
  .service-detail-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

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

  .slider-btn {
    display: none;
  }

  .testimonial-track {
    grid-auto-columns: 100%;
    overflow-x: auto;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-card p {
    font-size: 1.08rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 270px;
  }

  .gallery-item.wide,
  .gallery-item.tall {
    grid-column: auto;
    grid-row: auto;
  }

  .contact-form,
  .legal-content,
  .cta-panel {
    padding: 22px;
  }

  .whatsapp-fab {
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
  }
}

/* Reference-inspired hero and mobile app navigation */
.mobile-bottom-nav {
  display: none;
}

.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
  isolation: isolate;
}

.hero.hero-section {
  min-height: 700px;
  padding: 80px 0 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--primary) 10%, transparent), transparent 46%),
    linear-gradient(315deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 48%);
}

.hero-bg-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.34;
  background-image:
    linear-gradient(color-mix(in srgb, var(--border) 46%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--border) 46%, transparent) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 10;
}

.hero-title {
  margin-bottom: 10px;
  font-size: 4.75rem;
  font-weight: 900;
  letter-spacing: 0;
}

.hero-name-primary {
  color: var(--primary-strong);
}

.hero-name-secondary,
.highlight {
  color: var(--accent);
}

.hero-subtitle {
  max-width: 760px;
  margin-bottom: 20px;
  color: var(--heading);
  font-size: 1.72rem;
  font-weight: 850;
  line-height: 1.2;
}

.hero-tagline {
  margin-bottom: 26px;
}

.expertise-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 740px;
  margin: 0 0 32px;
}

.expertise-pills span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid color-mix(in srgb, var(--primary) 32%, var(--border));
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, transparent);
  color: var(--heading);
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: var(--shadow-soft);
}

.expertise-pills i {
  color: var(--primary-strong);
}

.hero-cta {
  margin-top: 0;
}

.hero-section .hero-visual {
  display: grid;
  place-items: center;
  min-height: 520px;
  animation: none;
}

.hero-section .hero-visual::before {
  content: none;
}

.photo-wrapper {
  position: relative;
  width: 370px;
  height: 370px;
  margin: auto;
}

.photo-wrapper .hero-photo {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 5px solid color-mix(in srgb, var(--surface) 78%, transparent);
  border-radius: 50%;
  box-shadow: var(--shadow);
  animation: float 5.5s ease-in-out infinite;
}

.photo-glow {
  position: absolute;
  inset: -7%;
  z-index: 1;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--primary), var(--accent), var(--primary));
  filter: blur(26px);
  opacity: 0.28;
}

.floating-badge {
  position: absolute;
  z-index: 4;
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  color: var(--primary-strong);
  font-size: 1.5rem;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(14px);
  animation: float 4.5s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  left: -10%;
}

.badge-2 {
  right: -8%;
  bottom: 18%;
  animation-delay: 0.9s;
}

.badge-3 {
  top: 48%;
  left: -15%;
  animation-delay: 1.8s;
}

.hero-skill-card {
  position: absolute;
  z-index: 5;
  display: grid;
  gap: 2px;
  max-width: 230px;
  padding: 13px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 91%, transparent);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(15px);
}

.hero-skill-card strong {
  color: var(--heading);
  font-size: 0.93rem;
}

.hero-skill-card span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.hero-skill-card-left {
  left: 0;
  bottom: 78px;
}

.hero-skill-card-right {
  right: 0;
  top: 88px;
}

.scroll-hint {
  position: absolute;
  bottom: 26px;
  left: 50%;
  z-index: 2;
  display: inline-flex;
  transform: translateX(-50%);
  opacity: 0.72;
}

.mouse {
  position: relative;
  display: block;
  width: 26px;
  height: 42px;
  border: 2px solid var(--muted);
  border-radius: 20px;
}

.wheel {
  position: absolute;
  top: 8px;
  left: 50%;
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--primary);
  transform: translateX(-50%);
  animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
  0% {
    opacity: 1;
    transform: translate(-50%, 0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 19px);
  }
}

@media (max-width: 1060px) {
  .hero-section,
  .hero.hero-section {
    height: auto;
    min-height: 100vh;
    display: block;
    padding: 120px 0 60px;
  }

  .hero-title {
    font-size: 4rem;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-copy .eyebrow,
  .expertise-pills,
  .hero-cta {
    justify-content: center;
    margin-inline: auto;
  }

  .hero-copy p,
  .hero-subtitle {
    margin-inline: auto;
  }

  .hero-section .hero-visual {
    order: -1;
  }
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
  }

  .nav-toggle {
    display: none;
  }

  .nav-panel {
    position: static;
    display: flex;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-links {
    display: none;
  }

  .theme-toggle {
    width: auto;
    min-width: 98px;
    box-shadow: none;
  }

  .mobile-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 110;
    display: flex;
    align-items: center;
    justify-content: space-around;
    height: calc(var(--bottom-nav-height) + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    border-top: 1px solid var(--border);
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    box-shadow: 0 -14px 34px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(16px);
  }

  .mobile-link {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    opacity: 0.7;
    transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .mobile-link i {
    margin-bottom: 4px;
    font-size: 1.25rem;
  }

  .mobile-link.active,
  .mobile-link:hover,
  .mobile-link:focus-visible {
    color: var(--primary-strong);
    opacity: 1;
    transform: translateY(-5px);
  }

  .mobile-link.active i {
    color: var(--accent);
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    display: block;
    padding: 120px 0 72px;
  }

  .hero-title {
    font-size: 3.25rem;
  }

  .hero-subtitle {
    font-size: 1.36rem;
  }

  .hero-section .hero-visual {
    min-height: 340px;
    margin-bottom: 20px;
  }

  .photo-wrapper {
    width: 280px;
    height: 280px;
  }

  .floating-badge {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .badge-1 {
    top: 0;
    left: 0;
  }

  .badge-2 {
    right: 0;
    bottom: 12%;
  }

  .badge-3 {
    top: 44%;
    left: -2%;
  }

  .hero-skill-card {
    display: none;
  }

  .scroll-hint {
    display: none;
  }

  .whatsapp-fab {
    bottom: calc(var(--bottom-nav-height) + 16px);
  }
}

@media (max-width: 480px) {
  .navbar {
    gap: 10px;
  }

  .brand {
    font-size: 0.86rem;
  }

  .brand.logo {
    font-size: 1.15rem;
  }

  .theme-toggle {
    min-width: 84px;
    gap: 6px;
    padding-inline: 8px;
  }

  .hero-title {
    font-size: 2.72rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-tagline {
    font-size: 1rem;
  }

  .expertise-pills {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .expertise-pills span {
    justify-content: center;
    width: 100%;
  }

  .photo-wrapper {
    width: 238px;
    height: 238px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

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