:root {
  --background: #070708;
  --background-soft: #111113;
  --surface: #1f1f23;
  --surface-2: #29292f;
  --surface-light: #f6f7f7;
  --text: rgba(255, 255, 255, 0.82);
  --text-soft: rgba(255, 255, 255, 0.64);
  --heading: #ffffff;
  --dark-text: #1b1d21;
  --muted: #656d76;
  --accent: #008870;
  --accent-2: #00b894;
  --warm: #d6a74a;
  --line: rgba(255, 255, 255, 0.12);
  --line-dark: rgba(20, 24, 30, 0.12);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  --radius: 8px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

body.lightbox-open {
  overflow: hidden;
}

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

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.section {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
}

.light-section {
  background: var(--surface-light);
  color: var(--dark-text);
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  transition: background 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled,
.site-header.menu-open {
  background: rgba(7, 7, 8, 0.94);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(14px);
}

.navbar {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--heading);
  font-family: "Montserrat", sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-menu a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--heading);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 6px auto;
  border-radius: 99px;
  background: var(--heading);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.hero {
  min-height: 100svh;
  padding: 140px 0 86px;
  display: grid;
  align-items: center;
  color: var(--text);
  background: var(--background);
}

.hero-background {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent 82%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 136, 112, 0.14), transparent 38%),
    linear-gradient(135deg, rgba(0, 184, 148, 0.14), transparent 44%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 42px;
  justify-items: center;
  text-align: center;
}

.hero .reveal {
  opacity: 1;
  transform: none;
}

.hero-content {
  max-width: 1000px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--heading);
  font-family: "Montserrat", sans-serif;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.55rem, 5.9vw, 5.95rem);
  font-weight: 800;
  letter-spacing: 0;
}

.hero-content p {
  max-width: 880px;
  margin: 26px auto 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1rem, 1.7vw, 1.18rem);
}

.hero-image-wrap {
  width: min(820px, 100%);
  margin: 6px auto 0;
}

.hero-image {
  position: relative;
  padding: clamp(12px, 2vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow);
}

.hero-image::after {
  content: "";
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: -18px;
  height: 18px;
  border-radius: 0 0 50% 50%;
  background: rgba(0, 136, 112, 0.44);
  filter: blur(14px);
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: calc(var(--radius) - 2px);
  object-fit: contain;
}

.hero-stats {
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.stat-item {
  min-height: 144px;
  padding: 24px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(31, 31, 35, 0.78);
}

.stat-icon,
.service-icon,
.feature-icon,
.info-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--accent-2);
  background: rgba(0, 136, 112, 0.12);
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
}

.stat-icon svg,
.service-icon svg,
.feature-icon svg,
.info-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.stat-item h3 {
  color: var(--heading);
  font-size: 2.15rem;
  font-weight: 800;
}

.stat-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 600;
}

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

.description-title {
  display: block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-family: "Inter", sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title h2 {
  font-size: clamp(2.1rem, 3.8vw, 3.8rem);
  font-weight: 800;
}

.section-title p {
  margin: 16px auto 0;
  color: var(--text-soft);
  font-size: 1.02rem;
}

.light-section .section-title h2,
.light-section h3,
.light-section h4,
.contact-form h3 {
  color: var(--dark-text);
}

.light-section .section-title p {
  color: var(--muted);
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 64px;
  align-items: center;
}

.image-wrapper {
  position: relative;
}

.image-box {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.image-box img {
  width: 100%;
  height: auto;
}

.experience-box {
  position: absolute;
  right: 22px;
  bottom: 22px;
  min-width: 174px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--heading);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26);
}

.experience-box strong {
  font-family: "Montserrat", sans-serif;
  font-size: 2.2rem;
  line-height: 1;
}

.experience-box span {
  font-weight: 800;
  line-height: 1.18;
}

.about-content h2 {
  font-size: clamp(2rem, 3.3vw, 3.35rem);
}

.about-content .lead {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.04rem;
}

.features-list {
  display: grid;
  gap: 22px;
  margin-top: 34px;
}

.feature-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: start;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
}

.feature-item h3 {
  margin-bottom: 8px;
  font-size: 1.16rem;
}

.feature-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.66);
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: "Inter", sans-serif;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.btn-primary {
  color: var(--heading);
  background: var(--accent);
  box-shadow: 0 14px 34px rgba(0, 136, 112, 0.26);
}

.btn-primary:hover {
  background: #009b80;
}

.btn-outline {
  color: var(--heading);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.04);
}

.btn-outline:hover {
  border-color: var(--accent);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.project-card,
.contact-form,
.contact-info,
.consultation-cta {
  border-radius: var(--radius);
}

.service-card {
  min-height: 330px;
  padding: 34px;
  border: 1px solid var(--line-dark);
  background: #ffffff;
  box-shadow: 0 14px 40px rgba(16, 24, 40, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 136, 112, 0.34);
  box-shadow: 0 24px 70px rgba(16, 24, 40, 0.13);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  border-radius: var(--radius);
}

.service-number {
  display: block;
  margin-bottom: 14px;
  color: var(--accent);
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
}

.service-card h3 {
  min-height: 58px;
  font-size: 1.32rem;
}

.service-card p {
  margin: 16px 0 0;
  color: var(--muted);
}

.consultation-cta {
  width: min(900px, 100%);
  margin: 54px auto 0;
  padding: 32px;
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 30px;
  align-items: center;
  color: var(--text);
  background: var(--background-soft);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
}

.consultation-image {
  width: 170px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  border: 7px solid rgba(255, 255, 255, 0.08);
}

.consultation-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-copy h3 {
  color: var(--heading);
  font-size: 1.55rem;
}

.consultation-copy p {
  margin: 12px 0 22px;
  color: rgba(255, 255, 255, 0.7);
}

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

.project-card {
  overflow: hidden;
  background: #1d1d21;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  border-color: rgba(0, 184, 148, 0.52);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.project-image {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #111;
  isolation: isolate;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.project-card:hover .project-image img {
  filter: blur(3px) saturate(0.85) brightness(0.74);
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  background:
    linear-gradient(180deg, rgba(0, 136, 112, 0.32), rgba(0, 53, 46, 0.72)),
    rgba(0, 0, 0, 0.18);
  opacity: 0;
  transition: opacity 0.32s ease;
}

.project-card:hover .project-overlay,
.project-image:focus-visible .project-overlay {
  opacity: 1;
}

.zoom-button {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(24, 24, 29, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38);
  transform: scale(0.82);
  transition: transform 0.32s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease;
}

.project-card:hover .zoom-button,
.project-image:focus-visible .zoom-button {
  transform: scale(1);
}

.zoom-button svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.project-body {
  padding: 30px 22px 34px;
  text-align: center;
}

.project-body h3 {
  color: var(--accent-2);
  font-size: clamp(1.32rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.project-body p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1.02rem;
  font-weight: 700;
}

.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) 80px;
  align-items: center;
  justify-items: center;
  padding: 76px min(5vw, 80px);
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.portfolio-lightbox.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.portfolio-lightbox[hidden] {
  display: none;
}

.lightbox-panel {
  width: min(620px, 100%);
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 34px 120px rgba(0, 0, 0, 0.55);
  transform: translateY(16px) scale(0.96);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.portfolio-lightbox.open .lightbox-panel {
  transform: translateY(0) scale(1);
}

.lightbox-panel img {
  width: 100%;
  max-height: min(68vh, 760px);
  object-fit: contain;
  background: #101014;
}

.lightbox-panel figcaption {
  padding: 24px 28px 28px;
  color: #101014;
  background: #ffffff;
}

.lightbox-panel strong,
.lightbox-panel span {
  display: block;
}

.lightbox-panel strong {
  color: #101014;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.lightbox-panel span {
  margin-top: 6px;
  color: #6d737d;
  font-weight: 700;
}

.lightbox-close,
.lightbox-nav {
  border: 0;
  color: #ffffff;
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 30px;
  width: 52px;
  height: 52px;
  padding: 0;
  opacity: 0.76;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
  transform: rotate(90deg);
}

.lightbox-close span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 25px;
  height: 2px;
  background: currentColor;
}

.lightbox-close span:first-child {
  transform: rotate(45deg);
}

.lightbox-close span:last-child {
  transform: rotate(-45deg);
}

.lightbox-nav {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  opacity: 0.78;
  transition: opacity 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.lightbox-nav:hover {
  opacity: 1;
  background: rgba(0, 136, 112, 0.72);
  transform: scale(1.05);
}

.lightbox-nav svg {
  width: 36px;
  height: 36px;
  fill: currentColor;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: stretch;
}

.contact-info {
  padding: 34px;
  color: var(--heading);
  background: linear-gradient(145deg, #101211, #063b33);
}

.contact-info-header h3 {
  font-size: 1.65rem;
}

.contact-info-header p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.contact-cards {
  display: grid;
  gap: 16px;
  margin-top: 30px;
}

.info-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  color: var(--heading);
  background: rgba(255, 255, 255, 0.12);
}

.info-card h4 {
  margin-bottom: 4px;
  font-size: 1rem;
}

.info-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  word-break: break-word;
}

.info-card a {
  color: inherit;
}

.contact-form-panel {
  overflow: hidden;
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 60px rgba(16, 24, 40, 0.1);
}

.map-container {
  height: 260px;
  background: #d8dedc;
}

.contact-form {
  padding: 30px;
  background: #ffffff;
}

.contact-form h3 {
  font-size: 1.55rem;
}

.contact-form p {
  margin: 10px 0 22px;
  color: var(--muted);
}

.contact-form label {
  display: block;
  margin: 16px 0 7px;
  color: var(--dark-text);
  font-weight: 800;
  font-size: 0.9rem;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 13px 14px;
  color: var(--dark-text);
  background: #fbfcfc;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: rgba(0, 136, 112, 0.62);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 136, 112, 0.1);
}

textarea {
  resize: vertical;
}

.btn-submit {
  width: 100%;
  margin-top: 20px;
}

.btn-submit svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.quick-whatsapp {
  display: flex;
  justify-content: center;
  margin-top: 16px;
  color: var(--accent);
  font-weight: 800;
}

.whatsapp-float,
.scroll-top {
  position: fixed;
  z-index: 80;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
}

.whatsapp-float {
  right: 22px;
  bottom: 82px;
  background: #25d366;
  font-weight: 900;
}

.scroll-top {
  right: 22px;
  bottom: 22px;
  padding: 0;
  background: var(--accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.site-footer {
  padding: 28px 0;
  background: #050505;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.62);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--accent-2);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

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

@media (max-width: 1000px) {
  .section {
    padding: 78px 0;
  }

  .hero {
    padding-top: 126px;
  }

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

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

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 76px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(31, 31, 35, 0.98);
    box-shadow: var(--shadow);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 14px;
  }

  .nav-menu a::after {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .consultation-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .consultation-copy .btn {
    width: 100%;
  }

  .portfolio-lightbox {
    grid-template-columns: 1fr;
    padding: 72px 18px 32px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    width: 46px;
    height: 46px;
    transform: translateY(-50%);
  }

  .lightbox-nav:hover {
    transform: translateY(-50%) scale(1.05);
  }

  .lightbox-prev {
    left: 12px;
  }

  .lightbox-next {
    right: 12px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 640px) {
  .container,
  .navbar {
    width: min(100% - 28px, var(--max));
  }

  .navbar {
    min-height: 70px;
  }

  .logo {
    font-size: 1.12rem;
  }

  .nav-menu {
    top: 70px;
    left: 14px;
    right: 14px;
  }

  .hero {
    padding: 112px 0 70px;
  }

  h1 {
    font-size: 2.42rem;
  }

  .section-title {
    margin-bottom: 38px;
  }

  .services-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
    padding: 28px;
  }

  .service-card h3 {
    min-height: 0;
  }

  .feature-item,
  .info-card {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    align-items: stretch;
    flex-direction: column;
  }

  .cta-buttons .btn {
    width: 100%;
  }

  .experience-box {
    left: 16px;
    right: 16px;
    bottom: 16px;
    justify-content: center;
  }

  .contact-info,
  .contact-form,
  .consultation-cta {
    padding: 24px;
  }

  .map-container {
    height: 220px;
  }

  .footer-inner {
    justify-content: center;
    text-align: center;
  }
}
