/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #0f3b5f;
  --primary-dark: #082a44;
  --secondary: #e67e22;
  --secondary-light: #f39c12;
  --accent: #1abc9c;
  --gray-light: #f8fafc;
  --gray-border: #e2e8f0;
  --text-dark: #1e293b;
  --text-muted: #475569;
  --shadow-sm: 0 16px 38px rgba(8,42,68,0.10);
  --shadow-md: 0 24px 54px rgba(8,42,68,0.14);
  --shadow-lg: 0 34px 80px -28px rgba(8,42,68,0.28);
  --card-border: 1px solid rgba(15,59,95,0.12);
  --card-radius: 18px;
  --section-space: 6.4rem;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-dark);
  background: #f7fafc;
  min-height: 100vh;
  overflow-x: hidden;
}

body,
button,
input,
textarea,
select {
  font-family: 'Montserrat', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.logo h1,
.logo p,
.nav-links a,
.nav-cta,
.section-label,
.section-title,
.section-subtitle,
.btn-primary,
.btn-outline,
.service-card,
.reason-card,
.project-showcase-card,
.capability-card,
.mep-card,
.process-card,
.maintenance-card,
.quality-card,
.contact-card,
.contact-form-card,
.site-footer {
  font-family: 'Montserrat', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
.btn-primary,
.btn-outline,
.nav-cta,
.contact-actions .btn-secondary {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(14,77,124,0.25);
  outline-offset: 3px;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 14px 40px -28px rgba(8,42,68,0.2);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.45rem;
  min-height: 68px;
  padding: 0.65rem 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 230px;
}

.logo-img {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  white-space: nowrap;
}

.logo-text strong {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--primary-dark);
  line-height: 1;
}

.logo-text span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--secondary);
  line-height: 1;
  margin-top: 0.18rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.45rem;
  flex-wrap: nowrap;
}

.nav-links a {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--secondary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.58rem 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  min-width: auto;
  line-height: 1;
  color: #ffffff;
  border: 1px solid rgba(8,42,68,0.2);
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: 0 8px 18px rgba(8,42,68,0.14);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-cta:hover {
  background: var(--primary-dark);
  border-color: var(--secondary);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(230,126,34,0.18);
}

.menu-btn {
  display: none;
  font-size: 1.9rem;
  color: var(--primary);
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .hero-image-card {
    min-height: 460px;
  }

  .hero-main-img {
    min-height: 460px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 84px;
    left: 0;
    transform: translateX(-110%);
    width: 85%;
    height: calc(100vh - 84px);
    padding: 2rem;
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff;
    gap: 1.4rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.28s ease;
    z-index: 101;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .menu-btn {
    display: block;
  }

  .nav-cta {
    display: none;
  }
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  border-radius: 40px;
  border: none;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.6rem;
  border-radius: 40px;
  border: 2px solid rgba(15,59,95,0.18);
  background: rgba(255,255,255,0.92);
  color: var(--primary-dark);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-outline:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 6.8rem 0 7.2rem;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78) 0%, rgba(233,238,243,0.94) 100%),
    radial-gradient(circle at 82% 16%, rgba(230,126,34,0.14) 0, transparent 34%),
    linear-gradient(135deg, #f1f5f9 0%, #e9eef3 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 700px;
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.35rem;
}

.hero-benefit-card {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1rem 1.15rem;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: 0 18px 38px -24px rgba(8,42,68,0.18);
}

.hero-benefit-card i {
  color: var(--secondary);
  font-size: 1.25rem;
  min-width: 32px;
}

.hero-benefit-card strong {
  display: block;
  font-weight: 800;
  color: var(--primary-dark);
}

.hero-benefit-card span {
  display: block;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
}

.hero-support {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.hero-support a {
  color: var(--primary);
}

.hero-whatsapp {
  margin-bottom: 1.25rem;
}

.hero-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.05rem;
  border-radius: 999px;
  background: #25d366;
  border: 1px solid rgba(18,140,74,0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.98rem;
  box-shadow: 0 18px 36px -18px rgba(18,140,74,0.7);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-whatsapp a:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 20px 40px -16px rgba(18,140,74,0.75);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 520px;
  background: #e9eef3;
  border: 1px solid rgba(15,59,95,0.12);
  box-shadow: 0 24px 60px rgba(8,42,68,0.16);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,59,95,0.08);
  color: var(--primary-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.hero-content h1 {
  max-width: 650px;
  font-size: clamp(3.1rem, 5.2vw, 4.7rem);
  line-height: 1.08;
  margin: 1.2rem 0 1.55rem;
  letter-spacing: 0;
}

.hero-highlight {
  display: block;
  color: var(--secondary);
  font-size: 0.82em;
  white-space: nowrap;
}

.hero-lead {
  max-width: 620px;
  color: #475569;
  font-size: 1.14rem;
  line-height: 1.82;
  margin-bottom: 1.65rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.2rem;
}

.hero-support {
  color: #0f3b5f;
  font-weight: 700;
  margin-bottom: 0.55rem;
}

.hero-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.58rem 0.95rem;
  border-radius: 999px;
  background: #25D366;
  border: 1px solid rgba(18,140,74,0.18);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 14px 30px -18px rgba(18,140,74,0.65);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-whatsapp a:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -18px rgba(18,140,74,0.75);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(15,59,95,0.1);
  background: #ffffff;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-pill i {
  color: var(--secondary);
  font-size: 1rem;
}

.hero-image-card {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  min-height: 460px;
  background: #e9eef3;
  border: 1px solid rgba(15,59,95,0.12);
  box-shadow: 0 24px 60px rgba(8,42,68,0.16);
}

.hero-main-img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.hero-photo-placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
}

.hero-photo-placeholder .placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: #64748b;
  font-weight: 600;
  max-width: 320px;
}

.hero-photo-placeholder .placeholder-inner i {
  font-size: 2.4rem;
  color: var(--secondary);
}

.floating-card {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 1.15rem 1.3rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: 0 18px 40px rgba(8,42,68,0.16);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.floating-card strong {
  font-size: 1.05rem;
}

.floating-card div {
  color: #475569;
  font-size: 0.96rem;
}

/* Section headings */
section {
  padding: var(--section-space) 0;
}

section > .container > .section-label,
.values-section > .section-label {
  display: flex;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

section > .container > .section-title,
section > .container > .section-subtitle,
.values-section > .section-title,
.values-section > .section-subtitle {
  text-align: center;
}

.section-label {
  display: inline-flex;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.section-title {
  font-size: clamp(2.25rem, 3vw, 2.85rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--primary-dark);
  margin-bottom: 0.9rem;
}

.section-subtitle {
  max-width: 760px;
  margin: 0 auto;
  color: #475569;
  font-size: 1.06rem;
  line-height: 1.75;
}

/* About */
.about-section {
  background: linear-gradient(180deg, #fbfdff 0%, #f7fbfd 100%);
}

.about-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  gap: 3.25rem;
  margin-top: 2.8rem;
  align-items: center;
}

.about-label {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 0.7rem;
}

.about-content h3 {
  font-size: 1.82rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
}

.about-content p {
  font-size: 1.04rem;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.about-points {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  padding-left: 0;
}

.about-points li {
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.7;
  position: relative;
  padding-left: 1.3rem;
}

.about-points li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-size: 1.2rem;
  line-height: 1;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  align-self: stretch;
}

.stat-card {
  min-height: 116px;
  padding: 1.45rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(15,59,95,0.07);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.stat-card i {
  font-size: 1.65rem;
  color: var(--secondary);
}

.stat-text {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* Values */
.values-section {
  padding-top: var(--section-space);
  padding-bottom: var(--section-space);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.value-feature-card {
  background: #ffffff;
  min-height: 100%;
  padding: 2.15rem;
  border-radius: var(--card-radius);
  border: 1px solid rgba(15,59,95,0.06);
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.value-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 52px rgba(8,42,68,0.12);
}

.v-icon i {
  font-size: 1.75rem;
  color: var(--secondary);
}

.value-feature-card h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
}

.value-feature-card p {
  color: #475569;
  line-height: 1.72;
  font-size: 1rem;
}

/* Services */
.services-featured,
.services-grid {
  margin-top: 2.5rem;
  display: grid;
  gap: 1.45rem;
}

.services-featured {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
}

.service-card {
  background: #ffffff;
  min-height: 100%;
  min-width: 0;
  border-radius: var(--card-radius);
  border: 1px solid rgba(15,59,95,0.07);
  box-shadow: var(--shadow-sm);
  padding: 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 46px rgba(8,42,68,0.12);
}

.service-card.featured {
  padding: 2.15rem;
  background: linear-gradient(180deg, #fffbf6 0%, #ffffff 100%);
  border-color: rgba(232,121,32,0.12);
}

.service-icon i {
  font-size: 2rem;
  color: var(--secondary);
}

.service-card h4 {
  font-size: 1.06rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.service-card p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.7;
}

.service-card.featured h4 {
  font-size: 1.1rem;
}

.services-cta {
  margin-top: 3rem;
  padding: 2.2rem 2.4rem;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.services-cta h3 {
  font-size: 1.48rem;
  font-weight: 700;
  margin: 0;
  max-width: 720px;
}

.services-cta .btn-primary {
  padding: 0.95rem 1.6rem;
}

/* Why Choose Us */
.why-section {
  background: #ffffff;
}

.why-wrapper {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 2.6rem;
  margin-top: 2.8rem;
  align-items: start;
}

.why-panel {
  background: linear-gradient(180deg, #0b2b3f 0%, #0f3b5f 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 2.45rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-panel h3 {
  font-size: 1.65rem;
  line-height: 1.25;
  margin: 0;
}

.why-panel p {
  color: rgba(255,255,255,0.88);
  line-height: 1.75;
  font-size: 1rem;
}

.why-highlights {
  display: grid;
  gap: 0.9rem;
  margin-top: 1rem;
}

.why-highlight {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.why-highlight i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--secondary);
  font-size: 1.1rem;
}

.why-highlight span {
  font-weight: 700;
  font-size: 0.96rem;
  color: #f8fbff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.reason-card {
  background: #ffffff;
  min-height: 100%;
  min-width: 0;
  border-radius: var(--card-radius);
  padding: 1.55rem;
  border: 1px solid rgba(15,59,95,0.07);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.reason-icon i {
  color: var(--secondary);
  font-size: 1.8rem;
}

.reason-card h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.3;
}

.reason-card p {
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

/* Projects */
.projects-section {
  background: linear-gradient(180deg, #f8f9fb 0%, #f0f4f9 100%);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 3rem;
}

.project-showcase-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
  grid-column: span 2;
}

.project-showcase-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.project-showcase-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.project-showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(8,42,68,0.1);
}

.project-photo-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(15,59,95,0.045) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #f5f8fc 0%, #e8f0f8 100%);
  border-bottom: 1px solid rgba(15,59,95,0.1);
  display: grid;
  place-items: center;
  min-height: 270px;
}

.photo-reminder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  color: #64748b;
  font-size: 0.98rem;
  font-weight: 700;
  text-align: center;
}

.photo-reminder i {
  font-size: 2rem;
  color: var(--secondary);
}

.project-image-wrap {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(15,59,95,0.04) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(180deg, #f1f6fb 0%, #e8f0f8 100%);
  border-bottom: 1px solid rgba(15,59,95,0.10);
}

.project-image-wrap.img-fallback {
  display: block;
  min-height: 0;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.35s ease;
}

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

.project-img-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  text-align: center;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 700;
}

.project-img-fallback i {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--secondary);
  font-size: 1.7rem;
}

.project-img.is-hidden + .project-img-fallback,
.project-img.img-broken + .project-img-fallback,
.project-image-wrap.img-fallback .project-img-fallback,
.project-img-fallback.is-visible {
  display: grid;
}

.project-content {
  padding: 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex: 1;
}

.project-location {
  font-size: 0.82rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-showcase-card h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin: 0;
  color: var(--primary-dark);
}

.project-showcase-card p {
  font-size: 0.96rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}

/* Capability section */
.capability-section {
  background: #ffffff;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.capability-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  min-width: 0;
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.capability-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(8,42,68,0.1);
}

.capability-photo-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(15,59,95,0.045) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
  border-bottom: 1px solid rgba(15,59,95,0.08);
  min-height: 235px;
  display: grid;
  place-items: center;
  padding: 1.2rem;
}

.capability-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex: 1;
}

.capability-icon {
  color: var(--secondary);
  font-size: 1.8rem;
}

.capability-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin: 0;
  line-height: 1.35;
}

.capability-card p {
  color: #475569;
  line-height: 1.72;
  font-size: 0.98rem;
  margin: 0;
}

/* MEP */
.mep-section {
  background: #f6f9fd;
}

.mep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.mep-card {
  background: #ffffff;
  min-height: 100%;
  min-width: 0;
  border-radius: var(--card-radius);
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: var(--shadow-sm);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mep-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(8,42,68,0.1);
}

.mep-icon {
  color: var(--secondary);
  font-size: 2rem;
}

.mep-card h3 {
  font-size: 1.16rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.35;
}

.mep-card p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.72;
  margin: 0;
}

.mep-cta {
  margin-top: 2.8rem;
  padding: 2rem 2.2rem;
  background: linear-gradient(90deg, rgba(8,42,68,1) 0%, rgba(15,59,95,1) 100%);
  border-radius: 24px;
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.mep-cta p {
  margin: 0;
  font-size: 1.14rem;
  font-weight: 700;
}

.mep-cta .btn-primary {
  padding: 0.95rem 1.6rem;
}

/* Process */
.process-section,
.maintenance-section,
.gallery-section,
.quality-section,
.contact-section {
  background: #ffffff;
}

.process-grid,
.maintenance-grid,
.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2.7rem;
}

.process-card,
.maintenance-card,
.quality-card {
  background: #ffffff;
  border-radius: var(--card-radius);
  min-width: 0;
  padding: 1.9rem;
  border: 1px solid rgba(15,59,95,0.08);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 270px;
}

.process-card:hover,
.maintenance-card:hover,
.quality-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 26px 54px rgba(8,42,68,0.1);
}

.process-number {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--secondary);
  background: rgba(230,126,34,0.14);
}

.process-icon,
.maintenance-icon {
  color: var(--secondary);
  font-size: 2.15rem;
}

.process-card h4,
.maintenance-card h4,
.quality-card h4 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  color: var(--primary-dark);
  line-height: 1.3;
}

.process-card p,
.maintenance-card p,
.quality-card p {
  margin: 0;
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.75;
  flex: 1;
}

.service-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 3rem;
}

.service-badges span {
  background: rgba(14,77,124,0.1);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  padding: 0.82rem 1.18rem;
  border: 1px solid rgba(14,77,124,0.08);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 2.5rem;
}

.gallery-placeholder,
.gallery-item {
  border-radius: 20px;
  min-height: 330px;
  overflow: hidden;
}

.gallery-placeholder {
  background:
    repeating-linear-gradient(135deg, rgba(15,59,95,0.045) 0 1px, transparent 1px 16px),
    linear-gradient(180deg, #f8fbff 0%, #edf3f9 100%);
  border: 1px solid rgba(15,59,95,0.12);
  display: grid;
  place-items: center;
  padding: 1.4rem;
}

.placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
  color: #64748b;
  font-weight: 600;
}

.placeholder-inner i {
  font-size: 2.4rem;
  color: var(--secondary);
}

.quality-section {
  background: linear-gradient(180deg, #081f34 0%, #0a3049 100%);
  color: #ffffff;
  padding-top: 6.8rem;
  padding-bottom: 6.8rem;
}

.quality-section .section-title,
.quality-section .section-subtitle,
.quality-section .section-label {
  color: #e2eff9;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2.8rem;
}

.quality-card {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--card-radius);
  min-height: 245px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quality-card i {
  font-size: 2rem;
  color: var(--secondary);
}

.quality-card h4 {
  margin: 0;
  font-size: 1.16rem;
  font-weight: 800;
  color: #ffffff;
}

.quality-card p {
  margin: 0;
  color: #e4eef9;
  line-height: 1.75;
}

/* Contact */
.contact-section {
  background: #f7fafd;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.contact-card,
.contact-form-card {
  background: #ffffff;
  min-width: 0;
  border: 1px solid rgba(15,59,95,0.08);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
  padding: 2.2rem;
}

.contact-card .section-label {
  margin-bottom: 1rem;
}

.contact-card h2 {
  margin: 0 0 0.9rem;
  font-size: 1.95rem;
  line-height: 1.1;
}

.contact-card p {
  color: #475569;
  font-size: 1.04rem;
  line-height: 1.75;
}

.contact-details p {
  margin: 1rem 0;
  color: #334155;
  font-size: 1rem;
}

.contact-details a {
  color: var(--primary-dark);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.contact-actions .btn-secondary {
  border: 1px solid rgba(14,77,124,0.18);
  background: rgba(14,77,124,0.08);
  color: var(--primary-dark);
  padding: 0.95rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  min-width: 150px;
}

.contact-actions .btn-outline {
  border-color: rgba(15,59,95,0.16);
  background: transparent;
  color: var(--text-dark);
}

.contact-form-card label {
  display: block;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.55rem;
}

.contact-form-card input,
.contact-form-card textarea {
  width: 100%;
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid #cbd5e1;
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(15,59,95,0.08);
}

.contact-form-card button {
  width: 100%;
}

/* Footer */
.site-footer {
  background: #081f34;
  color: #cbd5e1;
  padding: 4.6rem 0 1.7rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.2rem;
  margin-bottom: 2rem;
}

.site-footer h3 {
  color: #ffffff;
  font-size: 1.3rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.footer-grid h4 {
  color: #ffffff;
  font-size: 1.06rem;
  margin-bottom: 1rem;
}

.footer-grid p {
  color: #cbd5e1;
  line-height: 1.8;
  font-size: 1rem;
}

.footer-grid a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 0.65rem;
  font-size: 0.96rem;
  overflow-wrap: anywhere;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.95rem;
}

.floating-whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #ffffff;
  box-shadow: 0 18px 36px rgba(18,140,74,0.32), 0 8px 18px rgba(8,42,68,0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.floating-whatsapp i {
  font-size: 1.85rem;
}

.floating-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(18,140,74,0.36), 0 10px 22px rgba(8,42,68,0.2);
}

/* Visual depth and section separation */
.navbar {
  border-bottom: 1px solid rgba(15,59,95,0.1);
  box-shadow: 0 16px 38px -28px rgba(8,42,68,0.32);
}

.hero {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.74) 0%, rgba(231,238,246,0.95) 100%),
    radial-gradient(circle at 82% 16%, rgba(230,126,34,0.16) 0, transparent 34%),
    linear-gradient(135deg, #eef4fa 0%, #e6edf5 100%);
}

.about-section,
.why-section,
.capability-section,
.process-section,
.gallery-section {
  background: #ffffff;
}

.values-section {
  background: #ffffff;
}

.services-section {
  background: linear-gradient(180deg, #fbf7f2 0%, #f6f9fc 100%);
}

.projects-section,
.mep-section,
.maintenance-section,
.contact-section {
  background: linear-gradient(180deg, #f4f8fc 0%, #eef4f9 100%);
}

.section-title {
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
}

.about-wrapper {
  padding: 2.6rem;
  background: #ffffff;
  border: var(--card-border);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.service-card,
.reason-card,
.project-showcase-card,
.capability-card,
.mep-card,
.process-card,
.maintenance-card,
.quality-card,
.contact-card,
.contact-form-card,
.value-feature-card,
.stat-card {
  background: #ffffff;
  border: var(--card-border);
  box-shadow: var(--shadow-sm);
}

.service-card:hover,
.reason-card:hover,
.project-showcase-card:hover,
.capability-card:hover,
.mep-card:hover,
.process-card:hover,
.maintenance-card:hover,
.quality-card:hover,
.value-feature-card:hover,
.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card.featured {
  border-color: rgba(230,126,34,0.22);
  box-shadow: 0 18px 42px rgba(138,75,22,0.11);
}

.v-icon,
.service-icon,
.reason-icon,
.capability-icon,
.mep-icon,
.process-icon,
.maintenance-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(230,126,34,0.11);
  color: var(--secondary);
}

.v-icon i,
.service-icon i,
.reason-icon i,
.capability-icon i,
.mep-icon i,
.process-icon i,
.maintenance-icon i {
  font-size: 1.55rem;
}

.project-photo-placeholder,
.capability-photo-placeholder,
.gallery-placeholder {
  background:
    linear-gradient(135deg, rgba(15,59,95,0.045) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(180deg, #f1f6fb 0%, #e8f0f8 100%);
  border: 1px dashed rgba(15,59,95,0.2);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.85);
}

.photo-reminder,
.placeholder-inner,
.hero-photo-placeholder .placeholder-inner {
  color: #4f6478;
  font-weight: 700;
}

.photo-reminder i,
.placeholder-inner i,
.hero-photo-placeholder .placeholder-inner i {
  color: var(--secondary);
  filter: drop-shadow(0 8px 18px rgba(230,126,34,0.18));
}

.trust-pill {
  border-color: rgba(15,59,95,0.14);
  box-shadow: 0 10px 24px rgba(8,42,68,0.08);
}

.btn-primary {
  box-shadow: 0 16px 30px -20px rgba(8,42,68,0.72);
}

.btn-primary:hover {
  box-shadow: 0 20px 38px -20px rgba(8,42,68,0.82);
}

.btn-outline {
  border-color: rgba(15,59,95,0.28);
  box-shadow: 0 12px 26px -20px rgba(8,42,68,0.38);
}

.services-cta,
.mep-cta {
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 24px 58px -28px rgba(8,42,68,0.48);
}

.process-number {
  color: #ffffff;
  background: linear-gradient(180deg, var(--secondary) 0%, #d46d18 100%);
  box-shadow: 0 12px 26px -18px rgba(230,126,34,0.8);
}

.service-badges span {
  background: #ffffff;
  border: 1px solid rgba(15,59,95,0.14);
  box-shadow: 0 10px 24px rgba(8,42,68,0.08);
}

.quality-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.24);
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}

.quality-card:hover {
  box-shadow: 0 28px 58px rgba(0,0,0,0.22);
}

.contact-form-card input,
.contact-form-card textarea {
  border-color: rgba(15,59,95,0.18);
  background: #fbfdff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.contact-form-card input:focus,
.contact-form-card textarea:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(230,126,34,0.12);
}

.contact-actions .btn-secondary {
  color: #ffffff;
  border-color: var(--primary-dark);
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 14px 30px -20px rgba(8,42,68,0.7);
}

.contact-actions .btn-outline[href*="wa.me"] {
  color: #ffffff;
  border-color: #25D366;
  background: #25D366;
  box-shadow: 0 14px 30px -20px rgba(18,140,74,0.72);
}

.site-footer {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.site-footer h3 {
  letter-spacing: 0;
}

.footer-grid a:hover {
  color: #ffffff;
}

/* Hero fallback and image helper */
.hero-image-card img,
.project-card img,
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

.img-broken {
  display: none !important;
}

.img-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
}

/* Responsive adjustments */
@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

@media (max-width: 1024px) {
  .services-featured,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .why-grid,
  .capability-grid,
  .mep-grid,
  .process-grid,
  .maintenance-grid,
  .quality-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-showcase-card,
  .project-showcase-card:nth-child(4),
  .project-showcase-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.15rem;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 9vw, 2.65rem);
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-image-card {
    min-height: 340px;
  }

  .hero-main-img {
    min-height: 340px;
  }

  .nav-container {
    padding: 0.8rem 20px;
  }

  .logo {
    min-width: auto;
    gap: 0.55rem;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text strong {
    font-size: 0.82rem;
  }

  .logo-text span {
    font-size: 0.56rem;
  }

  .hero-actions,
  .hero-trust,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .about-wrapper,
  .why-wrapper {
    grid-template-columns: 1fr;
  }

  .services-featured,
  .services-grid,
  .values-grid,
  .projects-grid,
  .contact-grid,
  .footer-grid,
  .why-grid,
  .capability-grid,
  .mep-grid,
  .process-grid,
  .maintenance-grid,
  .quality-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section-subtitle {
    max-width: 100%;
    font-size: 1rem;
  }

  section {
    padding: 3.2rem 0;
  }

  .hero {
    padding-top: 4.2rem;
    padding-bottom: 4.6rem;
  }

  .hero-image-card {
    min-height: 340px;
  }

  .hero-main-img {
    min-height: 340px;
  }

  .hero-photo-placeholder {
    padding: 1.6rem;
  }

  .hero-badge {
    font-size: 0.88rem;
  }

  .hero-content h1 {
    font-size: clamp(2rem, 8.7vw, 2.35rem);
  }

  .hero-grid,
  .about-wrapper,
  .services-featured,
  .services-grid,
  .values-grid,
  .why-wrapper,
  .why-grid,
  .capability-grid,
  .mep-grid,
  .process-grid,
  .maintenance-grid,
  .quality-grid,
  .gallery-grid,
  .contact-grid,
  .footer-grid {
    gap: 1rem;
  }

  .contact-card,
  .contact-form-card,
  .reason-card,
  .service-card,
  .capability-card,
  .mep-card,
  .process-card,
  .maintenance-card,
  .quality-card {
    padding: 1.4rem;
  }

  .contact-form-card button,
  .btn-primary,
  .btn-secondary,
  .nav-cta {
    width: 100%;
    justify-content: center;
  }

  .floating-whatsapp {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }

  .floating-whatsapp i {
    font-size: 1.7rem;
  }
}

@media (max-width: 500px) {
  .nav-container {
    padding: 0.85rem 18px;
  }

  .hero-actions,
  .hero-trust,
  .contact-actions {
    gap: 0.75rem;
  }

  .footer-bottom {
    font-size: 0.92rem;
  }
}

@media (max-width: 480px) {
  .hero-image-card {
    min-height: 300px;
  }

  .hero-main-img {
    min-height: 300px;
  }
}

@media (max-width: 380px) {
  .hero-content h1 {
    font-size: clamp(1.82rem, 8.2vw, 2rem);
  }
}

/* Final hero layout refinement */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 6.5rem;
  background:
    radial-gradient(circle at 12% 20%, rgba(230,126,34,0.08), transparent 28%),
    radial-gradient(circle at 88% 20%, rgba(15,59,95,0.10), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eef5fb 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.58rem 1.05rem;
  margin-bottom: 1.4rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15,59,95,0.14);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(8,42,68,0.08);
}

.hero-content h1 {
  margin: 0 0 1.35rem;
  max-width: none;
  color: #162235;
  font-size: clamp(3.2rem, 5vw, 5rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.055em;
}

.hero-highlight {
  display: block;
  color: var(--secondary);
  white-space: nowrap;
}

.hero-lead {
  max-width: 610px;
  margin: 0 0 2rem;
  color: #42526a;
  font-size: 1.13rem;
  line-height: 1.85;
  font-weight: 500;
}

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

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-height: 58px;
  padding: 1rem 2rem;
  font-size: 0.98rem;
  font-weight: 800;
}

.hero-support {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
  color: var(--primary-dark);
  font-size: 1rem;
  font-weight: 800;
}

.hero-support a {
  color: var(--primary);
  font-weight: 900;
}

.hero-whatsapp {
  margin-bottom: 1rem;
}

.hero-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37,211,102,0.22);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15,59,95,0.12);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(8,42,68,0.07);
}

.trust-pill i {
  color: var(--secondary);
}

.hero-image-card {
  position: relative;
  width: 100%;
  min-height: 570px;
  border-radius: 34px;
  overflow: hidden;
  background: #e9eef3;
  border: 1px solid rgba(15,59,95,0.12);
  box-shadow: 0 30px 80px rgba(8,42,68,0.18);
}

.hero-main-img,
.hero-image-card .hero-main-img {
  width: 100%;
  height: 100%;
  min-height: 570px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.floating-card {
  position: absolute;
  right: 24px;
  bottom: 24px;
  max-width: 320px;
  padding: 1.35rem 1.5rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(15,59,95,0.10);
  box-shadow: 0 22px 48px rgba(8,42,68,0.18);
}

.floating-card strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--primary-dark);
  font-size: 1.08rem;
  font-weight: 900;
}

.floating-card div {
  color: #52637a;
  font-size: 0.95rem;
  font-weight: 600;
}

@media (max-width: 1180px) {
  .hero-grid {
    gap: 3rem;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .hero-content h1 {
    font-size: clamp(3rem, 4.8vw, 4.3rem);
  }

  .hero-image-card,
  .hero-main-img,
  .hero-image-card .hero-main-img {
    min-height: 510px;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 4.5rem 0 5rem;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .hero-content {
    max-width: 760px;
  }

  .hero-content h1 {
    font-size: clamp(2.8rem, 8vw, 4.2rem);
  }

  .hero-image-card,
  .hero-main-img,
  .hero-image-card .hero-main-img {
    min-height: 460px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: 3.8rem 0 4.2rem;
  }

  .hero-content h1 {
    font-size: clamp(2.35rem, 12vw, 3.25rem);
    letter-spacing: -0.045em;
  }

  .hero-highlight {
    font-size: 0.74em;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
  }

  .hero-image-card,
  .hero-main-img,
  .hero-image-card .hero-main-img {
    min-height: 360px;
    border-radius: 24px;
  }

  .floating-card {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    padding: 1rem 1.1rem;
    border-radius: 16px;
  }
}

@media (max-width: 420px) {
  .hero-highlight {
    font-size: 0.72em;
  }

  .hero-image-card,
  .hero-main-img,
  .hero-image-card .hero-main-img {
    min-height: 320px;
  }
}

/* Full-width photo hero */
.hero-full {
  position: relative;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 6rem 0;
  background: #0b2b3f;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-full .hero-main-img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,31,52,0.58) 0%, rgba(8,31,52,0.38) 34%, rgba(8,31,52,0.16) 62%, rgba(8,31,52,0.05) 100%),
    linear-gradient(180deg, rgba(8,31,52,0.10) 0%, rgba(8,31,52,0.20) 100%);
}

.hero-full-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
}

.hero-copy-card {
  max-width: 610px;
  padding: 2.25rem 2.35rem;
  border-radius: 28px;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.42);
  box-shadow: 0 30px 80px rgba(0,0,0,0.24);
}

.hero-copy-card .hero-badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.48rem 0.9rem;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(15,59,95,0.14);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: none;
}

.hero-copy-card h1 {
  margin: 0 0 1.2rem;
  max-width: none;
  color: #162235;
  font-size: clamp(2.85rem, 4.2vw, 4.4rem);
  line-height: 1.04;
  font-weight: 900;
  letter-spacing: -0.048em;
}

.hero-copy-card .hero-highlight {
  display: block;
  color: var(--secondary);
  font-size: 0.82em;
  white-space: nowrap;
}

.hero-copy-card .hero-lead {
  max-width: 560px;
  margin: 0 0 1.55rem;
  color: #42526a;
  font-size: 1.02rem;
  line-height: 1.72;
  font-weight: 500;
}

.hero-copy-card .hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.hero-copy-card .hero-actions .btn-primary,
.hero-copy-card .hero-actions .btn-outline {
  min-height: 50px;
  padding: 0.9rem 1.55rem;
  font-size: 0.9rem;
  font-weight: 800;
}

.hero-copy-card .hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.hero-copy-card .hero-benefit-card {
  padding: 0.85rem;
  border-radius: 16px;
  background: rgba(248,250,252,0.92);
  border: 1px solid rgba(15,59,95,0.10);
  box-shadow: none;
}

.hero-copy-card .hero-benefit-card i {
  color: var(--secondary);
}

.hero-copy-card .hero-benefit-card strong {
  color: var(--primary-dark);
  font-size: 0.78rem;
}

.hero-copy-card .hero-benefit-card span {
  color: #52637a;
  font-size: 0.68rem;
}

.hero-copy-card .hero-support {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  margin-bottom: 0.65rem;
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-copy-card .hero-support a {
  color: var(--primary);
  font-weight: 900;
}

.hero-copy-card .hero-whatsapp {
  margin-bottom: 1rem;
}

.hero-copy-card .hero-whatsapp a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: #25D366;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(37,211,102,0.24);
}

.hero-copy-card .hero-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1rem;
}

.hero-copy-card .trust-pill {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(15,59,95,0.12);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: 0 8px 20px rgba(8,42,68,0.08);
}

.hero-copy-card .trust-pill i {
  color: var(--secondary);
  font-size: 0.9rem;
}

@media (max-width: 1024px) {
  .hero-full {
    min-height: auto;
    padding: 5rem 0;
  }

  .hero-copy-card {
    max-width: 640px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8,31,52,0.88) 0%, rgba(8,31,52,0.62) 55%, rgba(8,31,52,0.35) 100%);
  }
}

@media (max-width: 768px) {
  .hero-full {
    padding: 3.8rem 0;
    min-height: auto;
  }

  .hero-full .hero-main-img {
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,31,52,0.70) 0%, rgba(8,31,52,0.50) 100%);
  }

  .hero-copy-card {
    max-width: 100%;
    padding: 1.6rem;
    border-radius: 22px;
  }

  .hero-copy-card h1 {
    font-size: clamp(2.15rem, 10vw, 3rem);
    letter-spacing: -0.04em;
  }

  .hero-copy-card .hero-highlight {
    font-size: 0.78em;
  }

  .hero-copy-card .hero-lead {
    font-size: 0.98rem;
    line-height: 1.7;
  }

  .hero-copy-card .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-copy-card .hero-actions .btn-primary,
  .hero-copy-card .hero-actions .btn-outline {
    width: 100%;
  }

  .hero-copy-card .hero-benefits {
    grid-template-columns: 1fr;
  }

  .hero-copy-card .hero-trust {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-full {
    padding: 3.5rem 0;
  }

  .hero-copy-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .hero-copy-card .hero-highlight {
    font-size: 0.72em;
  }

  .hero-copy-card .trust-pill {
    width: 100%;
    justify-content: center;
  }
}

/* Mobile stability refinements */
html,
body {
  width: 100%;
  overflow-x: hidden;
}

.container {
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
}

@media (max-width: 768px) {
  .nav-container {
    min-height: 64px;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .logo {
    min-width: auto;
    max-width: calc(100% - 56px);
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text strong {
    font-size: 0.82rem;
    line-height: 1;
  }

  .logo-text span {
    font-size: 0.56rem;
    line-height: 1;
  }

  .nav-cta {
    display: none;
  }

  .menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    min-height: 42px;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    right: auto;
    width: min(86vw, 340px);
    height: calc(100vh - 64px);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    background: #ffffff;
    transform: translateX(-110%);
    transition: transform 0.28s ease;
    z-index: 999;
    box-shadow: 0 20px 50px rgba(8,42,68,0.18);
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.35rem 0;
  }

  .hero-full {
    min-height: auto;
    padding: 3.5rem 0;
  }

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

  .hero-full .hero-main-img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(8,31,52,0.72) 0%, rgba(8,31,52,0.55) 100%);
  }

  .hero-copy-card {
    max-width: 100%;
    padding: 1.5rem;
    border-radius: 22px;
  }

  .hero-copy-card .hero-badge {
    font-size: 0.72rem;
    padding: 0.45rem 0.75rem;
    margin-bottom: 0.9rem;
  }

  .hero-copy-card h1 {
    font-size: clamp(2rem, 10vw, 3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
  }

  .hero-copy-card .hero-highlight {
    white-space: nowrap;
    font-size: 0.9em;
  }

  .hero-copy-card .hero-lead {
    font-size: 0.95rem;
    line-height: 1.65;
  }

  .hero-copy-card .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-copy-card .hero-actions .btn-primary,
  .hero-copy-card .hero-actions .btn-outline {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-copy-card .hero-support {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .hero-copy-card .hero-whatsapp a {
    width: 100%;
    justify-content: center;
  }

  .hero-copy-card .hero-trust {
    grid-template-columns: 1fr;
  }

  .hero-copy-card .trust-pill,
  .trust-pill {
    width: 100%;
    justify-content: center;
  }

  .about-wrapper,
  .about-stats,
  .values-grid,
  .services-featured,
  .services-grid,
  .why-wrapper,
  .why-grid,
  .projects-grid,
  .capability-grid,
  .mep-grid,
  .process-grid,
  .maintenance-grid,
  .quality-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .project-showcase-card {
    grid-column: auto !important;
  }

  .project-image-wrap,
  .project-photo-placeholder {
    height: 220px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-actions a,
  .contact-form-card button {
    width: 100%;
    justify-content: center;
  }

  .footer-grid {
    gap: 1.8rem;
  }

  .site-footer {
    text-align: left;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 640px) {
  .about-wrapper {
    padding: 1.3rem;
  }

  .about-stats,
  .services-featured,
  .services-grid,
  .why-grid,
  .capability-grid,
  .mep-grid,
  .process-grid,
  .maintenance-grid {
    grid-template-columns: 1fr;
  }

  .services-cta {
    flex-direction: column;
    align-items: stretch;
    text-align: left;
  }

  .services-cta .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .why-panel {
    min-height: auto;
  }

  .capability-card,
  .mep-card,
  .process-card,
  .maintenance-card {
    padding: 1.35rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .gallery-placeholder {
    min-height: 220px;
  }

  .floating-whatsapp {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }

  .floating-whatsapp i {
    font-size: 1.45rem;
  }

  .hero-copy-card .hero-highlight {
    font-size: 0.76em;
  }
}

@media (max-width: 390px) {
  .hero-copy-card {
    padding: 1.25rem;
  }

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

  .hero-copy-card .hero-highlight {
    font-size: 0.7em;
  }
}
