/* ============================================
   ALFA SOLD – Main Stylesheet
   Color Palette (from logo vector):
   --red:      #D21F26  (ALFA + A symbol)
   --blue:     #1E2B6B  (SOLD + S symbol)
   --dark:     #0e0e18  (bg)
   --dark-2:   #16162a  (section alt bg)
   --gray:     #8a8aaa
   --white:    #FFFFFF
============================================ */

/* ---- CSS Reset & Variables ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red: #D21F26;
  --red-dark: #a81218;
  --blue: #1E2B6B;
  --blue-light: #2d3e96;
  --dark: #0e0e18;
  --dark-2: #16162a;
  --dark-3: #1f1f38;
  --gray: #8a8aaa;
  --gray-light: #c0c0d8;
  --white: #ffffff;
  --font-main: 'Inter', sans-serif;
  --font-hero: 'Barlow Condensed', sans-serif;
  --transition: 0.3s ease;
  --radius: 12px;
  --container: 1200px;
  --header-h: 72px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-main);
  background: var(--dark);
  color: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

address {
  font-style: normal;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--dark);
}

::-webkit-scrollbar-thumb {
  background: var(--blue);
  border-radius: 3px;
}

/* ---- Container ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 34, 34, 0.35);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ---- HEADER ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(14, 14, 24, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 100%;
}

@media (min-width: 769px) {
  .nav {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
  }
}

/* Logo */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

/* Desktop Alignment Logic */
@media (min-width: 769px) {
  .nav__logo {
    justify-self: start;
    display: flex;
    align-items: center;
  }

  .nav__menu {
    justify-self: center;
    display: flex;
    justify-content: center;
  }

  .lang-selector {
    justify-self: end;
  }
}

.logo-img {
  height: 40px !important;
  width: auto !important;
  max-width: 150px;
  flex-shrink: 0;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-hero);
  font-size: 1.5rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  line-height: 1;
}

.logo-alfa {
  color: #D21F26;
}

.logo-sold {
  color: #ffffff;
}

/* Nav list */
.nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav__link {
  position: relative;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  border-radius: 1px;
}

.nav__link:hover {
  color: var(--white);
}

.nav__link:hover::after {
  transform: scaleX(1);
}

.nav__link.active {
  color: var(--white);
}

.nav__link.active::after {
  transform: scaleX(1);
}

.nav__link--cta {
  background: transparent;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 8px 14px;
  border-radius: 8px;
}

.nav__link--cta:hover {
  color: var(--white) !important;
  background: rgba(255, 255, 255, 0.05);
  transform: none;
  box-shadow: none;
}


/* Language Selector Styles (Global) */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50px;
  padding: 3px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 50px;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lang-btn.active,
.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.lang-flag {
  width: 18px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all var(--transition);
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---- Mobile Call Button ---- */
.mobile-call-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: var(--red);
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.mobile-call-btn svg {
  width: 20px;
  height: 20px;
}

.mobile-call-btn:hover {
  background: var(--red-dark);
  transform: scale(1.08);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__video-wrap {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(14, 14, 24, 0.65) 0%,
      rgba(14, 14, 24, 0.4) 50%,
      rgba(14, 14, 24, 0.85) 100%);
}

/* Spark canvas */
.hero__sparks {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 16px;
}

.hero__tagline {
  font-family: var(--font-hero);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 12px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.2s forwards;
}

.hero__title {
  font-family: var(--font-hero);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.9;
  letter-spacing: -2px;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.4s forwards;
}

.hero__title--accent {
  color: var(--red);
}

.hero__sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: rgba(255, 255, 255, 0.8);
  max-width: 560px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.6s forwards;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeInUp 0.8s 0.8s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
  animation: bounce 2s infinite;
}

.hero__scroll svg {
  width: 32px;
  height: 32px;
}

.hero__scroll:hover {
  color: var(--white);
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 64px;
}

.section__label {
  display: inline-block;
  font-family: var(--font-hero);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--red);
  background: rgba(229, 34, 34, 0.1);
  border: 1px solid rgba(229, 34, 34, 0.25);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section__title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.05rem;
  color: var(--gray-light);
  max-width: 560px;
  margin: 0 auto;
}

/* ---- ABOUT ---- */
.about {
  background: var(--dark-2);
}

.about__description {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 64px;
}

.about__description p {
  font-size: 1.1rem;
  color: var(--gray-light);
  line-height: 1.8;
  margin-bottom: 24px;
}

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

.about__badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 992px) {
  .about__mvv {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .about__description {
    margin-bottom: 40px;
  }
}

.badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(44, 45, 156, 0.15);
  border: 1px solid rgba(44, 45, 156, 0.3);
  border-radius: 50px;
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all var(--transition);
}

.badge:hover {
  background: rgba(44, 45, 156, 0.3);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.badge__icon {
  font-size: 1.2rem;
}

.mvv-card {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
  padding: 24px;
  transition: all var(--transition);
}

.mvv-card:hover {
  border-color: var(--blue);
  border-left-color: var(--red);
  background: rgba(44, 45, 156, 0.1);
  transform: translateX(4px);
}

.mvv-card__icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.mvv-card h3 {
  font-family: var(--font-hero);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--white);
}

.mvv-card p {
  font-size: 0.92rem;
  color: var(--gray-light);
  line-height: 1.6;
}

/* ---- SERVICES ---- */
.services {
  background: var(--white);
}

.services .section__title {
  color: var(--blue);
}

.services .section__desc {
  color: var(--gray);
}

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

.service-card {
  background: var(--gray-light);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--radius);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--blue));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(44, 45, 156, 0.3);
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(44, 45, 156, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-hero);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  color: var(--blue);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ---- PORTFOLIO ---- */
.portfolio {
  background: var(--dark-2);
}

.portfolio__viewer {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.portfolio__pdf-wrap {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--dark-3);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.portfolio__iframe {
  width: 100%;
  height: 700px;
  border: none;
  display: block;
}

.portfolio__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--dark-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__top {
  padding: 80px 0 60px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.8fr;
  gap: 64px;
  align-items: start;
}

/* Brand */
.footer__logo {
  margin-bottom: 16px;
}

.footer__tagline {
  color: var(--gray);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 220px;
}

.footer__social {
  display: flex;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  color: var(--gray-light);
  transition: all var(--transition);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.social-link:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-3px);
}

/* Info Column */
.footer__info h3,
.footer__form-wrap h3 {
  font-family: var(--font-hero);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
  color: var(--white);
  position: relative;
  padding-bottom: 12px;
}

.footer__info h3::after,
.footer__form-wrap h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--red);
}

.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-light);
}

.footer__contact-list li svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--red);
  margin-top: 2px;
}

.footer__contact-list a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-light);
  letter-spacing: 0.3px;
}

.form-control {
  background: var(--dark-3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-main);
  font-size: 0.9rem;
  padding: 12px 16px;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 45, 156, 0.2);
}

.form-control::placeholder {
  color: var(--gray);
}

.form-control option {
  background: var(--dark-2);
}

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

.form-control--file {
  cursor: pointer;
  padding: 10px 16px;
}

.form-control--file::file-selector-button {
  background: var(--blue);
  color: var(--white);
  border: none;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.82rem;
  margin-right: 12px;
  transition: background var(--transition);
}

.form-control--file::file-selector-button:hover {
  background: var(--blue-light);
}

.form-feedback {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 16px;
  border-radius: 8px;
  display: none;
}

.form-feedback.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}

.form-feedback.error {
  display: block;
  background: rgba(229, 34, 34, 0.15);
  border: 1px solid rgba(229, 34, 34, 0.3);
  color: #f87171;
}

/* Footer Bottom */
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
}

.footer__bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: var(--gray);
}

.footer__credits {
  color: var(--gray) !important;
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 900;
  width: 54px;
  height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.5);
}

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 46px;
  height: 46px;
  background: var(--blue);
  border: none;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(44, 45, 156, 0.4);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

.back-to-top:hover {
  background: var(--blue-light);
  transform: translateY(-2px);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(8px);
  }
}

/* Intersection Observer scroll animations */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Gallery Actions */
.gallery__actions {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}


/* Stagger delays */
.reveal:nth-child(1) {
  transition-delay: 0.0s;
}

.reveal:nth-child(2) {
  transition-delay: 0.1s;
}

.reveal:nth-child(3) {
  transition-delay: 0.2s;
}

.reveal:nth-child(4) {
  transition-delay: 0.3s;
}

.reveal:nth-child(5) {
  transition-delay: 0.4s;
}

.reveal:nth-child(6) {
  transition-delay: 0.5s;
}

/* ============================================
   RESPONSIVE – TABLET
============================================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__form-wrap {
    grid-column: 1 / -1;
  }
}

/* ============================================
   RESPONSIVE – TABLET
============================================ */
@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .gallery__item:first-child {
    grid-column: span 2;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer__form-wrap {
    grid-column: 1 / -1;
  }


}

/* ============================================
   RESPONSIVE – MOBILE
============================================ */
@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav__list {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(14, 14, 24, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav__list.open,
  .nav__menu.open .nav__list {
    transform: translateY(0);
  }

  .nav__link {
    display: block;
    padding: 14px 24px;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav__link::after {
    display: none;
  }

  .nav__link--cta {
    margin: 12px 24px 4px;
    text-align: center;
    padding: 12px 24px;
    border-radius: 50px;
  }

  .nav__toggle {
    display: flex;
  }

  .lang-selector {
    margin-left: auto;
    background: none;
    padding: 0;
    gap: 2px;
  }

  .lang-btn {
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  /* Show mobile call button */
  .mobile-call-btn {
    display: flex;
  }

  .section {
    padding: 72px 0;
  }

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

  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery__item:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }



  .footer__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portfolio__iframe {
    height: 480px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .footer__bottom .container {
    flex-direction: column;
    text-align: center;
  }

  .lightbox__prev {
    left: -44px;
  }

  .lightbox__next {
    right: -44px;
  }
}



/* ============================================
   GALLERY (Global Restored)
============================================ */
.gallery {
  background: var(--dark);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  cursor: pointer;
  background: var(--dark-3);
}

.gallery__item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: unset;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
  display: block;
}

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

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(14, 14, 24, 0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery__overlay svg {
  width: 48px;
  height: 48px;
  color: var(--white);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}

/* ============================================
   LIGHTBOX (Global Restored)
============================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 0;
}

.lightbox__content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.lightbox__content img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
}

.lightbox__caption {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.lightbox__close {
  top: -52px;
  right: 0;
  width: 44px;
  height: 44px;
}

.lightbox__prev,
.lightbox__next {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
}

.lightbox__prev {
  left: -64px;
}

.lightbox__next {
  right: -64px;
}

.lightbox__close svg,
.lightbox__prev svg,
.lightbox__next svg {
  width: 22px;
  height: 22px;
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: var(--red);
  border-color: var(--red);
}

/* ============================================
   FOOTER – MAP & PHONE LINKS (Restored)
============================================ */
.footer__map {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.map-embed {
  display: block;
  width: 100%;
  height: 200px;
  border: none;
}

.footer__phone {
  color: var(--gray-light);
  transition: color var(--transition);
  display: inline-block;
  font-size: 0.9rem;
}

.footer__phone:hover {
  color: var(--white);
}

/* ============================================
   RESPONSIVE OVERRIDES
============================================ */
@media (max-width: 992px) {
  .counters__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .counter-item:nth-child(even) {
    border-right: none;
  }

  .counter-item:nth-child(1),
  .counter-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

@media (max-width: 580px) {
  .counters__grid {
    grid-template-columns: 1fr;
  }

  .counter-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 15px;
  }

  .counter-item:last-child {
    border-bottom: none;
  }

  .counter-num {
    font-size: 2.8rem;
  }

  .counter-label {
    font-size: 0.92rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .logo-text {
    display: none;
  }

  .gallery__grid {
    grid-template-columns: 1fr;
  }

  .gallery__item:first-child {
    grid-column: span 1;
  }

  .lightbox__prev,
  .lightbox__next {
    display: none;
  }
}