:root {
  --bg: #060d18;
  --bg-soft: #0c1627;
  --surface: rgba(255,255,255,0.06);
  --surface-strong: rgba(255,255,255,0.1);
  --border: rgba(255,255,255,0.12);
  --text: #f4f7fb;
  --muted: #b7c2d7;
  --gold: #d9b15d;
  --gold-2: #f4d28d;
  --teal: #71d4d4;
  --accent: #1d7ef2;
  --shadow: 0 22px 65px rgba(0, 0, 0, 0.38);
  --radius: 22px;
  --radius-sm: 16px;
  --max-width: 1220px;
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top right, rgba(217,177,93,0.14), transparent 22%),
    radial-gradient(circle at bottom left, rgba(29,126,242,0.14), transparent 18%),
    linear-gradient(180deg, #08111d 0%, #08101b 100%);
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.72; }
ul { padding-left: 1.1rem; color: var(--muted); }
button, input, textarea { font: inherit; }

::selection {
  background: rgba(217,177,93,0.28);
  color: var(--text);
}

.container {
  width: min(92%, var(--max-width));
  margin-inline: auto;
}

.topbar {
  position: relative;
  z-index: 1100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(6,13,24,0.72);
  backdrop-filter: blur(14px);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.72rem 0;
  font-size: 0.92rem;
  color: var(--muted);
}
.topbar a:hover { color: var(--gold-2); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(6,13,24,0.72);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-header.scrolled {
  box-shadow: 0 16px 32px rgba(0,0,0,0.18);
}
.navbar {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 16px 36px rgba(217,177,93,0.24);
  color: #0a0d13;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.55rem;
  font-weight: 700;
}
.brand-copy {
  min-width: 0;
}
.brand-copy small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
  margin-bottom: 0.14rem;
}
.brand-copy strong {
  display: block;
  font-size: 1rem;
  line-height: 1.12;
}
.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-links a {
  color: var(--muted);
  font-weight: 600;
  position: relative;
  transition: color 0.25s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--gold), transparent);
  transition: transform 0.25s ease;
}
.nav-links a:hover,
.nav-links a.active { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.82rem;
}

.btn,
button.btn {
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 700;
  padding: 0.95rem 1.35rem;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #0a0d13;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  box-shadow: 0 16px 30px rgba(217,177,93,0.24);
}
.btn-primary:hover { box-shadow: 0 20px 34px rgba(217,177,93,0.32); }
.btn-outline {
  background: rgba(255,255,255,0.06);
  color: var(--text);
  border: 1px solid rgba(255,255,255,0.16);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.11);
}
.btn-light {
  background: rgba(255,255,255,0.1);
  color: var(--text);
}
.btn-sm {
  padding: 0.7rem 1rem;
  font-size: 0.94rem;
}
.menu-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.06);
  color: var(--text);
}

.hero {
  position: relative;
  min-height: calc(100vh - 126px);
  display: grid;
  align-items: center;
  overflow: hidden;
}
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -3;
}
.hero::before {
  background:
    linear-gradient(120deg, rgba(6,13,24,0.88) 0%, rgba(6,13,24,0.52) 42%, rgba(6,13,24,0.78) 100%),
    url('https://images.unsplash.com/photo-1511578314322-379afb476865?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
  transform: scale(1.03);
  animation: heroZoom 20s ease-in-out infinite alternate;
}
.hero::after {
  background:
    radial-gradient(circle at 10% 20%, rgba(113,212,212,0.15), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(217,177,93,0.18), transparent 22%),
    linear-gradient(180deg, transparent 0%, rgba(6,13,24,0.72) 100%);
  z-index: -2;
}
@keyframes heroZoom {
  from { transform: scale(1.03) translateY(0); }
  to { transform: scale(1.1) translateY(-0.8rem); }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  padding: 5rem 0 4rem;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: var(--gold-2);
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-content h1,
.page-hero h1,
.section-title h2,
.cta-panel h2,
.split-card h2,
.large-title,
.card-showcase h2 {
  margin: 0 0 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  line-height: 0.95;
}
.hero-content h1 {
  font-size: clamp(3.3rem, 6.8vw, 6.4rem);
  letter-spacing: -0.03em;
}
.hero-content .tagline {
  font-size: clamp(1.16rem, 2vw, 1.45rem);
  color: var(--gold-2);
  margin-bottom: 1.05rem;
  font-weight: 700;
}
.hero-content p {
  max-width: 52rem;
  font-size: 1.08rem;
  margin-bottom: 1.55rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.metric-card {
  padding: 1.2rem;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
}
.metric-card strong {
  font-size: 1.65rem;
  display: block;
  margin-bottom: 0.2rem;
}
.metric-card span {
  color: var(--muted);
  font-size: 0.92rem;
}
.hero-side {
  align-self: end;
}
.glass-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.14);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-radius: 26px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.glass-panel::before {
  content: '';
  position: absolute;
  inset: auto -20% -45% auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,177,93,0.22), transparent 72%);
  pointer-events: none;
}
.showcase-media {
  border-radius: 18px;
  overflow: hidden;
  margin-bottom: 1.1rem;
}
.showcase-media img {
  width: 100%;
  min-height: 320px;
  object-fit: cover;
}
.glass-panel h3 { margin: 0 0 0.7rem; font-size: 1.34rem; }
.kpi-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-top: 1rem;
}
.kpi-strip div {
  padding: 0.92rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.kpi-strip strong {
  display: block;
  margin-bottom: 0.25rem;
}

.section {
  padding: 6.3rem 0;
  position: relative;
}
.section.compact { padding: 4.5rem 0; }
.section.alt {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.01));
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.section-title {
  max-width: 820px;
  margin-bottom: 2.6rem;
}
.section-title h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.section-title p {
  margin: 0;
  font-size: 1.05rem;
}
.section-title.center {
  text-align: center;
  margin-inline: auto;
}
.overline {
  display: inline-block;
  margin-bottom: 0.9rem;
  color: var(--gold-2);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.info-card,
.service-card,
.feature-card,
.testimonial-card,
.contact-card,
.value-card,
.process-card,
.stat-card,
.team-card,
.portfolio-card,
.faq-item,
.story-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04));
  border-radius: var(--radius);
  padding: 1.45rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.info-card:hover,
.service-card:hover,
.feature-card:hover,
.testimonial-card:hover,
.contact-card:hover,
.value-card:hover,
.process-card:hover,
.stat-card:hover,
.portfolio-card:hover,
.story-card:hover {
  transform: translateY(-6px);
  border-color: rgba(217,177,93,0.34);
}
.service-card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: auto -18% -26% auto;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,177,93,0.20), transparent 70%);
}
.icon-badge {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(217,177,93,0.18), rgba(113,212,212,0.16));
  border: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
  color: var(--gold-2);
}
.icon-badge svg { width: 28px; height: 28px; }
.card-label {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.08);
  color: var(--gold-2);
  margin-bottom: 0.9rem;
}
.service-card h3,
.feature-card h3,
.info-card h3,
.contact-card h3,
.value-card h3,
.process-card h3,
.testimonial-card h3,
.story-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
}
.service-card .link,
.inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gold-2);
  font-weight: 700;
  margin-top: 0.8rem;
}
.inline-link:hover { gap: 0.65rem; }

.split-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.7rem;
  align-items: center;
}
.split-card {
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  min-height: 520px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.12);
}
.split-card .image-cover {
  position: absolute;
  inset: 0;
}
.split-card .image-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.split-card .overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,24,0.08), rgba(6,13,24,0.84));
}
.split-card .content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2rem;
}
.split-copy h2 {
  font-size: clamp(2.4rem, 4.4vw, 4rem);
}
.list-check {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.95rem;
}
.list-check li {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}
.list-check .dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  flex: 0 0 28px;
  margin-top: 0.15rem;
  display: grid;
  place-items: center;
  background: rgba(217,177,93,0.14);
  color: var(--gold-2);
  border: 1px solid rgba(217,177,93,0.28);
}
.list-check strong { display: block; color: var(--text); margin-bottom: 0.18rem; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.2rem;
}
.stat-card span { color: var(--muted); }

.portfolio-controls {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.filter-btn {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
}
.filter-btn.active,
.filter-btn:hover {
  background: linear-gradient(135deg, rgba(217,177,93,0.18), rgba(255,255,255,0.12));
  border-color: rgba(217,177,93,0.34);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.portfolio-card {
  padding: 0;
  overflow: hidden;
  grid-column: span 4;
}
.portfolio-card.wide { grid-column: span 8; }
.portfolio-card .thumb {
  position: relative;
  min-height: 330px;
}
.portfolio-card .thumb img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .thumb img { transform: scale(1.06); }
.portfolio-card .thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,13,24,0.1), rgba(6,13,24,0.72));
}
.portfolio-card .portfolio-copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: 1.3rem;
}
.portfolio-copy h3 { margin: 0 0 0.3rem; font-size: 1.32rem; }
.portfolio-copy p { margin: 0; font-size: 0.95rem; }
.portfolio-card.hidden { display: none; }

.testimonial-card {
  position: relative;
}
.quote-mark {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  font-size: 4rem;
  line-height: 1;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: rgba(217,177,93,0.18);
}
.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(217,177,93,0.36);
}
.testimonial-footer strong { display: block; }
.testimonial-footer span { color: var(--muted); font-size: 0.9rem; }

.cta-panel {
  position: relative;
  overflow: hidden;
  padding: 2.2rem;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.12);
  background:
    linear-gradient(135deg, rgba(217,177,93,0.16), rgba(29,126,242,0.18)),
    rgba(255,255,255,0.04);
  box-shadow: var(--shadow);
}
.cta-panel::after {
  content: '';
  position: absolute;
  right: -5rem;
  bottom: -6rem;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  border-radius: 50%;
}
.cta-panel h2 {
  font-size: clamp(2.4rem, 4vw, 3.7rem);
  max-width: 16ch;
}
.cta-panel p { max-width: 60ch; }

.contact-layout {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 1.4rem;
}
.contact-form {
  display: grid;
  gap: 1rem;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.input-wrap {
  display: grid;
  gap: 0.42rem;
}
label {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 600;
}
input,
textarea,
select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.05);
  color: var(--text);
  padding: 0.95rem 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
input:focus,
textarea:focus,
select:focus {
  border-color: rgba(217,177,93,0.48);
  box-shadow: 0 0 0 4px rgba(217,177,93,0.12);
}
textarea { min-height: 150px; resize: vertical; }
.form-note {
  font-size: 0.9rem;
  color: var(--muted);
}
.map-wrap {
  border-radius: 24px;
  overflow: hidden;
  min-height: 420px;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: var(--shadow);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(6,13,24,0.88) 0%, rgba(6,13,24,0.68) 44%, rgba(6,13,24,0.88) 100%),
    var(--page-hero-image) center/cover no-repeat;
  z-index: -1;
}
.page-hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
}
.breadcrumbs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: var(--muted);
  margin-top: 1rem;
}
.breadcrumbs a { color: var(--gold-2); }

.timeline {
  display: grid;
  gap: 1rem;
}
.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: start;
}
.timeline-year {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  color: var(--gold-2);
}

.service-detail-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.2rem;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
}
.service-detail-card.reverse {
  grid-template-columns: 1.1fr 0.9fr;
}
.service-detail-media img {
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}
.service-detail-copy {
  padding: 1.6rem;
}
.service-detail-copy h3 {
  font-size: 2rem;
  margin-bottom: 0.7rem;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}
.detail-tags span {
  padding: 0.45rem 0.72rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: 0.84rem;
  color: var(--text);
}

.faq-list {
  display: grid;
  gap: 1rem;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item p { margin: 0.9rem 0 0; }

.footer {
  padding-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 1fr;
  gap: 1.4rem;
}
.footer h4 { margin: 0 0 1rem; }
.footer p,
.footer li,
.footer a { color: var(--muted); }
.footer a:hover { color: var(--gold-2); }
.footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}
.footer-bottom {
  padding: 1rem 0 1.7rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  flex-wrap: wrap;
}

.floating-whatsapp,
.floating-quote,
.back-to-top {
  position: fixed;
  right: 1rem;
  z-index: 1200;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 40px rgba(0,0,0,0.28);
}
.floating-whatsapp {
  bottom: 1rem;
  background: linear-gradient(135deg, #25d366, #18a950);
}
.floating-quote {
  bottom: 5.4rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #0a0d13;
  border: 0;
}
.back-to-top {
  bottom: 9.8rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  transform: translateY(10px);
}
.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(4, 9, 16, 0.76);
  backdrop-filter: blur(6px);
  z-index: 1400;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal.active { display: flex; }
.modal-panel {
  width: min(100%, 760px);
  border-radius: 28px;
  padding: 1.6rem;
  position: relative;
}
.modal-close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.08);
  color: var(--text);
  cursor: pointer;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%) translateY(100px);
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--text);
  padding: 0.8rem 1.1rem;
  z-index: 1500;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .hero-grid,
  .split-layout,
  .contact-layout,
  .service-detail-card,
  .service-detail-card.reverse,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .portfolio-card,
  .portfolio-card.wide { grid-column: span 6; }
}

@media (max-width: 900px) {
  .topbar { display: none; }
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: fixed;
    top: calc(var(--header-h) + 1px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 4%;
    background: rgba(6,13,24,0.98);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-actions .btn-outline { display: none; }
  .hero-content h1 { font-size: clamp(2.8rem, 11vw, 4.8rem); }
  .hero-metrics,
  .kpi-strip,
  .grid-3,
  .grid-2,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-card,
  .portfolio-card.wide { grid-column: span 12; }
  .floating-quote { bottom: 5.6rem; }
}

@media (max-width: 640px) {
  :root { --header-h: 76px; }
  .brand-copy strong { font-size: 0.92rem; }
  .brand-copy span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { padding: 4.3rem 0 3rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .section { padding: 4.6rem 0; }
  .stats-row,
  .grid-4 { grid-template-columns: 1fr; }
  .timeline-item { grid-template-columns: 1fr; }
  .metric-card strong { font-size: 1.4rem; }
  .map-wrap, .map-wrap iframe { min-height: 320px; }
  .floating-whatsapp,
  .floating-quote,
  .back-to-top { width: 54px; height: 54px; right: 0.8rem; }
  .back-to-top { bottom: 9.3rem; }
}
