:root {
  --bg: #07111f;
  --bg-soft: #0c1a2b;
  --panel: rgba(11, 28, 46, 0.82);
  --panel-strong: #102742;
  --panel-alt: #132f4f;
  --line: rgba(143, 181, 222, 0.16);
  --line-strong: rgba(255, 255, 255, 0.14);
  --text: #f4f8fc;
  --muted: #b0bfd0;
  --muted-2: #8da3bc;
  --red: #fc5157;
  --red-dark: #d93a40;
  --gold: #ffd66b;
  --green: #29cf78;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --radius-sm: 16px;
  --container: 1240px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(252, 81, 87, 0.14), transparent 26%),
    radial-gradient(circle at top right, rgba(255, 214, 107, 0.12), transparent 26%),
    linear-gradient(180deg, #06101c 0%, #081423 38%, #0b1930 100%);
  color: var(--text);
  font-family: 'IBM Plex Sans', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' opacity='0.13' filter='url(%23n)'/></svg>");
  mix-blend-mode: soft-light;
  opacity: 0.26;
  z-index: 999;
}

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

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
}

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

.section {
  padding: 88px 0;
}

.section-tight {
  padding: 72px 0;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border: 1px solid rgba(255, 214, 107, 0.35);
  border-radius: 999px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'IBM Plex Mono', monospace;
  background: rgba(255, 214, 107, 0.08);
}

h1,
h2,
h3,
h4 {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
  line-height: 1.06;
  text-transform: uppercase;
}

p {
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  background: rgba(6, 16, 28, 0.8);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
}

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

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

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(234,241,248,0.88));
  padding: 8px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.brand-copy strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.05em;
  font-size: 17px;
}

.brand-copy span {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  display: block;
  position: relative;
  transition: 0.25s ease;
  content: "";
}

.nav-toggle span::before { top: -6px; position: absolute; }
.nav-toggle span::after { top: 6px; position: absolute; }

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

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(255,255,255,0.07);
}

.nav-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.btn,
.btn-outline,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s ease, background 0.2s ease;
}

.btn {
  color: #fff;
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  box-shadow: 0 14px 30px rgba(252, 81, 87, 0.28);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.04);
}

.btn-ghost {
  color: var(--gold);
  background: rgba(255, 214, 107, 0.08);
  border: 1px solid rgba(255, 214, 107, 0.22);
}

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

.hero {
  padding: 54px 0 70px;
}

.hero-grid,
.page-hero-grid,
.split-grid,
.contact-layout,
.story-grid,
.service-layout,
.metrics-grid,
.cta-panel,
.contact-quick-grid,
.services-hero-grid {
  display: grid;
  gap: 28px;
}

.hero-grid,
.page-hero-grid,
.services-hero-grid,
.contact-layout,
.story-grid,
.service-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}

.hero-copy h1,
.page-hero-copy h1 {
  font-size: clamp(40px, 7vw, 84px);
  margin: 18px 0 20px;
}

.hero-copy p,
.page-hero-copy p {
  max-width: 650px;
  font-size: 18px;
}

.hero-actions,
.inline-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

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

.metric-card,
.glass-card,
.service-card,
.story-card,
.process-card,
.stat-panel,
.contact-card,
.faq-item,
.service-highlight,
.sidebar-card,
.feature-card,
.promo-strip,
.contact-quick-card {
  background: linear-gradient(180deg, rgba(16, 39, 66, 0.88), rgba(9, 22, 37, 0.96));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.metric-card,
.glass-card,
.story-card,
.process-card,
.stat-panel,
.contact-card,
.service-highlight,
.sidebar-card,
.feature-card,
.contact-quick-card {
  padding: 26px;
}

.metric-card strong,
.stat-panel strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--gold);
}

.hero-visual {
  position: relative;
}

.hero-photo,
.page-photo,
.story-photo,
.service-photo {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}

.hero-photo img,
.page-photo img,
.story-photo img,
.service-photo img {
  width: 100%;
  min-height: 100%;
  object-fit: cover;
}

.hero-photo img { min-height: 560px; }
.page-photo img,
.service-photo img { min-height: 480px; }
.story-photo img { min-height: 420px; }

.floating-card {
  position: absolute;
  right: -18px;
  bottom: 24px;
  width: min(300px, calc(100% - 24px));
}

.floating-card strong {
  display: block;
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  margin-bottom: 8px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-red { width: 240px; height: 240px; background: rgba(252, 81, 87, 0.45); top: -28px; left: -24px; }
.orb-gold { width: 220px; height: 220px; background: rgba(255, 214, 107, 0.22); right: -20px; top: 80px; }

.section-head {
  max-width: 720px;
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 56px);
  margin: 16px 0 12px;
}

.service-grid,
.feature-grid,
.process-grid,
.faq-grid,
.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.gallery-item,
.promo-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  min-height: 260px;
}

.gallery-item img,
.promo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

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

.gallery-caption,
.promo-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 18px;
  background: linear-gradient(180deg, transparent, rgba(5, 11, 19, 0.95));
}

.service-card {
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature-card::before,
.process-card::before,
.sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
}

.service-card h3,
.feature-card h3,
.process-card h3,
.story-card h3,
.contact-card h3,
.sidebar-card h3,
.contact-quick-card h3 {
  font-size: 24px;
  margin: 18px 0 10px;
}

.service-card ul,
.sidebar-card ul,
.service-highlight ul,
.contact-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.service-card li,
.sidebar-card li,
.service-highlight li,
.contact-card li {
  color: var(--muted);
  position: relative;
  padding-left: 18px;
}

.service-card li::before,
.sidebar-card li::before,
.service-highlight li::before,
.contact-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
}

.icon-chip {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 214, 107, 0.08);
  border: 1px solid rgba(255, 214, 107, 0.18);
  color: var(--gold);
}

.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--gold);
  font-weight: 700;
}

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

.story-grid,
.contact-layout,
.cta-panel,
.service-layout,
.contact-quick-grid {
  align-items: stretch;
}

.story-cards,
.service-highlights,
.process-grid,
.faq-list,
.sidebar-stack {
  display: grid;
  gap: 18px;
}

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

.contact-layout {
  grid-template-columns: 1fr 1.05fr;
}

.map-frame {
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 100%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.map-frame iframe {
  width: 100%;
  min-height: 100%;
  height: 100%;
  min-height: 540px;
  border: 0;
}

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

.form-row {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  border-radius: 18px;
  padding: 14px 16px;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.faq-list .faq-item {
  overflow: hidden;
}

.faq-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  cursor: pointer;
}

.faq-trigger strong {
  font-size: 20px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.03em;
}

.faq-trigger span:last-child {
  color: var(--gold);
  font-size: 24px;
}

.faq-body {
  padding: 0 24px 22px;
  display: none;
}

.faq-item.active .faq-body {
  display: block;
}

.faq-item.active .faq-trigger span:last-child {
  transform: rotate(45deg);
}

.footer {
  padding: 32px 0 38px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-shell {
  padding: 34px;
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 214, 107, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(16, 39, 66, 0.92), rgba(8, 18, 31, 0.98));
  box-shadow: var(--shadow);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  gap: 26px;
  color: var(--muted-2);
}

.footer-brand {
  max-width: 360px;
}

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

.footer-title {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  color: var(--text);
}

.footer-links,
.footer-contact-list {
  list-style: none;
  display: grid;
  gap: 10px;
}

.footer-links a,
.footer-contact-list a,
.footer-bottom a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact-list a:hover,
.footer-bottom a:hover {
  color: var(--gold);
}

.footer-note {
  margin-top: 18px;
  color: var(--muted);
}

.footer-bottom {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--muted-2);
}

.float-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.float-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.28);
}

.float-btn svg {
  width: 26px;
  height: 26px;
}

.float-btn.whatsapp { background: linear-gradient(135deg, #1ecb6a, #20aa58); }
.float-btn.call { background: linear-gradient(135deg, var(--red), var(--red-dark)); }

.page-hero,
.subpage-section {
  padding-top: 38px;
}

.breadcrumbs {
  display: inline-flex;
  gap: 8px;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 14px;
}

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

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .page-hero-grid,
  .services-hero-grid,
  .split-grid,
  .story-grid,
  .service-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .gallery-grid,
  .promo-grid,
  .service-grid,
  .feature-grid,
  .process-grid,
  .contact-quick-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .hero-photo img,
  .page-photo img,
  .story-photo img,
  .service-photo img {
    min-height: 380px;
  }

  .map-frame iframe {
    min-height: 400px;
  }
}

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

  .nav-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 16px;
    right: 16px;
    padding: 18px;
    border-radius: 24px;
    background: rgba(7, 17, 31, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    align-items: stretch;
  }

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

  .nav-links,
  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-links a,
  .nav-actions a {
    width: 100%;
    justify-content: center;
  }

  .hero-copy h1,
  .page-hero-copy h1 {
    font-size: clamp(34px, 11vw, 62px);
  }

  .hero-metrics,
  .metrics-grid,
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section,
  .section-tight {
    padding: 64px 0;
  }

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

  .service-grid,
  .feature-grid,
  .process-grid,
  .promo-grid,
  .gallery-grid,
  .contact-quick-grid {
    grid-template-columns: 1fr;
  }

  .floating-card {
    position: static;
    width: 100%;
    margin-top: 18px;
  }

  .brand-copy span {
    letter-spacing: 0.08em;
  }

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

  .footer-shell {
    padding: 24px 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .float-stack {
    right: 14px;
    bottom: 14px;
  }
}
