:root {
  --kopar-ink: #20292c;
  --kopar-ash: #667477;
  --kopar-paper: #f4f1ea;
  --kopar-cream: #fffaf2;
  --kopar-stone: #bec7c6;
  --kopar-line: rgba(32, 41, 44, .14);
  --kopar-bronze: #9a7655;
  --kopar-copper: #e95a24;
  --kopar-burgundy: #b9441e;
  --kopar-night: #101719;
}

html {
  scroll-behavior: smooth;
}

body.kopar-site-active,
body.elementor-page {
  background: var(--kopar-paper);
  color: var(--kopar-ink);
}

body.kopar-site-active {
  padding-bottom: 0;
}

.kopar-premium,
.kopar-premium * {
  box-sizing: border-box;
}

.kopar-premium {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--kopar-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.kopar-e-header,
.elementor-section:has(.kopar-e-brand) {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 34px;
  background: rgba(255, 250, 242, .9);
  border-bottom: 1px solid rgba(32, 41, 44, .08);
  backdrop-filter: blur(22px);
}

.kopar-e-header .elementor-container,
.elementor-section:has(.kopar-e-brand) .elementor-container {
  display: grid !important;
  grid-template-columns: minmax(170px, 230px) minmax(500px, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(100%, 1440px);
  min-height: 84px;
  margin-inline: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kopar-e-header .elementor-column,
.elementor-section:has(.kopar-e-brand) .elementor-column {
  width: auto !important;
  min-width: 0;
}

.kopar-e-header .elementor-column > .elementor-widget-wrap,
.elementor-section:has(.kopar-e-brand) .elementor-column > .elementor-widget-wrap {
  align-content: center;
  padding: 0 !important;
}

.kopar-e-brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--kopar-ink);
  text-decoration: none;
}

.kopar-e-brand img {
  display: block;
  width: clamp(154px, 13vw, 186px);
  height: auto;
  max-height: 62px;
}

.kopar-e-nav {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 1.7vw, 30px);
  font-size: 12px;
  font-weight: 650;
}

.kopar-e-nav a,
.kopar-footer-contact a {
  color: inherit;
  text-decoration: none;
}

.kopar-e-nav a {
  position: relative;
  color: rgba(32, 41, 44, .62);
  opacity: 1;
  transition: opacity .2s ease, color .2s ease;
}

.kopar-e-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0;
  transform: scaleX(.35);
  transition: opacity .2s ease, transform .2s ease;
}

.kopar-e-nav a:hover {
  color: var(--kopar-ink);
}

.kopar-e-nav a:hover::after {
  opacity: .55;
  transform: scaleX(1);
}

.kopar-e-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 154px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid rgba(32, 41, 44, .18);
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 250, 242, .36);
  color: var(--kopar-cream);
  text-decoration: none;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  background-color: var(--kopar-ink);
  justify-self: end;
}

.kopar-hero-editor,
.elementor-section:has(.kopar-hero-title) {
  overflow: hidden;
  position: relative;
  padding: 112px 24px 92px;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .76) 0%, rgba(16, 23, 25, .46) 38%, rgba(16, 23, 25, .18) 100%),
    linear-gradient(180deg, rgba(16, 23, 25, .24), rgba(16, 23, 25, .72)),
    url("../images/panelado-madera-led.jpg") center / cover fixed;
}

.kopar-hero-editor::before,
.elementor-section:has(.kopar-hero-title)::before,
.kopar-page-hero::before,
.kopar-contact-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 250, 242, .13), transparent 42%),
    radial-gradient(circle at 78% 18%, rgba(233, 90, 36, .16), transparent 30%);
  mix-blend-mode: screen;
}

.kopar-hero-editor .elementor-container,
.elementor-section:has(.kopar-hero-title) .elementor-container {
  position: relative;
  z-index: 1;
  align-items: center;
  gap: 56px;
}

.kopar-kicker .elementor-heading-title,
.kopar-kicker {
  margin: 0 0 14px;
  color: var(--kopar-bronze) !important;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.kopar-hero-title .elementor-heading-title,
.kopar-page-title .elementor-heading-title,
.kopar-section-title .elementor-heading-title,
.kopar-cta-title .elementor-heading-title {
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  letter-spacing: 0;
  color: var(--kopar-ink);
}

body.kopar-site-active .kopar-premium .elementor-heading-title,
body.kopar-site-active .kopar-section-title .elementor-heading-title,
body.kopar-site-active .kopar-page-title .elementor-heading-title,
body.kopar-site-active .kopar-hero-title .elementor-heading-title {
  color: var(--kopar-ink) !important;
}

.kopar-hero-title .elementor-heading-title {
  max-width: 860px;
  font-size: clamp(58px, 7.6vw, 116px);
  line-height: .86;
  font-weight: 700;
  color: var(--kopar-cream) !important;
  text-wrap: balance;
  filter: drop-shadow(0 22px 44px rgba(0, 0, 0, .28));
}

.kopar-hero-copy {
  max-width: 630px;
  margin-top: 28px;
  color: rgba(255, 250, 242, .82);
  font-size: 20px;
  line-height: 1.68;
  font-weight: 500;
}

.kopar-primary-button .elementor-button {
  margin-top: 18px;
  padding: 17px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--kopar-night), #2b1a12 58%, var(--kopar-burgundy));
  color: var(--kopar-cream);
  font-weight: 800;
  box-shadow: 0 18px 48px rgba(20, 17, 13, .24);
}

.kopar-primary-button .elementor-button:hover {
  background: linear-gradient(135deg, var(--kopar-burgundy), var(--kopar-copper));
}

.kopar-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 650px;
  margin-top: 42px;
}

.kopar-stats span,
.kopar-card-grid article,
.kopar-service-list article,
.kopar-contact-panel,
.kopar-process-grid article {
  border: 1px solid var(--kopar-line);
  background: rgba(255, 250, 242, .72);
  box-shadow: 0 24px 80px rgba(33, 31, 26, .06);
}

.kopar-stats span {
  display: grid;
  gap: 4px;
  min-height: 92px;
  padding: 18px;
  color: rgba(255, 250, 242, .72);
  font-size: 13px;
  text-transform: uppercase;
  border-color: rgba(255, 250, 242, .22);
  background: rgba(255, 250, 242, .08);
  backdrop-filter: blur(18px);
}

.kopar-stats strong {
  color: var(--kopar-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  text-transform: none;
}

.kopar-hero-image img,
.kopar-wide-image img,
.kopar-portrait-image img {
  display: block;
  width: 100%;
  object-fit: cover;
  box-shadow: 0 28px 90px rgba(17, 19, 15, .22);
}

.kopar-hero-image img {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  border: 1px solid rgba(255, 250, 242, .34);
  transform: translateY(18px);
}

.kopar-hero-panel {
  width: min(100%, 360px);
  margin: -86px 0 0 auto;
  padding: 24px;
  position: relative;
  z-index: 2;
  background: rgba(255, 250, 242, .86);
  color: var(--kopar-ink);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .24);
  backdrop-filter: blur(20px);
}

.kopar-hero-panel p {
  margin: 0 0 16px;
  line-height: 1.55;
}

.kopar-hero-panel a {
  color: var(--kopar-burgundy);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.kopar-wide-image img {
  aspect-ratio: 16 / 11;
}

.kopar-portrait-image img {
  aspect-ratio: 4 / 5;
}

.kopar-editor-section,
.elementor-section:has(.kopar-section-title),
.elementor-section:has(.kopar-card-grid),
.elementor-section:has(.kopar-project-grid),
.elementor-section:has(.kopar-process) {
  padding: 108px 24px;
  background: var(--kopar-paper);
}

.kopar-split-lux,
.elementor-section:has(.kopar-wide-image) {
  background: var(--kopar-cream);
}

.kopar-parallax-band {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .9), rgba(16, 23, 25, .64) 54%, rgba(16, 23, 25, .28)),
    linear-gradient(180deg, rgba(16, 23, 25, .28), rgba(16, 23, 25, .72)),
    url("../images/cocina-marmol.jpg") center / cover fixed;
}

.kopar-parallax-band::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle at 18% 16%, rgba(154, 118, 85, .2), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, .18), transparent 48%);
}

.kopar-parallax-band .elementor-container {
  position: relative;
  z-index: 1;
}

.kopar-parallax-band .kopar-section-title .elementor-heading-title {
  color: var(--kopar-cream) !important;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .28));
}

.kopar-parallax-band .kopar-section-lead {
  color: rgba(255, 250, 242, .78) !important;
}

.kopar-parallax-band .kopar-kicker,
.kopar-parallax-band .kopar-kicker .elementor-heading-title {
  color: #caa47a !important;
}

.kopar-split-lux .elementor-container,
.kopar-process-lux .elementor-container,
.elementor-section:has(.kopar-wide-image) .elementor-container,
.elementor-section:has(.kopar-process) .elementor-container {
  align-items: center;
  gap: 58px;
}

.kopar-section-title .elementor-heading-title {
  max-width: 760px;
  font-size: clamp(38px, 4.5vw, 70px);
  line-height: .96;
  font-weight: 700;
  text-wrap: balance;
}

.kopar-section-lead,
.kopar-page-lead,
.kopar-cta-copy {
  max-width: 720px;
  color: var(--kopar-ash);
  font-size: 18px;
  line-height: 1.75;
}

.kopar-card-grid,
.kopar-service-list,
.kopar-project-grid,
.kopar-process-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

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

.kopar-card-grid article,
.kopar-service-list article,
.kopar-process-grid article {
  padding: 28px;
}

.kopar-card-grid small,
.kopar-process-grid span {
  display: block;
  margin-bottom: 34px;
  color: var(--kopar-burgundy);
  font-weight: 800;
}

.kopar-card-grid h3,
.kopar-service-list h2,
.kopar-process-grid h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 25px;
  font-weight: 700;
}

.kopar-card-grid p,
.kopar-service-list p,
.kopar-process-grid p {
  margin: 0;
  color: var(--kopar-ash);
  line-height: 1.65;
}

.kopar-project-grid {
  grid-template-columns: 1.15fr .85fr 1fr;
  align-items: stretch;
}

.kopar-project-grid figure,
.kopar-full-gallery figure {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  margin: 0;
  background: var(--kopar-night);
}

.kopar-project-grid a,
.kopar-full-gallery a,
.kopar-masonry-gallery a,
.kopar-detail-gallery a {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.kopar-project-grid img,
.kopar-full-gallery img,
.kopar-masonry-gallery img,
.kopar-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .92;
  filter: saturate(.92) contrast(1.04);
  transition: transform .75s ease, opacity .75s ease, filter .75s ease;
}

.kopar-project-grid figure:hover img,
.kopar-full-gallery figure:hover img,
.kopar-masonry-gallery figure:hover img,
.kopar-detail-gallery figure:hover img {
  transform: scale(1.045);
  opacity: 1;
  filter: saturate(1.02) contrast(1.08);
}

.kopar-project-grid figcaption,
.kopar-full-gallery figcaption,
.kopar-masonry-gallery figcaption,
.kopar-detail-gallery figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 16px 18px;
  background: rgba(16, 23, 25, .72);
  color: var(--kopar-cream);
  font-size: 14px;
  backdrop-filter: blur(18px);
}

.kopar-click-gallery figure::after {
  content: "Ver proyecto";
  position: absolute;
  top: 22px;
  right: 22px;
  z-index: 2;
  padding: 9px 13px;
  border: 1px solid rgba(255, 250, 242, .38);
  border-radius: 999px;
  background: rgba(16, 23, 25, .48);
  color: var(--kopar-cream);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.kopar-click-gallery figure:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.kopar-gallery-stage {
  background:
    radial-gradient(circle at 12% 0, rgba(154, 118, 85, .22), transparent 28%),
    linear-gradient(180deg, #0d1112 0%, #151b1c 100%) !important;
  color: var(--kopar-cream);
}

.kopar-gallery-stage-alt {
  background:
    linear-gradient(180deg, #151b1c 0%, #0d1112 100%);
}

.kopar-gallery-technical {
  background:
    linear-gradient(90deg, rgba(13, 17, 18, .92), rgba(13, 17, 18, .78)),
    url("../images/suelo-radiante-tecnico.jpg") center / cover fixed;
}

.kopar-gallery-stage .kopar-section-title .elementor-heading-title,
.kopar-gallery-stage .kopar-section-lead,
.kopar-gallery-stage .kopar-kicker {
  color: var(--kopar-cream) !important;
}

.kopar-gallery-stage .kopar-section-lead {
  color: rgba(255, 250, 242, .68) !important;
}

.kopar-cinematic-grid figure:first-child {
  min-height: 680px;
}

.kopar-cinematic-grid .is-tall {
  min-height: 680px;
}

.kopar-process {
  margin: 32px 0 0;
  padding-left: 20px;
  color: var(--kopar-ink);
  font-size: 18px;
  line-height: 1.9;
}

.kopar-cta-lux,
.elementor-section:has(.kopar-cta-title) {
  position: relative;
  overflow: hidden;
  padding: 128px 24px;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .86), rgba(16, 23, 25, .66)),
    url("../images/cocina-marmol-isla.jpg") center / cover fixed;
  color: var(--kopar-cream);
  text-align: center;
}

.kopar-cta-lux .kopar-cta-title .elementor-heading-title,
.kopar-cta-lux .kopar-cta-copy,
.elementor-section:has(.kopar-cta-title) .kopar-cta-title .elementor-heading-title,
.elementor-section:has(.kopar-cta-title) .kopar-cta-copy {
  color: var(--kopar-cream);
}

.kopar-cta-lux .kopar-cta-copy,
.elementor-section:has(.kopar-cta-title) .kopar-cta-copy {
  margin-inline: auto;
}

.kopar-center-button {
  text-align: center;
}

.kopar-center-button .elementor-button {
  background: var(--kopar-cream);
  color: var(--kopar-ink);
}

.kopar-page-hero,
.kopar-contact-hero,
.elementor-section:has(.kopar-page-title) {
  position: relative;
  overflow: hidden;
  padding: 132px 24px 108px;
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .9), rgba(16, 23, 25, .58) 52%, rgba(16, 23, 25, .24)),
    linear-gradient(180deg, rgba(16, 23, 25, .22), rgba(16, 23, 25, .72)),
    url("../images/cocina-puertas-negras.jpg") center / cover fixed;
  color: var(--kopar-cream);
}

.kopar-projects-hero,
.elementor-section.kopar-projects-hero {
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .92), rgba(16, 23, 25, .6) 50%, rgba(16, 23, 25, .24)),
    linear-gradient(180deg, rgba(16, 23, 25, .18), rgba(16, 23, 25, .74)),
    url("../images/bano-verde-texturas.jpg") center / cover fixed;
}

.kopar-about-hero,
.elementor-section.kopar-about-hero {
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .9), rgba(16, 23, 25, .58) 48%, rgba(16, 23, 25, .2)),
    linear-gradient(180deg, rgba(16, 23, 25, .18), rgba(16, 23, 25, .7)),
    url("../images/cocina-marmol-isla.jpg") center / cover fixed;
}

.kopar-reformas-hero,
.elementor-section.kopar-reformas-hero {
  background:
    linear-gradient(90deg, rgba(16, 23, 25, .9), rgba(16, 23, 25, .62) 54%, rgba(16, 23, 25, .28)),
    linear-gradient(180deg, rgba(16, 23, 25, .14), rgba(16, 23, 25, .76)),
    url("../images/suelo-radiante-tecnico.jpg") center / cover fixed;
}

.kopar-page-hero .elementor-container,
.kopar-contact-hero .elementor-container,
.elementor-section:has(.kopar-page-title) .elementor-container {
  position: relative;
  z-index: 1;
}

.kopar-page-title .elementor-heading-title {
  max-width: 920px;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: .9;
  font-weight: 700;
  color: var(--kopar-ink);
}

.kopar-page-hero .kopar-page-title .elementor-heading-title,
.kopar-contact-hero .kopar-page-title .elementor-heading-title,
.elementor-section:has(.kopar-page-title).kopar-page-hero .kopar-page-title .elementor-heading-title,
.elementor-section:has(.kopar-page-title).kopar-contact-hero .kopar-page-title .elementor-heading-title {
  color: var(--kopar-cream) !important;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .32));
}

.kopar-page-hero .kopar-page-lead,
.kopar-contact-hero .kopar-page-lead {
  color: rgba(255, 250, 242, .78) !important;
  text-shadow: 0 14px 34px rgba(0, 0, 0, .32);
}

.kopar-page-hero .kopar-kicker,
.kopar-page-hero .kopar-kicker .elementor-heading-title,
.kopar-contact-hero .kopar-kicker,
.kopar-contact-hero .kopar-kicker .elementor-heading-title {
  color: #caa47a !important;
}

.kopar-page-hero .kopar-primary-button .elementor-button,
.kopar-contact-hero .kopar-primary-button .elementor-button {
  background: var(--kopar-cream);
  color: var(--kopar-ink);
}

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

.kopar-service-list article {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 250, 242, .72), rgba(255, 250, 242, .94)),
    linear-gradient(135deg, rgba(233, 90, 36, .08), transparent);
}

.kopar-editorial-quote {
  display: grid;
  gap: 18px;
  margin-bottom: 28px;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid rgba(32, 41, 44, .12);
  background: rgba(255, 250, 242, .72);
}

.kopar-editorial-quote strong {
  font-family: "Playfair Display", Georgia, serif;
  color: var(--kopar-ink);
  font-size: clamp(58px, 8vw, 126px);
  font-weight: 600;
  line-height: .82;
  letter-spacing: 0;
}

.kopar-editorial-quote p {
  max-width: 560px;
  margin: 0;
  color: rgba(32, 41, 44, .72);
  font-size: 18px;
  line-height: 1.65;
}

.kopar-values-grid article {
  min-height: 340px;
}

.kopar-about-trades {
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 34px;
}

.kopar-about-trades article {
  min-height: auto;
  padding: 26px;
  border-color: rgba(32, 41, 44, .1);
}

.kopar-about-method .kopar-process-grid article {
  border-color: rgba(255, 250, 242, .18);
  background: rgba(16, 23, 25, .7);
}

.kopar-about-method .kopar-process-grid h3,
.kopar-about-method .kopar-process-grid p,
.kopar-about-method .kopar-process-grid span {
  color: var(--kopar-cream);
}

body.kopar-site-active .kopar-about-method,
body.kopar-site-active .elementor-section.kopar-about-method {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 10, 10, .94), rgba(16, 23, 25, .82) 52%, rgba(16, 23, 25, .58)),
    linear-gradient(180deg, rgba(8, 10, 10, .48), rgba(8, 10, 10, .9)),
    url("../images/pasillo-reforma-luz.jpg") center / cover fixed !important;
  color: var(--kopar-cream) !important;
}

body.kopar-site-active .kopar-about-method::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 0%, rgba(202, 164, 122, .2), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 52%);
}

body.kopar-site-active .kopar-about-method .elementor-container {
  position: relative;
  z-index: 1;
}

body.kopar-site-active .kopar-about-method .kopar-kicker,
body.kopar-site-active .kopar-about-method .kopar-kicker .elementor-heading-title {
  color: #caa47a !important;
}

body.kopar-site-active .kopar-about-method .kopar-section-title .elementor-heading-title {
  color: var(--kopar-cream) !important;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .36));
}

body.kopar-site-active .kopar-about-method .kopar-section-lead {
  color: rgba(255, 250, 242, .78) !important;
}

body.kopar-site-active .kopar-about-method .kopar-process-grid article {
  border: 1px solid rgba(255, 250, 242, .16) !important;
  background: linear-gradient(180deg, rgba(16, 23, 25, .84), rgba(16, 23, 25, .68)) !important;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .26);
  backdrop-filter: blur(16px);
}

body.kopar-site-active .kopar-about-method .kopar-process-grid span {
  color: rgba(202, 164, 122, .92) !important;
}

body.kopar-site-active .kopar-about-method .kopar-process-grid h3 {
  color: var(--kopar-cream) !important;
}

body.kopar-site-active .kopar-about-method .kopar-process-grid p {
  color: rgba(255, 250, 242, .7) !important;
}

.kopar-full-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.kopar-full-gallery figure:nth-child(1),
.kopar-full-gallery figure:nth-child(6) {
  grid-row: span 2;
  min-height: 620px;
}

.kopar-full-gallery .is-featured {
  grid-column: span 2;
  min-height: 680px;
}

.kopar-full-gallery .is-wide {
  grid-column: span 2;
}

.kopar-masonry-gallery {
  columns: 3 280px;
  column-gap: 18px;
}

.kopar-masonry-gallery figure {
  position: relative;
  display: inline-block;
  width: 100%;
  min-height: 0;
  margin: 0 0 18px;
  overflow: hidden;
  break-inside: avoid;
  background: var(--kopar-night);
}

.kopar-masonry-gallery a {
  height: auto;
}

.kopar-masonry-gallery img {
  display: block;
  height: auto;
  min-height: 280px;
}

.kopar-masonry-gallery figure:nth-child(3n + 1) img {
  aspect-ratio: 4 / 5;
}

.kopar-masonry-gallery figure:nth-child(3n + 2) img {
  aspect-ratio: 1 / 1;
}

.kopar-masonry-gallery figure:nth-child(3n) img {
  aspect-ratio: 16 / 10;
}

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

.kopar-detail-gallery figure {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: var(--kopar-night);
}

.kopar-detail-gallery figure:first-child {
  grid-row: span 2;
  min-height: 660px;
}

.kopar-lightbox-open {
  overflow: hidden;
}

.kopar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 34px;
  background: rgba(8, 10, 10, .94);
  color: var(--kopar-cream);
}

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

.kopar-lightbox__stage {
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 18px;
  width: min(100%, 1320px);
  height: min(100%, 860px);
}

.kopar-lightbox__image-wrap {
  display: grid;
  place-items: center;
  min-height: 0;
}

.kopar-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 160px);
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.kopar-lightbox__caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 250, 242, .82);
  font-size: 14px;
  letter-spacing: .01em;
}

.kopar-lightbox button {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 250, 242, .24);
  border-radius: 50%;
  background: rgba(255, 250, 242, .08);
  color: var(--kopar-cream);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(18px);
  transition: background .2s ease, transform .2s ease;
}

.kopar-lightbox button:hover {
  background: rgba(255, 250, 242, .18);
  transform: scale(1.04);
}

.kopar-lightbox__close {
  top: 24px;
  right: 24px;
}

.kopar-lightbox__prev,
.kopar-lightbox__next {
  top: 50%;
  transform: translateY(-50%);
}

.kopar-lightbox__prev:hover,
.kopar-lightbox__next:hover {
  transform: translateY(-50%) scale(1.04);
}

.kopar-lightbox__prev {
  left: 24px;
}

.kopar-lightbox__next {
  right: 24px;
}

.kopar-contact-hero .elementor-container,
.elementor-section:has(.kopar-contact-panel) .elementor-container {
  align-items: flex-start;
  gap: 58px;
}

.kopar-contact-panel {
  display: grid;
  gap: 16px;
  margin-top: 34px;
  padding: 28px;
  background: rgba(255, 250, 242, .82);
  backdrop-filter: blur(18px);
}

.kopar-contact-panel p {
  display: grid;
  gap: 4px;
  margin: 0;
}

.kopar-contact-panel strong {
  color: var(--kopar-burgundy);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.kopar-contact-panel a,
.kopar-contact-panel span {
  color: var(--kopar-ink);
  text-decoration: none;
  font-size: 18px;
}

.kopar-elementor-form {
  padding: 42px;
  background: rgba(255, 250, 242, .92);
  border: 1px solid var(--kopar-line);
  box-shadow: 0 38px 110px rgba(17, 19, 15, .18);
  backdrop-filter: blur(18px);
}

.kopar-elementor-form input,
.kopar-elementor-form textarea,
.kopar-elementor-form select {
  border-radius: 2px !important;
  border: 1px solid rgba(27, 29, 25, .18) !important;
  background: rgba(255, 255, 255, .86) !important;
  min-height: 58px;
}

.kopar-elementor-form button {
  border-radius: 999px !important;
  background: var(--kopar-ink) !important;
  color: var(--kopar-cream) !important;
  font-weight: 800 !important;
  min-height: 58px !important;
}

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

.kopar-elementor-form .kopar-field {
  display: grid;
  gap: 8px;
  color: var(--kopar-ink);
  font-size: 13px;
  font-weight: 700;
}

.kopar-elementor-form .kopar-field input,
.kopar-elementor-form .kopar-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(27, 29, 25, .18);
  background: #fff;
  color: var(--kopar-ink);
}

.kopar-elementor-form .kopar-field textarea {
  min-height: 140px;
}

.kopar-elementor-form .kopar-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--kopar-ash);
  font-size: 13px;
}

.kopar-elementor-form .kopar-form button {
  width: fit-content;
  min-height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  background: var(--kopar-ink);
  color: var(--kopar-cream);
  font-weight: 800;
  cursor: pointer;
}

.kopar-lead-dock-section {
  display: none !important;
  padding: 0 !important;
  background: transparent !important;
}

.kopar-lead-dock-section .elementor-container,
.kopar-lead-dock-section .elementor-column,
.kopar-lead-dock-section .elementor-widget-wrap {
  min-height: 0 !important;
  padding: 0 !important;
}

.kopar-lead-dock {
  display: none !important;
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 140;
  align-items: center;
  gap: 10px;
  width: min(calc(100vw - 32px), 620px);
  padding: 8px;
  background: rgba(16, 23, 25, .88);
  border: 1px solid rgba(255, 250, 242, .14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
  transform: translateX(-50%);
  backdrop-filter: blur(22px);
}

.kopar-lead-dock a {
  text-decoration: none;
}

.kopar-lead-dock__main {
  flex: 1;
  display: grid;
  gap: 2px;
  padding: 12px 18px;
  color: var(--kopar-cream);
}

.kopar-lead-dock__main span {
  color: rgba(255, 250, 242, .56);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.kopar-lead-dock__main strong {
  font-size: 15px;
  font-weight: 800;
}

.kopar-lead-dock__phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  background: var(--kopar-cream);
  color: var(--kopar-ink);
  font-weight: 850;
  white-space: nowrap;
}

.kopar-e-footer,
.elementor-section:has(.kopar-footer-title) {
  padding: 72px 24px;
  background: radial-gradient(circle at 16% 0%, rgba(233, 90, 36, .11), transparent 36%), #101719;
  color: rgba(255, 250, 242, .82);
}

.kopar-e-footer .elementor-container,
.elementor-section:has(.kopar-footer-title) .elementor-container {
  gap: 48px;
}

.kopar-footer-title .elementor-heading-title,
.kopar-footer-heading .elementor-heading-title {
  color: var(--kopar-cream);
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 700;
}

.kopar-footer-title .elementor-heading-title {
  max-width: 560px;
  margin-top: 22px;
  font-size: 38px;
  line-height: 1.08;
}

.kopar-footer-brand {
  margin-bottom: 6px;
}

.kopar-footer-logo {
  display: block;
  width: clamp(178px, 18vw, 220px);
  height: auto;
}

.kopar-footer-copy,
.kopar-footer-contact {
  color: rgba(255, 250, 242, .68);
  line-height: 1.8;
}

.kopar-footer-contact p {
  margin: 0 0 8px;
}

.kopar-legal-body {
  max-width: 760px;
  margin-top: 32px;
  color: var(--kopar-ash);
  line-height: 1.8;
}

@media (max-width: 1024px) {
  .kopar-e-header .elementor-container,
  .elementor-section:has(.kopar-e-brand) .elementor-container {
    grid-template-columns: 1fr auto;
    gap: 18px;
    min-height: auto;
    padding: 16px 0;
  }

  .kopar-e-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 22px;
    margin: 4px 0 0;
  }

  .kopar-hero-title .elementor-heading-title,
  .kopar-page-title .elementor-heading-title {
    font-size: 58px;
  }

  .kopar-hero-editor,
  .kopar-page-hero,
  .kopar-contact-hero,
  .kopar-parallax-band,
  .kopar-cta-lux,
  .elementor-section:has(.kopar-hero-title),
  .elementor-section:has(.kopar-page-title),
  .elementor-section:has(.kopar-cta-title) {
    background-attachment: scroll;
  }

  .kopar-card-grid,
  .kopar-service-list,
  .kopar-full-gallery,
  .kopar-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kopar-project-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .kopar-e-header,
  .elementor-section:has(.kopar-e-brand) {
    padding: 0 18px;
  }

  .kopar-e-header .elementor-container,
  .elementor-section:has(.kopar-e-brand) .elementor-container {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px 0;
  }

  .kopar-e-brand img {
    width: clamp(138px, 44vw, 160px);
    max-height: 54px;
  }

  .kopar-e-nav {
    grid-column: auto;
    grid-row: auto;
    justify-content: flex-start;
    gap: 10px 18px;
    font-size: 12px;
  }

  .kopar-e-phone {
    justify-self: start;
    min-width: 0;
    padding: 10px 16px;
  }

  body.kopar-site-active {
    padding-bottom: 0;
  }

  .kopar-hero-editor,
  .kopar-page-hero,
  .kopar-contact-hero,
  .elementor-section:has(.kopar-hero-title),
  .elementor-section:has(.kopar-page-title) {
    padding: 52px 18px;
  }

  .kopar-hero-title .elementor-heading-title,
  .kopar-page-title .elementor-heading-title {
    font-size: 45px;
    line-height: .94;
  }

  .kopar-section-title .elementor-heading-title,
  .kopar-cta-title .elementor-heading-title {
    font-size: 38px;
  }

  .kopar-hero-copy,
  .kopar-section-lead,
  .kopar-page-lead,
  .kopar-cta-copy {
    font-size: 16px;
  }

  .kopar-stats,
  .kopar-card-grid,
  .kopar-service-list,
  .kopar-project-grid,
  .kopar-full-gallery,
  .kopar-detail-gallery,
  .kopar-process-grid {
    grid-template-columns: 1fr;
  }

  .kopar-masonry-gallery {
    columns: 1;
  }

  .kopar-hero-panel {
    width: 100%;
    margin: 18px 0 0;
  }

  .kopar-stats span {
    min-height: auto;
  }

  .kopar-editor-section,
  .kopar-cta-lux,
  .kopar-e-footer,
  .elementor-section:has(.kopar-section-title),
  .elementor-section:has(.kopar-card-grid),
  .elementor-section:has(.kopar-project-grid),
  .elementor-section:has(.kopar-process),
  .elementor-section:has(.kopar-cta-title),
  .elementor-section:has(.kopar-footer-title) {
    padding: 64px 18px;
  }

  .kopar-project-grid figure,
  .kopar-full-gallery figure,
  .kopar-full-gallery figure:nth-child(1),
  .kopar-full-gallery figure:nth-child(6),
  .kopar-full-gallery .is-featured,
  .kopar-full-gallery .is-wide,
  .kopar-detail-gallery figure,
  .kopar-detail-gallery figure:first-child {
    min-height: 360px;
    grid-column: auto;
    grid-row: auto;
  }

  .kopar-lightbox {
    padding: 18px;
  }

  .kopar-lightbox__image {
    max-height: calc(100vh - 150px);
  }

  .kopar-lightbox button {
    width: 44px;
    height: 44px;
  }

  .kopar-lightbox__prev {
    left: 12px;
  }

  .kopar-lightbox__next,
  .kopar-lightbox__close {
    right: 12px;
  }

  .kopar-elementor-form {
    padding: 22px;
  }

  .kopar-lead-dock {
    bottom: 10px;
    display: grid;
    gap: 6px;
    width: calc(100vw - 20px);
    padding: 6px;
  }

  .kopar-lead-dock__main {
    padding: 10px 14px;
  }

  .kopar-lead-dock__phone {
    min-height: 44px;
  }
}
