/* ============================================
   MG BROKER — AWWWARDS STYLESHEET
   Dark cinematic editorial real-estate
   ============================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  /* Green trust palette — kancelaria nieruchomości */
  --navy: #1A2E22;
  --navy-dark: #14231A;
  --mint: #5CB88A;
  --mint-light: #74CCAA;
  --mint-pale: #92DDB8;
  --teal: #2E7D52;
  --near-black: #090D0B;
  --charcoal: #141D17;
  --off-white: #F0F2EE;
  --warm-gray: #D4D6D0;
  --gradient: linear-gradient(135deg, #1A2E22, #5CB88A);

  --font-heading: 'Outfit', sans-serif;
  --font-accent: 'Jura', sans-serif;
  --font-body: 'Instrument Sans', sans-serif;
  --font-mono: 'Geist Mono', monospace;

  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
  --ease-snappy: cubic-bezier(0.46, 0.03, 0.52, 0.96);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);

  --section-pad: clamp(120px, 14vh, 240px);
  --container-max: 1400px;
  --container-pad: clamp(24px, 5vw, 80px);

  --noise: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--mint) var(--near-black);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-loading { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, textarea, select { font: inherit; }
address { font-style: normal; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--near-black); }
::-webkit-scrollbar-thumb { background: var(--mint); }

::selection { background: var(--mint); color: var(--near-black); }

/* ---- TYPOGRAPHY HELPERS ---- */
.font-heading { font-family: var(--font-heading); }
.font-accent  { font-family: var(--font-accent); }
.font-mono    { font-family: var(--font-mono); }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}
.container--narrow { max-width: 900px; }

.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.section--light { background: var(--off-white); }
.section--navy  { background: var(--navy-dark); }

.section__label {
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 2rem;
}

.section__heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 72px);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: clamp(50px, 7vh, 100px);
  max-width: 900px;
}
.section__heading strong {
  font-weight: 700;
}

.section--light .section__heading { color: rgba(24, 24, 34, 0.45); }
.section--light .section__heading strong { color: var(--near-black); }

.section__heading--light { color: rgba(232, 232, 240, 0.35); }
.section__heading--light strong { color: var(--off-white); }

.section__cta { margin-top: clamp(40px, 5vh, 60px); text-align: center; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 1.1rem 2.4rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.4s var(--ease-smooth);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: translateX(-101%);
  transition: transform 0.5s var(--ease-out-expo);
}
.btn:hover::before { transform: translateX(0); }

.btn--primary {
  background: var(--mint);
  color: var(--near-black);
}
.btn--primary::before { background: var(--mint-light); }

.btn--outline {
  background: transparent;
  border: 1px solid var(--charcoal);
  color: var(--charcoal);
}
.btn--outline::before { background: var(--mint); }
.btn--outline:hover { color: var(--near-black); }

.btn--outline-light {
  border-color: rgba(232, 232, 240, 0.3);
  color: var(--off-white);
}
.btn--outline-light:hover { color: var(--near-black); }

.btn--ghost {
  background: transparent;
  color: var(--off-white);
  border: 1px solid rgba(232, 232, 240, 0.2);
}
.btn--ghost::before { background: rgba(232, 232, 240, 0.1); }
.btn--ghost:hover { color: var(--off-white); }

.btn--sm { padding: 0.65rem 1.4rem; font-size: 0.7rem; }
.btn--full { width: 100%; justify-content: center; }

.btn svg { flex-shrink: 0; }

/* ---- SKIP LINK ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--mint);
  color: var(--near-black);
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  z-index: 9999;
  transition: top 0.3s;
}
.skip-link:focus { top: 1rem; }

/* ---- NOISE TEXTURE ---- */
.noise { position: relative; }
.noise::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: var(--noise);
  opacity: 0.03;
  pointer-events: none;
}
.noise > .container { position: relative; z-index: 2; }

/* ---- GRADIENT ORBS ---- */
.section__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}
.section__orb--1 {
  width: 500px; height: 500px;
  background: rgba(26, 46, 34, 0.6);
  top: -200px; right: -150px;
}
.section__orb--2 {
  width: 400px; height: 400px;
  background: rgba(92, 184, 138, 0.1);
  bottom: -150px; left: -100px;
}

/* ---- GLASS CARD ---- */
.glass-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ======== LOADER ======== */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--near-black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s var(--ease-smooth), visibility 0.8s;
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader__content {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  gap: clamp(1.5rem, 2vh, 2.5rem);
  text-align: center;
}
.loader__circle,
.loader__house {
  grid-column: 1;
  grid-row: 1;
}
.loader__circle { width: clamp(80px, 8vw, 140px); height: clamp(80px, 8vw, 140px); }
.loader__circle svg { width: 100%; height: 100%; }
.loader__circle circle {
  fill: none;
  stroke: var(--mint);
  stroke-width: 0.8;
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  stroke-linecap: round;
  animation: loader-draw 1.5s var(--ease-smooth) forwards;
}
.loader__house {
  place-self: center;
  width: clamp(28px, 3vw, 48px);
  height: clamp(28px, 3vw, 48px);
  color: var(--mint);
  opacity: 0;
  animation: loader-fade 0.6s var(--ease-smooth) 0.6s forwards;
}
.loader__brand {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--off-white);
  opacity: 0;
  animation: loader-fade 0.6s var(--ease-smooth) 0.9s forwards;
}
.loader__motto {
  font-size: clamp(0.7rem, 0.9vw, 1rem);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0;
  animation: loader-fade 0.6s var(--ease-smooth) 1.15s forwards;
}

@keyframes loader-draw { to { stroke-dashoffset: 0; } }
@keyframes loader-fade { to { opacity: 1; } }

/* ======== COOKIE BANNER ======== */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 200;
  background: rgba(28, 37, 64, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(109, 203, 164, 0.15);
  padding: 1.25rem var(--container-pad);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.cookie-banner p {
  font-size: 0.82rem;
  color: var(--off-white);
  opacity: 0.75;
  flex: 1;
  line-height: 1.5;
}
.cookie-banner__actions { display: flex; gap: 0.6rem; flex-shrink: 0; }

/* ======== HEADER ======== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.6rem 0;
  transition: background 0.5s var(--ease-smooth), padding 0.5s var(--ease-smooth), box-shadow 0.5s;
}
.header.is-scrolled {
  background: rgba(20, 35, 26, 0.92);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 0.9rem 0;
  box-shadow: 0 1px 0 rgba(92, 184, 138, 0.1);
}
.header__nav {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.header__logo img { height: clamp(36px, 3vw, 56px); width: auto; }
.header__links {
  display: flex;
  gap: 3rem;
}
.header__links a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  position: relative;
  transition: color 0.3s;
}
.header__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 100%; height: 1px;
  background: var(--mint);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.8s var(--ease-out-expo);
}
.header__links a:hover { color: var(--mint); }
.header__links a:hover::after { transform: scaleX(1); }

.header__phone {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--off-white);
  transition: color 0.3s;
}
.header__phone:hover { color: var(--mint); }

.header__menu {
  display: none;
  width: 28px;
  height: 20px;
  position: relative;
  z-index: 101;
}
.header__menu span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--off-white);
  position: absolute;
  left: 0;
  transition: transform 0.5s var(--ease-smooth), top 0.5s var(--ease-smooth), bottom 0.5s var(--ease-smooth);
}
.header__menu span:first-child { top: 2px; }
.header__menu span:last-child { bottom: 2px; }
.header__menu.is-active span:first-child { top: 50%; transform: translateY(-50%) rotate(45deg); }
.header__menu.is-active span:last-child { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--near-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s var(--ease-smooth), visibility 0.6s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu[aria-hidden="true"] { pointer-events: none; }
.mobile-menu.is-open[aria-hidden="false"] { pointer-events: auto; }

.mobile-menu__links { text-align: center; }
.mobile-menu__links li { margin-bottom: 1.5rem; }
.mobile-menu__links a {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight: 600;
  color: var(--off-white);
  transition: color 0.3s;
}
.mobile-menu__links a:hover { color: var(--mint); }

.mobile-menu__contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 80%;
  max-width: 300px;
}

/* ======== HERO ======== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--near-black);
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero__bg video,
.hero__bg img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(9, 13, 11, 0.45) 0%,
    rgba(9, 13, 11, 0.55) 35%,
    rgba(9, 13, 11, 0.75) 65%,
    rgba(9, 13, 11, 0.92) 100%
  );
}
.hero__noise {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image: var(--noise);
  opacity: 0.03;
  pointer-events: none;
}
.hero__content {
  position: relative;
  z-index: 5;
  padding: 0 var(--container-pad);
  width: 100%;
  padding-bottom: 100px;
}
.hero__tagline {
  display: block;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 1.5rem;
}
.hero__heading {
  font-family: var(--font-heading);
  font-size: clamp(64px, 18vw, 300px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}
.hero__title--filled {
  display: block;
  color: var(--off-white);
}
.hero__title--outline {
  display: block;
  color: var(--mint);
}
.hero__motto {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  color: rgba(232, 232, 240, 0.55);
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero__cta-inner {
  display: flex;
  gap: 0;
  flex-wrap: wrap;
}
.hero__cta-inner .btn {
  min-width: 200px;
  justify-content: center;
}

/* Hero stats */
.hero__stats {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: 1.5rem var(--container-pad);
  border-top: 1px solid rgba(232, 232, 240, 0.08);
  background: rgba(8, 8, 13, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.hero__stat { text-align: center; }
.hero__stat-number {
  display: block;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 500;
  color: var(--mint);
  line-height: 1.2;
}
.hero__stat-label {
  font-size: 0.7rem;
  color: rgba(232, 232, 240, 0.5);
  letter-spacing: 0.04em;
}
.hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(232, 232, 240, 0.12);
}

/* Hero scroll */
.hero__scroll {
  position: absolute;
  bottom: 90px;
  right: var(--container-pad);
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(232, 232, 240, 0.35);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: var(--mint);
  transform-origin: top;
  animation: scroll-pulse 2.5s var(--ease-smooth) infinite;
}
@keyframes scroll-pulse {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

/* ---- TEXT REVEAL ---- */
.text-reveal { overflow: hidden; display: block; padding-bottom: 0.15em; }
.text-reveal__inner {
  display: block;
  transform: translateY(110%);
  transition: transform 0.9s var(--ease-snappy);
}
.hero.is-loaded .text-reveal__inner { transform: translateY(0); }
.hero__heading .text-reveal:nth-child(2) .text-reveal__inner { transition-delay: 0.12s; }
.hero__motto .text-reveal__inner { transition-delay: 0.24s; }
.hero__cta .text-reveal__inner { transition-delay: 0.36s; }

/* ---- IMAGE REVEAL ---- */
.image-reveal { overflow: hidden; position: relative; }
.image-reveal__overlay {
  position: absolute;
  inset: 0;
  background: var(--off-white);
  transform-origin: right;
  z-index: 2;
  transition: transform 1.1s var(--ease-smooth);
}
.section--navy .image-reveal__overlay { background: var(--navy-dark); }
.image-reveal.is-visible .image-reveal__overlay,
.anim-reveal.is-visible .image-reveal__overlay { transform: scaleX(0); }
.image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-smooth);
}
.image-reveal.is-visible img,
.anim-reveal.is-visible .image-reveal img { transform: scale(1.02); }

/* ---- ANIM REVEAL ---- */
.anim-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s var(--ease-snappy), transform 0.8s var(--ease-snappy);
}
.anim-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.anim-reveal:nth-child(2) { transition-delay: 0.08s; }
.anim-reveal:nth-child(3) { transition-delay: 0.16s; }
.anim-reveal:nth-child(4) { transition-delay: 0.24s; }
.anim-reveal:nth-child(5) { transition-delay: 0.3s; }
.anim-reveal:nth-child(6) { transition-delay: 0.36s; }
.anim-reveal:nth-child(7) { transition-delay: 0.4s; }
.anim-reveal:nth-child(8) { transition-delay: 0.44s; }

/* ======== MARQUEE ======== */
.marquee {
  padding: 1.2rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(109, 203, 164, 0.1);
  border-bottom: 1px solid rgba(109, 203, 164, 0.1);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 2rem;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
  width: max-content;
}
.marquee__item {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--off-white);
  opacity: 0.7;
}
.marquee__dot {
  color: var(--mint);
  font-size: 1.2rem;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ======== PILLARS (Dlaczego my) ======== */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
}
.pillar__number {
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 500;
  color: var(--mint);
  line-height: 1;
  display: block;
}
.pillar__line {
  width: 1px;
  height: 0;
  background: var(--mint);
  margin: 1.5rem 0;
  transition: height 1s var(--ease-smooth) 0.3s;
}
.anim-reveal.is-visible .pillar__line { height: 50px; }
.pillar__title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.85rem;
}
.pillar__text {
  font-size: 1rem;
  color: rgba(20, 29, 23, 0.55);
  line-height: 1.75;
}

/* ======== SERVICES ======== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1px;
}
.service-card {
  padding: clamp(2rem, 3.5vw, 3rem);
  transition: background 0.4s var(--ease-smooth);
  position: relative;
  z-index: 2;
}
.service-card:hover { background: rgba(255, 255, 255, 0.07); }
.service-card__number {
  font-size: 0.75rem;
  color: var(--mint);
  display: block;
  margin-bottom: 1.25rem;
  opacity: 0.7;
}
.service-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--off-white);
  margin-bottom: 0.75rem;
}
.service-card__text {
  font-size: 0.95rem;
  color: rgba(240, 242, 238, 0.45);
  line-height: 1.7;
}

/* ======== PROCESS ======== */
.process { position: relative; padding-left: 60px; }
.process__line {
  position: absolute;
  left: 23px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom, var(--mint), rgba(109, 203, 164, 0.1));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 2s var(--ease-smooth);
}
.process.line-visible .process__line { transform: scaleY(1); }

.process__step {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vh, 3.5rem);
  position: relative;
}
.process__step:last-child { margin-bottom: 0; }
.process__marker {
  position: absolute;
  left: -60px;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(109, 203, 164, 0.3);
  background: var(--off-white);
  flex-shrink: 0;
}
.process__number {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--mint);
}
.process__content h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.35rem;
}
.process__content p {
  font-size: 0.9rem;
  color: rgba(24, 24, 34, 0.55);
  max-width: 520px;
}

/* ======== OFFERS ======== */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.offer-card { overflow: hidden; }
.offer-card--lg { grid-column: span 2; }

.offer-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.offer-card--lg .offer-card__image { aspect-ratio: 16 / 8; }
.offer-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-smooth);
}
.offer-card:hover .offer-card__image img { transform: scale(1.04); }

.offer-card__body { padding: 1.25rem 0.25rem; }
.offer-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mint);
  border: 1px solid rgba(109, 203, 164, 0.3);
  padding: 0.2rem 0.6rem;
  margin-bottom: 0.6rem;
}
.offer-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--near-black);
  margin-bottom: 0.25rem;
}
.offer-card__location {
  font-size: 0.85rem;
  color: rgba(24, 24, 34, 0.5);
  margin-bottom: 0.6rem;
}
.offer-card__details {
  display: flex;
  gap: 1.2rem;
  font-size: 0.78rem;
  color: var(--charcoal);
}
.offer-card__details span {
  position: relative;
}
.offer-card__details span + span::before {
  content: '|';
  position: absolute;
  left: -0.75rem;
  color: rgba(24, 24, 34, 0.2);
}

/* ======== TESTIMONIALS ======== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.testimonial {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}
.testimonial__stars {
  display: flex;
  gap: 3px;
  color: var(--mint);
  margin-bottom: 1.25rem;
}
.testimonial__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--off-white);
  line-height: 1.7;
  margin-bottom: 1rem;
  opacity: 0.85;
}
.testimonial__cite {
  font-size: 0.72rem;
  color: rgba(232, 232, 240, 0.4);
  letter-spacing: 0.04em;
}
.testimonials__badges {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  position: relative;
  z-index: 2;
}
.testimonials__badges img {
  width: 80px;
  height: auto;
  opacity: 0.9;
}

/* ======== ABOUT ======== */
.about {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
}
.about__image .image-reveal {
  aspect-ratio: 3 / 4;
}
.about__image .image-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__content { padding-top: 1rem; }
.about__text {
  margin-bottom: 2.5rem;
}
.about__text p {
  font-size: 0.95rem;
  color: rgba(24, 24, 34, 0.6);
  margin-bottom: 1rem;
  line-height: 1.75;
}
.about__text p:last-child { margin-bottom: 0; }

.about__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.about__badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
}
.about__badge img { width: 40px; height: auto; }
.about__badge svg { color: var(--mint); flex-shrink: 0; }

/* ======== AREA ======== */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.area-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 1.25rem;
}
.area-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.area-card__city {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--near-black);
  margin-bottom: 0.35rem;
}
.area-card__price {
  font-size: 0.9rem;
  color: var(--mint);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.area-card__districts {
  font-size: 0.85rem;
  color: rgba(24, 24, 34, 0.5);
}

/* ======== FAQ ======== */
.faq-list { border-top: 1px solid rgba(24, 24, 34, 0.1); }
.faq-item { border-bottom: 1px solid rgba(24, 24, 34, 0.1); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--near-black);
  transition: color 0.3s;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q::marker { content: ''; }
.faq-item__q:hover { color: var(--teal); }
.faq-item__icon {
  flex-shrink: 0;
  transition: transform 0.5s var(--ease-smooth);
  color: var(--mint);
}
.faq-item[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__a {
  padding-bottom: 1.5rem;
}
.faq-item__a p {
  font-size: 0.92rem;
  color: rgba(24, 24, 34, 0.6);
  line-height: 1.7;
  max-width: 680px;
}

/* ======== CONTACT ======== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.contact-form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
  z-index: 2;
}
.contact-form__group {
  margin-bottom: 1.25rem;
}
.contact-form__group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(232, 232, 240, 0.6);
  margin-bottom: 0.4rem;
}
.contact-form__group input,
.contact-form__group textarea,
.contact-form__group select {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--off-white);
  font-size: 0.92rem;
  transition: border-color 0.3s;
  -webkit-appearance: none;
}
.contact-form__group input:focus,
.contact-form__group textarea:focus,
.contact-form__group select:focus {
  outline: none;
  border-color: var(--mint);
}
.contact-form__group input::placeholder,
.contact-form__group textarea::placeholder {
  color: rgba(232, 232, 240, 0.25);
}
.contact-form__group select { cursor: pointer; }
.contact-form__group select option { background: var(--navy-dark); color: var(--off-white); }

.contact-form__check {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}
.contact-form__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--mint);
  cursor: pointer;
}
.contact-form__check label {
  font-size: 0.72rem;
  line-height: 1.5;
  color: rgba(232, 232, 240, 0.45);
}

.contact-info { position: relative; z-index: 2; }
.contact-info__photo {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 2rem;
}
.contact-info__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.contact-info__blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.contact-info__block h3 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mint);
  margin-bottom: 0.4rem;
}
.contact-info__block a,
.contact-info__block address,
.contact-info__block p {
  font-size: 0.9rem;
  color: rgba(232, 232, 240, 0.7);
  line-height: 1.6;
  transition: color 0.3s;
}
.contact-info__block a:hover { color: var(--mint); }
.contact-info__map {
  overflow: hidden;
  line-height: 0;
}
.contact-info__map iframe { display: block; width: 100%; }

/* ======== FOOTER ======== */
.footer {
  background: var(--near-black);
  padding: clamp(60px, 8vh, 100px) 0 clamp(30px, 4vh, 50px);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr auto;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}
.footer__brand img { height: clamp(36px, 3vw, 52px); width: auto; margin-bottom: 1rem; }
.footer__tagline {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mint);
  opacity: 0.6;
}
.footer__nav ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer__nav a {
  font-size: 0.85rem;
  color: rgba(232, 232, 240, 0.5);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--mint); }

.footer__contact { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__contact a,
.footer__contact address {
  font-size: 0.85rem;
  color: rgba(232, 232, 240, 0.5);
  transition: color 0.3s;
}
.footer__contact a:hover { color: var(--mint); }

.footer__social { display: flex; gap: 1rem; align-items: flex-start; }
.footer__social a {
  color: rgba(232, 232, 240, 0.4);
  transition: color 0.3s;
}
.footer__social a:hover { color: var(--mint); }

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(232, 232, 240, 0.06);
  margin: clamp(2rem, 4vh, 4rem) 0;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__legal {
  display: flex;
  gap: 2rem;
  font-size: 0.7rem;
  color: rgba(232, 232, 240, 0.25);
  letter-spacing: 0.03em;
}
.footer__copy {
  font-size: 0.72rem;
  color: rgba(232, 232, 240, 0.2);
}

/* ======== MOBILE STICKY BAR ======== */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 150;
  padding: 0.5rem;
  background: var(--near-black);
  border-top: 1px solid rgba(109, 203, 164, 0.15);
  gap: 0.5rem;
  transform: translateY(100%);
  transition: transform 0.5s var(--ease-smooth);
}
.mobile-bar.is-visible {
  transform: translateY(0);
}
.mobile-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.mobile-bar__btn--phone {
  background: var(--mint);
  color: var(--near-black);
}
.mobile-bar__btn--wa {
  background: #25D366;
  color: #fff;
}

/* ======== WHATSAPP FLOAT ======== */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.8);
  transition: opacity 0.5s, visibility 0.5s, transform 0.5s var(--ease-smooth), box-shadow 0.3s;
}
.whatsapp-float.is-visible {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.whatsapp-float:hover {
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
  transform: scale(1.08);
}

/* ======== LARGE SCREENS (2560+) ======== */
@media (min-width: 1920px) {
  :root {
    --container-max: 1600px;
    --section-pad: clamp(160px, 16vh, 280px);
  }
  .header__logo img { height: 48px; }
  .header__links { gap: 3.5rem; }
  .header__links a { font-size: 1rem; }
  .header__phone { font-size: 1rem; }
  .header { padding: 2rem 0; }
  .header.is-scrolled { padding: 1.1rem 0; }
  .section__label { font-size: 0.92rem; }
  .section__heading { font-size: clamp(48px, 4.5vw, 80px); }
  .pillar__number { font-size: 6rem; }
  .pillar__title { font-size: 1.7rem; }
  .pillar__text { font-size: 1.1rem; }
  .service-card { padding: 3.5rem; }
  .service-card__title { font-size: 1.4rem; }
  .service-card__text { font-size: 1.05rem; }
  .process__content h3 { font-size: 1.35rem; }
  .process__content p { font-size: 1rem; }
  .offer-card__title { font-size: 1.35rem; }
  .testimonial { padding: 3rem; }
  .testimonial__quote { font-size: 1.15rem; }
  .about__text p { font-size: 1.05rem; }
  .area-card__city { font-size: 1.8rem; }
  .faq-item__q { font-size: 1.2rem; padding: 2rem 0; }
  .faq-item__a p { font-size: 1rem; }
  .btn { padding: 1.3rem 2.8rem; font-size: 0.92rem; }
  .footer__top { gap: 5rem; }
  .footer__nav a { font-size: 0.95rem; }
}

/* ======== RESPONSIVE ======== */
@media (max-width: 1024px) {
  .header__links { display: none; }
  .header__phone { display: none; }
  .header__menu { display: block; }

  .pillars { grid-template-columns: 1fr; gap: 3rem; }

  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .offer-card--lg { grid-column: span 1; }

  .about { grid-template-columns: 1fr; gap: 2rem; }
  .about__image .image-reveal { aspect-ratio: 4 / 3; max-width: 500px; }

  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .hero__heading {
    font-size: clamp(48px, 18vw, 120px);
  }
  .hero__title--outline {
    -webkit-text-stroke-width: 1.5px;
  }
  .hero__stats { gap: 1rem; padding: 1rem; }
  .hero__stat-number { font-size: 1.2rem; }
  .hero__stat-divider { height: 24px; }
  .hero__scroll { display: none; }

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

  .offers-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .area-grid { grid-template-columns: 1fr; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-info__blocks { grid-template-columns: 1fr; }

  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .footer__legal { justify-content: center; flex-wrap: wrap; gap: 1rem; }

  .mobile-bar { display: flex; }
  .whatsapp-float { display: none; }

  .cookie-banner__inner { flex-direction: column; text-align: center; gap: 1rem; }
}

@media (max-width: 480px) {
  :root {
    --section-pad: clamp(60px, 10vh, 100px);
  }
  .hero__heading { font-size: clamp(40px, 20vw, 90px); }
  .hero__content { padding-bottom: 80px; }
  .hero__stats { flex-direction: column; gap: 0.75rem; }
  .hero__stat-divider { width: 40px; height: 1px; }

  .services-grid { grid-template-columns: 1fr; }
  .process { padding-left: 50px; }
  .process__marker { left: -50px; width: 36px; height: 36px; }

  .testimonials__badges { flex-wrap: wrap; }
  .testimonials__badges img { width: 60px; }
}

/* ======== FOCUS / A11Y ======== */
:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
}
.btn:focus-visible { outline-offset: 4px; }

@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;
  }
  .marquee__track { animation: none; }
  .anim-reveal { opacity: 1; transform: none; }
  .text-reveal__inner { transform: none; }
  .image-reveal__overlay { transform: scaleX(0); }
  .hero__scroll-line { animation: none; }
}

@media (prefers-contrast: high) {
  .section--light .section__heading { color: var(--near-black); }
  .pillar__text, .about__text p, .process__content p { color: var(--charcoal); }
}
