/* ===================================================================
   FERRARESI ENGENHARIA — Main Stylesheet
   =================================================================== */

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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #111111;
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; }

/* --- Custom Properties --- */
:root {
  --charcoal:  #111111;
  --charcoal2: #1A1A1A;
  --navy:      #003366;
  --orange:    #FF6600;
  --white:     #FFFFFF;
  --light:     #F7F6F2;
  --mid:       #666666;
  --border:    #E5E5E5;

  --container: 1240px;
  --radius:    4px;
  --radius-md: 8px;
  --radius-lg: 12px;

  --shadow:    0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --tr:        0.28s ease;
}

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

/* --- Sections --- */
.section     { padding: 6rem 0; }
.section-sm  { padding: 3.5rem 0; }
.bg-dark     { background: var(--charcoal); }
.bg-navy     { background: var(--navy); }
.bg-light    { background: var(--light); }

/* --- Typography utilities --- */
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}
.text-white  { color: var(--white) !important; }
.text-gray   { color: rgba(255,255,255,0.65); }
.text-orange { color: var(--orange); }
.text-center { text-align: center; }
.mt-sm  { margin-top: 1.5rem; }
.mt-md  { margin-top: 2.5rem; }
.mt-lg  { margin-top: 3.5rem; }

/* --- Headings --- */
h1 { font-size: clamp(2.25rem, 5vw, 3.875rem); font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.875rem, 3.5vw, 2.75rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
p  { line-height: 1.75; color: var(--mid); }

/* --- Section Header --- */
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header p { max-width: 560px; margin: 0.75rem auto 0; font-size: 1.05rem; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--tr), color var(--tr), border-color var(--tr), transform var(--tr);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: 1.05rem 2.1rem; font-size: 0.95rem; }

.btn-orange { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: #e05a00; }

.btn-dark { background: var(--charcoal); color: var(--white); }
.btn-dark:hover { background: #2a2a2a; }

.btn-outline-white {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.7);
}

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


/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(17,17,17,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow var(--tr);
}
.header.scrolled { box-shadow: 0 2px 24px rgba(0,0,0,0.35); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 1.5rem;
}

.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 34px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.125rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: 0.5rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  border-radius: var(--radius);
  transition: color var(--tr), background var(--tr);
  position: relative;
}
.nav-link:hover { color: var(--white); }
.nav-link.active { color: var(--white); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown > .nav-link { cursor: pointer; user-select: none; }

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1C1C1C;
  border: 1px solid rgba(255,255,255,0.08);
  border-top: 2px solid var(--orange);
  min-width: 230px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all var(--tr);
  pointer-events: none;
}
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: all;
}
.dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--tr), background var(--tr);
}
.dropdown-menu a:hover { color: var(--orange); background: rgba(255,102,0,0.06); }

.nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius);
  transition: background var(--tr);
  flex-shrink: 0;
}
.nav-cta:hover { background: #e05a00; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--tr);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 70px; left: 0; right: 0;
  background: var(--charcoal2);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.5rem 2rem 2rem;
  z-index: 999;
  flex-direction: column;
  gap: 0.25rem;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 0.875rem 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-weight: 500;
}
.mobile-nav a:hover { color: var(--orange); }
.mobile-nav .mobile-cta {
  margin-top: 1rem;
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 0.875rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
}


/* =====================================================================
   HERO — HOME
   ===================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.7) 55%,
    rgba(0,0,0,0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 9rem 2rem 7rem;
  max-width: 820px;
  margin-left: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 100px;
  padding: 0.375rem 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-content h1 .hl-orange { color: var(--orange); }

.hero-sub {
  font-size: 1.075rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 2.75rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}


/* =====================================================================
   TRUST BAR
   ===================================================================== */
.trust-bar {
  background: #181818;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 1.5rem 0;
}

.trust-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.5rem 2.5rem;
  flex: 1;
  justify-content: center;
}

.trust-icon {
  width: 38px; height: 38px;
  background: rgba(255,102,0,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-icon svg { width: 18px; height: 18px; fill: var(--orange); }

.trust-text strong {
  display: block;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.3;
}
.trust-text span {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.45);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}


/* =====================================================================
   INTRO SECTION
   ===================================================================== */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.intro-text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.18;
  margin-top: 0.5rem;
  text-transform: uppercase;
}

.underline-orange {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-underline-offset: 6px;
  text-decoration-thickness: 3px;
}

.intro-detail p {
  font-size: 1.025rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}


/* =====================================================================
   SERVICES GRID — HOME
   ===================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-card {
  background: rgba(255,255,255,0.025);
  transition: background var(--tr);
  cursor: pointer;
}
.service-card:hover { background: rgba(255,255,255,0.055); }

.service-card-img {
  aspect-ratio: 3/2;
  overflow: hidden;
}
.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  filter: brightness(0.85);
}
.service-card:hover .service-card-img img {
  transform: scale(1.05);
  filter: brightness(0.95);
}

.service-card-body { padding: 1.5rem; }

.service-card-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}

.service-card-body h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 0.625rem;
  line-height: 1.35;
}

.service-card-body p {
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.service-link {
  font-size: 0.825rem;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--tr);
}
.service-link:hover { gap: 0.6rem; }


/* =====================================================================
   WHY CHOOSE US
   ===================================================================== */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-images { position: relative; padding-bottom: 2.5rem; padding-right: 2.5rem; }

.why-img-main {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.why-img-main img { width: 100%; height: 100%; object-fit: cover; }

.why-img-badge {
  position: absolute;
  bottom: 0; right: 0;
  background: var(--orange);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-lg);
  min-width: 130px;
}
.why-img-badge strong {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}
.why-img-badge span {
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.85;
  display: block;
  margin-top: 0.25rem;
}

.why-content h2 { color: var(--charcoal); margin-bottom: 0.5rem; }
.why-content > p { margin-bottom: 2rem; font-size: 1.025rem; line-height: 1.8; }

.why-list { display: flex; flex-direction: column; gap: 1.375rem; margin-bottom: 2.5rem; }

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

.why-icon {
  width: 42px; height: 42px;
  background: rgba(255,102,0,0.09);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.why-icon svg { width: 20px; height: 20px; fill: var(--orange); }

.why-item strong {
  display: block;
  font-weight: 700;
  color: var(--charcoal);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.why-item p { font-size: 0.875rem; line-height: 1.65; }


/* =====================================================================
   STATS BAR
   ===================================================================== */
.stats-bar { background: var(--navy); padding: 4.5rem 0; }

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

.stat-num {
  display: block;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.stat-num sup { font-size: 0.45em; vertical-align: super; }

.stat-label {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  line-height: 1.45;
}


/* =====================================================================
   PORTFOLIO TEASER
   ===================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 240px);
  gap: 1rem;
}

.portfolio-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
}
.portfolio-card-tall { grid-row: span 2; }

.portfolio-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease, filter 0.3s ease;
  filter: brightness(0.85);
}
.portfolio-card:hover img { transform: scale(1.06); filter: brightness(0.7); }

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 55%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}
.portfolio-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.375rem;
}
.portfolio-overlay h3 { color: var(--white); font-size: 1rem; line-height: 1.3; }


/* =====================================================================
   CTA SECTION
   ===================================================================== */
.cta-section { background: var(--charcoal2); padding: 5.5rem 0; }

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.cta-inner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-inner p { max-width: 480px; }

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  flex-shrink: 0;
  align-items: stretch;
  min-width: 240px;
}


/* =====================================================================
   FOOTER
   ===================================================================== */
.footer {
  background: #0A0A0A;
  padding-top: 5rem;
}

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

.footer-logo { height: 30px; width: auto; margin-bottom: 1.125rem; }

.footer-brand p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.7;
  margin-bottom: 0;
}
.footer-brand .footer-slogan { margin-bottom: 0.75rem; }
.footer-crea {
  font-size: 0.775rem;
  color: rgba(255,255,255,0.25);
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.375rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.625rem; }
.footer-col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--tr);
}
.footer-col a:hover { color: var(--orange); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-bottom: 0.75rem;
}
.footer-contact-icon {
  width: 16px; height: 16px;
  fill: var(--orange);
  flex-shrink: 0;
  margin-top: 3px;
}
.footer-contact-item span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.social-links {
  display: flex;
  gap: 0.625rem;
  margin-top: 1.5rem;
}
.social-link {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.675rem;
  font-weight: 800;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  transition: all var(--tr);
}
.social-link:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.footer-bottom {
  padding: 1.5rem 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.22);
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}


/* =====================================================================
   WHATSAPP FLOAT
   ===================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 500;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: transform var(--tr), box-shadow var(--tr);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
.whatsapp-float svg { width: 28px; height: 28px; fill: var(--white); }


/* =====================================================================
   PAGE HERO (inner pages)
   ===================================================================== */
.page-hero {
  position: relative;
  padding: 10rem 0 4.5rem;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 100%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero-content h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin-bottom: 2rem;
}
.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.4); }
.page-hero-breadcrumb a:hover { color: var(--orange); }
.page-hero-breadcrumb span { color: rgba(255,255,255,0.6); }


/* =====================================================================
   SERVICES PAGE — DETAIL SECTIONS
   ===================================================================== */
.service-detail-section {
  padding: 5.5rem 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-section:last-of-type { border-bottom: none; }
.service-detail-section.bg-light { border-bottom-color: #e8e7e3; }

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.service-detail-grid.reverse { direction: rtl; }
.service-detail-grid.reverse > * { direction: ltr; }

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}
.service-detail-img img { width: 100%; height: 100%; object-fit: cover; }

.service-detail-num {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.625rem;
}
.service-detail-content h2 { color: var(--charcoal); margin-bottom: 1rem; }
.service-detail-content > p { margin-bottom: 1.75rem; font-size: 1.025rem; line-height: 1.8; }

/* Checklist */
.check-list { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 2rem; }
.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.check-circle {
  width: 20px; height: 20px;
  background: rgba(255,102,0,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.check-circle svg { width: 10px; height: 10px; fill: var(--orange); }

/* Spec tags */
.spec-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.spec-tag {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--charcoal);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.875rem;
  border-radius: 100px;
}

/* Highlight box */
.highlight-box {
  background: var(--navy);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}
.highlight-box-icon { font-size: 1.5rem; flex-shrink: 0; }
.highlight-box p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.65;
  margin: 0;
}
.highlight-box strong { color: var(--white); }

/* Feature cards strip */
.feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--tr), box-shadow var(--tr);
}
.feature-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(255,102,0,0.08); }
.feature-card-icon {
  width: 44px; height: 44px;
  background: rgba(255,102,0,0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.feature-card-icon svg { width: 22px; height: 22px; fill: var(--orange); }
.feature-card h4 { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.375rem; }
.feature-card p { font-size: 0.825rem; line-height: 1.6; }

/* Metrics strip */
.metrics-strip { background: var(--navy); padding: 3.5rem 0; }
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}
.metric-num {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 0.375rem;
}
.metric-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); }
.metric-desc { font-size: 0.775rem; color: rgba(255,255,255,0.35); margin-top: 0.25rem; display: block; }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.steps-grid::after {
  content: '';
  position: absolute;
  top: 1.75rem;
  left: calc(12.5% + 1rem);
  right: calc(12.5% + 1rem);
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 52px; height: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 2px var(--orange);
}
.step h4 { font-size: 0.95rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.375rem; }
.step p { font-size: 0.825rem; line-height: 1.55; }


/* =====================================================================
   FAQ
   ===================================================================== */
.faq-wrap { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.975rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: color var(--tr);
}
.faq-btn:hover { color: var(--orange); }

.faq-icon {
  width: 26px; height: 26px;
  background: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--white);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform var(--tr);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  font-size: 0.925rem;
  color: var(--mid);
  line-height: 1.75;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding-bottom: 0;
}
.faq-item.open .faq-answer {
  max-height: 500px;
  padding-bottom: 1.5rem;
}


/* =====================================================================
   RELATED SERVICES (bottom of services page)
   ===================================================================== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.related-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.875rem;
  transition: border-color var(--tr), box-shadow var(--tr), transform var(--tr);
}
.related-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255,102,0,0.08);
  transform: translateY(-2px);
}
.related-card h4 { font-size: 1rem; font-weight: 700; color: var(--charcoal); margin-bottom: 0.5rem; }
.related-card p { font-size: 0.875rem; margin-bottom: 1.25rem; }
.related-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: gap var(--tr);
}
.related-link:hover { gap: 0.5rem; }


/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .portfolio-card-tall { grid-row: span 1; aspect-ratio: 16/9; }
  .portfolio-card { aspect-ratio: 16/9; }
}

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

  .intro-grid  { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .why-images  { padding-bottom: 1.5rem; padding-right: 0; }
  .why-img-badge { position: static; margin-top: 1rem; display: inline-flex; align-items: center; gap: 1rem; }

  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .cta-inner   { flex-direction: column; text-align: center; }
  .cta-actions { flex-direction: row; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

  .service-detail-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-grid.reverse { direction: ltr; }

  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .steps-grid::after { display: none; }
  .feature-cards { grid-template-columns: 1fr 1fr; }
  .metrics-grid { grid-template-columns: 1fr 1fr; }
  .related-grid { grid-template-columns: 1fr; }

  .trust-grid { flex-wrap: wrap; gap: 0.5rem; justify-content: flex-start; }
  .trust-item { flex: 0 0 calc(50% - 1px); padding: 0.75rem 1.25rem; justify-content: flex-start; }
  .trust-divider { display: none; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }
  .hero-content { padding: 8rem 2rem 5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn-lg { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; gap: 0.25rem; text-align: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .feature-cards { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .trust-item { flex: 0 0 100%; }
  .steps-grid { grid-template-columns: 1fr; }
}
