/* ============================================
   METALLO PREFAB SA — Main Stylesheet
   Brand Colors: #1C75BC (Blue), #58595B (Gray)
   Style: Modern & Bold Industrial
   ============================================ */

/* --- CSS Variables --- */
:root {
  --blue: #1C75BC;
  --blue-dark: #155d96;
  --blue-light: #2a8fd4;
  --gray: #58595B;
  --gray-dark: #2D2D2D;
  --gray-light: #8a8b8d;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --black: #1a1a1a;
  --overlay: rgba(26, 26, 26, 0.7);
  --overlay-blue: rgba(28, 117, 188, 0.85);

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);

  --radius: 4px;
  --transition: 0.3s ease;
  --max-width: 1280px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }

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

a:hover { color: var(--blue-dark); }

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

ul { list-style: none; }

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

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 2px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

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

.btn-primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-outline:hover {
  background: var(--white);
  color: var(--gray-dark);
  transform: translateY(-2px);
}

.btn-outline-dark {
  background: transparent;
  color: var(--gray-dark);
  border-color: var(--gray-dark);
}

.btn-outline-dark:hover {
  background: var(--gray-dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* --- Section Utilities --- */
.section {
  padding: 6rem 0;
}

.section-dark {
  background: var(--gray-dark);
  color: var(--white);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--white);
}

.section-gray {
  background: var(--off-white);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--blue);
}

.section-dark .section-header h2::after,
.section-blue .section-header h2::after {
  background: var(--white);
}

.section-header p {
  max-width: 640px;
  margin: 1.5rem auto 0;
  color: var(--gray-light);
  font-size: 1.1rem;
}

.section-dark .section-header p {
  color: #b0b0b0;
}

.accent-text {
  color: var(--blue);
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.4s ease;
  padding: 1rem 0;
  background: rgba(26, 26, 26, 0.9);
  backdrop-filter: blur(10px);
}

.header.scrolled {
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  box-shadow: var(--shadow-md);
}

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

.logo img {
  height: 55px;
  transition: height var(--transition);
}

.header.scrolled .logo img {
  height: 42px;
}

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

.nav-links {
  display: flex;
  gap: 0.25rem;
}

.nav-links a {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 70%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue-light);
}

/* Language Toggle */
.lang-toggle {
  display: flex;
  background: rgba(255,255,255,0.15);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
}

.lang-toggle button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.35rem 0.85rem;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.lang-toggle button.active {
  background: var(--blue);
  color: var(--white);
  border-radius: 20px;
}

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

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 26, 0.85) 0%,
    rgba(26, 26, 26, 0.5) 50%,
    rgba(28, 117, 188, 0.3) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-tag {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 0.4rem 1.2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero h1 span {
  color: var(--blue-light);
}

.hero p {
  color: rgba(255,255,255,0.85);
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero for sub-pages */
.hero-sub {
  height: 45vh;
  min-height: 350px;
}

.hero-sub .hero-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--gray-dark);
  padding: 3rem 0;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1rem;
}

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

.stat-label {
  color: #b0b0b0;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid #e8e8e8;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.service-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
}

.service-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

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

/* ============================================
   PROJECTS / GALLERY
   ============================================ */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: none;
  border: 2px solid #e0e0e0;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 30px;
  transition: all var(--transition);
  color: var(--gray);
}

.filter-btn:hover,
.filter-btn.active {
  border-color: var(--blue);
  color: var(--blue);
  background: rgba(28, 117, 188, 0.08);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
}

.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: var(--white);
  transform: translateY(20px);
  opacity: 0;
  transition: all var(--transition);
}

.project-card:hover .project-overlay {
  transform: translateY(0);
  opacity: 1;
}

.project-overlay h4 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.project-overlay span {
  color: var(--blue-light);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ============================================
   ABOUT SECTION (Homepage Preview)
   ============================================ */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
}

.about-preview-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
}

.about-preview-img::after {
  content: '';
  position: absolute;
  bottom: -15px;
  right: -15px;
  width: 200px;
  height: 200px;
  border: 4px solid var(--blue);
  border-radius: var(--radius);
  z-index: -1;
}

.about-preview-text h2 {
  margin-bottom: 1.5rem;
}

.about-preview-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.about-preview-text .btn {
  margin-top: 1rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
}

.highlight-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.highlight-item svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: var(--blue);
  margin-top: 2px;
}

.highlight-item h4 {
  margin-bottom: 0.25rem;
}

.highlight-item p {
  font-size: 0.9rem;
  color: var(--gray-light);
  margin: 0;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  position: relative;
  padding: 5rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--overlay-blue);
}

.cta-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.cta-content h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  opacity: 0.9;
}

/* ============================================
   CONTACT / QUOTE FORM
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-info-card svg {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  fill: var(--blue);
  margin-top: 4px;
}

.contact-info-card h4 {
  margin-bottom: 0.25rem;
}

.contact-info-card p,
.contact-info-card a {
  color: var(--gray);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.social-links a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--blue);
}

.social-links a svg {
  width: 20px;
  height: 20px;
  fill: var(--gray);
  transition: fill var(--transition);
}

.social-links a:hover svg {
  fill: var(--white);
}

.quote-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.quote-form h3 {
  margin-bottom: 0.5rem;
}

.quote-form > p {
  color: var(--gray-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  color: var(--gray-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid #e0e0e0;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

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

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--black);
  color: #aaa;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-brand img {
  height: 45px;
  filter: brightness(10);
}

.footer h4 {
  color: var(--white);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--blue);
}

.footer-links a {
  display: block;
  color: #aaa;
  padding: 0.3rem 0;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--blue-light);
  padding-left: 5px;
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.footer-contact svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  fill: var(--blue);
  margin-top: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #777;
  font-size: 0.85rem;
}

.footer-bottom-links a:hover {
  color: var(--blue-light);
}

/* ============================================
   LIGHTBOX
   ============================================ */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.95);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

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

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-close:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: none;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.lightbox-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.lightbox-prev { left: 2rem; }
.lightbox-next { right: 2rem; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
}

/* Stagger children */
.stagger-children > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger-children.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger-children.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger-children.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger-children.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger-children.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger-children.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger-children.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   ABOUT PAGE SPECIFIC
   ============================================ */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-story-text h2 {
  margin-bottom: 1.5rem;
}

.about-story-text p {
  color: var(--gray);
}

.about-story-img img {
  border-radius: var(--radius);
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-card svg {
  width: 48px;
  height: 48px;
  fill: var(--blue);
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.75rem;
}

.value-card p {
  color: var(--gray-light);
  font-size: 0.95rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e0e0e0;
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  width: 100%;
  margin-bottom: 3rem;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
  padding-right: 52%;
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
  padding-left: 52%;
}

.timeline-content {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.timeline-content h4 {
  color: var(--blue);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--gray);
}

/* ============================================
   SERVICES PAGE SPECIFIC
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid #e8e8e8;
}

.service-detail:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius);
}

.service-detail-text h3 {
  margin-bottom: 1rem;
  color: var(--blue);
}

.service-detail-text p {
  color: var(--gray);
  margin-bottom: 1rem;
}

.service-detail-text ul {
  list-style: none;
  padding: 0;
}

.service-detail-text ul li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--gray);
  font-size: 0.95rem;
}

.service-detail-text ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  background: var(--blue);
  border-radius: 50%;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-preview,
  .about-story,
  .contact-grid,
  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

  .about-preview-img::after {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 4rem 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--gray-dark);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .menu-toggle {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .hero {
    min-height: 500px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

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

  .lightbox-nav {
    display: none;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.5rem; }

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

  .stat-number {
    font-size: 1.8rem;
  }

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