/* ===== Maximo – სამშენებლო კომპანია ===== */
@font-face {
  font-family: "Sanet";
  src: url("/assets/fonts/sanet.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "YuGothM";
  src: url("/assets/fonts/YuGothM.ttc") format("truetype"),
       url("../assets/fonts/YuGothM.ttc") format("truetype"),
       url("/assets/fonts/YuGothM.ttf") format("truetype"),
       url("../assets/fonts/YuGothM.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #3F3F3F;
  --accent: #FFD400;
  --accent-hover: #E5BF00;
  --dark: #0F0F0F;
  --bg-light: #F5F6F7;
  --surface: #FFFFFF;
  --text-muted: #6B7280;
  --accent-teal: #2F6B73;
  --border: #E5E7EB;
  --shadow: 0 4px 20px rgba(15, 15, 15, 0.06);
  --shadow-hover: 0 12px 40px rgba(15, 15, 15, 0.1);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --section-padding: 2.5rem 0;
  --container-max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html[lang="ka"] { font-family: "Sanet", sans-serif !important; }
html[lang="en"] { font-family: "YuGothM", "Yu Gothic Medium", sans-serif !important; }
body {
  margin: 0;
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: var(--primary);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul { list-style: none; margin: 0; padding: 0; }

.container { max-width: var(--container-max); margin: 0 auto; padding: 0 1.5rem; }

/* ===== 1. Navbar ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow); }

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo { display: inline-flex; align-items: center; }
.logo .logo-img { display: block; height: 52px; width: auto; max-width: 200px; object-fit: contain; }
.logo .logo-text { display: none; }
.logo:not(:has(.logo-img)) .logo-text { display: inline; }
.logo-text { font-weight: 700; font-size: 1.5rem; color: var(--dark); }
.logo:hover .logo-text { color: var(--accent); }
.logo-footer { display: inline-block; margin-bottom: 0.5rem; }
.logo-footer .logo-img { height: 52px; width: auto; max-width: 180px; }
.footer-brand .logo-text { display: none; }
.footer-brand .logo-footer + .logo-text { display: none; }

.nav-menu ul { display: flex; gap: 2rem; }
.nav-menu a { font-weight: 500; color: var(--primary); }
.nav-menu a:hover { color: var(--accent); }

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.5rem;
}
.lang-switcher .lang-option {
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.lang-switcher .lang-option:hover { color: var(--primary); }
.lang-switcher .lang-option.active { color: var(--accent); background: rgba(255, 212, 0, 0.15); }
.lang-switcher .lang-sep { opacity: 0.5; user-select: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.btn-primary {
  background: var(--accent);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 212, 0, 0.25);
}
.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.8);
}
.btn-secondary:hover { background: rgba(255, 255, 255, 0.15); border-color: #fff; }
.btn-nav { padding: 0.6rem 1.25rem; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--dark); }

/* ===== 2. Hero ===== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.7) 0%, rgba(15, 15, 15, 0.5) 50%, rgba(15, 15, 15, 0.75) 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding: 2rem 1.5rem; }
.hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.hero-sub { font-size: 1.1rem; color: rgba(255, 255, 255, 0.9); margin: 0 0 2rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}
.hero-scroll a {
  display: block;
  position: relative;
  width: 32px;
  height: 32px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: bounce 2s infinite;
}
.hero-scroll a::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(8px); }
  60% { transform: translateX(-50%) translateY(4px); }
}

/* ===== 3. Section Page Hero ===== */
.page-hero {
  position: relative;
  min-height: 45vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 15, 15, 0.65) 0%, rgba(15, 15, 15, 0.5) 100%);
}
.page-hero-content { position: relative; z-index: 1; padding: 2rem 1.5rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; color: #fff; margin: 0; }
.page-hero .hero-location { font-size: 0.95rem; color: var(--accent); margin-top: 0.5rem; }

/* ===== 4. Sections ===== */
.section { padding: var(--section-padding); background: var(--surface); }
.section:nth-of-type(even) { background: var(--bg-light); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--primary);
  margin: 0 0 0.5rem;
  text-align: center;
}
.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  margin: 0 0 1.5rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== 5. Services Carousel ===== */
.services-carousel-wrap { position: relative; margin: 0 -0.75rem; }
.services-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 1.5rem;
  padding: 0.5rem 0.75rem;
  scrollbar-width: none;
}
.services-carousel::-webkit-scrollbar { display: none; }

.service-card {
  flex: 0 0 calc(25% - 1.125rem);
  min-width: calc(25% - 1.125rem);
  scroll-snap-align: start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: transparent;
}
.service-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}
.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.service-card:hover .service-card-image img { transform: scale(1.05); }
.service-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; color: var(--primary); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1rem; line-height: 1.5; flex-grow: 1; }
.service-card .card-link {
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.service-card .card-link:hover { color: var(--accent-teal); }

.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}
.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--primary);
}
.carousel-btn:hover { border-color: var(--accent); color: var(--accent); background: rgba(255, 212, 0, 0.08); }
.carousel-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition);
}
.carousel-dot.active { background: var(--accent); }
.carousel-dot:hover:not(.active) { background: var(--text-muted); }

@media (min-width: 769px) and (max-width: 1024px) {
  .service-card { flex: 0 0 calc(50% - 0.75rem); min-width: calc(50% - 0.75rem); }
}
@media (max-width: 768px) {
  .service-card { flex: 0 0 calc(100% - 1.5rem); min-width: calc(100% - 1.5rem); }
}

/* ===== 6. Projects ===== */
.projects { background: var(--bg-light); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.project-card {
  background: var(--surface);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.project-card a {
  display: block;
  color: inherit;
  text-decoration: none;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.project-card:hover .project-image img { transform: scale(1.05); }

.project-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-teal);
  color: #fff;
  border-radius: 6px;
}

.project-content { padding: 1.5rem; }
.project-location { font-size: 0.8rem; color: var(--accent); font-weight: 500; display: block; margin-bottom: 0.35rem; }
.project-content h3 { font-size: 1.1rem; font-weight: 600; margin: 0 0 0.5rem; }
.project-content p { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 1rem; }
.project-link { font-weight: 600; color: var(--accent); }
.project-link:hover { color: var(--accent-teal); }

/* ===== 7. Why Us (1 row of 4 compact cards) ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--surface);
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.why-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}
.why-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
}
.why-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.why-card:hover .why-card-image img { transform: scale(1.03); }
.why-card-body { padding: 0.75rem 0.5rem 1rem; text-align: center; }
.why-card h3 { font-size: 0.95rem; font-weight: 600; margin: 0 0 0.35rem; }
.why-card p { color: var(--text-muted); font-size: 0.8rem; margin: 0; line-height: 1.35; }

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ===== 8. Partners ===== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}
.partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: 8px;
  transition: filter 0.3s ease, transform var(--transition);
}
.partner-logo img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.partner-logo:hover img { filter: grayscale(0%); }
.partner-logo:hover { transform: scale(1.02); }
.partner-logo:empty, .partner-logo .fallback-text { color: var(--text-muted); font-size: 0.75rem; }

@media (max-width: 1024px) {
  .partners-grid { grid-template-columns: repeat(5, 1fr); gap: 0.75rem; }
  .partner-logo { height: 48px; }
}
@media (max-width: 600px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .partner-logo { height: 44px; }
}

/* ===== 9. Contact CTA ===== */
/* ===== 10. Footer ===== */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}
.footer-brand .logo-text { color: #fff; }
.footer-brand p { margin: 1rem 0 0; font-size: 0.95rem; max-width: 280px; }
.footer h4 { font-size: 0.95rem; font-weight: 600; margin: 0 0 1rem; color: #fff; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a:hover { color: var(--accent); }
.footer-link-with-icon { display: inline-flex; align-items: center; gap: 10px; color: inherit; transition: color var(--transition); }
.footer-link-with-icon:hover { color: var(--accent); }
.footer-link-icon { font-size: 0.9rem; opacity: 0.9; flex-shrink: 0; }
.footer-contact-item { margin-bottom: 1rem; }
.footer-contact-item:last-child { margin-bottom: 0; }
.footer-contact-label { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 0.35rem; padding-bottom: 0.2rem; border-bottom: 1px solid rgba(255,255,255,0.2); }
.footer-contact p { margin: 0 0 0.5rem; }
.footer-contact-line { display: flex; align-items: center; gap: 10px; margin: 0; }
.footer-contact-with-icon { display: inline-flex; align-items: center; gap: 10px; color: inherit; transition: color var(--transition); }
.footer-contact-with-icon:hover { color: var(--accent); }
.footer-contact-icon { font-size: 0.9rem; opacity: 0.9; flex-shrink: 0; }
.footer-contact-text { color: inherit; }
.footer-contact a:hover { color: var(--accent); }
.footer-email { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.footer-map-title { display: inline-flex; align-items: center; gap: 10px; }
.footer-map-title-icon { font-size: 0.9rem; opacity: 0.9; flex-shrink: 0; }

.back-to-top { position: fixed; bottom: 1.5rem; right: 1.5rem; width: 52px; height: 52px; display: flex; align-items: center; justify-content: center; background: var(--accent); color: var(--dark); border: none; border-radius: 8px; box-shadow: 0 4px 14px rgba(0,0,0,0.25); text-decoration: none; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease; z-index: 1000; }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #ffe033; color: var(--dark); }
.back-to-top i { font-size: 1.25rem; }
@media (max-width: 768px) { .back-to-top { bottom: 1rem; right: 1rem; width: 48px; height: 48px; } }
.footer-brand .social-links,
.footer-brand-social.social-links { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1rem; }
.footer-brand .social-links a,
.footer-brand-social.social-links a {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  color: #fff;
  transition: background var(--transition), color var(--transition);
}
.footer-brand .social-links a svg,
.footer-brand-social.social-links a svg { display: block; }
.footer-brand .social-links a:hover,
.footer-brand-social.social-links a:hover { background: var(--accent); color: var(--dark); }
.footer-map-wrap { margin-top: 0.5rem; border-radius: 8px; overflow: hidden; min-height: 200px; }
.footer-map-wrap iframe { display: block; width: 100%; height: 250px; }

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
  text-align: center;
}
.footer-bottom p { margin: 0; font-size: 0.9rem; color: rgba(255, 255, 255, 0.6); }

/* ===== 11. Page content (service/project detail) ===== */
.page-content { padding: 4rem 0; }
.about-page .about-section { margin-bottom: 2.5rem; }
.about-page .about-section h2 { font-size: 1.5rem; margin: 0 0 1rem; color: var(--primary); }
.about-page .about-section p { margin: 0; color: var(--text-muted); max-width: 72ch; }
.about-page .about-image-section { margin: 2rem 0; }
.about-page .about-image-wrap { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); max-width: 800px; }
.about-page .about-image-wrap img { width: 100%; height: auto; }
.about-page .about-cta { margin-top: 2.5rem; }
@media (max-width: 768px) { .about-page .about-section p { max-width: 100%; } }
.page-intro { max-width: 720px; margin: 0 auto 3rem; font-size: 1.1rem; line-height: 1.7; color: var(--primary); }
.bullet-list { max-width: 640px; margin: 0 auto 3rem; }
.bullet-list li {
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  position: relative;
}
.bullet-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}
.offer-section, .experience-section { margin-bottom: 3rem; }
.offer-section h3, .experience-section h3 { font-size: 1.35rem; margin: 0 0 1rem; color: var(--primary); }
.offer-section ul, .experience-section ul { padding-left: 1.25rem; }
.offer-section li, .experience-section li { margin-bottom: 0.5rem; }

/* Project gallery */
.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.project-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  transition: opacity var(--transition);
}
.project-gallery img:hover { opacity: 0.9; }

/* გალერეა – დიდ ფორმატში გახსნა (lightbox) */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
}
.gallery-lightbox.is-open { display: flex; }
.gallery-lightbox-content {
  max-width: 95vw;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  cursor: default;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}
.gallery-lightbox-content:focus { outline: none; }
.gallery-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.gallery-lightbox-close:hover { background: rgba(255, 255, 255, 0.25); }

.gallery-lightbox-prev,
.gallery-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  z-index: 1;
}
.gallery-lightbox-prev:hover:not(:disabled),
.gallery-lightbox-next:hover:not(:disabled) { background: rgba(255, 255, 255, 0.25); }
.gallery-lightbox-prev:disabled,
.gallery-lightbox-next:disabled { opacity: 0.35; cursor: not-allowed; }
.gallery-lightbox-prev { left: 1rem; }
.gallery-lightbox-next { right: 1rem; }

@media (max-width: 768px) {
  .project-gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery-lightbox-prev { left: 0.5rem; }
  .gallery-lightbox-next { right: 0.5rem; }
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.project-fact {
  padding: 1rem;
  background: var(--bg-light);
  border-radius: 8px;
}
.project-fact strong { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.25rem; }
.project-fact span { font-weight: 600; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-menu, .lang-switcher, .btn-nav { display: none; }
  .nav-toggle { display: flex; }
  .nav-menu.open {
    display: block;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
  }
  .nav-menu.open ul { flex-direction: column; gap: 0; }
  .nav-menu.open li { border-bottom: 1px solid var(--border); }
  .nav-menu.open a { display: block; padding: 0.75rem; }
  .nav-menu.open ~ .lang-switcher { display: flex; padding: 0.75rem 0; }
  .nav-menu.open ~ .btn-nav { display: inline-block; margin: 0.75rem 0; }

  .hero { min-height: 75vh; }
  .section { padding: 2rem 0; }
  .project-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
  .footer-brand p { max-width: none; }
  .footer-brand .social-links,
  .footer-brand-social.social-links { justify-content: center; }
  .footer-map-wrap iframe { height: 220px; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .contact-info { flex-direction: column; }
}
