


:root {
  --primary: #1a6b8a;
  --secondary: #2c3e50;
  --accent: #e8a020;

  --primary-light: color-mix(in oklch, var(--primary), white 60%);
  --primary-xlight: color-mix(in oklch, var(--primary), white 88%);
  --primary-dark: color-mix(in oklch, var(--primary), black 20%);
  --primary-xdark: color-mix(in oklch, var(--primary), black 40%);

  --secondary-light: color-mix(in oklch, var(--secondary), white 50%);
  --secondary-xlight: color-mix(in oklch, var(--secondary), white 85%);
  --secondary-dark: color-mix(in oklch, var(--secondary), black 20%);

  --accent-light: color-mix(in oklch, var(--accent), white 60%);
  --accent-xlight: color-mix(in oklch, var(--accent), white 85%);
  --accent-dark: color-mix(in oklch, var(--accent), black 25%);

  --bg-white: #f8f9fb;
  --bg-light: color-mix(in oklch, var(--primary), white 95%);
  --bg-section: color-mix(in oklch, var(--secondary), white 94%);

  --text-dark: #1a2332;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;

  --border: color-mix(in oklch, var(--secondary), white 80%);
  --border-light: color-mix(in oklch, var(--secondary), white 90%);

  --shadow-sm: 0 1px 3px color-mix(in oklch, var(--secondary), transparent 85%),
               0 1px 2px color-mix(in oklch, var(--secondary), transparent 90%);
  --shadow-md: 0 4px 6px color-mix(in oklch, var(--secondary), transparent 85%),
               0 2px 4px color-mix(in oklch, var(--secondary), transparent 88%);
  --shadow-lg: 0 10px 25px color-mix(in oklch, var(--secondary), transparent 80%),
               0 4px 10px color-mix(in oklch, var(--secondary), transparent 88%);
  --shadow-xl: 0 20px 40px color-mix(in oklch, var(--secondary), transparent 75%),
               0 8px 16px color-mix(in oklch, var(--secondary), transparent 85%);
  --shadow-primary: 0 4px 14px color-mix(in oklch, var(--primary), transparent 60%);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;

  --nav-height: 80px;
  --nav-height-scrolled: 64px;

  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
}


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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; }

body {
  font-family: 'Onest', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-body);
  background-color: var(--bg-white);
  overflow-x: hidden;
}

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

a { color: var(--primary); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary-dark); }

address { font-style: normal; }

ul { list-style: none; }


h1, h2, h3, h4 {
  font-family: 'Onest', sans-serif;
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container--narrow {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-2xl) 0;
}

.section--light { background-color: var(--bg-light); }
.section--dark { background-color: var(--secondary); }

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto var(--space-xl);
}

.section__title {
  margin-bottom: var(--space-sm);
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-xlight);
  padding: 0.3em 0.9em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-sm);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-family: 'Onest', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-fast),
              box-shadow var(--transition-base);
  white-space: nowrap;
}

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

.btn--primary {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: var(--shadow-primary);
}
.btn--primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
  box-shadow: 0 6px 20px color-mix(in oklch, var(--primary), transparent 50%);
}

.btn--outline {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--outline:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn--outline-light {
  background-color: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.6);
}
.btn--outline-light:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: #fff;
  color: #fff;
}

.btn--large {
  padding: 1rem 2.25rem;
  font-size: 1rem;
}


.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              padding var(--transition-base);
}

.nav__container {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem var(--space-md);
  transition: padding var(--transition-base);
}

.nav__logo-img {
  height: 40px;
  width: auto;
  transition: height var(--transition-base);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
  margin-right: var(--space-md);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  position: relative;
  transition: color var(--transition-fast);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0.75rem;
  right: 0.75rem;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  border-radius: 2px;
}

.nav__link:hover { color: #fff; }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link--active { color: #fff; }
.nav__link--active::after { transform: scaleX(1); }

.nav--scrolled .nav__link,
.nav--scrolled .nav__link--active {
  color: var(--text-dark);
}
.nav--scrolled .nav__link:hover { color: var(--primary); }
.nav--scrolled .nav__link--active { color: var(--primary); }
.nav--scrolled .nav__link::after { background: var(--primary); }

.nav--scrolled {
  background-color: var(--bg-white);
  box-shadow: var(--shadow-md);
}

.nav--scrolled .nav__container {
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.nav--scrolled .nav__logo-img {
  height: 34px;
}

.nav__cta {
  flex-shrink: 0;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: var(--space-sm);
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform var(--transition-base), opacity var(--transition-base), background var(--transition-fast);
}

.nav--scrolled .nav__hamburger span { background: var(--text-dark); }

.nav__hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.is-open span:nth-child(2) { opacity: 0; }
.nav__hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.nav__mobile.is-open {
  max-height: 500px;
  padding: var(--space-sm) var(--space-md);
}

.nav__mobile-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
  display: block;
  transition: color var(--transition-fast);
}

.nav__mobile-link:last-of-type { border-bottom: none; }
.nav__mobile-link:hover,
.nav__mobile-link--active { color: var(--primary); }

.nav__mobile-cta {
  margin-top: var(--space-sm);
  width: 100%;
  text-align: center;
}


.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    color-mix(in oklch, var(--secondary), transparent 15%) 0%,
    color-mix(in oklch, var(--primary), transparent 30%) 60%,
    color-mix(in oklch, var(--secondary), transparent 40%) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  animation: heroEntrance 0.8s ease both;
}

@keyframes heroEntrance {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  max-width: 700px;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  max-width: 580px;
  margin-bottom: var(--space-lg);
}

.hero__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}

.hero__guarantees {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.hero__guarantee-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.9);
  font-size: 0.875rem;
  font-weight: 500;
}

.hero__guarantee-item i {
  color: var(--accent);
  font-size: 1rem;
}


.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
  padding: calc(var(--nav-height) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.page-hero--legal {
  padding-bottom: var(--space-lg);
}

.page-hero .label {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}

.page-hero__title {
  color: #fff;
  margin-bottom: var(--space-sm);
}

.page-hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}


.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.intro__text .label { margin-bottom: var(--space-sm); }

.intro__text h2 { margin-bottom: var(--space-md); }

.intro__text p {
  color: var(--text-body);
  margin-bottom: var(--space-sm);
}

.intro__image-block {
  position: relative;
}

.intro__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.intro__image-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: var(--space-sm) var(--space-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.875rem;
}

.intro__image-card i {
  font-size: 1.5rem;
  color: var(--primary);
}

.intro__image-card strong {
  display: block;
  color: var(--text-dark);
  font-weight: 600;
}

.intro__image-card span {
  color: var(--text-muted);
}


.divider--dots {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-white);
  overflow: hidden;
  position: relative;
}

.divider__dots-inner {
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 6px,
    transparent 6px,
    transparent 18px
  );
  position: relative;
}

.divider__dots-inner::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: radial-gradient(circle, var(--primary-xlight) 3px, transparent 3px);
  background-size: 16px 16px;
  border-radius: var(--radius-full);
}


.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card--service {
  padding: var(--space-lg);
  position: relative;
  overflow: hidden;
}

.card--service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary-light);
  transition: background var(--transition-base);
}

.card--service:hover::before,
.card--featured::before {
  background: var(--primary);
}

.card--featured {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-xlight) 100%);
  box-shadow: var(--shadow-md);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--primary-xlight);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
  transition: background var(--transition-base), color var(--transition-base);
}

.card--service:hover .card__icon,
.card--featured .card__icon {
  background: var(--primary);
  color: #fff;
}

.card__icon--accent {
  background: var(--accent-xlight);
  color: var(--accent-dark);
}

.card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card__text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}


.packages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.card--package {
  padding: var(--space-lg);
  position: relative;
}

.card--package-featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.card--package-featured:hover {
  transform: translateY(-12px);
}

.card__package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.3em 1em;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.card__package-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-xlight);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: var(--space-md);
}

.card--package-featured .card__package-icon {
  background: var(--primary);
  color: #fff;
}

.card__package-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.card__package-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-md);
}

.card__package-features {
  margin-bottom: var(--space-lg);
}

.card__package-features li {
  font-size: 0.875rem;
  color: var(--text-body);
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.card__package-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.card__package-features li:last-child { border-bottom: none; }


.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  position: relative;
}

.process__grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(25% / 2);
  right: calc(25% / 2);
  height: 2px;
  background: linear-gradient(90deg, var(--primary-light), var(--primary), var(--primary-light));
  z-index: 0;
}

.process__step {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 var(--space-sm);
}

.process__number {
  width: 56px;
  height: 56px;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
  box-shadow: 0 0 0 6px var(--bg-light), var(--shadow-primary);
}

.process__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.process__step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}


.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: var(--space-sm);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery__item--large {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery__item--wide {
  grid-column: span 2;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__item:hover img { transform: scale(1.05); }

.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(26,35,50,0.85));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: var(--space-md) var(--space-sm) var(--space-sm);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery__item:hover .gallery__caption { transform: translateY(0); }

.gallery__cta {
  text-align: center;
  margin-top: var(--space-lg);
}


.section--faq { background: var(--bg-white); }

.faq__list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.faq__item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.faq__item:hover { box-shadow: var(--shadow-md); }

.faq__question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-lg);
  text-align: left;
  font-family: 'Onest', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.faq__question:hover { color: var(--primary); background: var(--primary-xlight); }

.faq__question[aria-expanded="true"] {
  color: var(--primary);
  background: var(--primary-xlight);
}

.faq__icon {
  flex-shrink: 0;
  font-size: 0.875rem;
  color: var(--primary);
  transition: transform var(--transition-base);
}

.faq__question[aria-expanded="true"] .faq__icon { transform: rotate(180deg); }

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-slow);
}

.faq__answer.is-open {
  max-height: 400px;
}

.faq__answer p {
  padding: var(--space-sm) var(--space-lg) var(--space-md);
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
  border-top: 1px solid var(--border-light);
  margin: 0;
}


.contact-cards__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card--contact {
  padding: var(--space-lg);
  text-align: center;
}

.card__contact-icon {
  width: 64px;
  height: 64px;
  background: var(--primary-xlight);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto var(--space-md);
  transition: background var(--transition-base), color var(--transition-base);
}

.card--contact:hover .card__contact-icon {
  background: var(--primary);
  color: #fff;
}

.card__contact-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card__contact-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
  line-height: 1.6;
}

.card__contact-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  display: block;
  transition: color var(--transition-fast);
}

.card__contact-link:hover { color: var(--primary-dark); }


.section--cta {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  padding: var(--space-xl) 0;
}

.cta__block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.cta__title {
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  margin-bottom: 0.5rem;
}

.cta__text p {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
}

.cta__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  flex-shrink: 0;
}


.footer {
  background: var(--secondary);
}

.footer__accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

.footer__body { padding: var(--space-xl) 0 var(--space-lg); }

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer__logo {
  height: 36px;
  width: auto;
  margin-bottom: var(--space-md);
  filter: brightness(0) invert(1);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
  max-width: 280px;
}

.footer__heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: var(--space-md);
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: #fff; }

.footer__address p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.footer__address i {
  color: var(--primary-light);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer__address a {
  color: rgba(255,255,255,0.65);
}
.footer__address a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer__bottom--centered {
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.footer__copy {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin: 0;
}

.footer__legal {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.footer__legal a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  transition: color var(--transition-fast);
}
.footer__legal a:hover { color: rgba(255,255,255,0.8); }


.spec__intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.spec__intro-grid--reverse { direction: rtl; }
.spec__intro-grid--reverse > * { direction: ltr; }

.spec__intro-text .label { margin-bottom: var(--space-sm); }
.spec__intro-text h2 { margin-bottom: var(--space-md); }
.spec__intro-text p { margin-bottom: var(--space-sm); color: var(--text-body); }

.spec__intro-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.napedy__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.card--napedy {
  padding: var(--space-lg);
  text-align: center;
}

.card--napedy .card__icon {
  margin: 0 auto var(--space-md);
}

.serwis__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.serwis__text p {
  margin-bottom: var(--space-sm);
  color: var(--text-body);
}

.serwis__cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.card--guarantee {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--primary-xlight);
  border-color: var(--primary-light);
}

.card--guarantee-long {
  background: color-mix(in oklch, var(--accent), white 85%);
  border-color: var(--accent-light);
}

.card__guarantee-years {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  flex-shrink: 0;
}

.card--guarantee-long .card__guarantee-years { color: var(--accent-dark); }

.card__guarantee-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
}

.card__guarantee-text span {
  font-size: 0.875rem;
  color: var(--text-muted);
}


.section--form-page { background: var(--bg-light); }

.form-page__grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: var(--space-xl);
  align-items: start;
}

.card--form {
  padding: var(--space-xl);
}

.card__form-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card__form-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: var(--space-lg);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.form__row--bottom {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 0;
}

.form__field { display: flex; flex-direction: column; gap: 0.4rem; }
.form__field--wide { grid-column: span 2; }

.form__label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}

.form__input {
  font-family: 'Onest', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--bg-white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  resize: vertical;
  min-height: 44px;
}

.form__input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px color-mix(in oklch, var(--primary), transparent 80%);
}

.form__textarea { min-height: 80px; }

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  flex: 1;
  min-width: 200px;
}

.form__checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }

.form__checkbox-mark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  margin-top: 2px;
}

.form__checkbox input:checked + .form__checkbox-mark {
  background: var(--primary);
  border-color: var(--primary);
}

.form__checkbox input:checked + .form__checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: 2px solid #fff;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  display: block;
}

.form__checkbox-text {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.form__checkbox-text a { color: var(--primary); }

.card--info {
  padding: var(--space-lg);
}

.card__info-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}

.card__info-steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.card__info-step {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
}

.card__info-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}

.card__info-step p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.55;
  margin: 0;
}

.card--contact-quick {
  padding: var(--space-lg);
  text-align: center;
  background: var(--primary-xlight);
  border-color: var(--primary-light);
}

.card--contact-quick h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
}


.realizacje__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card--realizacja {
  overflow: hidden;
}

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

.card__realizacja-img {
  height: 220px;
  overflow: hidden;
}

.card--realizacja-large .card__realizacja-img,
.card--realizacja-wide .card__realizacja-img {
  height: 260px;
}

.card__realizacja-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card--realizacja:hover .card__realizacja-img img { transform: scale(1.05); }

.card__realizacja-body {
  padding: var(--space-md) var(--space-lg);
}

.card__realizacja-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--primary-xlight);
  padding: 0.25em 0.75em;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
}

.card__realizacja-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.card__realizacja-body p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.card__realizacja-meta {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.card__realizacja-meta span {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card__realizacja-meta i { color: var(--primary); }


.contact__form-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact__form-text .label { margin-bottom: var(--space-sm); }
.contact__form-text h2 { margin-bottom: var(--space-md); }
.contact__form-text p { color: var(--text-body); }

.contact__form-block {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}


.section--area { background: var(--bg-white); }

.area__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.area__text .label { margin-bottom: var(--space-sm); }
.area__text h2 { margin-bottom: var(--space-md); }
.area__text p { color: var(--text-body); margin-bottom: var(--space-sm); }

.area__map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}


.thanks {
  min-height: calc(100vh - var(--nav-height) - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
  padding-top: calc(var(--nav-height) + var(--space-2xl));
}

.thanks__content {
  text-align: center;
  max-width: 480px;
}

.thanks__animation {
  width: 100px;
  height: 100px;
  margin: 0 auto var(--space-lg);
  color: var(--primary);
}

.thanks__svg { width: 100%; height: 100%; }

.thanks__circle {
  stroke-dasharray: 283;
  stroke-dashoffset: 283;
  animation: drawCircle 0.8s ease forwards;
}

.thanks__check {
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: drawCheck 0.5s ease 0.8s forwards;
}

@keyframes drawCircle {
  to { stroke-dashoffset: 0; }
}

@keyframes drawCheck {
  to { stroke-dashoffset: 0; }
}

.thanks__title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  opacity: 0;
  animation: fadeUp 0.5s ease 1.4s forwards;
}

.thanks__text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  opacity: 0;
  animation: fadeUp 0.5s ease 1.6s forwards;
}

.thanks .btn {
  opacity: 0;
  animation: fadeUp 0.5s ease 1.8s forwards;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}


.section--legal { background: var(--bg-white); }

.legal__intro { margin-bottom: var(--space-lg); }

.legal__heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: var(--space-xl) 0 var(--space-sm);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-xlight);
}

.legal__subheading {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: var(--space-md) 0 0.5rem;
}

.legal__clause {
  margin-bottom: var(--space-xl);
}

.legal__clause-heading {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--space-md);
  padding: 0.75rem var(--space-md);
  background: var(--primary-xlight);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary);
}

.legal__term {
  color: var(--primary-dark);
  font-weight: 700;
}

.legal__definition {
  background: var(--bg-light);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-sm) var(--space-md);
  margin: var(--space-sm) 0 var(--space-md);
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.65;
}

.legal__definition strong {
  display: block;
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.section--legal p {
  color: var(--text-body);
  margin-bottom: var(--space-sm);
  line-height: 1.75;
}

.section--legal code {
  font-family: monospace;
  background: var(--secondary-xlight);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  font-size: 0.875em;
}


.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }


@media (max-width: 1024px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile { display: flex; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .footer__col--brand { grid-column: span 2; }

  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .packages__grid { grid-template-columns: 1fr; gap: var(--space-lg); }
  .card--package-featured { transform: none; }
  .card--package-featured:hover { transform: translateY(-4px); }

  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }

  .napedy__grid { grid-template-columns: repeat(2, 1fr); }
  .intro__grid, .spec__intro-grid, .serwis__grid, .area__grid, .contact__form-grid {
    grid-template-columns: 1fr;
  }
  .spec__intro-grid--reverse { direction: ltr; }

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

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .gallery__item--large, .gallery__item--wide { grid-column: span 2; }

  .realizacje__grid { grid-template-columns: 1fr 1fr; }
  .card--realizacja-large, .card--realizacja-wide { grid-column: span 2; }

  .contact-cards__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  :root {
    --space-2xl: 4rem;
    --space-xl: 3rem;
  }

  .hero { min-height: 90vh; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; max-width: 320px; }
  .hero__guarantees { flex-direction: column; gap: var(--space-sm); }

  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: 1fr; }
  .napedy__grid { grid-template-columns: 1fr; }

  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item--large, .gallery__item--wide { grid-column: span 1; aspect-ratio: 4/3; }

  .realizacje__grid { grid-template-columns: 1fr; }
  .card--realizacja-large, .card--realizacja-wide { grid-column: span 1; }

  .cta__block { flex-direction: column; text-align: center; }
  .cta__actions { justify-content: center; width: 100%; }
  .cta__actions .btn { flex: 1; min-width: 140px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__col--brand { grid-column: auto; }

  .form__row { grid-template-columns: 1fr; }
  .form__field--wide { grid-column: span 1; }
  .form__row--bottom { flex-direction: column; }
  .form__row--bottom .btn { width: 100%; }

  .intro__image-card { position: static; margin-top: var(--space-sm); }
  .intro__img { height: 280px; }
  .spec__intro-image img { height: 280px; }

  .contact-cards__grid { grid-template-columns: 1fr; max-width: 100%; }
  .contact__form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--space-sm); }
  .section { padding: var(--space-xl) 0; }
  .hero__title { font-size: 2rem; }
  .card--form, .card--info { padding: var(--space-md); }
  .faq__question { padding: var(--space-sm) var(--space-md); font-size: 0.9rem; }
  .faq__answer p { padding: var(--space-sm) var(--space-md); }
}