/* ==========================================================================
   PAVICOSINS - SEGRIÀ, PAVIMENTS I FORMIGÓ
   Fitxer Principal d'Estils CSS
   Paleta: Negre, Blanc i Taronja Industrial
   ========================================================================== */

/* 1. RESET I VARIABLES GLOBALS */
:root {
  /* Colors Principals */
  --color-orange: #FF5E14;
  --color-orange-hover: #E54E05;
  --color-orange-dark: #C93F00;
  --color-orange-subtle: #FFF3EB;
  --color-orange-glow: rgba(255, 94, 20, 0.28);

  --color-black: #0B0D10;
  --color-dark-bg: #11141A;
  --color-dark-surface: #181C24;
  --color-dark-card: #202632;
  --color-dark-border: #2C3342;
  --color-dark-text: #F1F5F9;
  --color-dark-muted: #94A3B8;

  --color-white: #FFFFFF;
  --color-light-bg: #F8F9FA;
  --color-light-surface: #FFFFFF;
  --color-light-card: #FFFFFF;
  --color-light-border: #E2E8F0;
  --color-light-border-hover: #CBD5E1;
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-text-muted: #64748B;

  /* Tipografia */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Espaiat i Mides */
  --container-max: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transicions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Ombres */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 20px 35px -10px rgba(0, 0, 0, 0.12), 0 10px 15px -5px rgba(0, 0, 0, 0.05);
  --shadow-orange: 0 12px 28px -6px rgba(255, 94, 20, 0.4);
  --shadow-dark-card: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background-color: var(--color-light-bg);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 0;
}

/* Altes en mòbil per no tapar amb la barra flotant */
@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

ul, ol {
  list-style: none;
}

/* Estils de Contenidor General */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* 2. TIPOGRAFIA I ENCAPÇALAMENTS */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-black);
  letter-spacing: -0.02em;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-orange);
  background-color: var(--color-orange-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
  border: 1px solid rgba(255, 94, 20, 0.18);
}

.section-tag.dark {
  background-color: rgba(255, 94, 20, 0.12);
  border-color: rgba(255, 94, 20, 0.28);
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--color-orange);
  border-radius: 50%;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

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

.section-subtitle {
  font-size: 1.12rem;
  color: var(--color-text-secondary);
  max-width: 680px;
  line-height: 1.6;
}

.section-subtitle.light {
  color: var(--color-dark-muted);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 3. BOTONS I CRIDES A L'ACCIÓ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(255, 94, 20, 0.32);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(8px);
}

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

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-black);
  border: 2px solid var(--color-black);
}

.btn-outline-dark:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

.btn-white {
  background-color: var(--color-white);
  color: var(--color-black);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: #F1F5F9;
  color: var(--color-orange);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background-color: #1EBE5B;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
}

.btn-full {
  width: 100%;
}

/* Icona svg integrada */
.icon {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* 4. HEADER I NAVEGACIÓ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background-color: rgba(11, 13, 16, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background-color: rgba(11, 13, 16, 0.96);
  height: 74px;
  border-bottom-color: rgba(255, 94, 20, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-svg-wrap {
  width: 240px;
  height: 54px;
  display: flex;
  align-items: center;
}

.brand-logo .logo-svg-wrap {
  width: auto;
  max-width: 180px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  transition: all var(--transition-normal);
}

.brand-logo:hover .logo-svg-wrap {
  transform: translateY(-1px);
  filter: drop-shadow(0 4px 12px rgba(255, 94, 20, 0.4));
}

.brand-logo .logo-svg-wrap img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  mix-blend-mode: screen;
}

.site-header.scrolled .brand-logo .logo-svg-wrap {
  height: 58px;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 600;
  color: #CBD5E1;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-orange);
  transition: width var(--transition-fast);
}

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

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

/* Selector d'Idioma (CAT | ES) */
.lang-selector {
  display: inline-flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-full);
  padding: 3px 5px;
  gap: 3px;
  transition: all var(--transition-fast);
}

.lang-selector:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background-color: rgba(255, 255, 255, 0.1);
}

.lang-btn {
  background: transparent;
  border: none;
  color: #94A3B8;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  line-height: 1;
}

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

.lang-btn.active {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(255, 94, 20, 0.4);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
  user-select: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botó Menú Hamburguesa (Mòbil) */
.mobile-toggle {
  display: none;
  background: none;
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  padding: 8px;
  transition: var(--transition-fast);
}

.mobile-toggle:hover {
  border-color: var(--color-orange);
  color: var(--color-orange);
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: all var(--transition-normal);
  position: relative;
}

.hamburger-line::before,
.hamburger-line::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  transition: all var(--transition-normal);
}

.hamburger-line::before {
  top: -7px;
}

.hamburger-line::after {
  bottom: -7px;
}

.mobile-toggle.active .hamburger-line {
  background-color: transparent;
}

.mobile-toggle.active .hamburger-line::before {
  transform: rotate(45deg);
  top: 0;
}

.mobile-toggle.active .hamburger-line::after {
  transform: rotate(-45deg);
  bottom: 0;
}

/* Menú Desplegable Mòbil */
.mobile-nav {
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background-color: rgba(11, 13, 16, 0.98);
  backdrop-filter: blur(16px);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 999;
  border-top: 1px solid rgba(255, 94, 20, 0.15);
  overflow-y: auto;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Selector d'idioma en menú mòbil */
.mobile-lang-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 24px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
}

.mobile-lang-label {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-dark-muted);
}

.mobile-lang-selector {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  padding: 4px 6px;
}

.mobile-lang-selector .lang-btn {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.anchor-alias {
  position: relative;
  top: -85px;
  display: block;
  visibility: hidden;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-white);
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-nav-link:hover {
  color: var(--color-orange);
}

.mobile-nav-footer {
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-direct-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
  font-size: 0.92rem;
  color: var(--color-dark-muted);
}

/* 5. HERO PRINCIPAL */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 70px;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  animation: heroZoom 20s infinite alternate ease-in-out;
}

@keyframes heroZoom {
  0% { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(11, 13, 16, 0.92) 0%,
    rgba(11, 13, 16, 0.82) 45%,
    rgba(11, 13, 16, 0.65) 100%
  );
  z-index: 2;
}

.hero-texture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(255, 94, 20, 0.12) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.6;
  z-index: 3;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 860px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(255, 94, 20, 0.14);
  border: 1px solid rgba(255, 94, 20, 0.4);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero-badge-dot {
  width: 10px;
  height: 10px;
  background-color: var(--color-orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--color-orange);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.8; }
}

.hero-badge-text {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #FFA573;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--color-white);
  margin-bottom: 22px;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.hero-title .highlight-orange {
  color: var(--color-orange);
  position: relative;
  display: inline-block;
}

.hero-description {
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  color: #D1D5DB;
  margin-bottom: 36px;
  max-width: 720px;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 50px;
}

.hero-trust-indicators {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: rgba(255, 94, 20, 0.18);
  border: 1px solid rgba(255, 94, 20, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
}

.trust-text {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: #E2E8F0;
  letter-spacing: 0.01em;
}

/* 6. SECCIÓ SERVEIS */
.services-section {
  padding: 100px 0;
  background-color: var(--color-light-bg);
  position: relative;
}

.services-group-heading {
  margin-top: 30px;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.services-group-title {
  font-size: 1.65rem;
  text-transform: uppercase;
  color: var(--color-black);
  display: flex;
  align-items: center;
  gap: 12px;
}

.services-group-title::before {
  content: '';
  display: block;
  width: 6px;
  height: 28px;
  background-color: var(--color-orange);
  border-radius: 3px;
}

.services-group-divider {
  flex-grow: 1;
  height: 1px;
  background-color: var(--color-light-border);
}

/* Grid de Targetes de Serveis */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-light-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 94, 20, 0.4);
}

.service-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

/* Número a la cantonada superior dreta de la imatge del servei */
.service-number-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 900;
  color: var(--color-white);
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-fast);
}

.service-card:hover .service-number-badge {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.05);
}

.service-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(8px);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.15);
  z-index: 2;
}

.service-badge.orange {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}

.service-card-body {
  padding: 22px 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.service-title {
  font-size: 1.25rem;
  color: var(--color-black);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.service-desc {
  display: none;
}

.service-card-footer {
  padding-top: 14px;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: auto;
}

.service-action-link {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-action-link:hover {
  color: var(--color-orange-hover);
  gap: 10px;
}

/* 7. SECCIÓ "PER QUÈ PAVICOSINS?" (CONFIANÇA) */
.why-us-section {
  padding: 110px 0;
  background-color: var(--color-black);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.why-us-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(255, 94, 20, 0.08), transparent 70%);
  pointer-events: none;
}

.why-us-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-us-content {
  display: flex;
  flex-direction: column;
}

.why-us-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--color-white);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.why-us-lead {
  font-size: 1.12rem;
  color: var(--color-dark-muted);
  margin-bottom: 36px;
  line-height: 1.65;
}

.why-points-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.why-point-card {
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all var(--transition-normal);
}

.why-point-card:hover {
  border-color: rgba(255, 94, 20, 0.4);
  transform: translateX(6px);
  background-color: var(--color-dark-card);
}

.point-check-icon {
  width: 26px;
  height: 26px;
  background-color: var(--color-orange);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.point-text {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

/* Caixa Visual Lateral */
.why-us-visual {
  position: relative;
}

.why-visual-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-dark-card);
  background-color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-visual-img {
  width: 100%;
  height: 520px;
  object-fit: contain;
  display: block;
  background-color: #000000;
}

.why-visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 32px;
  background: linear-gradient(to top, rgba(11, 13, 16, 0.95), transparent);
}

.why-visual-stat {
  display: inline-flex;
  flex-direction: column;
  background-color: rgba(255, 94, 20, 0.95);
  backdrop-filter: blur(10px);
  color: var(--color-white);
  padding: 20px 28px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-orange);
  position: absolute;
  top: 30px;
  left: -20px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
}

/* 8. SECCIÓ GALERIA DE TREBALLS (CUADRÍCULA RESPONSIVA 4 / 2 / 1) */
.gallery-section {
  padding: 100px 0;
  background-color: var(--color-white);
  position: relative;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  background-color: var(--color-light-bg);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-light-border);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.filter-btn:hover {
  background-color: #E2E8F0;
  color: var(--color-black);
  border-color: #CBD5E1;
}

.filter-btn.active {
  background-color: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
}

/* Cuadrícula (Grid) uniforme i moderna */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Targeta de galeria */
.gallery-item {
  position: relative;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.gallery-card {
  position: relative;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              box-shadow 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), 
              border-color 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(11, 13, 16, 0.12);
  border-color: rgba(255, 94, 20, 0.4);
}

/* Contenidor de la imatge amb aspect-ratio i object-fit: cover */
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #0b0d10;
}

.gallery-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.gallery-card:hover .gallery-item-img {
  transform: scale(1.08);
  filter: brightness(1.04);
}

/* Overlay amb efecte suau al fer hover */
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 16, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.gallery-card:hover .gallery-item-overlay {
  opacity: 1;
}

/* Número a la cantonada superior esquerra de cada imatge de la galeria */
.gallery-number-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--color-white);
  background: rgba(11, 13, 16, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  letter-spacing: 0.08em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  transition: all var(--transition-fast);
}

.gallery-card:hover .gallery-number-badge {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.05);
}

.gallery-zoom-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(11, 13, 16, 0.82);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), 
              background-color 0.25s ease, 
              border-color 0.25s ease;
}

.gallery-zoom-icon .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.gallery-card:hover .gallery-zoom-icon {
  transform: scale(1.05);
  background-color: var(--color-orange);
  border-color: var(--color-orange);
}

/* Contingut i detalls inferiors de la targeta */
.gallery-item-content {
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-white);
  border-top: 1px solid rgba(226, 232, 240, 0.6);
}

.gallery-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.35;
}

/* Botó d'acció per veure més treballs */
.gallery-actions {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.gallery-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 34px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-black);
  background: transparent;
  color: var(--color-black);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.gallery-load-more:hover {
  background-color: var(--color-black);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(11, 13, 16, 0.16);
}

.gallery-load-more:active {
  transform: translateY(0);
}

/* Breakpoint Tauletes (2 Columnes amb espai uniforme) */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .gallery-item-content {
    padding: 18px 20px;
  }
}

/* Breakpoint Mòbils (1 Columna amb espai uniforme) */
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .gallery-card {
    border-radius: var(--radius-md);
  }
  .gallery-img-wrapper {
    aspect-ratio: 16 / 10;
  }
  .gallery-item-content {
    padding: 15px 16px;
  }
  .gallery-title {
    font-size: 1rem;
  }
}

/* 9. SECCIÓ PROCÉS DE TREBALL ("COM TREBALLEM?") */
.process-section {
  padding: 100px 0;
  background-color: var(--color-light-bg);
  position: relative;
}

.process-steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  position: relative;
}

@media (max-width: 1200px) {
  .process-steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .process-steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 600px) {
  .process-steps-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.process-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  border: 1px solid var(--color-light-border);
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.process-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 94, 20, 0.4);
  box-shadow: var(--shadow-lg);
}

.process-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  color: #E2E8F0;
  transition: color var(--transition-fast);
}

.process-card:hover .process-number {
  color: var(--color-orange);
}

.process-step-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background-color: var(--color-orange-subtle);
  border: 1px solid rgba(255, 94, 20, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.process-card:hover .process-step-icon {
  background-color: var(--color-orange);
  color: var(--color-white);
  transform: scale(1.06);
}

.process-step-icon .icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
}

.process-title {
  font-size: 1.15rem;
  color: var(--color-black);
  margin-bottom: 10px;
  text-transform: uppercase;
  line-height: 1.3;
}

.process-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
}

/* 10. LLAMADA A LA ACCIÓN (DESTACADA EN TARONJA) */
.cta-banner-section {
  background: linear-gradient(135deg, #FF6600 0%, #FF5000 50%, #E04400 100%);
  color: var(--color-white);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cta-banner-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%), 
    linear-gradient(-45deg, rgba(0, 0, 0, 0.05) 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%), 
    linear-gradient(-45deg, transparent 75%, rgba(0, 0, 0, 0.05) 75%);
  background-size: 24px 24px;
  opacity: 0.35;
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}

.cta-banner-title {
  font-size: clamp(2.1rem, 4.2vw, 3.2rem);
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.cta-banner-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 40px;
  line-height: 1.6;
}

.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.cta-banner-buttons .btn-white {
  font-size: 1.05rem;
  padding: 16px 34px;
}

.cta-banner-buttons .btn-whatsapp {
  font-size: 1.05rem;
  padding: 16px 34px;
  background-color: var(--color-black);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-banner-buttons .btn-whatsapp:hover {
  background-color: #1A1F2B;
  color: #25D366;
}

/* 11. SECCIÓ CONTACTE */
.contact-section {
  padding: 100px 0;
  background-color: var(--color-white);
  position: relative;
}

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

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-info-card {
  background-color: var(--color-black);
  color: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background-color: var(--color-orange);
}

.contact-brand-title {
  font-size: 2rem;
  color: var(--color-white);
  margin-bottom: 4px;
  text-transform: uppercase;
}

.contact-brand-sub {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.contact-items-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 36px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-orange);
  flex-shrink: 0;
}

.contact-detail-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-dark-muted);
  letter-spacing: 0.06em;
}

.contact-detail-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-white);
}

.contact-detail-value a:hover {
  color: var(--color-orange);
}

.contact-schedule-badge {
  background-color: var(--color-dark-surface);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: #CBD5E1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-schedule-badge svg {
  color: var(--color-orange);
}

/* Formulari de Contacte */
.contact-form-container {
  background-color: var(--color-light-bg);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-xl);
  padding: 44px;
  box-shadow: var(--shadow-sm);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-black);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  background-color: var(--color-white);
  border: 1px solid var(--color-light-border);
  border-radius: var(--radius-md);
  color: var(--color-black);
  font-size: 0.96rem;
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-orange);
  box-shadow: 0 0 0 3px var(--color-orange-glow);
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg2+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23475569'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 16px;
  padding-right: 44px;
}

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

.form-status {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.55;
  display: none;
  margin-top: 6px;
}

.form-status.success {
  display: block;
  background-color: #F0FDF4;
  color: #166534;
  border: 1.5px solid #86EFAC;
  box-shadow: 0 4px 14px rgba(22, 101, 52, 0.08);
}

.form-status.error {
  display: block;
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1.5px solid #FECACA;
  box-shadow: 0 4px 14px rgba(153, 27, 27, 0.08);
}

.form-status-header {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-status-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Spinner de càrrega al botó */
.btn-spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btnSpin 0.75s linear infinite;
  display: inline-block;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* 12. FOOTER */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 70px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 50px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-desc {
  font-size: 0.94rem;
  color: var(--color-dark-muted);
  max-width: 400px;
  line-height: 1.6;
}

.footer-heading {
  font-size: 1.1rem;
  color: var(--color-white);
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 24px;
  height: 2px;
  background-color: var(--color-orange);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: var(--color-dark-muted);
  font-size: 0.94rem;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-orange);
  padding-left: 4px;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-dark-muted);
  font-size: 0.94rem;
}

.footer-contact-row a {
  color: var(--color-white);
}

.footer-contact-row a:hover {
  color: var(--color-orange);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: #64748B;
}

/* 13. BARRA FLOTANT EN MÒBIL (STICKY BOTTOM BAR) */
.mobile-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: rgba(11, 13, 16, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid rgba(255, 94, 20, 0.25);
  padding: 10px 16px;
  z-index: 1001;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .mobile-sticky-bar {
    display: flex;
    align-items: center;
    gap: 10px;
  }
}

.mobile-bar-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mobile-bar-whatsapp {
  background-color: #25D366;
  color: var(--color-white);
}

.mobile-bar-quote {
  background-color: var(--color-orange);
  color: var(--color-white);
}

/* 14. MODAL LIGHTBOX DE LA GALERIA */
.lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 8, 12, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  cursor: pointer;
}

.lightbox-content {
  position: relative;
  max-width: 1020px;
  width: 100%;
  max-height: 92vh;
  background-color: #0b0d10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.88);
  display: flex;
  flex-direction: column;
  z-index: 2;
  transform: scale(0.96);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(15, 18, 24, 0.85);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all var(--transition-fast);
}

.lightbox-close .icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.lightbox-close:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: rotate(90deg) scale(1.06);
}

/* Botons de navegació anterior i següent */
.lightbox-nav {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(15, 18, 24, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all var(--transition-fast);
}

.lightbox-nav .icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2.4;
  fill: none;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-nav:hover {
  background-color: var(--color-orange);
  border-color: var(--color-orange);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.4);
}

.lightbox-img-wrap {
  position: relative;
  width: 100%;
  max-height: 68vh;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050608;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
  user-select: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.lightbox-info {
  padding: 22px 28px;
  background-color: #111419;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.lightbox-tag {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.lightbox-counter {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #94A3B8;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}

.lightbox-title {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.lightbox-desc {
  color: #94A3B8;
  font-size: 0.92rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 680px) {
  .lightbox-modal {
    padding: 12px;
  }
  .lightbox-content {
    width: 100%;
    max-height: 94vh;
  }
  .lightbox-img-wrap {
    max-height: 52vh;
    min-height: 220px;
  }
  .lightbox-nav {
    width: 42px;
    height: 42px;
    top: 42%;
  }
  .lightbox-prev {
    left: 10px;
  }
  .lightbox-next {
    right: 10px;
  }
  .lightbox-info {
    padding: 16px 20px;
  }
  .lightbox-title {
    font-size: 1.12rem;
  }
}

/* 15. ANIMACIONS AL SCROLL (REVEAL) */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.65s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 16. MEDIA QUERIES RESPONSIVE */
@media (max-width: 1024px) {
  .nav-desktop {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-visual-frame {
    max-height: 400px;
  }
  .why-visual-img {
    height: 400px;
  }
}

@media (max-width: 640px) {
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .header-actions .btn {
    display: none;
  }
  .brand-logo .logo-svg-wrap {
    height: 50px;
    max-width: 120px;
    padding: 0;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .cta-banner-buttons {
    flex-direction: column;
    width: 100%;
  }
  .cta-banner-buttons .btn {
    width: 100%;
  }
  .contact-form-container,
  .contact-info-card {
    padding: 26px 20px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
