/* ============================================================
   SC SOFIA INVEST CONSTRUCT SRL — Design System
   Site static corporativ, luminos, premium
   ============================================================ */

:root {
  --albastru:        #1E4FA3;
  --albastru-dark:   #14356E;
  --albastru-light:  #EAF1FB;
  --rosu-accent:     #E23A2E;
  --rosu-dark:       #B82C22;
  --auriu:           #F2A61C;
  --alb:             #FFFFFF;
  --gri-lumina:      #F7F9FC;
  --antracit:        #1D2733;
  --text-secundar:   #566373;
  --border:          #D8E2ED;
  --shadow-sm:       0 2px 8px rgba(30, 79, 163, 0.08);
  --shadow-md:       0 8px 24px rgba(30, 79, 163, 0.12);
  --shadow-lg:       0 16px 48px rgba(30, 79, 163, 0.15);
  --radius:          8px;
  --radius-sm:       6px;
  --transition:      0.25s ease;
  --header-height:   80px;
  --topbar-height:   40px;
  --container:       1200px;
  --section-pad:     clamp(60px, 8vw, 110px);
  --font-heading:    'Poppins', sans-serif;
  --font-body:       'Inter', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--antracit);
  background: var(--alb);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--albastru); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--albastru-dark); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--antracit);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Typography ── */
.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--auriu);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secundar);
  max-width: 640px;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
  background: var(--rosu-accent);
  color: var(--alb);
  border-color: var(--rosu-accent);
  box-shadow: 0 4px 16px rgba(226, 58, 46, 0.35);
}
.btn-primary:hover {
  background: var(--rosu-dark);
  border-color: var(--rosu-dark);
  color: var(--alb);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(226, 58, 46, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--albastru);
  border-color: var(--albastru);
}
.btn-secondary:hover {
  background: var(--albastru);
  color: var(--alb);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--alb);
  border-color: var(--alb);
}
.btn-outline-white:hover {
  background: var(--alb);
  color: var(--albastru);
}

.btn-auriu {
  background: var(--auriu);
  color: var(--alb);
  border-color: var(--auriu);
}
.btn-auriu:hover {
  background: #d99410;
  border-color: #d99410;
  color: var(--alb);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.8rem; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }

/* ── Top Bar ── */
.topbar {
  background: var(--albastru-dark);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  height: var(--topbar-height);
  display: flex;
  align-items: center;
}

.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-contacts {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.topbar-contacts a {
  color: rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  gap: 6px;
}
.topbar-contacts a:hover { color: var(--alb); }
.topbar-contacts svg { width: 14px; height: 14px; opacity: 0.8; }

.topbar-social {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-social a {
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all var(--transition);
}
.topbar-social a:hover {
  background: rgba(255,255,255,0.15);
  color: var(--alb);
}
.topbar-social svg { width: 16px; height: 16px; }

/* ── Header ── */
.site-header {
  background: var(--alb);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 16px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: var(--albastru-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 32px; height: 32px; }

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--albastru);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.logo-text span {
  font-size: 0.65rem;
  color: var(--text-secundar);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── Navigation ── */
.main-nav { display: flex; align-items: center; gap: 4px; }

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--antracit);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--albastru);
  background: var(--albastru-light);
}

.nav-link svg { width: 12px; height: 12px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--alb);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 100;
}

.nav-item:hover .dropdown,
.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--antracit);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}

.dropdown-link:hover {
  background: var(--albastru-light);
  color: var(--albastru);
}

.dropdown-scroll {
  max-height: 70vh;
  overflow-y: auto;
  min-width: 300px;
}

.dropdown-link-highlight {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 14px;
  font-weight: 600;
}

.dropdown-icon {
  width: 36px;
  height: 36px;
  background: var(--gri-lumina);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg { width: 18px; height: 18px; color: var(--albastru); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-actions .btn-calculator {
  padding: 10px 16px;
  font-size: 0.75rem;
}

.header-actions .btn-oferta {
  padding: 12px 20px;
  font-size: 0.8rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--antracit);
  transition: all var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Floating CTA mobile */
.floating-cta {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  padding: 14px 20px;
  font-size: 0.8rem;
  border-radius: 50px;
  box-shadow: 0 8px 32px rgba(226, 58, 46, 0.45);
  animation: pulse-cta 2s infinite;
}

@keyframes pulse-cta {
  0%, 100% { box-shadow: 0 8px 32px rgba(226, 58, 46, 0.45); }
  50% { box-shadow: 0 8px 40px rgba(226, 58, 46, 0.6); }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slider { position: absolute; inset: 0; }

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img,
.hero-slide .hero-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-placeholder {
  background: linear-gradient(135deg, var(--albastru-light) 0%, #c5d9f0 50%, var(--gri-lumina) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secundar);
  font-size: 0.9rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 53, 110, 0.75) 0%, rgba(20, 53, 110, 0.35) 50%, rgba(20, 53, 110, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: var(--section-pad) 0;
  max-width: 680px;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 800;
  color: var(--alb);
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.1;
}

.hero-accent {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 600;
  color: var(--auriu);
  text-transform: none;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-link {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
}
.hero-link:hover { color: var(--alb); }
.hero-link svg { width: 16px; height: 16px; }

.hero-indicators {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.5);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition);
  background: none;
  border: none;
}

.hero-indicator.active { color: var(--alb); }

.hero-indicator::before {
  content: '';
  width: 2px;
  height: 32px;
  background: rgba(255,255,255,0.3);
  transition: background var(--transition);
}

.hero-indicator.active::before { background: var(--auriu); height: 48px; }

/* ── Values Band ── */
.values-band {
  background: var(--alb);
  padding: 50px 0;
  border-bottom: 1px solid var(--border);
}

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

.value-item {
  text-align: center;
  padding: 20px 12px;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: var(--albastru-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.value-icon svg { width: 28px; height: 28px; color: var(--albastru); }

.value-item:hover .value-icon {
  background: var(--albastru);
  transform: translateY(-4px);
}
.value-item:hover .value-icon svg { color: var(--alb); }

.value-item h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.value-item p {
  font-size: 0.8rem;
  color: var(--text-secundar);
  line-height: 1.5;
}

/* ── Sections ── */
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--gri-lumina); }
.section-blue { background: var(--albastru-light); }

/* ── Service Cards ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.service-card {
  background: var(--alb);
  border-radius: var(--radius);
  padding: 32px 24px;
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--albastru);
}

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--albastru-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.service-card-icon svg { width: 26px; height: 26px; color: var(--albastru); }

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: var(--text-secundar);
  flex: 1;
  margin-bottom: 16px;
}

.service-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--albastru);
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-card-link svg { width: 16px; height: 16px; transition: transform var(--transition); }
.service-card:hover .service-card-link svg { transform: translateX(4px); }

/* ── Project Cards ── */
.projects-section { background: var(--albastru-dark); padding: var(--section-pad) 0; }

.projects-header {
  text-align: center;
  margin-bottom: 48px;
}

.projects-header .section-label { color: var(--auriu); }
.projects-header .section-title { color: var(--alb); }
.projects-header .section-subtitle { color: rgba(255,255,255,0.8); margin: 0 auto; }

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

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

.projects-grid-catalog {
  grid-template-columns: repeat(4, 1fr);
}

.project-card {
  background: var(--alb);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.project-card-clickable {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.project-card-clickable:hover {
  color: inherit;
}

.project-card-clickable .project-card-link {
  pointer-events: none;
}

.project-card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.project-card-image img,
.project-card-image .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-card-image img { transform: scale(1.05); }

.img-placeholder {
  background: linear-gradient(135deg, #d0dce8, #e8eef5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secundar);
  font-size: 0.8rem;
  text-align: center;
  padding: 20px;
}

.project-card-badge {
  position: absolute;
  bottom: -20px;
  left: 24px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-card-badge.blue { background: var(--albastru); }
.project-card-badge.gold { background: var(--auriu); }

.project-card-badge svg { width: 24px; height: 24px; color: var(--alb); }

.project-card-body { padding: 36px 24px 28px; }

.project-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.project-card-body p {
  font-size: 0.875rem;
  color: var(--text-secundar);
  margin-bottom: 16px;
}

.project-card-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--albastru);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ── Statistics ── */
.stats-band {
  background: var(--alb);
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  color: var(--albastru);
}

.stat-icon svg { width: 48px; height: 48px; }

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--albastru);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secundar);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ── Why Us ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.why-item {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--alb);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.why-item:hover {
  border-color: var(--albastru);
  box-shadow: var(--shadow-sm);
}

.why-icon {
  width: 44px;
  height: 44px;
  background: var(--albastru-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.why-icon svg { width: 22px; height: 22px; color: var(--albastru); }

.why-item h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-secundar);
}

/* ── CTA Band ── */
.cta-band {
  position: relative;
  padding: 80px 0;
  overflow: hidden;
}

.cta-band-bg {
  position: absolute;
  inset: 0;
  background: var(--albastru-dark);
}

.cta-band-bg img,
.cta-band-bg .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.cta-band-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-band-text h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--alb);
  margin-bottom: 8px;
}

.cta-band-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
  max-width: 520px;
}

/* ── Partners / Certifications ── */
.partners-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.partner-placeholder {
  width: 120px;
  height: 60px;
  background: var(--gri-lumina);
  border: 1px dashed var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: var(--text-secundar);
  text-align: center;
}

/* ── Footer ── */
.site-footer {
  background: var(--albastru-dark);
  color: rgba(255,255,255,0.85);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo-text strong { color: var(--alb); }
.footer-brand .logo-text span { color: rgba(255,255,255,0.6); }

.footer-brand p {
  margin-top: 16px;
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--alb);
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--alb); }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.footer-contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--auriu); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--albastru); }
.footer-social svg { width: 18px; height: 18px; color: var(--alb); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
  margin-left: 20px;
}
.footer-bottom a:hover { color: var(--alb); }

/* ── Page Header (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--albastru-dark) 0%, var(--albastru) 100%);
  padding: 60px 0;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--alb);
  margin-bottom: 12px;
}

.page-hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ── Breadcrumbs ── */
.breadcrumbs {
  padding: 16px 0;
  background: var(--gri-lumina);
  border-bottom: 1px solid var(--border);
}

.breadcrumbs ol {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.breadcrumbs li { display: flex; align-items: center; gap: 8px; color: var(--text-secundar); }
.breadcrumbs li:not(:last-child)::after { content: '/'; color: var(--border); }
.breadcrumbs a { color: var(--albastru); }
.breadcrumbs a:hover { text-decoration: underline; }

/* ── Content blocks ── */
.content-block { max-width: 800px; }
.content-block h2 { font-size: 1.5rem; margin: 32px 0 16px; }
.content-block h3 { font-size: 1.2rem; margin: 24px 0 12px; }
.content-block p { margin-bottom: 16px; color: var(--text-secundar); }
.content-block ul { margin: 16px 0; padding-left: 20px; list-style: disc; }
.content-block ul li { margin-bottom: 8px; color: var(--text-secundar); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-list { margin-top: 24px; }

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.feature-list svg {
  width: 20px;
  height: 20px;
  color: var(--albastru);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}

.gallery-item img,
.gallery-item .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-grid-catalog .gallery-item img {
  object-fit: contain;
  background: var(--gri-lumina);
}

.gallery-item-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--alb);
  font-size: 0.85rem;
  font-weight: 600;
}

.gallery-item-btn {
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
  width: 100%;
  position: relative;
}

.gallery-item-btn:hover .gallery-zoom-icon {
  opacity: 1;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(30, 79, 163, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.gallery-zoom-icon svg {
  width: 22px;
  height: 22px;
  color: var(--alb);
}

.gallery-hint {
  margin-top: 16px;
  font-size: 0.9rem;
  color: var(--text-secundar);
}

/* ── Project viewer (pagina detaliu) ── */
.project-viewer {
  background: var(--alb);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.project-viewer-main {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--gri-lumina);
}

.project-viewer-image-btn {
  display: block;
  width: 100%;
  border: none;
  padding: 0;
  background: none;
  cursor: zoom-in;
}

.project-viewer-image-btn img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin: 0 auto;
}

.project-viewer-thumbs {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.project-thumb {
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--gri-lumina);
  transition: all var(--transition);
  width: 100px;
  height: 75px;
}

.project-thumb.active,
.project-thumb:hover {
  border-color: var(--albastru);
  box-shadow: var(--shadow-sm);
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--alb);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}

.lightbox-close {
  top: 20px;
  right: 20px;
  font-size: 1.5rem;
}

.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.team-card {
  text-align: center;
  background: var(--alb);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.team-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

.team-photo {
  height: 260px;
  background: var(--gri-lumina);
  overflow: hidden;
}

.team-photo img,
.team-photo .img-placeholder { width: 100%; height: 100%; object-fit: cover; }

.team-info { padding: 20px; }
.team-info h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.team-info p { font-size: 0.85rem; color: var(--text-secundar); }

/* ── Forms ── */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group { margin-bottom: 20px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--antracit);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--antracit);
  background: var(--alb);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--albastru);
  box-shadow: 0 0 0 3px rgba(30, 79, 163, 0.12);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--rosu-accent);
  box-shadow: 0 0 0 3px rgba(226, 58, 46, 0.12);
}

.form-card {
  background: var(--alb);
  border-radius: var(--radius);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

/* ── Calculator ── */
.calculator-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  margin-top: 40px;
}

.calculator-main {
  background: var(--alb);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
}

.calculator-sidebar {
  background: var(--albastru-light);
  border-radius: var(--radius);
  padding: 28px;
}

.calculator-sidebar h3 {
  font-size: 1rem;
  margin-bottom: 16px;
  color: var(--albastru-dark);
}

.calculator-sidebar ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  color: var(--text-secundar);
}

.calculator-sidebar svg { width: 18px; height: 18px; color: var(--albastru); flex-shrink: 0; margin-top: 2px; }

.work-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}

.work-type-card {
  padding: 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: all var(--transition);
  background: var(--alb);
}

.work-type-card:hover { border-color: var(--albastru); }
.work-type-card.selected {
  border-color: var(--albastru);
  background: var(--albastru-light);
}

.work-type-card svg { width: 28px; height: 28px; color: var(--albastru); margin: 0 auto 8px; }
.work-type-card span { font-size: 0.8rem; font-weight: 600; display: block; }

.dimension-modules {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.dimension-module {
  background: var(--gri-lumina);
  border-radius: var(--radius-sm);
  padding: 16px;
  border: 1px solid var(--border);
}

.dimension-module label {
  font-size: 0.8rem;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--albastru);
}

.dimension-module input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
}

.dimension-module .result-value {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--albastru-dark);
}

.finishing-level {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.finishing-btn {
  padding: 10px 20px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--alb);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.finishing-btn.active {
  border-color: var(--albastru);
  background: var(--albastru);
  color: var(--alb);
}

.calculator-result {
  background: linear-gradient(135deg, var(--albastru-dark), var(--albastru));
  border-radius: var(--radius);
  padding: 32px;
  color: var(--alb);
  text-align: center;
  margin-top: 24px;
}

.calculator-result h3 {
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  margin-bottom: 8px;
}

.calculator-result .price-range {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--auriu);
  margin-bottom: 12px;
}

.calculator-result p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
}

.calculator-disclaimer {
  background: #FFF8E6;
  border: 1px solid #F2D98B;
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.85rem;
  color: #7A6520;
  margin-top: 20px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.calculator-disclaimer svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; }

/* ── Job cards ── */
.jobs-list { margin-top: 40px; }

.job-card {
  background: var(--alb);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  transition: all var(--transition);
}

.job-card:hover { border-color: var(--albastru); box-shadow: var(--shadow-sm); }

.job-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.job-card p { font-size: 0.875rem; color: var(--text-secundar); }

.job-tags { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; }

.job-tag {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  background: var(--albastru-light);
  color: var(--albastru);
  border-radius: 20px;
}

/* ── Contact info cards ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.contact-card {
  background: var(--alb);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  text-align: center;
  transition: all var(--transition);
}

.contact-card:hover { border-color: var(--albastru); box-shadow: var(--shadow-sm); }

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  background: var(--albastru-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-card-icon svg { width: 26px; height: 26px; color: var(--albastru); }

.contact-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-card p, .contact-card a { font-size: 0.9rem; color: var(--text-secundar); }

.map-placeholder {
  width: 100%;
  height: 400px;
  background: var(--gri-lumina);
  border-radius: var(--radius);
  border: 1px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secundar);
  font-size: 0.9rem;
  margin-top: 40px;
}

/* ── 404 ── */
.error-page {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.error-page h1 {
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 800;
  color: var(--albastru-light);
  line-height: 1;
}

.error-page h2 { font-size: 1.5rem; margin: 16px 0; }
.error-page p { color: var(--text-secundar); margin-bottom: 32px; }

/* ── Animations ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .work-type-grid { grid-template-columns: repeat(2, 1fr); }
}

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

  .main-nav {
    position: fixed;
    top: calc(var(--topbar-height) + var(--header-height));
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--alb);
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    transform: translateX(100%);
    transition: transform var(--transition);
    overflow-y: auto;
    z-index: 999;
  }

  .main-nav.open { transform: translateX(0); }

  .nav-list { flex-direction: column; align-items: stretch; }

  .nav-link { padding: 14px 16px; font-size: 0.9rem; }

  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    padding: 0 0 0 16px;
    display: none;
    min-width: auto;
  }

  .nav-item.open .dropdown { display: block; }

  .header-actions { display: none; }

  .floating-cta { display: inline-flex; }

  .projects-grid { grid-template-columns: 1fr; }
  .projects-grid-catalog { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .calculator-layout { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-cards { grid-template-columns: 1fr; }
  .hero-indicators { display: none; }
  .cta-band-content { flex-direction: column; text-align: center; }
  .cta-band-text p { margin: 0 auto; }
}

@media (max-width: 600px) {
  .topbar-contacts { display: none; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .dimension-modules { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .projects-grid-catalog { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-link { margin-left: 0; justify-content: center; }
}

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