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

:root{
  --bg:#f5f5f5;
  --ink:#111111;
  --blue:#002d6b;
  --blue2:#002761;
  --navy:#0A2F68;
  --pink:#ff2db2;
  --muted:#555;
  --container:1440px;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 60px;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  width: 100%;
  background: rgba(245,245,245,.94);
  backdrop-filter: blur(8px);
  z-index: 999;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo {
  height: 126px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  gap: 44px;
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
}

.nav a {
  transition: opacity .25s ease;
}

.nav a:hover {
  opacity: .65;
}

.burger {
  width: 42px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.burger span {
  height: 2px;
  background: var(--navy);
  width: 100%;
}

.main {
  padding-top: 190px;
}

.hero {
  min-height: calc(100vh - 190px);
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 80px;
  padding-bottom: 120px;
}

.hero-left {
  position: relative;
}

.scroll-indicator {
  position: absolute;
  left: -70px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.scroll-indicator span {
  transform: rotate(90deg);
  color: var(--pink);
  text-transform: uppercase;
  letter-spacing: .3em;
  font-size: 11px;
}

.scroll-line {
  width: 2px;
  height: 120px;
  background: var(--pink);
}

h1, h2, h3 {
  letter-spacing: -0.045em;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 5.2vw, 74px);
  line-height: .95;
  margin-bottom: 56px;
  font-weight: 900;
  max-width: 760px;
}

.lead {
  font-size: 24px;
  line-height: 1.55;
  color: #333;
  max-width: 760px;
}

.hero-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 23px;
}

.hero-info strong {
  font-weight: 900;
}

.hero-right {
  position: relative;
  overflow: hidden;
}

.hero-right::before,
.image-wash::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.55);
  z-index: 2;
}

.hero-right img {
  width: 100%;
  height: 760px;
  object-fit: cover;
}

.section {
  padding: 100px 0;
}

.section-title {
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 900;
  line-height: 1.02;
  margin-bottom: 36px;
}

.section-text {
  font-size: 21px;
  line-height: 1.75;
  color: #444;
  max-width: 860px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: #fff;
  padding: 42px;
  min-height: 260px;
  transition: transform .35s ease, box-shadow .35s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.08);
}

.card h3 {
  font-size: 28px;
  margin-bottom: 22px;
  color: var(--navy);
}

.card p,
.card li {
  font-size: 18px;
  line-height: 1.65;
  color: #444;
}

.card ul {
  padding-left: 20px;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 120px;
}

.gallery-item {
  overflow: hidden;
  background: #fff;
  transition: transform .4s ease;
}

.gallery-item:hover {
  transform: translateY(-10px);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.project-caption {
  padding: 24px;
}

.project-caption h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.project-caption p {
  color: #555;
  line-height: 1.5;
}

.contact-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding-bottom: 120px;
}

.contact-image {
  position: relative;
  overflow: hidden;
}

.contact-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255,45,178,.46);
  z-index: 2;
}

.contact-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.contact-text h2 {
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.05;
  margin-bottom: 34px;
  font-weight: 900;
}

.contact-text p {
  font-size: 21px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 36px;
}

.btn {
  display: inline-block;
  border: 2px solid var(--pink);
  color: var(--pink);
  background: transparent;
  padding: 18px 36px;
  text-transform: uppercase;
  font-weight: 800;
  cursor: pointer;
  transition: .3s ease;
}

.btn:hover {
  background: var(--pink);
  color: white;
}

.page-hero {
  padding: 40px 0 90px;
}

.page-hero .kicker {
  color: var(--pink);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .24em;
  margin-bottom: 24px;
  font-size: 13px;
}

.service-list {
  display: grid;
  gap: 28px;
}

.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 42px;
  border-top: 1px solid rgba(0,0,0,.12);
  padding: 34px 0;
}

.service-row h3 {
  font-size: 28px;
  color: var(--navy);
}

.service-row p {
  max-width: 980px;
  font-size: 20px;
  line-height: 1.7;
  color: #444;
}

.reference {
  border-left: 3px solid var(--pink);
}

.contact-details {
  display: grid;
  gap: 24px;
  font-size: 22px;
  line-height: 1.5;
}

.form {
  display: grid;
  gap: 18px;
}

.form input,
.form textarea {
  width: 100%;
  border: 0;
  background: #fff;
  padding: 20px;
  font-family: inherit;
  font-size: 17px;
}

.form textarea {
  min-height: 160px;
  resize: vertical;
}

footer {
  position: relative;
  background: linear-gradient(180deg, var(--blue) 0%, var(--blue2) 100%);
  color: white;
  overflow: hidden;
}

.footer-pattern-wrap {
  pointer-events: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.footer-pattern {
  width: min(var(--container), 100%);
  height: 100%;
  background-image: url('../assets/motyw.svg');
  background-position: center center;
  background-size: 1120px auto;
  background-repeat: repeat-x;
  opacity: .20;
}

.footer-inner {
  z-index: 2;
  position: relative;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding: 118px 0;
}

.footer-logo {
  height: 86px;
  width: auto;
  margin-bottom: 38px;
  filter: brightness(0) invert(1);
}

.footer-about {
  font-size: 21px;
  line-height: 1.65;
  max-width: 460px;
  margin-bottom: 40px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 19px;
  margin-bottom: 40px;
}

.footer-title {
  font-size: 30px;
  margin-bottom: 30px;
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 19px;
}

.copyright {
  opacity: .7;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .container {
    padding: 0 32px;
  }

  .hero,
  .grid-2,
  .contact-band,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .nav {
    display: none;
  }

  .scroll-indicator {
    display: none;
  }

  .logo {
    height: 104px;
  }

  .main {
    padding-top: 140px;
  }

  .hero {
    min-height: auto;
  }

  .service-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .header-inner {
    padding: 14px 0;
  }

  .logo {
    height: 76px;
  }

  .main {
    padding-top: 110px;
  }

  .hero {
    gap: 42px;
    padding-bottom: 70px;
  }

  .hero h1,
  .page-hero h1 {
    margin-bottom: 34px;
  }

  .hero-info,
  .lead,
  .section-text,
  .contact-text p,
  .service-row p {
    font-size: 17px;
  }

  .hero-right img {
    height: 420px;
  }

  .gallery-item img,
  .contact-image img {
    height: 300px;
  }

  .section {
    padding: 68px 0;
  }

  .footer-logo {
    height: 68px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    font-size: 16px;
  }

  .footer-title {
    font-size: 24px;
  }

  .footer-pattern {
    background-size: 880px auto;
  }
}


/* v3 additions */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 46px;
}

.stat {
  background: #fff;
  padding: 32px;
  border-left: 3px solid var(--pink);
}

.stat strong {
  display: block;
  font-size: 34px;
  color: var(--navy);
  margin-bottom: 8px;
}

.stat span {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

.process {
  counter-reset: step;
}

.process .card::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  color: var(--pink);
  font-weight: 900;
  font-size: 18px;
  margin-bottom: 18px;
}

.project-card {
  cursor: pointer;
  position: relative;
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 18px;
  font-size: 14px;
  color: #555;
}

.project-meta span {
  background: #f5f5f5;
  padding: 10px 12px;
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.modal.is-open {
  display: block;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}

.modal-box {
  position: relative;
  width: min(1040px, calc(100% - 40px));
  max-height: calc(100vh - 60px);
  overflow: auto;
  margin: 30px auto;
  background: #fff;
  color: #111;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-box img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.modal-content {
  padding: 54px;
}

.modal-content h2 {
  font-size: 42px;
  line-height: 1.05;
  margin-bottom: 24px;
}

.modal-content p {
  font-size: 18px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 26px;
}

.modal-list {
  display: grid;
  gap: 12px;
  margin: 28px 0;
}

.modal-list div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid #e5e5e5;
  padding-bottom: 12px;
}

.modal-list strong {
  color: var(--navy);
}

.modal-close {
  position: absolute;
  right: 18px;
  top: 14px;
  border: 0;
  background: none;
  font-size: 40px;
  cursor: pointer;
  z-index: 3;
}

.notice-box {
  background: #fff;
  padding: 38px;
  border-left: 3px solid var(--pink);
}

@media (max-width: 900px) {
  .stats-grid,
  .modal-box {
    grid-template-columns: 1fr;
  }

  .modal-box img {
    min-height: 300px;
  }

  .modal-content {
    padding: 32px;
  }
}


/* v14 fixes */
.work-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin: 42px 0 36px;
}

.work-gallery img {
  width: 100%;
  height: 285px;
  object-fit: cover;
  border-radius: 6px;
}

.contact-page-compact .page-hero {
  padding-bottom: 48px;
}

.contact-page-compact .section {
  padding-top: 48px;
  padding-bottom: 70px;
}

.contact-page-compact .grid-2.section {
  padding-top: 32px;
}

@media (max-width: 900px) {
  .work-gallery {
    grid-template-columns: 1fr;
  }

  .work-gallery img {
    height: 260px;
  }
}


/* v21 references + privacy redesign */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}

.trust-item {
  background: #fff;
  padding: 28px;
  border-left: 3px solid var(--pink);
}

.trust-item strong {
  display: block;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 8px;
}

.trust-item span {
  color: #555;
  line-height: 1.5;
  font-size: 15px;
}

.testimonial-featured {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 70px;
  align-items: center;
  background: #fff;
  padding: 58px;
  margin-bottom: 42px;
}

.testimonial-featured blockquote {
  font-size: clamp(30px, 3.3vw, 52px);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.045em;
  color: #111;
}

.testimonial-featured p {
  font-size: 19px;
  line-height: 1.75;
  color: #444;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #fff;
  padding: 38px;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-top: 3px solid var(--pink);
}

.testimonial-card .quote {
  font-size: 19px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 34px;
}

.testimonial-card .meta {
  border-top: 1px solid #e7e7e7;
  padding-top: 22px;
}

.testimonial-card .meta strong {
  display: block;
  color: var(--navy);
  font-size: 18px;
  margin-bottom: 6px;
}

.testimonial-card .meta span {
  color: #666;
  font-size: 14px;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.badge-list span {
  background: #f2f2f2;
  color: #333;
  padding: 9px 12px;
  font-size: 13px;
  font-weight: 700;
}

.reference-process {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: 180px;
  background: #fff;
  padding: 34px;
  border-left: 3px solid var(--pink);
}

.policy-sidebar h3 {
  color: var(--navy);
  margin-bottom: 20px;
  font-size: 22px;
}

.policy-sidebar a {
  display: block;
  padding: 11px 0;
  color: #444;
  border-bottom: 1px solid #eee;
  font-size: 15px;
}

.policy-content {
  display: grid;
  gap: 26px;
}

.policy-section {
  background: #fff;
  padding: 42px;
}

.policy-section h2 {
  color: var(--navy);
  font-size: 30px;
  margin-bottom: 18px;
  letter-spacing: -0.035em;
}

.policy-section p,
.policy-section li {
  font-size: 18px;
  line-height: 1.75;
  color: #444;
}

.policy-section ul {
  padding-left: 22px;
  display: grid;
  gap: 10px;
}

.policy-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}

.policy-summary .card {
  min-height: auto;
}

@media (max-width: 1100px) {
  .trust-strip,
  .testimonial-grid,
  .policy-summary,
  .reference-process {
    grid-template-columns: 1fr;
  }

  .testimonial-featured,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-sidebar {
    position: static;
  }
}


/* v22 mobile layout hard fixes */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  min-width: 0;
}

img,
video,
iframe {
  max-width: 100%;
}

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

.header {
  overflow: hidden;
}

.header-inner {
  min-width: 0;
}

.logo {
  flex-shrink: 0;
}

.nav {
  min-width: 0;
}

.card,
.notice-box,
.policy-section,
.testimonial-card,
.testimonial-featured,
.offer-photo-card,
.modal-box {
  min-width: 0;
}

.project-caption,
.modal-content,
.footer-inner,
.policy-content,
.policy-sidebar {
  min-width: 0;
}

.project-meta,
.stats-grid,
.trust-strip,
.policy-summary,
.offer-photo-grid,
.testimonial-grid,
.reference-process,
.grid-2,
.grid-3,
.gallery,
.contact-band,
.footer-inner,
.hero {
  max-width: 100%;
}

@media (max-width: 1100px) {
  .main {
    padding-top: 132px;
  }

  .header-inner {
    padding: 12px 0;
  }

  .logo {
    height: 86px;
  }

  .burger {
    width: 34px;
    gap: 6px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 72px;
  }

  .hero-right img {
    height: 460px;
  }

  .page-hero {
    padding-top: 20px;
    padding-bottom: 56px;
  }

  .section {
    padding: 62px 0;
  }

  .contact-band {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-bottom: 70px;
  }

  .service-row,
  .service-row.with-image {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .service-row.with-image img {
    order: -1;
    height: 260px;
  }

  .policy-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .policy-sidebar {
    position: static;
    top: auto;
  }

  .testimonial-featured {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 36px;
  }

  .testimonial-featured blockquote {
    font-size: 34px;
  }

  .modal-box {
    grid-template-columns: 1fr;
  }

  .modal-box img {
    min-height: 260px;
    height: 320px;
  }

  .modal-content {
    padding: 34px;
  }

  .modal-content h2 {
    font-size: 32px;
  }

  .modal-list div {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 42px;
    padding: 78px 0;
  }

  .footer-inner > div:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .main {
    padding-top: 102px;
  }

  .header-inner {
    padding: 10px 0;
  }

  .logo {
    height: 66px;
  }

  .burger {
    width: 30px;
  }

  .hero {
    min-height: auto;
    gap: 32px;
    padding-bottom: 54px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
    line-height: .98;
    margin-bottom: 28px;
    max-width: 100%;
  }

  h1,
  h2,
  h3 {
    word-break: normal;
    overflow-wrap: break-word;
  }

  .lead,
  .section-text,
  .hero-info,
  .contact-text p,
  .service-row p,
  .policy-section p,
  .policy-section li,
  .testimonial-card .quote,
  .card p,
  .card li {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-info {
    gap: 16px;
  }

  .hero-right img {
    height: 330px;
  }

  .section {
    padding: 48px 0;
  }

  .section-title,
  .contact-text h2 {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.05;
    margin-bottom: 24px;
  }

  .gallery,
  .grid-3,
  .grid-2,
  .offer-photo-grid,
  .stats-grid,
  .trust-strip,
  .policy-summary,
  .testimonial-grid,
  .reference-process {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }

  .gallery-item img,
  .offer-photo-card img,
  .work-gallery img,
  .contact-image img {
    height: 250px;
  }

  .project-caption {
    padding: 20px;
  }

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

  .card,
  .notice-box,
  .policy-section,
  .testimonial-card,
  .offer-photo-card div {
    padding: 26px;
  }

  .testimonial-featured {
    padding: 28px;
  }

  .testimonial-featured blockquote {
    font-size: 30px;
  }

  .policy-sidebar {
    padding: 26px;
  }

  .policy-sidebar a {
    font-size: 14px;
  }

  .modal {
    overflow-y: auto;
  }

  .modal-box {
    width: calc(100% - 24px);
    margin: 12px auto;
    max-height: none;
  }

  .modal-box img {
    height: 240px;
    min-height: 240px;
  }

  .modal-content {
    padding: 26px;
  }

  .modal-content h2 {
    font-size: 28px;
  }

  .modal-close {
    right: 12px;
    top: 8px;
    font-size: 34px;
    color: #111;
    background: #fff;
    width: 42px;
    height: 42px;
    line-height: 38px;
    border-radius: 50%;
  }

  .btn {
    width: 100%;
    text-align: center;
    padding: 16px 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 64px 0;
  }

  .footer-logo {
    height: 58px;
  }

  .footer-about,
  .footer-links,
  .footer-contact {
    font-size: 16px;
  }

  .footer-title {
    font-size: 23px;
    margin-bottom: 18px;
  }

  .footer-pattern {
    background-size: 760px auto;
    opacity: .16;
  }
}

@media (max-width: 420px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main {
    padding-top: 92px;
  }

  .logo {
    height: 58px;
  }

  .hero-right img,
  .gallery-item img,
  .offer-photo-card img,
  .work-gallery img,
  .contact-image img {
    height: 220px;
  }

  .card,
  .notice-box,
  .policy-section,
  .testimonial-card,
  .modal-content {
    padding: 22px;
  }

  .trust-item,
  .stat {
    padding: 22px;
  }

  .trust-item strong,
  .stat strong {
    font-size: 26px;
  }
}


/* v23 desktop container restore */
@media (min-width: 1101px) {
  .container {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  .header-inner,
  .hero,
  .page-hero,
  .section,
  .gallery,
  .contact-band,
  .footer-inner {
    max-width: 1440px;
  }

  .footer-pattern {
    width: min(1440px, 100%);
  }

  .hero {
    grid-template-columns: 0.92fr 1.08fr;
  }

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

  .grid-3,
  .offer-photo-grid,
  .testimonial-grid,
  .policy-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2,
  .contact-band,
  .reference-process,
  .testimonial-featured {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}







/* v27 final polish: responsive, accessibility, SEO-friendly layout */
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: #002d6b;
  color: #fff;
  padding: 12px 18px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
}

.header {
  overflow: visible;
}

.header-inner {
  gap: 28px;
}

.nav a[aria-current="page"] {
  color: var(--pink);
}

.mobile-nav {
  display: none;
}

.burger {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  width: 48px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
}

.burger span {
  display: block;
  height: 2px;
  width: 42px;
  background: var(--navy);
  transition: transform .25s ease, opacity .25s ease;
}

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

.footer-contact p:empty {
  display: none;
}

.form input:focus,
.form textarea:focus,
.btn:focus-visible,
.burger:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(255,45,178,.55);
  outline-offset: 4px;
}

@media (min-width: 1101px) {
  .container {
    width: min(100%, 1440px);
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 60px;
    padding-right: 60px;
  }

  .nav {
    display: flex !important;
  }

  .burger,
  .mobile-nav {
    display: none !important;
  }

  .grid-3,
  .gallery,
  .offer-photo-grid,
  .testimonial-grid,
  .policy-summary {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-2,
  .contact-band,
  .reference-process,
  .testimonial-featured {
    grid-template-columns: 1fr 1fr;
  }

  .footer-inner {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

@media (max-width: 1100px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .header-inner {
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .logo {
    height: 72px !important;
    max-width: calc(100vw - 132px);
    object-fit: contain;
  }

  .nav {
    display: none !important;
  }

  .burger {
    display: flex !important;
  }

  .mobile-nav {
    position: fixed;
    top: var(--mobile-nav-top, 112px);
    left: 28px;
    right: 28px;
    z-index: 2000;
    background: rgba(245,245,245,.98);
    border: 1px solid rgba(10,47,104,.14);
    box-shadow: 0 24px 70px rgba(0,0,0,.16);
    padding: 18px;
  }

  body.menu-open .mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .mobile-nav a {
    display: block;
    color: var(--navy);
    font-weight: 800;
    font-size: 18px;
    padding: 15px 12px;
    border-bottom: 1px solid rgba(10,47,104,.12);
  }

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

  body.menu-open {
    overflow: hidden;
  }

  body.menu-open .burger span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  body.menu-open .burger span:nth-child(2) {
    opacity: 0;
  }

  body.menu-open .burger span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .main {
    padding-top: 124px !important;
  }

  .hero,
  .grid-2,
  .grid-3,
  .gallery,
  .contact-band,
  .footer-inner,
  .policy-layout,
  .policy-summary,
  .testimonial-grid,
  .reference-process,
  .stats-grid,
  .trust-strip,
  .offer-photo-grid,
  .work-gallery {
    grid-template-columns: 1fr !important;
  }

  .hero {
    gap: 36px;
    min-height: auto;
    padding-bottom: 64px;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(36px, 10vw, 54px) !important;
    line-height: .98 !important;
    max-width: 100%;
  }

  .section-title,
  .contact-text h2 {
    font-size: clamp(30px, 8.5vw, 42px) !important;
    line-height: 1.05 !important;
  }

  .lead,
  .section-text,
  .hero-info,
  .contact-text p,
  .service-row p,
  .card p,
  .card li,
  .policy-section p,
  .policy-section li,
  .testimonial-card .quote {
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .card,
  .notice-box,
  .policy-section,
  .testimonial-card,
  .project-caption,
  .modal-content,
  .offer-photo-card div {
    padding-left: 28px !important;
    padding-right: 28px !important;
  }

  .service-row,
  .service-row.with-image {
    grid-template-columns: 1fr !important;
  }

  .footer-inner {
    gap: 34px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 26px !important;
    padding-right: 26px !important;
  }

  .mobile-nav {
    left: 26px;
    right: 26px;
  }

  .logo {
    height: 62px !important;
  }

  .main {
    padding-top: 112px !important;
  }

  .hero-right img,
  .gallery-item img,
  .offer-photo-card img,
  .work-gallery img,
  .contact-image img {
    height: 250px !important;
    object-fit: cover;
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(34px, 10vw, 48px) !important;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .modal-box {
    width: calc(100% - 32px);
    grid-template-columns: 1fr;
  }

  .modal-box img {
    min-height: 230px;
    height: 230px;
  }
}

@media (max-width: 430px) {
  .container {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }

  .mobile-nav {
    left: 24px;
    right: 24px;
  }

  .logo {
    height: 56px !important;
  }

  .burger {
    width: 44px;
  }

  .burger span {
    width: 38px;
  }

  .main {
    padding-top: 104px !important;
  }
}

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





/* v29 rebuilt Oferta - isolated layout */
.offer-page-main {
  overflow: hidden;
}

.offer-hero {
  padding-top: 40px;
  padding-bottom: 80px;
}

.offer-hero h1 {
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: .95;
  font-weight: 900;
  max-width: 920px;
  margin-bottom: 36px;
}

.offer-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 90px;
}

.offer-featured-card {
  background: #fff;
  overflow: hidden;
}

.offer-featured-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.offer-featured-card div {
  padding: 30px;
}

.offer-featured-card h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 12px;
}

.offer-featured-card p {
  color: #555;
  line-height: 1.6;
  font-size: 17px;
}

.offer-services {
  display: grid;
  gap: 0;
  padding-bottom: 90px;
}

.offer-service {
  display: grid;
  grid-template-columns: 270px minmax(0, 1fr) 300px;
  gap: 42px;
  align-items: start;
  padding: 38px 0;
  border-top: 1px solid rgba(0,0,0,.12);
}

.offer-service:last-child {
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.offer-service h2 {
  color: var(--navy);
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.offer-service p {
  color: #444;
  font-size: 19px;
  line-height: 1.72;
  max-width: 980px;
}

.offer-service img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.offer-help {
  padding: 90px 60px;
  background: #fff;
  margin-bottom: 110px;
}

.offer-help h2 {
  font-size: clamp(36px, 4vw, 58px);
  line-height: 1;
  margin-bottom: 40px;
  font-weight: 900;
}

.offer-help-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

.offer-help-grid h3 {
  color: var(--navy);
  font-size: 24px;
  margin-bottom: 14px;
}

.offer-help-grid p {
  color: #555;
  font-size: 17px;
  line-height: 1.65;
}

.offer-contact {
  padding-bottom: 120px;
}

@media (max-width: 1100px) {
  .offer-featured,
  .offer-help-grid {
    grid-template-columns: 1fr;
  }

  .offer-service {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .offer-service img {
    order: -1;
    height: 260px;
  }

  .offer-help {
    padding: 54px 28px;
    margin-left: 28px;
    margin-right: 28px;
  }
}

@media (max-width: 768px) {
  .offer-hero {
    padding-top: 20px;
    padding-bottom: 50px;
  }

  .offer-hero h1 {
    font-size: clamp(34px, 10vw, 46px);
  }

  .offer-featured {
    gap: 24px;
    padding-bottom: 58px;
  }

  .offer-featured-card img,
  .offer-service img {
    height: 235px !important;
  }

  .offer-featured-card div {
    padding: 24px;
  }

  .offer-service {
    padding: 30px 0;
  }

  .offer-service h2 {
    font-size: 24px;
  }

  .offer-service p {
    font-size: 16px;
  }

  .offer-help {
    padding: 40px 24px;
    margin: 0 24px 70px;
  }

  .offer-help h2 {
    font-size: 34px;
  }
}


/* v30 mobile offer contact fix */
.offer-page .offer-contact {
  align-items: stretch;
}

.offer-page .offer-contact .contact-image {
  background: #fff;
}

.offer-page .offer-contact .contact-image::before {
  background: rgba(255,45,178,.32);
}

.offer-page .offer-contact .contact-text {
  background: transparent;
}

@media (max-width: 768px) {
  .offer-page .offer-contact {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-bottom: 70px !important;
  }

  .offer-page .offer-contact .contact-image {
    width: 100%;
    overflow: hidden;
  }

  .offer-page .offer-contact .contact-image::before {
    background: rgba(255,45,178,.28) !important;
  }

  .offer-page .offer-contact .contact-image img {
    height: 230px !important;
    width: 100%;
    object-fit: cover;
  }

  .offer-page .offer-contact .contact-text {
    background: #fff;
    padding: 30px 24px 34px;
  }

  .offer-page .offer-contact .contact-text h2 {
    font-size: 34px !important;
    line-height: 1.05 !important;
    color: #111 !important;
    margin-bottom: 22px !important;
  }

  .offer-page .offer-contact .contact-text p {
    font-size: 17px !important;
    line-height: 1.65 !important;
    color: #444 !important;
    margin-bottom: 28px !important;
  }

  .offer-page .offer-contact .btn {
    width: 100%;
    background: transparent;
    color: var(--pink);
    border-color: var(--pink);
    text-align: center;
  }
}

@media (max-width: 430px) {
  .offer-page .offer-contact .contact-text {
    padding: 28px 22px 32px;
  }

  .offer-page .offer-contact .contact-text h2 {
    font-size: 31px !important;
  }
}
