/* ============================================================
   AC CAR ROSSO - Main Stylesheet
   ============================================================ */

/* --- Variables --- */
:root {
  --blue-primary:   #35D2FB;
  --blue-secondary: #1B75BB;
  --red:            #E81C27;
  --black:          #121F28;
  --light-text:     #7999A4;
  --bg:             #FFFFFF;
  --bg-f:           #ececec;
  --bg-alt:         #FFFFFF;
  --bg-nav:         #FFFFFF;
  --bg-footer:      #121F28;
  --bg-cta:         #1B75BB;
  --border:         #E2EAF0;
  --shadow:         0 4px 24px rgba(18, 31, 40, 0.08);
  --shadow-hover:   0 8px 32px rgba(18, 31, 40, 0.14);
  --radius:         18px;
  --radius-sm:      8px;
  --font:           'Inter', sans-serif;
  --nav-h:          80px;
  --transition:     0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
input, textarea, select {
  font-family: var(--font);
  font-size: 1rem;
  background: none;
  border: none;
  outline: none;
  color: var(--black);
}

/* --- Typography --- */
h1 { font-size: clamp(2.25rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; color: var(--black); }
h2 { font-size: clamp(1.625rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; color: var(--black); }
h3 { font-size: 1.125rem; font-weight: 600; line-height: 1.3; color: var(--black); }
h4 { font-size: 0.875rem; font-weight: 600; color: var(--black); }
p  { color: var(--light-text); line-height: 1.7; }

/* --- Container --- */
.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 52px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p  { max-width: 560px; margin: 0 auto; font-size: 1rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: none;
}
.btn-primary {
  background: var(--red);
  color: #FFFFFF;
}
.btn-primary:hover {
  background: #C5151F;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 28, 39, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
}
.btn-outline:hover {
  background: var(--red);
  color: #FFFFFF;
}
.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: #FFFFFF;
}
.btn-lg { padding: 15px 40px; font-size: 1rem; }
.btn-white {
  background: #FFFFFF;
  color: var(--red);
}
.btn-white:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,255,255,0.2);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  transition: background var(--transition);
}
.nav-container {
  max-width: 1322px;
  margin: 0 auto;
  padding: 0 52px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo img { height: 68px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}
.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #35D2FB;
  transition: color var(--transition);
}
.nav-link:hover,
.nav-link.active { color: #1B75BB; }
.nav-cta { margin-left: 20px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--bg-nav);
  border-top: 1px solid var(--border);
  padding: 20px 24px 28px;
  gap: 2px;
}
.mobile-menu.open { display: flex; }
.mobile-link {
  padding: 13px 16px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--light-text);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.mobile-link:hover,
.mobile-link.active { color: var(--black); background: var(--bg-alt); }
.mobile-cta { margin-top: 14px; width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.hero-bg { position: absolute; inset: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    to right,
    rgba(18, 31, 40, 0.95) 0%,
    rgba(18, 31, 40, 0.70) 100%
  );
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 52px;
  width: 100%;
}
.hero-content h1 { color: #FFFFFF; max-width: 560px; margin-bottom: 16px; }
.hero-content > p {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.80);
  max-width: 460px;
  margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (with background image) */
.page-hero {
  position: relative;
  height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--nav-h);
}
.page-hero-bg { position: absolute; inset: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }

/* About page hero — taller + shows more subject context */
.page-hero--centered {
  height: 720px;
}
.page-hero--centered .page-hero-bg img {
  object-position: center 20%;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(18,31,40,0.88) 40%, rgba(18,31,40,0.55));
}
.page-hero-content {
  position: relative; z-index: 1;
  max-width: 1220px; margin: 0 auto; padding: 0 52px; width: 100%;
}
.page-hero-content h1 { color: #FFFFFF; max-width: 580px; margin-bottom: 14px; }
.page-hero-content p  { font-size: 1.0625rem; color: rgba(255,255,255,0.78); max-width: 500px; }

/* Centered variant (About page hero) */
.page-hero--centered .page-hero-overlay {
  background: rgba(18, 31, 40, 0.62);
}
.page-hero--centered .page-hero-content {
  text-align: center;
}
.page-hero--centered .page-hero-content h1 {
  max-width: 100%;
  margin-left: auto; margin-right: auto;
}
.page-hero--centered .page-hero-content p {
  max-width: 600px;
  margin: 0 auto;
}

/* Simple page header (no image) */
.page-header {
  background: var(--bg-footer);
  padding: 96px 0 60px;
  margin-top: var(--nav-h);
  text-align: center;
}
.page-header h1 { color: #FFFFFF; margin-bottom: 14px; }
.page-header p  { font-size: 1.0625rem; color: rgba(255,255,255,0.65); max-width: 520px; margin: 0 auto; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 96px 0;
  background: var(--bg);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: #FFFFFF;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-img {
  height: 192px;
  overflow: hidden;
  flex-shrink: 0;
}
.service-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }

/* Gradient accent bar — unique per card */
.service-card-bar { height: 4px; width: 100%; flex-shrink: 0; }
.service-card:nth-child(1) .service-card-bar { background: linear-gradient(90deg, #1B75BB, #0A4A8C); }
.service-card:nth-child(2) .service-card-bar { background: linear-gradient(90deg, #00C4EE, #35D2FB); }
.service-card:nth-child(3) .service-card-bar { background: linear-gradient(90deg, #E81C27, #FF6B35); }
.service-card:nth-child(4) .service-card-bar { background: linear-gradient(90deg, #35D2FB, #1B75BB); }



.service-body {
  padding: 22px 20px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.service-body h3 { margin-bottom: 8px; font-size: 1rem; }
.service-body > p { font-size: 0.875rem; margin-bottom: 14px; line-height: 1.6; }
.service-list {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: 16px; flex: 1;
}
.service-list li {
  font-size: 0.8125rem;
  color: var(--light-text);
  padding-left: 14px;
  position: relative;
}
.service-list li::before {
  content: '•';
  position: absolute; left: 0;
  color: var(--blue-primary);
}
.service-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  background: rgba(53, 210, 251, 0.07);
  border: 1px solid rgba(53, 210, 251, 0.2);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--blue-secondary);
  margin-top: auto;
}

/* ============================================================
   FEATURES / RELIABLE SECTION
   ============================================================ */
.features {
  padding: 96px 0;
  background: var(--bg-f);
  text-align: center;
}
.features h2 { margin-bottom: 14px; }
.features > .container > p {
  max-width: 520px;
  margin: 0 auto 60px;
  font-size: 1rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.feature-item {
  padding: 0 16px;
}
.feature-icon {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.feature-icon img {
  width: 34px; height: 34px;
  filter: brightness(0) invert(1);
}
.feature-icon_2 {
  width: 76px; height: 76px;
  background: linear-gradient(135deg, var(--black), var(--blue-primary));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.feature-icon_2 img {
  width: 34px; height: 34px;
  filter: brightness(0) invert(1);
}
.feature-item h3 { margin-bottom: 10px; font-size: 1.0625rem; }
.feature-item p   { font-size: 0.9rem; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 96px 0;
  background: var(--bg);
  overflow: hidden;
}
.testimonials-wrapper { position: relative; overflow: hidden; }
.testimonials-track {
  display: flex;
  gap: 24px;
  transition: transform 0.5s ease;
}
.testimonial-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testi-stars {
  color: var(--red);
  font-size: 1rem;
  letter-spacing: 3px;
  margin-bottom: 14px;
}
.testi-quote {
  font-size: 0.875rem;
  color: var(--light-text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}
.testi-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-secondary));
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.testi-photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.testi-initials {
  font-weight: 700; font-size: 0.875rem;
  color: #FFFFFF;
  line-height: 1;
}
.testi-author {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}
/* Nav controls */
.testimonials-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; margin-top: 40px;
}
.testi-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: #FFFFFF;
  color: var(--black);
  font-size: 1.0625rem;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow);
}
.testi-btn:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: all var(--transition);
  cursor: pointer;
}
.testi-dot.active {
  background: var(--blue-primary);
  width: 22px; border-radius: 4px;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  padding: 96px 0;
  background: var(--bg-cta);
  text-align: center;
}
.cta-section h2 { color: #FFFFFF; margin-bottom: 12px; }
.cta-section p  { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 36px; font-size: 1rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Override btn-primary inside blue CTA to use white-text red */
.cta-section .btn-primary {
  background: var(--red);
  color: #FFFFFF;
}
.cta-section .btn-primary:hover { background: #C5151F; }

/* Light variant (white background CTA) */
.cta-section--light {
  background: var(--bg);
}
.cta-section--light h2 { color: var(--black); }
.cta-section--light p  { color: var(--light-text); }

.cta-section_2 {
  padding: 96px 0;
  background: var(--black);
  text-align: center;
}
.cta-section_2 h2 { color: #FFFFFF; margin-bottom: 12px; }
.cta-section_2 p  { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 36px; font-size: 1rem; }
.cta-actions_2 { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Override btn-primary inside blue CTA to use white-text red */
.cta-section_2 .btn-primary {
  background: var(--red);
  color: #FFFFFF;
}
.cta-section_2 .btn-primary:hover { background: #C5151F; }

/* Light variant (white background CTA) */
.cta-section--light {
  background: var(--bg);
}
.cta-section--light h2 { color: var(--black); }
.cta-section--light p  { color: var(--light-text); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-footer);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.6fr;
  gap: 56px;
  padding-bottom: 48px;
}
.footer-logo img { height: 48px; }
.footer-brand p {
  font-size: 0.9rem; color: rgba(255,255,255,0.5);
  margin: 18px 0 22px; max-width: 280px; line-height: 1.65;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: transform var(--transition), opacity var(--transition);
}
.social-link:hover { transform: translateY(-2px); opacity: 0.85; }
.social-link.fb  { background: #1877F2; }
.social-link.ig  { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-link img { width: 18px; height: 18px; filter: brightness(0) invert(1); }
.footer-nav h4,
.footer-contact h4 {
  font-size: 0.8125rem;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.9rem; color: rgba(255,255,255,0.50);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--blue-primary); }
.footer-contact-items { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact-item img { width: 16px; height: 16px; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span,
.footer-contact-item a {
  font-size: 0.875rem; color: rgba(255,255,255,0.50);
  line-height: 1.5; transition: color var(--transition);
}
.footer-contact-item a:hover { color: var(--blue-primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.8125rem; color: rgba(255,255,255,0.35); }
.footer-bottom a { color: rgba(255,255,255,0.35); transition: color var(--transition); }
.footer-bottom a:hover { color: var(--blue-primary); }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro { padding: 96px 0; background: var(--bg); }
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-text .eyebrow {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-primary);
  margin-bottom: 12px; display: block;
}
.about-text h2 { margin-bottom: 18px; }
.about-text p  { margin-bottom: 14px; font-size: 0.9375rem; }
.about-text p:last-of-type { margin-bottom: 0; }
.about-img {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-hover);
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.mission-section { padding: 96px 0; background: var(--blue-secondary); }
.mission-section h2 { color: #FFFFFF; }
.mission-section p  { color: rgba(255, 255, 255, 0.72); }
.mission-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.mission-img {
  border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4/3; box-shadow: var(--shadow-hover);
}
.mission-img img { width: 100%; height: 100%; object-fit: cover; }
.mission-text .label {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--blue-primary);
  margin-bottom: 12px; display: block;
}
.mission-text h2 { margin-bottom: 18px; }
.mission-text p  { margin-bottom: 14px; font-size: 0.9375rem; }

.about-work { padding: 96px 0; background: var(--bg); }
.work-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.work-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 3/4; cursor: pointer;
}
.work-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover img { transform: scale(1.06); }
.work-card-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  font-size: 0.8125rem; font-weight: 600; color: #FFFFFF;
}
.work-card:nth-child(4) .work-card-label { background: var(--black); }
.work-card:nth-child(1) .work-card-label { background: linear-gradient(90deg, #1B75BB, #0A4A8C); }
.work-card:nth-child(2) .work-card-label { background: linear-gradient(90deg, #00C4EE, #35D2FB); }
.work-card:nth-child(3) .work-card-label { background: linear-gradient(90deg, #E81C27, #FF6B35); }

.values-section { padding: 96px 0; background: var(--bg-f); }
.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.value-card {
  padding: 40px 28px;
  background: #FFFFFF;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.value-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-hover);
}
.value-icon {
  width: 76px; height: 76px;
  background: var(--blue-secondary);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 22px;
}
.value-icon img { width: 36px; height: 36px; filter: brightness(0) invert(1); }
.value-card:nth-child(2) .value-icon { background: var(--blue-primary); }
.value-card:nth-child(3) .value-icon { background: var(--red); }
.value-card h3 { margin-bottom: 10px; }
.value-card p  { font-size: 0.9rem; }

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section { padding: 80px 0 100px; background: var(--bg); }
.gallery-projects { display: flex; flex-direction: column; gap: 64px; }
.project-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-header {
  display: grid; grid-template-columns: 1fr auto;
  gap: 40px; padding: 44px 44px 36px;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.project-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.project-tag {
  display: inline-block; padding: 4px 12px;
  background: rgba(53,210,251,0.1); color: var(--blue-secondary);
  font-size: 0.8rem; font-weight: 600;
  border-radius: 20px; border: 1px solid rgba(53,210,251,0.25);
}
.project-date { font-size: 0.875rem; color: var(--light-text); }
.project-header h2 { font-size: 1.625rem; margin-bottom: 10px; }
.project-header > div > p { font-size: 0.9375rem; line-height: 1.7; max-width: 620px; }
.project-services h4 {
  font-size: 0.75rem; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--light-text); margin-bottom: 12px;
}
.project-services ul { display: flex; flex-direction: column; gap: 7px; min-width: 240px; }
.project-services li {
  font-size: 0.875rem; color: var(--light-text);
  padding-left: 24px; position: relative;
}
.project-services li::before {
  content: '✓'; position: absolute; left: 0; top: 1px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #35D2FB; color: #FFFFFF;
  font-size: 0.5rem; font-weight: 900;
  line-height: 16px; text-align: center;
}
/* Gallery: alternating colored headers + white text */
.project-card:nth-child(odd) .project-header  { background: #121F28; }
.project-card:nth-child(even) .project-header { background: #1B75BB; }
.project-card .project-header h2              { color: #FFFFFF; }
.project-card .project-header > div > p       { color: rgba(255, 255, 255, 0.80); }
.project-card .project-tag {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}
.project-card .project-date                   { color: rgba(255, 255, 255, 0.65); }
.project-card .project-services h4            { color: rgba(255, 255, 255, 0.65); }
.project-card .project-services li            { color: rgba(255, 255, 255, 0.85); }

.project-images { padding: 24px 44px 44px; }
.images-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.img-hero {
  grid-column: 1 / -1; height: 460px;
  border-radius: var(--radius-sm); overflow: hidden;
}
.img-hero img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.img-hero:hover img { transform: scale(1.03); }
.img-thumb { height: 300px; border-radius: var(--radius-sm); overflow: hidden; }
.img-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.img-thumb:hover img { transform: scale(1.06); }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.93);
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox-img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: 8px;
}
.lightbox-close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px; background: rgba(255,255,255,0.12);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: #FFFFFF; cursor: pointer;
  transition: background var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
/* Contact page header — light background */
.contact-header {
  background: #121F28;
  padding: 80px 0 60px;
  margin-top: var(--nav-h);
  text-align: center;
}
.contact-header h1 { margin-bottom: 14px; color: #FFFFFF; }
.contact-header p  { font-size: 1.0625rem; max-width: 480px; margin: 0 auto; color: rgba(255,255,255,0.70); }

/* Info cards row */
.contact-cards-section { padding: 60px 0; background: var(--bg); }
.contact-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.contact-card-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--blue-secondary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.contact-card-icon img { width: 26px; height: 26px; filter: brightness(0) invert(1); }
.contact-card:nth-child(1) .contact-card-icon { background: var(--blue-secondary); }
.contact-card:nth-child(2) .contact-card-icon { background: var(--blue-primary); }
.contact-card:nth-child(3) .contact-card-icon { background: var(--red); }
.contact-card:nth-child(4) .contact-card-icon { background: var(--black); }
.contact-card h3 { font-size: 0.9375rem; color: var(--black); margin-bottom: 2px; }
.contact-card a  { font-size: 0.9rem; font-weight: 600; color: var(--blue-secondary); transition: color var(--transition); }
.contact-card a:hover { color: var(--blue-primary); }
.contact-card p  { font-size: 0.875rem; color: var(--light-text); line-height: 1.5; }
.contact-card small { font-size: 0.8rem; color: #B0C0CB; }

/* Contact main: form (left) + map (right) */
.contact-main { padding: 80px 0 100px; background: var(--bg); }
.contact-main-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-form-wrap h2 { margin-bottom: 8px; }
.contact-form-wrap > p { font-size: 0.9rem; color: var(--light-text); margin-bottom: 28px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.form-group label { font-size: 0.875rem; font-weight: 500; color: var(--black); }
.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 14px;
  background: #F5F8FA;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem; color: var(--black);
  transition: border-color var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #B0C0CB; }
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue-primary); outline: none; }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit { width: 100%; margin-top: 6px; padding: 14px; font-size: 1rem; }
.form-success {
  display: none; padding: 14px;
  background: rgba(53,210,251,0.1);
  border: 1px solid rgba(53,210,251,0.3);
  border-radius: var(--radius-sm);
  color: var(--blue-secondary); font-size: 0.9rem;
  text-align: center; margin-top: 14px;
}
.form-success.show { display: block; }

/* Map column */
.contact-map-wrap h2 { margin-bottom: 24px; }
.contact-map-wrap .map-embed {
  border-radius: var(--radius); overflow: hidden; margin-bottom: 18px;
}
.contact-map-wrap .map-embed iframe { width: 100%; height: 380px; border: none; display: block; }
.map-address-block {
  display: flex; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.map-address-block p { font-size: 0.9375rem; color: var(--black); line-height: 1.6; }

/* Urgent CTA — red background */
.urgent-cta {
  background: var(--red);
  padding: 64px 0;
  text-align: center;
}
.urgent-cta .container {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 16px;
}
.urgent-cta-text h3 { color: #FFFFFF; margin-bottom: 8px; font-size: 1.75rem; }
.urgent-cta-text p  { color: rgba(255, 255, 255, 0.85); font-size: 1rem; }

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .nav-container { padding: 0 32px; gap: 20px; }
  .hero-content, .page-hero-content { padding: 0 32px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { gap: 28px; }
  .about-intro-grid, .mission-grid { gap: 48px; }
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { gap: 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }

  .project-header { padding: 32px; gap: 24px; }
  .project-images { padding: 16px 32px 32px; }
  .img-hero { height: 360px; }
  .img-thumb { height: 240px; }
  .contact-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-main-grid { gap: 40px; }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  .nav-container { padding: 0 20px; gap: 0; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { height: 480px; }
  .hero-content { padding: 0 20px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; justify-content: center; }

  /* Page hero */
  .page-hero { height: 400px; }
  .page-hero--centered { height: 480px; }
  .page-hero-content { padding: 0 20px; }

  /* Page header */
  .page-header { padding: 80px 0 40px; }

  /* Sections */
  .services { padding: 64px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .features { padding: 64px 0; }
  .features-grid { grid-template-columns: 1fr; gap: 32px; }
  .testimonials { padding: 64px 0; }
  .cta-section { padding: 64px 0; }
  .cta-actions { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 320px; }

  /* About */
  .about-intro { padding: 64px 0; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 32px; }
  .mission-section { padding: 64px 0; }
  .mission-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-work { padding: 64px 0; }
  .work-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .values-section { padding: 64px 0; }
  .values-grid { grid-template-columns: 1fr; gap: 16px; }

  /* Gallery */
  .gallery-section { padding: 48px 0; }
  .gallery-projects { gap: 48px; }
  .project-header { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .project-images { padding: 0 16px 24px; }
  .images-grid { gap: 8px; }
  .img-hero { height: 220px; }
  .img-thumb { height: 140px; }

  /* Contact */
  .contact-header { padding: 60px 0 44px; }
  .contact-cards-section { padding: 40px 0; }
  .contact-cards-grid { grid-template-columns: 1fr; gap: 12px; }
  .contact-main { padding: 48px 0 64px; }
  .contact-main-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-map-wrap .map-embed iframe { height: 300px; }
  .map-address-block { flex-direction: column; align-items: flex-start; }
  .urgent-cta { padding: 48px 0; }

  /* Footer */
  .footer { padding: 48px 0 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 36px; }
  .footer-brand { grid-column: auto; }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
