:root {
  --bg: #f3f5f8;
  --bg-soft: #eef2f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #0f172a;
  --muted: #526071;
  --muted-strong: #334155;
  --dark: #08111f;
  --dark-soft: #122033;
  --accent: #f97316;
  --accent-strong: #ea580c;
  --accent-soft: rgba(249, 115, 22, 0.12);
  --border: #d8e1ea;
  --border-strong: #c7d3df;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow-sm: 0 10px 24px rgba(15, 23, 42, 0.06);
  --shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
  --container: min(1520px, calc(100vw - 56px));
  --container-wide: min(1680px, calc(100vw - 56px));
  --container-narrow: min(900px, calc(100vw - 56px));
  --section-space: clamp(4.5rem, 6vw, 7rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 100% 0%, rgba(249, 115, 22, 0.15), transparent 26%),
    linear-gradient(180deg, #f8fafc 0%, #f3f5f8 50%, #eef2f6 100%);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4 {
  margin: 0 0 0.8rem;
  line-height: 1.08;
  letter-spacing: 0;
  font-family: 'Nunito Sans', 'Segoe UI', sans-serif;
}

h1 {
  font-size: clamp(1.85rem, 3.1vw, 3.15rem);
}

h2 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
}

h3 {
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
}

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

p {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.15rem;
}

section {
  position: relative;
  padding: var(--section-space) 0;
}

main {
  overflow: hidden;
}

.container,
.container-wide,
.container-narrow {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.container {
  max-width: var(--container);
}

.container-wide {
  max-width: var(--container-wide);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.header {
  position: sticky;
  top: -1px;
  z-index: 100;
  margin: 0;
  padding-top: 1px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(199, 211, 223, 0.8);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(199, 211, 223, 0.8);
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.header-inner {
  min-height: 92px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 1rem;
}

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

.brand img {
  width: 220px;
  height: auto;
}

.nav {
  justify-self: stretch;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  padding: 0.35rem;
  border-radius: 18px;
  background: transparent;
  border: 0;
  box-shadow: none;
  outline: none;
}

.nav-menu {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.nav-link {
  padding: 0.68rem 0.82rem;
  border-radius: 12px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted-strong);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: rgba(15, 23, 42, 0.08);
}

.nav:focus,
.nav:focus-visible,
.nav-link:focus,
.nav-link:focus-visible {
  outline: none;
}

.lang-switch {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  margin-left: 1rem;
}

.lang-switch-link {
  min-width: 44px;
  min-height: 36px;
  padding: 0.42rem 0.58rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-strong);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.lang-switch-link img {
  width: 22px;
  height: 16px;
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.lang-switch-link:hover,
.lang-switch-link.is-active {
  color: var(--muted-strong);
  background: #f9e5c2;
}

.whatsapp-link {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(37, 211, 102, 0.38);
  background: #25d366;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.3);
}

.whatsapp-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.burger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
}

.burger span {
  width: 18px;
  height: 2px;
  background: #1f2937;
}

.hero {
  padding-top: clamp(3rem, 5vw, 5.5rem);
  padding-bottom: clamp(3.8rem, 6vw, 6.5rem);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0 auto auto 0;
  width: min(520px, 55vw);
  height: min(520px, 55vw);
  background: radial-gradient(circle, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0));
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero-copy,
.hero-copy p,
.page-hero-copy,
.page-hero-copy p {
  max-width: 70ch;
}

.hero-copy p,
.page-hero p {
  font-size: clamp(1.05rem, 1.2vw, 1.22rem);
}

.hero-lead {
  font-size: clamp(1.08rem, 1.4vw, 1.28rem);
  color: var(--muted-strong);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem;
  margin-top: 1.9rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metric {
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(216, 225, 234, 0.95);
  box-shadow: var(--shadow-sm);
}

.hero-metric strong {
  display: block;
  margin-bottom: 0.25rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: 1.35rem;
  color: var(--text);
}

.hero-media {
  position: relative;
  isolation: isolate;
}

.hero-media::after {
  content: '';
  position: absolute;
  inset: auto -6% -7% 12%;
  height: 46%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(15, 23, 42, 0.1), transparent 72%);
  z-index: -1;
}

.hero-media img,
.media-card img,
.reference-card img,
.news-card img,
.product-card img,
.feature-media img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow);
  background: linear-gradient(180deg, #f8fafc, #edf2f7);
}

.hero-carousel-section {
  padding: 0;
}

.hero-carousel-section .container-wide {
  max-width: none;
}

.hero-carousel {
  position: relative;
  min-height: calc(100svh - 92px);
  min-height: calc(100vh - 92px);
  overflow: hidden;
  background: #08111f;
}

.hero-carousel-slides {
  position: relative;
  min-height: inherit;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: clamp(4.5rem, 7vw, 7.5rem) max(28px, calc((100vw - 1520px) / 2 + 28px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity 0.45s ease, transform 0.55s ease, visibility 0.45s ease;
  isolation: isolate;
}

.hero-carousel-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.88) 0%, rgba(8, 17, 31, 0.58) 42%, rgba(8, 17, 31, 0.14) 78%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.18), rgba(8, 17, 31, 0.38));
  pointer-events: none;
}

.hero-carousel-slide.is-active {
  position: relative;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.hero-slide-hit {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
}

.hero-carousel-copy {
  position: relative;
  z-index: 3;
  max-width: min(700px, 54vw);
  padding: clamp(1.5rem, 3vw, 2.4rem);
  border-radius: 30px;
}

.hero-carousel-copy h1,
.hero-carousel-copy h2 {
  max-width: 13ch;
  margin-bottom: 1rem;
  color: #fff;
  text-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
}

.hero-carousel-lead {
  max-width: 38ch;
  margin-bottom: 0;
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
  color: rgba(255, 255, 255, 0.84);
}

.hero-carousel-points {
  max-width: 38ch;
  margin-bottom: 0;
}

.hero-carousel-points li {
  margin-bottom: 0.7rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.hero-carousel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #08111f;
}

.hero-carousel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.hero-carousel-controls {
  position: absolute;
  left: max(28px, calc((100vw - 1520px) / 2 + 28px));
  right: max(28px, calc((100vw - 1520px) / 2 + 28px));
  bottom: clamp(1.2rem, 3vw, 2.3rem);
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  pointer-events: none;
}

.hero-carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border-radius: 999px;
  background: rgba(8, 17, 31, 0.44);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.hero-carousel-dot,
.hero-carousel-arrow {
  border: 0;
  cursor: pointer;
  appearance: none;
}

.hero-carousel-dot {
  width: 42px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-carousel-dot.is-active {
  background: #fff;
  transform: scaleY(1.35);
}

.hero-carousel-arrow {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
  font-size: 1.5rem;
  line-height: 1;
  pointer-events: auto;
}

.hero-carousel-arrow:hover,
.hero-carousel-dot:hover {
  transform: translateY(-1px);
}

.glow-layer {
  position: absolute;
  inset: auto -8% -10% 10%;
  height: 48%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(249, 115, 22, 0.3) 0%, rgba(249, 115, 22, 0) 74%);
  pointer-events: none;
}

.page-hero {
  min-height: clamp(360px, 40vw, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(4.5rem, 8vw, 7rem) 0;
  background:
    linear-gradient(90deg, rgba(8, 17, 31, 0.2) 0%, rgba(8, 17, 31, 0.1) 42%, rgba(8, 17, 31, 0.1) 60%),
    linear-gradient(180deg, rgba(8, 17, 31, 0.1), rgba(8, 17, 31, 0.1)),
    var(--page-hero-image, url('/img/houses/easycont-houses-1.jpg')) center / cover no-repeat;
  color: #fff;
  isolation: isolate;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container-wide);
}

.page-hero-content > div:first-child,
.page-hero-copy {
  max-width: min(760px, 62vw);
}

.page-hero h1 {
  max-width: 13ch;
  color: #fff;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.page-hero p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero .page-hero-art,
.page-hero .info-card.page-hero-art {
  display: none;
}

.section-head {
  max-width: 820px;
  margin-bottom: 2.2rem;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.section-frame {
  padding: clamp(1.7rem, 2vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(216, 225, 234, 0.95);
  box-shadow: var(--shadow-sm);
}

.dark {
  background: linear-gradient(145deg, #08111f, #10213a 58%, #1e314c);
  color: #f8fafc;
}

.dark::before {
  content: '';
  position: absolute;
  inset: auto 0 0 auto;
  width: 34vw;
  min-width: 260px;
  height: 70%;
  background: radial-gradient(circle at center, rgba(249, 115, 22, 0.18), rgba(249, 115, 22, 0));
  pointer-events: none;
}

.dark p,
.dark li,
.dark .meta {
  color: #cbd5e1;
}

.dark .section-frame,
.dark .cta-band,
.dark .card,
.dark .stat-card {
  background: rgba(7, 16, 30, 0.52);
  border-color: rgba(148, 163, 184, 0.22);
  box-shadow: none;
}

.easycont-summary .section-frame {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(6, 14, 25, 0.84), rgba(10, 26, 44, 0.68)),
    url('/img/houses/easycont-houses-10.jpg') center/cover no-repeat;
  border-color: rgba(255, 255, 255, 0.14);
}

.easycont-summary .section-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 9, 18, 0.38), rgba(4, 9, 18, 0.14));
  pointer-events: none;
}

.easycont-summary .section-head,
.easycont-summary .grid-2 {
  position: relative;
  z-index: 1;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.35rem;
}

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

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

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

.abroll-gallery-grid {
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.8rem;
}

.abroll-gallery-card img {
  height: 150px;
  object-fit: cover;
  border-radius: 18px;
}

.abroll-gallery-card .card-content {
  padding: 0.85rem 0.85rem 1rem;
}

.abroll-gallery-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
}

.decor-grid {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 0.85rem;
}

.decor-card img {
  border-radius: 18px;
}

.decor-card .card-content {
  padding: 0.95rem 0.95rem 1.05rem;
}

.decor-card h3 {
  font-size: 1rem;
  margin-bottom: 0.45rem;
}

.decor-card p {
  font-size: 0.9rem;
  line-height: 1.45;
}

.grid-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 1.5rem;
  align-items: start;
}

.card {
  height: 100%;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(216, 225, 234, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.clickable-card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.clickable-card:hover {
  transform: translateY(-4px);
  border-color: rgba(249, 115, 22, 0.28);
  box-shadow: var(--shadow);
}

.card-cover-link {
  position: absolute;
  inset: 0;
  z-index: 1;
  text-indent: -9999px;
  overflow: hidden;
}

.clickable-card .btn,
.clickable-card button,
.clickable-card [data-lightbox] {
  position: relative;
  z-index: 2;
}

.card-content {
  padding: 1.35rem 1.35rem 1.5rem;
}

.icon-box {
  padding: 1.45rem;
}

.icon-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  min-height: 52px;
  margin-bottom: 1rem;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  font-weight: 900;
  box-shadow: none;
}

.home-benefit-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 1.25rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bootstrap-icon,
.home-benefit-icon svg {
  width: 42px;
  height: 42px;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(37, 211, 102, 0.12));
}

.button-row {
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 1.35rem;
  border-radius: 14px;
  border: 1px solid transparent;
  font-size: 0.96rem;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  color: #fff;
  box-shadow: 0 16px 28px rgba(249, 115, 22, 0.28);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(216, 225, 234, 0.95);
  color: var(--text);
}

.btn-whatsapp {
  background: linear-gradient(90deg, #25d366, #1faa52);
  border-color: rgba(31, 170, 82, 0.9);
  color: #fff;
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.28);
}

.btn-sm {
  min-height: 42px;
  padding: 0 1.05rem;
  font-size: 0.9rem;
}

.meta {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

.clean-list {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.clean-list li {
  position: relative;
  padding-left: 1.3rem;
  margin-bottom: 0.55rem;
}

.clean-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.process-step {
  padding: 1.3rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.process-step strong {
  display: block;
  margin-bottom: 0.55rem;
  color: #fff;
}

.stat-card {
  padding: 1.35rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(216, 225, 234, 0.95);
}

.stat-value {
  margin-bottom: 0.35rem;
  font-family: 'Nunito Sans', sans-serif;
  font-size: clamp(2rem, 3vw, 2.6rem);
  color: var(--accent-strong);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.5rem;
}

.filter-btn {
  min-height: 44px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  color: var(--muted-strong);
  transition: all 0.2s ease;
}

.filter-btn.is-active {
  background: #111827;
  border-color: #111827;
  color: #fff;
}

.slider {
  position: relative;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.45s ease;
}

.slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  align-items: stretch;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
}

.slide img {
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
}

.slide-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.6rem;
}

.slider-nav {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-nav button {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-size: 1.15rem;
}

.accordion-item {
  margin-bottom: 0.85rem;
  border: 1px solid rgba(216, 225, 234, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  padding: 1.05rem 1.15rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.accordion-panel p {
  padding: 0 1.15rem 1.15rem;
  margin: 0;
}

.accordion-item.is-open .accordion-panel {
  max-height: 220px;
}

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  align-items: center;
  padding: clamp(1.7rem, 2.6vw, 2.4rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(110deg, #111827, #17263f 42%, #7c2d12);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.cta-band p {
  max-width: 60ch;
  color: rgba(255, 255, 255, 0.82);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.62fr);
  gap: 1.4rem;
  align-items: start;
}

.info-stack {
  display: grid;
  gap: 1rem;
}

.info-card {
  padding: 1.3rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(216, 225, 234, 0.95);
  box-shadow: var(--shadow-sm);
}

.info-card-media {
  width: 100%;
  margin-top: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: var(--shadow-sm);
}

.link-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--text);
}

.link-list a::after {
  content: '→';
  color: var(--accent-strong);
}

.color-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1rem;
  margin: 0.4rem 0 1rem;
}

.color-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.35;
}

.color-chip-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.color-chip-swatch-light {
  border-color: rgba(15, 23, 42, 0.2);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 800;
  color: var(--accent-strong);
}

.text-link::after {
  content: '→';
}

.news-card .text-link {
  font-weight: 800;
  color: var(--accent-strong);
}

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

.field {
  display: grid;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--muted-strong);
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.72rem 0.82rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font: inherit;
}

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

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(249, 115, 22, 0.28);
  outline-offset: 2px;
}

.nav-link:focus-visible,
.burger:focus-visible,
.whatsapp-link:focus-visible {
  outline: none;
  box-shadow: none;
}

.form-status {
  margin-top: 0.9rem;
  font-weight: 800;
}

.form-status.is-error {
  color: #b91c1c;
}

.form-status.is-success {
  color: #166534;
}

.contact-map {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.contact-detail-list {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.1rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin: 0;
}

.contact-detail-icon,
.contact-detail-logo {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  color: var(--accent-strong);
  box-shadow: none;
}

.contact-detail-icon .bootstrap-icon {
  width: 24px;
  height: 24px;
}

.contact-detail-logo img {
  width: 34px;
  height: auto;
}

.contact-detail span:last-child {
  min-width: 0;
}

.footer {
  background: linear-gradient(180deg, #08111f 0%, #0c1729 100%);
  color: #e2e8f0;
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(180px, 1fr));
  gap: 1.5rem;
}

.footer-brand {
  max-width: 36rem;
}

.footer h3 {
  margin-bottom: 0.95rem;
  font-size: 1rem;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-links a,
.footer-links li,
.footer-contact-stack a,
.footer-contact-stack span {
  color: #c7d2de;
}

.footer-claim {
  max-width: 38ch;
  color: #9fb0c6;
  margin-top: 1rem;
}

.footer-contact-stack {
  display: grid;
  gap: 0.4rem;
  margin-top: 1rem;
}

.footer-bottom {
  margin-top: 2.8rem;
  padding: 1rem 0 1.6rem;
  border-top: 1px solid rgba(148, 163, 184, 0.22);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
  margin: 0;
  color: #90a4bf;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.floating-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 96;
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(216, 225, 234, 0.95);
  background: rgba(17, 24, 39, 0.92);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 18px 25px rgba(15, 23, 42, 0.3);
  transition: transform 0.2s ease, background 0.2s ease;
}

.floating-top:hover {
  transform: translateY(-2px);
  background: #0f172a;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.88);
  z-index: 120;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1160px, 92vw);
  max-height: 82vh;
  border-radius: 18px;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: #fff;
  font-size: 2rem;
  line-height: 1;
}

.table-compare {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 16px;
}

.table-compare th,
.table-compare td {
  padding: 0.9rem 1rem;
  text-align: left;
  border: 1px solid var(--border);
}

.table-compare thead {
  background: #eef2f7;
}

.dark .table-compare {
  color: #f8fafc;
}

.dark .table-compare th,
.dark .table-compare td {
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.24);
}

.dark .table-compare thead {
  background: rgba(148, 163, 184, 0.14);
}

.dark .table-compare tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.03);
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

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

@media (max-width: 1280px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto auto;
  }

  .burger {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    left: 50%;
    right: auto;
    width: 100vw;
    max-width: 100vw;
    top: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    padding: 0.85rem 1rem;
    border-radius: 0;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -10px);
    background: rgb(255, 255, 255);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(12px);
    transition: opacity 0.24s ease, transform 0.24s ease;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .lang-switch {
    justify-self: auto;
    margin-top: 0.7rem;
    margin-left: 0;
  }

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

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

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

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

@media (max-width: 1024px) {
  :root {
    --container: min(100%, calc(100vw - 36px));
    --container-wide: min(100%, calc(100vw - 36px));
    --container-narrow: min(100%, calc(100vw - 36px));
  }

  .hero-grid,
  .hero-carousel-slide,
  .grid-3,
  .grid-split,
  .faq-layout,
  .footer-grid,
  .slide,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .grid-2,
  .process {
    grid-template-columns: 1fr;
  }

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

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

  .hero-media,
  .hero-carousel-media,
  .page-hero-art {
    order: -1;
    max-width: 720px;
    justify-self: center;
  }

  .hero-carousel-slides {
    min-height: inherit;
  }

  .hero-carousel-slide {
    position: absolute;
  }

  .hero-carousel-slide.is-active {
    position: relative;
  }

  .hero-carousel-copy {
    max-width: min(640px, 72vw);
  }

  .hero-carousel-copy h1,
  .hero-carousel-copy h2,
  .hero-carousel-lead,
  .hero-carousel-points {
    max-width: none;
  }

  .hero-carousel-media {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

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

  .cta-band {
    align-items: start;
  }

  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 760px) {
  :root {
    --section-space: 4rem;
    --container: min(100%, calc(100vw - 24px));
    --container-wide: min(100%, calc(100vw - 24px));
    --container-narrow: min(100%, calc(100vw - 24px));
  }

  h1 {
    font-size: clamp(1.55rem, 6.8vw, 2.05rem);
  }

  h2 {
    font-size: clamp(1.35rem, 5.8vw, 1.8rem);
  }

  .header-inner {
    min-height: 78px;
    grid-template-columns: auto 1fr auto auto;
    gap: 0.7rem;
  }

  .brand img {
    width: 180px;
    height: auto;
  }

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

  .abroll-gallery-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-link {
    width: 42px;
    height: 42px;
    justify-self: end;
  }

  .lang-switch {
    gap: 0.25rem;
    padding: 0;
  }

  .lang-switch-link {
    min-width: 40px;
    min-height: 34px;
    padding: 0.36rem 0.48rem;
  }

  .page-hero {
    min-height: 320px;
    padding: 4rem 0;
    background:
      linear-gradient(90deg, rgba(8, 17, 31, 0.2) 0%, rgba(8, 17, 31, 0.1) 42%, rgba(8, 17, 31, 0.1) 60%),
      linear-gradient(180deg, rgba(8, 17, 31, 0.1), rgba(8, 17, 31, 0.1)),
      var(--page-hero-image, url('/img/houses/easycont-houses-1.jpg')) center / cover no-repeat;
  }

  .page-hero-content > div:first-child,
  .page-hero-copy {
    max-width: none;
  }

  .page-hero h1 {
    max-width: 14ch;
  }

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

  .hero {
    padding-top: 1.8rem;
  }

  .hero-carousel {
    min-height: auto;
    overflow: visible;
    background: transparent;
    padding: 0;
    border-radius: 24px;
  }

  .hero-carousel-section {
    padding: 1.2rem 0 0;
  }

  .hero-carousel-section .container-wide {
    max-width: var(--container-wide);
  }

  .hero-carousel-slides {
    display: grid;
    gap: 1rem;
    min-height: 0;
  }

  .hero-carousel-slide {
    position: relative;
    inset: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 0;
    overflow: hidden;
    padding: 0;
    border-radius: 26px;
    background: #fff;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    box-shadow: var(--shadow-sm);
  }

  .hero-carousel-slide::before {
    display: none;
  }

  .hero-carousel-slide.is-active {
    position: relative;
    transform: none;
  }

  .hero-slide-hit {
    z-index: 2;
  }

  .hero-carousel-copy {
    width: 100%;
    max-width: none;
    padding: 1.15rem;
    border: 0;
    border-radius: 0;
    background: #fff;
    color: var(--text);
    box-shadow: none;
    backdrop-filter: none;
  }

  .hero-carousel-copy h1,
  .hero-carousel-copy h2 {
    max-width: 11ch;
    color: var(--text);
    text-shadow: none;
  }

  .hero-carousel-lead {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    color: var(--muted-strong);
  }

  .hero-carousel-points li {
    margin-bottom: 0.5rem;
    font-size: 0.98rem;
    color: var(--muted-strong);
  }

  .hero-carousel-media {
    position: relative;
    inset: auto;
    order: -1;
    width: 100%;
    min-height: 260px;
    border-radius: 22px;
    background: #dfe7ef;
  }

  .hero-carousel-media img {
    height: 260px;
    border-radius: 0;
  }

  .hero-carousel-controls {
    display: none;
  }

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

  .floating-top {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .table-compare {
    min-width: 640px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
