:root {
  --bg-main: #0d1f36;
  --bg-secondary: #173252;
  --orange: #f47b20;
  --orange-hover: #d96514;
  --light: #f6f7f8;
  --white: #ffffff;
  --ink: #1f2933;
  --muted: #4a5a70;
  --soft-line: rgba(31, 41, 51, 0.12);
  --dark-line: rgba(255, 255, 255, 0.13);
  --shadow: 0 22px 52px rgba(13, 31, 54, 0.16);
  --soft-shadow: 0 14px 34px rgba(13, 31, 54, 0.1);
  --radius: 8px;
  --container: 1160px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--light);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

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

button {
  border: 0;
  font: inherit;
}

:focus-visible {
  outline: 3px solid rgba(244, 123, 32, 0.7);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 1000;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--bg-main);
  padding: 10px 14px;
  font-weight: 800;
  transition: top 180ms ease;
}

.skip-link:focus {
  top: 16px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-height);
  border-bottom: 1px solid var(--dark-line);
  background: rgba(13, 31, 54, 0.95);
  backdrop-filter: blur(14px);
}

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

.brand,
.footer-logo {
  display: inline-flex;
  align-items: center;
  width: 124px;
}

.brand img,
.footer-logo img {
  width: 100%;
  height: auto;
}

.main-nav {
  position: absolute;
  inset: var(--header-height) 16px auto 16px;
  display: none;
  overflow: hidden;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: #102944;
  box-shadow: var(--shadow);
}

.main-nav.is-open {
  display: block;
}

.main-nav a {
  display: block;
  border-bottom: 1px solid var(--dark-line);
  color: #dce5ef;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 760;
}

.main-nav a:last-child {
  border-bottom: 0;
}

.main-nav a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
}

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

.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dark-line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  margin: 2px 0;
  background: currentColor;
}

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

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  box-shadow: 0 16px 30px rgba(217, 101, 20, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8730, var(--orange-hover));
  box-shadow: 0 20px 38px rgba(217, 101, 20, 0.3);
}

.btn-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.1);
}

.btn-small {
  min-height: 40px;
  padding: 10px 13px;
  font-size: 0.86rem;
  white-space: nowrap;
}

.btn-large {
  min-height: 54px;
  padding: 16px 24px;
}

.section {
  padding: 78px 0;
}

.section-dark {
  color: var(--white);
  background: var(--bg-main);
}

.section-light {
  color: var(--ink);
  background: var(--light);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 12%, rgba(244, 123, 32, 0.14), transparent 34%),
    linear-gradient(180deg, var(--bg-main), #09192b);
  padding-bottom: 72px;
}

.hero-top {
  display: grid;
  gap: 36px;
  padding: 62px 0 76px;
}

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

.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  min-height: 290px;
  background: #102944;
  box-shadow: var(--shadow);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 31, 54, 0.44), rgba(13, 31, 54, 0.06)),
    linear-gradient(180deg, transparent 58%, rgba(13, 31, 54, 0.18));
  pointer-events: none;
}

.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 290px;
  object-fit: cover;
  object-position: center;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(2rem, 6.8vw, 3.55rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 5.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 9px;
  font-size: 1.04rem;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: #d7dce5;
  font-size: 1.08rem;
}

.hero-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  max-width: 520px;
  margin-bottom: 18px;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 780px;
}

.hero-chips span {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf3f8;
  padding: 7px 11px;
  font-size: 0.82rem;
  font-weight: 780;
}

.hero-carousel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #081827;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.hero-track {
  position: relative;
  min-height: clamp(280px, 44vw, 470px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 520ms ease, visibility 520ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(13, 31, 54, 0.06), rgba(13, 31, 54, 0.76)),
    linear-gradient(90deg, rgba(13, 31, 54, 0.55), rgba(13, 31, 54, 0.06));
  pointer-events: none;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 44vw, 470px);
  object-fit: cover;
  object-position: center;
}

.hero-slide-copy {
  position: absolute;
  left: 22px;
  right: 92px;
  bottom: 22px;
  z-index: 2;
  max-width: 520px;
}

.hero-slide-copy h2 {
  margin-bottom: 8px;
  font-size: clamp(1.35rem, 4vw, 2.25rem);
}

.hero-slide-copy p {
  margin-bottom: 0;
  color: #edf3f8;
  font-size: 1rem;
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: var(--white);
  background: rgba(13, 31, 54, 0.58);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 180ms ease, border-color 180ms ease;
}

.hero-carousel-control:hover {
  border-color: rgba(244, 123, 32, 0.6);
  background: rgba(13, 31, 54, 0.78);
}

.hero-carousel-prev {
  left: 14px;
}

.hero-carousel-next {
  right: 14px;
}

.hero-carousel-dots {
  position: absolute;
  right: 22px;
  bottom: 24px;
  z-index: 3;
  display: flex;
  gap: 7px;
}

.hero-carousel-dots button {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.hero-carousel-dots button.is-active {
  border-color: var(--orange);
  background: var(--orange);
}

.trust-strip {
  position: relative;
  z-index: 4;
  margin-top: -74px;
  background: linear-gradient(180deg, transparent 0, transparent 55px, var(--light) 55px);
  padding: 0 0 24px;
}

.trust-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(223, 232, 242, 0.16);
  border-radius: calc(var(--radius) + 2px);
  background:
    linear-gradient(120deg, rgba(244, 123, 32, 0.09), transparent 28%),
    linear-gradient(135deg, #173252, #0a1b2f 62%, #071420);
  box-shadow:
    0 26px 60px rgba(13, 31, 54, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
}

.trust-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.trust-track::-webkit-scrollbar {
  display: none;
}

.trust-item {
  position: relative;
  display: grid;
  flex: 0 0 min(86%, 330px);
  min-height: 132px;
  align-content: center;
  gap: 8px;
  padding: 24px 22px 28px;
  scroll-snap-align: start;
}

.trust-item::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, rgba(244, 123, 32, 0.9), rgba(255, 255, 255, 0.22));
}

.trust-item h3 {
  margin-bottom: 0;
  color: var(--white);
  font-size: 1rem;
  line-height: 1.22;
}

.trust-item p {
  margin: 0;
  color: #c9d5e2;
  font-size: 0.92rem;
  line-height: 1.45;
}

.trust-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 18px 18px;
}

.trust-dots button {
  width: 18px;
  height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease;
}

.trust-dots button.is-active {
  width: 30px;
  background: rgba(255, 255, 255, 0.72);
}

.split {
  display: grid;
  gap: 34px;
  align-items: center;
}

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

.section-heading p,
.section-light .section-copy p,
.center-note {
  color: var(--muted);
}

.section-dark .section-heading p,
.section-dark .install-card p,
.section-dark .process-step p {
  color: #d7dce5;
}

.spaces-section {
  background:
    linear-gradient(180deg, #ffffff, var(--light));
}

.spaces-section .section-heading {
  max-width: 820px;
}

.space-card-grid {
  display: grid;
  gap: 18px;
}

.space-card {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  box-shadow: 0 20px 46px rgba(13, 31, 54, 0.13);
  isolation: isolate;
}

.space-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(13, 31, 54, 0.02) 20%, rgba(13, 31, 54, 0.82) 100%),
    linear-gradient(90deg, rgba(13, 31, 54, 0.42), rgba(13, 31, 54, 0.06));
  pointer-events: none;
}

.space-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  object-position: center;
  transition: transform 520ms ease, opacity 220ms ease;
}

.space-card:hover img {
  opacity: 0.94;
  transform: scale(1.025);
}

.space-card-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 24px;
  color: var(--white);
}

.space-card-copy h3 {
  max-width: 360px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.space-card-copy p {
  max-width: 470px;
  margin-bottom: 0;
  color: #edf3f8;
  font-size: 0.95rem;
}

.space-footnote {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-weight: 720;
}

.install-grid {
  display: grid;
  gap: 12px;
}

.install-card {
  display: block;
  width: 100%;
  min-height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top-color: rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.018));
  color: var(--white);
  padding: 20px;
  text-align: left;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.install-card:hover {
  transform: translateY(-2px);
  border-color: rgba(244, 123, 32, 0.3);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.026));
}

.install-card h3 {
  position: relative;
  padding-top: 14px;
}

.install-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 2px;
  background: rgba(244, 123, 32, 0.76);
}

.install-card > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 18px;
  color: var(--orange);
  font-size: 0.84rem;
  font-weight: 860;
}

.install-card > span::after {
  content: "→";
  font-size: 1rem;
}

.solution-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
}

.solution-modal[hidden] {
  display: none;
}

.solution-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 14, 25, 0.72);
}

.solution-panel {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(960px, 100%);
  max-height: min(760px, calc(100vh - 34px));
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.34);
}

.solution-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(13, 31, 54, 0.72);
  cursor: pointer;
}

.solution-media {
  margin: 0;
  background: var(--bg-secondary);
}

.solution-media img {
  width: 100%;
  height: clamp(230px, 42vw, 380px);
  object-fit: cover;
  object-position: center;
}

.solution-content {
  padding: 26px;
}

.solution-content h2 {
  color: var(--ink);
}

.solution-detail-block {
  border-top: 1px solid rgba(31, 41, 51, 0.1);
  margin-top: 18px;
  padding-top: 18px;
}

.solution-detail-block h3 {
  color: var(--ink);
}

.solution-detail-block p,
.solution-content > p {
  color: var(--muted);
}

.solution-detail-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.solution-detail-block li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
}

.solution-detail-block li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 900;
}

body.modal-open {
  overflow: hidden;
}

.quote-section {
  border-top: 1px solid rgba(31, 41, 51, 0.08);
  border-bottom: 1px solid rgba(31, 41, 51, 0.08);
  background:
    linear-gradient(135deg, rgba(244, 123, 32, 0.055), transparent 34%),
    #ffffff;
}

.quote-grid {
  display: grid;
  gap: 34px;
  align-items: center;
}

.quote-note {
  position: relative;
  margin: 22px 0 24px;
  padding-left: 18px;
  color: var(--ink);
  font-weight: 820;
}

.quote-note::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.24em;
  bottom: 0.24em;
  width: 2px;
  background: var(--orange);
}

.quote-steps {
  position: relative;
  display: grid;
  gap: 16px;
}

.quote-step {
  position: relative;
  border-left: 1px solid rgba(31, 41, 51, 0.12);
  padding: 4px 0 4px 22px;
}

.quote-step span {
  position: absolute;
  left: -13px;
  top: 4px;
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 950;
}

.quote-step h3 {
  margin-bottom: 6px;
  color: var(--orange);
}

.quote-step p {
  margin-bottom: 0;
  color: var(--muted);
}

blockquote {
  margin: 24px 0 0;
  border-left: 3px solid var(--orange);
  padding: 6px 0 6px 18px;
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 820;
}

.image-frame {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-secondary);
  box-shadow: var(--shadow);
}

.image-frame img {
  width: 100%;
  height: clamp(360px, 58vw, 620px);
  object-fit: cover;
  object-position: 50% 18%;
}

#audio-espacio .image-frame img {
  height: clamp(340px, 42vw, 540px);
  aspect-ratio: 16 / 10;
  object-position: 56% 54%;
}

.process-section {
  background:
    linear-gradient(135deg, rgba(244, 123, 32, 0.08), transparent 42%),
    linear-gradient(180deg, var(--bg-main), #0a1a2e);
}

.process-timeline {
  position: relative;
  display: grid;
  gap: 0;
  padding-left: 28px;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, rgba(244, 123, 32, 0.7), rgba(255, 255, 255, 0.12));
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 26px;
  padding-bottom: 26px;
}

.process-step:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(244, 123, 32, 0.62);
  border-radius: 50%;
  color: var(--orange);
  background: var(--bg-main);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-step p {
  max-width: 270px;
  margin-bottom: 0;
}

.works-section {
  background: #ffffff;
}

.gallery-grid {
  display: grid;
  gap: 18px;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(31, 41, 51, 0.09);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 42px rgba(13, 31, 54, 0.09);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 52px rgba(13, 31, 54, 0.13);
}

.gallery-item img {
  width: 100%;
  height: clamp(230px, 48vw, 320px);
  object-fit: cover;
  transition: transform 420ms ease;
}

.gallery-item-farmacia img {
  height: clamp(260px, 42vw, 360px);
  object-position: 52% 18%;
}

.gallery-item:hover img {
  transform: scale(1.018);
}

.gallery-item figcaption {
  display: grid;
  gap: 5px;
  padding: 15px 16px 17px;
  color: var(--muted);
  font-size: 0.93rem;
  line-height: 1.45;
}

.gallery-item figcaption span {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 880;
}

.brand-section {
  background: linear-gradient(180deg, var(--light), #edf1f5);
}

.compact-section {
  max-width: 1080px;
}

.compact-section .section-heading,
.center-note {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.brand-logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 34px auto 22px;
}

.brand-logo {
  display: grid;
  place-items: center;
  min-height: 82px;
  margin: 0;
  border-bottom: 1px solid rgba(31, 41, 51, 0.1);
  background: rgba(255, 255, 255, 0.64);
  padding: 18px 16px;
  transition:
    transform 180ms ease,
    border-color 180ms ease;
}

.brand-logo:hover {
  border-color: rgba(244, 123, 32, 0.34);
  transform: translateY(-2px);
}

.brand-logo img {
  width: min(112px, 100%);
  max-height: 36px;
  object-fit: contain;
  opacity: 0.72;
  filter: grayscale(100%) contrast(0.9);
  transition:
    opacity 180ms ease,
    filter 180ms ease,
    transform 180ms ease;
}

.brand-logo:hover img {
  opacity: 1;
  filter: grayscale(20%) contrast(1);
  transform: scale(1.02);
}

.brand-logo.is-text {
  color: var(--muted);
  font-weight: 850;
}

.center-note {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-section {
  background: #ffffff;
}

.faq-grid {
  display: grid;
  gap: 24px;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-item {
  border-bottom: 1px solid rgba(31, 41, 51, 0.12);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 40px 18px 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-weight: 850;
}

.faq-question::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  color: var(--orange);
  font-size: 1.45rem;
  font-weight: 700;
  transform: translateY(-50%);
}

.faq-question[aria-expanded="true"]::after {
  content: "-";
}

.faq-answer p {
  max-width: 720px;
  margin: -2px 0 18px;
  color: var(--muted);
}

.final-cta {
  position: relative;
  overflow: hidden;
  padding: 86px 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(244, 123, 32, 0.18), transparent 35%),
    linear-gradient(180deg, var(--bg-main), #102944);
}

.final-cta-inner {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.final-cta p {
  color: #d7dce5;
}

.final-cta .btn {
  margin: 8px 0 14px;
}

.cta-note {
  margin-bottom: 0;
  font-size: 0.95rem;
  font-weight: 750;
}

.site-footer {
  color: #d7dce5;
  background:
    linear-gradient(135deg, rgba(244, 123, 32, 0.08), transparent 28%),
    linear-gradient(180deg, #081827, #050f1b);
  padding: 58px 0 24px;
  border-top: 2px solid rgba(244, 123, 32, 0.5);
}

.footer-grid {
  display: grid;
  gap: 32px;
}

.site-footer h2 {
  margin-bottom: 14px;
  color: var(--white);
  font-size: 1rem;
}

.site-footer p {
  max-width: 360px;
  margin-bottom: 0;
}

.site-footer ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer a {
  color: #d7dce5;
  transition: color 180ms ease;
}

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

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.whatsapp-contact-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

.footer-brand-column {
  display: grid;
  align-content: start;
  gap: 18px;
}

.social-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
}

.social-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-links a:nth-child(2) svg {
  fill: currentColor;
  stroke: none;
}

.footer-bottom {
  margin-top: 34px;
  border-top: 1px solid var(--dark-line);
  padding-top: 18px;
  font-size: 0.9rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(135deg, var(--orange), var(--orange-hover));
  box-shadow: 0 14px 30px rgba(13, 31, 54, 0.24);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.floating-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px rgba(13, 31, 54, 0.32);
}

.floating-whatsapp > span {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}

.floating-whatsapp > span img {
  width: 19px;
  height: 19px;
  object-fit: contain;
}

.floating-whatsapp strong,
.desktop-label {
  display: none;
}

.floating-whatsapp strong {
  white-space: nowrap;
}

.mobile-label {
  display: inline;
}

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

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

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

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

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

@media (min-width: 560px) {
  .hero-actions {
    grid-template-columns: max-content max-content;
  }

  .trust-item {
    flex-basis: min(68%, 360px);
  }

  .install-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 800px) {
  .container {
    width: min(var(--container), calc(100% - 48px));
  }

  .brand {
    width: 150px;
  }

  .main-nav {
    position: static;
    display: flex;
    align-items: center;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .main-nav a {
    border: 0;
    padding: 10px 11px;
    font-size: 0.93rem;
  }

  .menu-toggle {
    display: none;
  }

  .section {
    padding: 104px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 0.94fr) minmax(390px, 0.86fr);
    gap: 64px;
    padding: 96px 0 90px;
  }

  .hero-media {
    min-height: 560px;
  }

  .hero-media img {
    min-height: 560px;
  }

  .split {
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1fr);
    gap: 60px;
  }

  .trust-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    scroll-snap-type: none;
  }

  .trust-item {
    min-width: 0;
    min-height: 136px;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 24px;
    scroll-snap-align: none;
  }

  .trust-item:last-child {
    border-right: 0;
  }

  .trust-dots {
    display: none;
  }

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

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

  .space-card,
  .space-card img {
    min-height: 380px;
  }

  .quote-grid {
    grid-template-columns: minmax(0, 0.75fr) minmax(440px, 1fr);
    gap: 64px;
  }

  .quote-steps {
    grid-template-columns: repeat(3, 1fr);
  }

  .quote-step {
    border-left: 0;
    border-top: 1px solid rgba(31, 41, 51, 0.12);
    padding: 24px 18px 0 0;
  }

  .quote-step span {
    left: 0;
    top: -13px;
  }

  .process-timeline {
    grid-template-columns: repeat(4, 1fr);
    padding-left: 0;
  }

  .process-timeline::before {
    left: 15px;
    right: 8%;
    top: 15px;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(244, 123, 32, 0.64), rgba(255, 255, 255, 0.13));
  }

  .process-step {
    display: block;
    border-bottom: 0;
    margin-bottom: 0;
    padding: 0 30px 0 0;
  }

  .step-number {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
  }

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

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

  .gallery-item:first-child img {
    height: 360px;
  }

  .gallery-item figcaption {
    min-height: 96px;
  }

  .brand-logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px 20px;
  }

  .faq-grid {
    grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
  }

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

  .floating-whatsapp {
    right: 22px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    width: auto;
    height: 42px;
    border-radius: 999px;
    padding: 7px 13px 7px 8px;
  }

  .floating-whatsapp strong,
  .desktop-label {
    display: inline;
  }

  .mobile-label {
    display: none;
  }

  .floating-whatsapp strong {
    font-size: 0.8rem;
    line-height: 1;
  }
}

@media (min-width: 1100px) {
  .brand-logo-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1.25fr 0.72fr 0.85fr 1.05fr;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 74px;
  }

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

  .brand {
    width: 112px;
  }

  .btn-small {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 0.8rem;
  }

  .hero-top {
    padding: 48px 0 80px;
  }

  .hero-track,
  .hero-slide img {
    min-height: 300px;
  }

  .hero-slide-copy {
    left: 16px;
    right: 16px;
    bottom: 46px;
  }

  .hero-carousel-control {
    top: auto;
    bottom: 14px;
    width: 34px;
    height: 34px;
    transform: none;
  }

  .hero-carousel-prev {
    left: 14px;
  }

  .hero-carousel-next {
    left: 56px;
    right: auto;
  }

  .hero-carousel-dots {
    right: 16px;
    bottom: 26px;
  }

  .trust-strip {
    margin-top: -56px;
  }

  .solution-modal {
    align-items: end;
    padding: 10px;
  }

  .solution-panel {
    max-height: calc(100vh - 20px);
  }

  .solution-content {
    padding: 22px 18px;
  }

  .faq-question {
    font-size: 0.98rem;
  }

  .floating-whatsapp {
    left: auto;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: auto;
    height: 48px;
    border-radius: 999px;
    padding: 8px 15px 8px 8px;
  }

  .floating-whatsapp strong {
    display: inline;
    font-size: 0.92rem;
  }
}
