:root {
  --kokys-dark: #0033a0;
  --kokys-light: #00a3e0;
  --kokys-yellow: #ffc72c;
  --ink: #111827;
  --text: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --surface: #ffffff;
  --soft: #f7f8fb;
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--soft);
  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.gallery-lightbox-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.wrapper {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 32px));
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
  box-shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(14px);
}

.navbar {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.nav-links,
.hero-actions,
.section-row,
.text-link,
.floating-badge,
.contact-list div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  color: var(--kokys-dark);
}

.brand-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--kokys-yellow);
  background: var(--kokys-dark);
  border-radius: 10px;
}

.brand-icon svg {
  width: 25px;
  height: 25px;
}

.brand-text strong,
.brand-text span {
  display: block;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 1.05rem;
}

.brand-text span {
  color: var(--kokys-light);
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.nav-links {
  gap: 18px;
  font-size: 0.95rem;
  font-weight: 700;
}

.nav-links a:not(.button) {
  color: #53606f;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.text-link:hover {
  color: var(--kokys-light);
}

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

.menu-toggle {
  width: 44px;
  height: 44px;
  display: none;
  place-items: center;
  color: var(--kokys-dark);
  background: transparent;
  border: 0;
  border-radius: 8px;
  cursor: pointer;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 0;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

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

.button svg {
  width: 18px;
  height: 18px;
}

.button-primary {
  color: white;
  background: var(--kokys-dark);
  box-shadow: 0 12px 22px rgba(0, 51, 160, 0.22);
}

.button-primary:hover {
  background: #002579;
}

.button-secondary {
  color: #374151;
  background: white;
  border: 2px solid var(--line);
}

.button-secondary:hover {
  color: var(--kokys-light);
  border-color: var(--kokys-light);
}

.button-yellow {
  color: var(--kokys-dark);
  background: var(--kokys-yellow);
  box-shadow: 0 10px 20px rgba(255, 199, 44, 0.24);
}

.button-yellow:hover {
  color: #fff;
  background: var(--kokys-dark);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 72px;
  background: linear-gradient(135deg, #fbfcff 0%, #edf2f8 100%);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 150px 0 80px;
  background: linear-gradient(135deg, #fbfcff 0%, #edf2f8 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(17, 24, 39, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 24, 39, 0.25) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 56px;
  align-items: center;
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: left;
}

.page-hero-content h1 {
  margin: 22px 0 18px;
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 950;
  line-height: 1.08;
}

.page-hero-content p:last-child {
  max-width: 640px;
  margin: 0;
  color: #5b6572;
  font-size: 1.12rem;
}

.eyebrow,
.section-kicker {
  width: fit-content;
  color: var(--kokys-dark);
  background: rgba(0, 163, 224, 0.1);
  border: 1px solid rgba(0, 163, 224, 0.18);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.85rem;
  font-weight: 800;
}

.section-kicker {
  margin: 0 auto 10px;
  color: var(--kokys-light);
  background: transparent;
  border: 0;
  padding: 0;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.contact-form h2,
.contact-info h2 {
  margin: 0;
  color: var(--ink);
  line-height: 1.08;
}

.hero h1 {
  max-width: 680px;
  margin-top: 22px;
  font-size: clamp(2.45rem, 7vw, 4.7rem);
  font-weight: 950;
}

.hero h1 span {
  color: var(--kokys-light);
}

.hero-description {
  max-width: 560px;
  margin: 24px 0 30px;
  color: #5b6572;
  font-size: 1.12rem;
}

.hero-actions {
  gap: 14px;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
}

.hero-media::before {
  content: "";
  position: absolute;
  inset: -24px;
  z-index: -1;
  background: rgba(255, 199, 44, 0.23);
  border-radius: 999px;
  filter: blur(42px);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 5px solid white;
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.floating-badge {
  position: absolute;
  left: -18px;
  bottom: -22px;
  gap: 14px;
  padding: 14px 18px;
  color: var(--ink);
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.floating-badge span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #16a34a;
  background: #dcfce7;
  border-radius: 50%;
}

.floating-badge small,
.floating-badge strong {
  display: block;
}

.floating-badge small {
  color: var(--muted);
  font-weight: 700;
}

.stats {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 70px;
  padding: 28px;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stats article {
  min-width: 0;
  padding: 4px 16px;
  text-align: center;
  border-left: 1px solid var(--line);
}

.stats article:first-child {
  border-left: 0;
}

.stats strong {
  display: block;
  color: var(--kokys-dark);
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  font-weight: 950;
  line-height: 1;
}

.stats article:nth-child(even) strong {
  color: var(--kokys-light);
}

.stats svg {
  width: 34px;
  height: 34px;
  color: var(--kokys-yellow);
  fill: currentColor;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 88px 0;
  background: var(--soft);
}

.section-white {
  background: white;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section h2,
.contact-form h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 950;
}

.section-heading > p:last-child {
  margin: 16px 0 0;
  font-size: 1.08rem;
}

.section-row {
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-row .section-kicker {
  margin: 0 0 10px;
}

.section-row h2 {
  margin: 0;
}

.text-link {
  gap: 6px;
  color: var(--kokys-dark);
  font-weight: 850;
}

.text-link svg {
  width: 17px;
}

.feature-grid,
.service-grid,
.project-grid,
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.gallery-grid {
  grid-auto-flow: dense;
  grid-auto-rows: 230px;
}

.gallery-card {
  position: relative;
  min-height: 230px;
  margin: 0;
  overflow: hidden;
  background: #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.gallery-open {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

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

.gallery-card-tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 32px;
  pointer-events: none;
  visibility: hidden;
}

.gallery-lightbox.is-open {
  pointer-events: auto;
  visibility: visible;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(11, 18, 32, 0.88);
  opacity: 0;
  transition: opacity 180ms ease;
}

.gallery-lightbox.is-open .gallery-lightbox-backdrop {
  opacity: 1;
}

.gallery-lightbox-dialog {
  position: relative;
  z-index: 2;
  width: min(100%, 1180px);
  height: min(82vh, 760px);
  display: grid;
  place-items: center;
}

.gallery-lightbox-dialog img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

.gallery-lightbox-close,
.gallery-lightbox-arrow {
  position: absolute;
  display: grid;
  place-items: center;
  border: 0;
  color: white;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: background 160ms ease, transform 160ms ease;
}

.gallery-lightbox-close:hover,
.gallery-lightbox-arrow:hover {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-1px);
}

.gallery-lightbox-close {
  top: -4px;
  right: -4px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
}

.gallery-lightbox-arrow {
  top: 50%;
  width: 54px;
  height: 54px;
  border-radius: 999px;
  transform: translateY(-50%);
}

.gallery-lightbox-arrow:hover {
  transform: translateY(calc(-50% - 1px));
}

.gallery-lightbox-prev {
  left: -76px;
}

.gallery-lightbox-next {
  right: -76px;
}

.gallery-lightbox-close svg,
.gallery-lightbox-arrow svg {
  width: 26px;
  height: 26px;
  stroke-width: 2.4;
}

.feature-card,
.service-card,
.project-card {
  background: white;
  border: 1px solid #edf0f4;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.feature-card:hover,
.service-card:hover,
.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-card {
  padding: 30px;
  background: #f9fafb;
}

.card-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.icon-dark {
  color: var(--kokys-dark);
}

.icon-light {
  color: var(--kokys-light);
}

.icon-yellow {
  color: #d89c00;
}

.feature-card h3,
.service-card h3,
.cta-card h3,
.project-card h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 1.25rem;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
}

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

.service-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -36px;
  right: -36px;
  width: 118px;
  height: 118px;
  background: #eaf6ff;
  border-radius: 0 0 0 100%;
  transition: transform 0.2s ease;
}

.service-card:hover::after {
  transform: scale(1.14);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
}

img.service-icon {
  object-fit: contain;
}

.service-icon.dark {
  color: var(--kokys-dark);
}

.service-icon.light {
  color: var(--kokys-light);
}

.service-icon.yellow {
  color: #d89c00;
}

.service-icon.gray {
  color: #4b5563;
}

.service-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 28px;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.45em;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: inset 0 0 0 4px white;
}

.cta-card {
  display: flex;
  min-height: 300px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: #dbeafe;
  text-align: center;
  background: linear-gradient(145deg, var(--kokys-dark), #001d5c);
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.cta-card h3 {
  color: white;
  font-size: 1.55rem;
}

.cta-card .button {
  width: 100%;
  margin-top: 10px;
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.project-card div {
  padding: 24px;
}

.project-card span {
  color: var(--kokys-light);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.project-card p {
  margin: 12px 0 0;
  padding: 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 0.95rem;
}

.project-card strong {
  color: var(--ink);
}

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

.accordion-list {
  display: grid;
  gap: 44px;
}

.faq-category-group {
  display: grid;
  gap: 14px;
}

.faq-category {
  margin: 0 0 4px;
  color: var(--kokys-dark);
  font-size: 1.25rem;
}

.accordion-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
}

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  color: var(--ink);
  background: white;
  border: 0;
  font-weight: 850;
  text-align: left;
  cursor: pointer;
}

.accordion-btn svg {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  transition: transform 0.25s ease;
}

.accordion-btn.is-open svg {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  color: var(--text);
  transition: max-height 0.28s ease;
}

.accordion-content p {
  margin: 0;
  padding: 0 22px 20px;
}

.faq-more {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  background: var(--kokys-dark);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.contact-form,
.contact-info {
  padding: clamp(28px, 6vw, 56px);
}

.contact-form {
  background: white;
}

.contact-form p {
  margin: 12px 0 30px;
}

form {
  display: grid;
  gap: 14px;
}

.form-alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 800;
}

.form-alert-success {
  color: #166534;
  background: #dcfce7;
}

.form-alert-error {
  color: #991b1b;
  background: #fee2e2;
}

label {
  color: #374151;
  font-size: 0.92rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--ink);
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: 0;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--kokys-light);
  box-shadow: 0 0 0 4px rgba(0, 163, 224, 0.12);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.full-width {
  width: 100%;
  border-radius: 8px;
  margin-top: 8px;
}

.contact-info {
  position: relative;
  overflow: hidden;
  color: white;
}

.contact-info::before,
.contact-info::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.contact-info::before {
  width: 240px;
  height: 240px;
  top: -84px;
  right: -84px;
  background: rgba(255, 255, 255, 0.06);
}

.contact-info::after {
  width: 160px;
  height: 160px;
  left: -54px;
  bottom: -54px;
  background: rgba(0, 163, 224, 0.22);
}

.contact-info > * {
  position: relative;
  z-index: 1;
}

.contact-info h2 {
  color: white;
  font-size: 1.65rem;
}

.contact-list {
  display: grid;
  gap: 24px;
  margin-top: 32px;
}

.contact-list div {
  align-items: flex-start;
  gap: 16px;
}

.contact-list span,
.social-link {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  color: var(--kokys-dark);
  background: #ffc72c;
  border-radius: 50%;
}

.contact-list svg {
  width: 24px;
  height: 24px;
}

.contact-list p {
  margin: 0;
}

.contact-list small,
.contact-list strong {
  display: block;
}

.contact-list small {
  color: #bfdbfe;
}

.contact-list strong {
  color: white;
  font-size: 1.08rem;
  word-break: break-word;
}

.social-link {
  width: fit-content;
  min-height: 48px;
  grid-auto-flow: column;
  gap: 0px;
  padding: 0 16px;
  color: var(--kokys-dark);
  font-weight: 750;
  border-radius: 999px;
  transition:
    background 0.2s ease,
    color 0.2s ease;
}

.social-link:hover {
  color: var(--kokys-dark);
  background: var(--kokys-yellow);
}

.site-footer {
  padding: 46px 0 22px;
  color: #9ca3af;
  background: #111827;
  border-top: 1px solid #1f2937;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr));
  align-items: start;
  gap: 36px;
}

.footer-brand-block {
  display: grid;
  gap: 18px;
}

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

.footer-brand img {
  width: auto;
  height: 180px;
  object-fit: contain;
}

.site-footer p {
  margin: 0;
}

.footer-brand-block p {
  max-width: 300px;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 6px;
  color: white;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.footer-column a,
.footer-contact p {
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 700;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer-column a:hover {
  color: var(--kokys-yellow);
  transform: translateX(3px);
}

.footer-contact a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow-wrap: anywhere;
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--kokys-yellow);
  flex: 0 0 auto;
}

.footer-contact p {
  color: #cbd5e1;
  font-weight: 700;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #9ca3af;
  font-size: 0.95rem;
  text-align: center;
}

.footer-link {
  color: white;
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--kokys-yellow);
}

.whatsapp-button {
  position: fixed;
  padding: 15px;
  right: 30px;
  bottom: 30px;
  z-index: 60;
  width: 80px;
  height: 80px;
  display: grid;
  place-items: center;
  color: white;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 16px 32px rgba(34, 197, 94, 0.35);
  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

.whatsapp-button:hover {
  transform: scale(1.08);
  background: #16a34a;
}

@media (max-width: 920px) {
  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: grid;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 16px 18px;
    background: white;
    border-top: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.12);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
    border-radius: 8px;
  }

  .nav-links .button {
    margin-top: 8px;
  }

  .hero,
  .page-hero {
    padding-top: 112px;
  }

  .hero-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 620px;
    margin: 0 auto;
  }

  .stats,
  .feature-grid,
  .service-grid,
  .project-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery-lightbox-dialog {
    width: min(100%, 860px);
  }

  .gallery-lightbox-prev {
    left: 14px;
  }

  .gallery-lightbox-next {
    right: 14px;
  }

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

@media (max-width: 640px) {
  .wrapper,
  .narrow {
    width: min(100% - 40px, 1120px);
  }

  .brand-text strong {
    font-size: 0.86rem;
  }

  .brand-text span {
    font-size: 1.12rem;
  }

  .hero,
  .page-hero {
    padding: 104px 0 54px;
  }

  .hero-grid {
    gap: 34px;
  }

  .hero-actions,
  .hero-actions .button {
    width: 100%;
  }

  .floating-badge {
    left: 12px;
    right: 12px;
    bottom: -28px;
  }

  .stats {
    grid-template-columns: 1fr 1fr;
    gap: 18px 0;
    margin-top: 58px;
    padding: 22px 10px;
  }

  .stats article {
    border-left: 0;
  }

  .section {
    padding: 64px 0;
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .feature-grid,
  .service-grid,
  .project-grid,
  .gallery-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-auto-rows: 220px;
  }

  .gallery-card-large,
  .gallery-card-wide,
  .gallery-card-tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-lightbox {
    padding: 18px;
  }

  .gallery-lightbox-dialog {
    height: min(78vh, 640px);
  }

  .gallery-lightbox-close {
    top: -52px;
    right: 0;
  }

  .gallery-lightbox-arrow {
    width: 46px;
    height: 46px;
  }

  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
  }

  .footer-brand-block {
    grid-column: 1 / -1;
    gap: 10px;
  }

  .footer-brand img {
    height: 96px;
  }

  .footer-column {
    justify-items: start;
  }

  .footer-contact {
    display: none;
  }

  .site-footer {
    padding: 30px 0 18px;
  }

  .footer-bottom {
    margin-top: 22px;
  }

  .contact-panel {
    border-radius: 16px;
  }

  .whatsapp-button {
    width: 80px;
    height: 80px;
    right: 26px;
    bottom: 26px;
  }
}
