:root {
  --bg: #fff7ec;
  --bg-soft: #fdf0df;
  --surface: #fffaf3;
  --surface-strong: #ffffff;
  --ink: #171a23;
  --muted: #6f6b64;
  --line: #eadbc9;
  --orange: #f36b16;
  --orange-dark: #d95608;
  --gold: #f6b23a;
  --green: #25d366;
  --blue: #1679b8;
  --shadow: 0 22px 50px rgba(82, 48, 19, 0.12);
  --shadow-soft: 0 14px 34px rgba(82, 48, 19, 0.09);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1440px;
  --container-pad: clamp(24px, 3vw, 56px);
  --font: "Plus Jakarta Sans", "Manrope", "Urbanist", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  background:
    radial-gradient(circle at 8% 10%, rgba(246, 178, 58, 0.18), transparent 24rem),
    radial-gradient(circle at 92% 18%, rgba(243, 107, 22, 0.12), transparent 22rem),
    linear-gradient(180deg, var(--bg), #fffaf4 44%, var(--bg));
}

body::before {
  content: "";
  position: absolute;
  top: 250px;
  left: 0;
  right: 0;
  height: 230px;
  pointer-events: none;
  opacity: 0.38;
  background:
    repeating-radial-gradient(ellipse at 22% 48%, transparent 0 14px, rgba(243, 107, 22, 0.17) 15px 16px, transparent 17px 30px);
  clip-path: polygon(0 35%, 100% 0, 100% 70%, 0 100%);
  z-index: -1;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

svg {
  width: 1.15em;
  height: 1.15em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.container {
  width: min(calc(100% - (var(--container-pad) * 2)), var(--container));
  max-width: var(--container);
  margin-inline: auto;
}

main {
  width: 100%;
  overflow: hidden;
}

section,
.site-header,
.site-footer {
  width: 100%;
}

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

.anchor-target {
  display: block;
  height: 1px;
  scroll-margin-top: 96px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 247, 236, 0.78);
  backdrop-filter: blur(18px);
  transition: box-shadow 220ms ease, background 220ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 250, 243, 0.92);
  box-shadow: 0 12px 32px rgba(36, 25, 15, 0.08);
}

.nav-shell {
  min-height: 92px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
}

.brand {
  width: 176px;
  display: inline-flex;
  align-items: center;
}

.brand img,
.footer-brand img {
  object-fit: contain;
}

.footer-brand img {
  width: min(100%, 320px);
}

.primary-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 0.88rem;
  font-weight: 800;
}

.primary-nav a {
  position: relative;
  padding: 10px 0;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 26, 35, 0.13);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 200ms ease, opacity 200ms ease;
}

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

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease, border-color 220ms ease;
}

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

.btn-primary {
  color: white;
  background: var(--orange);
  box-shadow: 0 14px 26px rgba(243, 107, 22, 0.28);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--orange-dark);
  box-shadow: 0 18px 34px rgba(243, 107, 22, 0.34);
}

.btn-dark {
  color: white;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(23, 26, 35, 0.18);
}

.btn-whatsapp {
  color: #15803d;
  background: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.58);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  color: white;
  background: var(--green);
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.24);
}

.hero {
  padding-top: 38px;
  overflow: hidden;
}

@media (min-width: 901px) {
  .hero {
    min-height: 100vh;
  }
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  align-items: center;
  gap: clamp(52px, 4.2vw, 76px);
}

.hero-copy {
  padding-top: 12px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 640px;
  margin-bottom: 24px;
  font-size: 4rem;
  line-height: 1.03;
  font-weight: 900;
}

h1 span {
  display: block;
}

.hero-text {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  min-height: clamp(520px, 36vw, 620px);
}

.orbit-label {
  display: none;
  position: absolute;
  top: -8px;
  left: 82px;
  z-index: 4;
  width: 350px;
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-18deg);
}

.hero-main-image {
  position: absolute;
  top: 42px;
  right: 64px;
  width: clamp(430px, 27vw, 520px);
  aspect-ratio: 1.05;
  overflow: hidden;
  border-radius: 48% 52% 43% 57% / 46% 48% 52% 54%;
  box-shadow: var(--shadow);
  background: #12151c;
}

.hero-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-main-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 8px solid rgba(255, 250, 243, 0.92);
  border-radius: inherit;
  pointer-events: none;
}

.hero-chip {
  position: absolute;
  top: 196px;
  right: 8px;
  z-index: 5;
  width: 100px;
  height: 100px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  box-shadow: 0 16px 36px rgba(67, 44, 22, 0.13);
}

.hero-chip img {
  width: 72px;
  height: auto;
}

.hero-mini {
  position: absolute;
  z-index: 3;
  object-fit: cover;
  border: 7px solid var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-mini-one {
  left: 72px;
  bottom: 72px;
  width: clamp(250px, 16vw, 305px);
  height: clamp(138px, 9vw, 172px);
  border-radius: 34px 18px 34px 46px;
  transform: rotate(6deg);
}

.hero-mini-two {
  right: 0;
  bottom: 18px;
  width: clamp(320px, 19vw, 380px);
  height: clamp(190px, 12vw, 230px);
  border-radius: 48px 22px 48px 30px;
  transform: rotate(-5deg);
}

.benefits-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 820px;
  margin-top: 10px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  column-gap: 14px;
  min-height: 74px;
  padding: 10px 8px;
}

.benefit-icon,
.service-icon,
.metric-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--orange);
  background: var(--surface-strong);
  border: 1px solid rgba(243, 107, 22, 0.25);
  border-radius: 50%;
  box-shadow: 0 10px 22px rgba(108, 70, 35, 0.07);
}

.benefit-icon {
  width: 52px;
  height: 52px;
  color: var(--ink);
}

.benefit-item strong {
  align-self: end;
  font-size: 0.94rem;
}

.benefit-item span:last-child {
  grid-column: 2;
  align-self: start;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 700;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.12;
  font-weight: 900;
}

.mobile-line {
  display: inline;
}

.services {
  padding-top: 42px;
}

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

.service-card {
  position: relative;
  min-height: 330px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.92);
  border: 1px solid rgba(232, 220, 207, 0.86);
  box-shadow: var(--shadow-soft);
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(243, 107, 22, 0.22);
  box-shadow: 0 24px 56px rgba(82, 48, 19, 0.15);
}

.service-card > img {
  width: 100%;
  height: clamp(170px, 10vw, 205px);
  object-fit: cover;
}

.service-card:nth-child(1) > img,
.service-card:nth-child(2) > img,
.service-card:nth-child(3) > img {
  object-position: center;
}

.service-card:nth-child(4) > img {
  object-position: center 42%;
}

.service-card:nth-child(5) > img {
  object-position: center 48%;
}

.service-card:nth-child(6) > img {
  object-position: center 46%;
}

.service-content {
  position: relative;
  padding: 30px 22px 24px;
}

.service-icon {
  position: absolute;
  top: -30px;
  left: 22px;
  width: 62px;
  height: 62px;
  color: var(--orange);
  background: white;
}

.service-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 2.25;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: 1.22rem;
  line-height: 1.18;
  font-weight: 900;
}

.service-card p {
  min-height: 48px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 0.92rem;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: white;
  background: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  transition: gap 180ms ease, background 180ms ease, transform 180ms ease;
}

.mini-link:hover,
.mini-link:focus-visible {
  gap: 11px;
  background: var(--orange-dark);
  transform: translateY(-1px);
}

.feature-wrap {
  padding: 0 0 26px;
}

.feature-banner {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: end;
  gap: 24px;
  padding: 56px 48px 38px;
  border-radius: var(--radius-xl);
  color: white;
  background:
    radial-gradient(circle at 84% 32%, rgba(246, 178, 58, 0.28), transparent 16rem),
    linear-gradient(120deg, rgba(11, 15, 22, 0.98), rgba(23, 30, 40, 0.94) 45%, rgba(17, 22, 30, 0.88));
  box-shadow: 0 26px 60px rgba(20, 19, 18, 0.22);
}

.feature-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.78) 0 1px, transparent 1px),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.38));
  background-size: 58px 58px, 100% 100%;
}

.feature-copy {
  position: relative;
  z-index: 2;
  max-width: 470px;
}

.feature-copy h2 {
  margin-bottom: 16px;
  font-size: 2.28rem;
  line-height: 1.08;
  font-weight: 900;
}

.feature-copy p {
  max-width: 440px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.93);
  font-size: 0.8rem;
  font-weight: 800;
}

.feature-list svg {
  width: 32px;
  height: 32px;
  color: var(--gold);
}

.feature-banner > img {
  position: relative;
  z-index: 2;
  justify-self: end;
  width: min(100%, clamp(520px, 34vw, 620px));
  align-self: end;
  filter: saturate(1.04) contrast(1.02);
}

.proof {
  padding-top: 32px;
}

.proof-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}

.metrics-card,
.trust-card {
  border-radius: var(--radius-lg);
  background: rgba(255, 250, 243, 0.94);
  border: 1px solid rgba(232, 220, 207, 0.86);
  box-shadow: var(--shadow-soft);
}

.metrics-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
}

.metrics-card article {
  min-height: 128px;
  padding: 22px;
  border-right: 1px solid rgba(232, 220, 207, 0.68);
  border-bottom: 1px solid rgba(232, 220, 207, 0.68);
}

.metrics-card article:nth-child(even) {
  border-right: 0;
}

.metrics-card article:nth-child(n + 3) {
  border-bottom: 0;
}

.metric-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 8px;
}

.metrics-card strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  font-weight: 950;
}

.metrics-card p {
  margin: 4px 0 0;
  color: var(--ink);
  font-size: 0.82rem;
}

.trust-card {
  min-height: 256px;
  display: flex;
  flex-direction: column;
  padding: 26px 24px 22px;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(82, 48, 19, 0.13);
}

.trust-logo {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 14px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.trust-logo.codelco {
  color: var(--orange);
  font-size: 1.12rem;
}

.trust-logo.university {
  color: #2f5d9c;
  font-size: 0.82rem;
}

.trust-logo.research {
  color: var(--blue);
  font-size: 0.76rem;
}

.trust-card strong {
  margin-bottom: 8px;
  font-size: 0.88rem;
}

.trust-card p {
  flex: 1;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.86rem;
}

.stars {
  color: var(--orange);
  font-size: 1.1rem;
  line-height: 1;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.slider-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #d9cbbf;
}

.slider-dots span:first-child {
  width: 20px;
  background: var(--orange);
}

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

.cta-panel {
  position: relative;
  min-height: 214px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px 290px;
  align-items: center;
  gap: 30px;
  padding: 34px 42px;
  border: 1px solid rgba(243, 107, 22, 0.2);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 54% 25%, rgba(243, 107, 22, 0.16), transparent 9rem),
    rgba(255, 247, 236, 0.94);
  box-shadow: var(--shadow-soft);
}

.cta-copy h2 {
  max-width: 500px;
  margin-bottom: 12px;
  font-size: 2.45rem;
  line-height: 1.08;
  font-weight: 950;
}

.cta-copy p {
  max-width: 530px;
  margin-bottom: 0;
  color: var(--ink);
}

.cta-art {
  position: relative;
  min-height: 150px;
  display: grid;
  place-items: center;
}

.cta-art span {
  display: none;
  position: absolute;
  top: 2px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff8a1f);
}

.cta-art img {
  position: relative;
  z-index: 2;
  width: 270px;
  height: auto;
}

.cta-actions {
  display: grid;
  gap: 16px;
}

.quote-form {
  margin-top: 26px;
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  gap: 30px;
  padding: 34px 42px;
  border: 1px solid rgba(232, 220, 207, 0.86);
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 243, 0.94);
  box-shadow: var(--shadow-soft);
}

.quote-form-copy {
  align-self: start;
}

.quote-form-copy h2 {
  margin-bottom: 12px;
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 950;
}

.quote-form-copy p:last-child {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--ink);
}

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

.quote-fields label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 900;
}

.quote-fields input,
.quote-fields select,
.quote-fields textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(232, 220, 207, 0.96);
  border-radius: 14px;
  padding: 0 14px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  outline: 0;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.quote-fields textarea {
  min-height: 112px;
  padding-block: 12px;
  resize: vertical;
}

.quote-fields input:focus,
.quote-fields select:focus,
.quote-fields textarea:focus {
  border-color: rgba(243, 107, 22, 0.58);
  box-shadow: 0 0 0 4px rgba(243, 107, 22, 0.11);
}

.quote-message {
  grid-column: 1 / -1;
}

.quote-submit {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.quote-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}

.site-footer {
  padding: 24px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.footer-brand p {
  max-width: 260px;
  margin: 14px 0 18px;
  color: var(--ink);
  font-size: 0.88rem;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--ink);
  box-shadow: 0 10px 22px rgba(23, 26, 35, 0.14);
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  color: white;
  background: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(243, 107, 22, 0.24);
}

.social-links svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.footer-grid h3 {
  margin: 12px 0 14px;
  font-size: 0.9rem;
}

.footer-grid a,
.footer-grid address span {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 0.84rem;
  font-style: normal;
}

.footer-grid .social-links a {
  display: grid;
  place-items: center;
  margin-bottom: 0;
  color: white;
}

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

.footer-grid .social-links a:hover,
.footer-grid .social-links a:focus-visible {
  color: white;
}

.copyright {
  margin: 18px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.floating-whatsapp {
  position: fixed;
  right: clamp(16px, 2vw, 28px);
  bottom: clamp(16px, 2vw, 28px);
  z-index: 60;
  min-width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px 0 15px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
  color: white;
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(37, 211, 102, 0.42);
}

.floating-whatsapp svg {
  width: 27px;
  height: 27px;
  flex: 0 0 auto;
}

.floating-whatsapp span {
  line-height: 1;
}

.primary-nav a[aria-current="page"] {
  color: var(--orange);
}

.primary-nav a[aria-current="page"]::after {
  width: 100%;
}

.gallery-hero {
  padding-top: clamp(118px, 12vh, 150px);
}

.gallery-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(360px, 0.74fr);
  gap: clamp(34px, 5vw, 84px);
  align-items: center;
}

.gallery-hero-copy h1 {
  max-width: 720px;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  line-height: 0.92;
  font-weight: 950;
}

.gallery-hero-copy p:not(.eyebrow) {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.16rem);
  line-height: 1.75;
}

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

.gallery-hero-photo {
  position: relative;
  min-height: 520px;
  margin: 0;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow-strong);
  background: var(--ink);
}

.gallery-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.gallery-hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(23, 26, 35, 0.7));
}

.gallery-hero-photo figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 1;
  color: white;
  font-size: 0.9rem;
  font-weight: 900;
}

.gallery-section {
  padding-top: 38px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 auto 34px;
}

.gallery-filters button {
  min-height: 42px;
  border: 1px solid rgba(232, 220, 207, 0.95);
  border-radius: 999px;
  padding: 0 17px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.gallery-filters button:hover,
.gallery-filters button:focus-visible,
.gallery-filters button[aria-pressed="true"] {
  color: white;
  border-color: var(--orange);
  background: var(--orange);
  transform: translateY(-2px);
}

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

.gallery-card {
  position: relative;
  grid-row: span 2;
  display: block;
  min-height: 0;
  border: 0;
  border-radius: 24px;
  padding: 0;
  overflow: hidden;
  color: white;
  background: var(--ink);
  box-shadow: var(--shadow-soft);
  cursor: zoom-in;
  isolation: isolate;
  transition: transform 220ms ease, box-shadow 220ms ease, opacity 180ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px rgba(82, 48, 19, 0.16);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.045);
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 26, 35, 0.76));
}

.gallery-card span {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 15px;
  z-index: 2;
  text-align: left;
  color: white;
  font-size: 0.9rem;
  font-weight: 950;
  line-height: 1.2;
}

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

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 3;
}

.gallery-card-tall {
  grid-row: span 3;
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-video-section {
  padding-top: 22px;
}

.gallery-video-card {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(300px, 0.78fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border-radius: var(--radius-xl);
  color: white;
  background: linear-gradient(135deg, #171a23, #2a221d);
  box-shadow: var(--shadow-strong);
}

.gallery-video-card h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 3.8vw, 4rem);
  line-height: 0.95;
}

.gallery-video-card p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
}

.gallery-video-card .mini-link {
  color: var(--yellow);
}

.gallery-video-card video {
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  border: 0;
  border-radius: 24px;
  display: block;
  object-fit: cover;
  background: #0f1118;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.gallery-lightbox {
  width: min(1120px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  border: 0;
  border-radius: 28px;
  padding: 14px;
  color: white;
  background: rgba(23, 26, 35, 0.94);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.38);
}

.gallery-lightbox::backdrop {
  background: rgba(23, 26, 35, 0.74);
  backdrop-filter: blur(8px);
}

.gallery-lightbox img {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 18px;
}

.gallery-lightbox p {
  margin: 12px 6px 2px;
  font-weight: 900;
}

.gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: white;
  background: rgba(23, 26, 35, 0.72);
  cursor: pointer;
}

.gallery-lightbox-close svg {
  width: 22px;
  height: 22px;
}

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

body.has-reveal .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 680ms ease, transform 680ms ease;
}

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

:focus-visible {
  outline: 3px solid rgba(243, 107, 22, 0.45);
  outline-offset: 4px;
}

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

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

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

@media (max-width: 1100px) {
  .nav-shell {
    grid-template-columns: 190px 1fr auto;
  }

  .primary-nav {
    gap: 22px;
  }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  h1 {
    font-size: 3.3rem;
  }

  .hero-visual {
    min-height: 470px;
  }

  .hero-main-image {
    right: 12px;
    width: 390px;
  }

  .hero-mini-one {
    left: 16px;
  }

  .feature-banner,
  .proof-grid,
  .cta-panel {
    grid-template-columns: 1fr 1fr;
  }

  .metrics-card {
    grid-column: 1 / -1;
  }

  .cta-art {
    order: 3;
  }
}

@media (max-width: 900px) {
  .section-pad {
    padding: 58px 0;
  }

  .nav-shell {
    min-height: 78px;
    grid-template-columns: 1fr auto auto;
  }

  .brand {
    width: 148px;
  }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .nav-cta {
    min-height: 42px;
    padding: 0 18px;
    font-size: 0.86rem;
  }

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 24px;
    right: 24px;
    display: grid;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(232, 220, 207, 0.96);
    border-radius: 20px;
    background: rgba(255, 250, 243, 0.98);
    box-shadow: var(--shadow-soft);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
  }

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

  .primary-nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    background: var(--bg-soft);
  }

  .primary-nav a::after {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-copy {
    max-width: 720px;
  }

  h1 {
    font-size: 3rem;
  }

  .hero-visual {
    min-height: 510px;
    max-width: 650px;
    width: 100%;
    margin-inline: auto;
  }

  .benefits-row,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-banner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 42px 34px 0;
  }

  .feature-banner > img {
    justify-self: center;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-submit {
    grid-column: 1;
  }

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

@media (max-width: 680px) {
  .container {
    width: calc(100% - 32px);
  }

  body::before {
    top: 270px;
    height: 170px;
  }

  .nav-shell {
    gap: 10px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: 2.22rem;
  }

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

  .hero-copy,
  .hero-text,
  .hero-actions,
  .section-heading {
    max-width: 340px;
  }

  .section-heading {
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
    max-width: 380px;
  }

  .orbit-label {
    left: 38px;
    top: 4px;
    width: 300px;
    font-size: 0.68rem;
  }

  .hero-main-image {
    top: 50px;
    right: 16px;
    left: 16px;
    width: auto;
  }

  .hero-chip {
    top: 202px;
    right: 0;
    width: 78px;
    height: 78px;
  }

  .hero-chip img {
    width: 56px;
  }

  .hero-mini-one {
    left: 14px;
    bottom: 38px;
    width: 172px;
    height: 96px;
  }

  .hero-mini-two {
    right: 4px;
    bottom: 18px;
    width: 210px;
    height: 126px;
  }

  .benefits-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-copy h2 {
    font-size: 1.88rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }

  .service-card {
    min-height: auto;
  }

  .proof-grid,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .metrics-card {
    grid-template-columns: 1fr;
  }

  .metrics-card article,
  .metrics-card article:nth-child(even),
  .metrics-card article:nth-child(n + 3) {
    border-right: 0;
    border-bottom: 1px solid rgba(232, 220, 207, 0.68);
  }

  .metrics-card article:last-child {
    border-bottom: 0;
  }

  .cta-panel {
    padding: 30px 22px;
    text-align: left;
  }

  .quote-form {
    padding: 30px 22px;
  }

  .quote-fields {
    grid-template-columns: 1fr;
  }

  .cta-art {
    min-height: 130px;
    order: 0;
  }

  .cta-actions .btn {
    width: 100%;
  }

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

  .floating-whatsapp {
    min-width: 54px;
    width: 54px;
    height: 54px;
    padding: 0;
    border-radius: 50%;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media (max-width: 560px) {
  .container {
    max-width: 340px;
  }

  .mobile-line {
    display: block;
  }

  .services-grid {
    max-width: 320px;
  }
}

@media (max-width: 430px) {
  .brand {
    width: 132px;
  }

  h1 {
    font-size: 1.92rem;
  }

  .hero-visual {
    min-height: 372px;
  }

  .orbit-label {
    display: none;
  }

  .hero-main-image {
    top: 12px;
  }

  .hero-chip {
    top: 164px;
  }

  .hero-mini-one {
    bottom: 34px;
    width: 150px;
    height: 86px;
  }

  .hero-mini-two {
    bottom: 10px;
    width: 182px;
    height: 112px;
  }

  .feature-banner {
    padding: 34px 24px 0;
  }

  .section-heading h2,
  .feature-copy h2,
  .cta-copy h2 {
    font-size: 1.5rem;
  }

}

@media (max-width: 1100px) {
  .gallery-hero-grid,
  .gallery-video-card {
    grid-template-columns: 1fr;
  }

  .gallery-hero-photo {
    min-height: 430px;
  }

  .gallery-hero-photo img {
    min-height: 430px;
  }

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

@media (max-width: 760px) {
  .gallery-hero {
    padding-top: 106px;
  }

  .gallery-hero-copy h1 {
    font-size: clamp(2.65rem, 14vw, 4.1rem);
  }

  .gallery-hero-actions,
  .gallery-hero-actions .btn {
    width: 100%;
  }

  .gallery-hero-photo {
    min-height: 360px;
    border-radius: 26px;
  }

  .gallery-hero-photo img {
    min-height: 360px;
  }

  .gallery-filters {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }

  .gallery-filters button {
    flex: 0 0 auto;
  }

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

  .gallery-card,
  .gallery-card-wide,
  .gallery-card-large,
  .gallery-card-tall {
    grid-column: span 1;
    grid-row: span 2;
    border-radius: 18px;
  }

  .gallery-video-card {
    padding: 28px 22px;
    border-radius: 24px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 210px;
  }

  .gallery-lightbox {
    width: calc(100vw - 18px);
    padding: 10px;
    border-radius: 20px;
  }
}
