:root {
  --navy: #03182b;
  --navy-2: #08243e;
  --navy-3: #0d2e4d;
  --gold: #d99b19;
  --gold-light: #f0bd4c;
  --gold-dark: #b77705;
  --ink: #07192d;
  --muted: #5b6572;
  --line: #d9dde3;
  --surface: #ffffff;
  --surface-soft: #f5f7f9;
  --shadow: 0 18px 45px rgba(4, 22, 39, 0.12);
  --radius: 14px;
  --container: 1310px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
svg { display: block; width: 1em; height: 1em; }

.container-wide,
.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}
.container { --container: 1180px; }
.standard-grid { display: grid; }
.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; }
.align-center { align-items: center; }
.section-pad { padding: 76px 0; }
.page-section { overflow: hidden; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 9999;
  padding: 10px 14px;
  color: #fff;
  background: var(--navy);
  border-radius: 6px;
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 128px;
  background: linear-gradient(90deg, #021321 0%, #06203a 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: height .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  height: 92px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  background: rgba(3, 24, 43, .98);
}
.header-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 42px;
}
.brand {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 150px;
  overflow: hidden;
}
.brand img {
  width: 96px;
  height: auto;
  max-height: 116px;
  object-fit: contain;
  transition: width .25s ease, max-height .25s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.2));
}
.site-header.is-scrolled .brand img { width: 70px; max-height: 82px; }
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 3vw, 56px);
}
.nav-link {
  position: relative;
  padding: 14px 0;
  color: rgba(255, 255, 255, .92);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  white-space: nowrap;
  transition: color .2s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 5px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active { color: var(--gold-light); }
.nav-link:hover::after,
.nav-link:focus-visible::after,
.nav-link.is-active::after { transform: scaleX(1); }
.header-cta { min-width: 205px; }
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 8px;
  background: transparent;
}
.nav-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}
.btn:hover,
.btn:focus-visible { transform: translateY(-2px); }
.btn-gold {
  color: #fff;
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  border-color: #e8aa27;
  box-shadow: 0 8px 20px rgba(217, 155, 25, .22), inset 0 1px rgba(255,255,255,.35);
}
.btn-gold:hover,
.btn-gold:focus-visible { box-shadow: 0 12px 28px rgba(217,155,25,.35), inset 0 1px rgba(255,255,255,.35); }
.btn-dark { color: #fff; background: var(--navy); border-color: var(--navy); }
.btn-dark:hover { background: var(--navy-2); }
.btn-large { min-height: 58px; padding: 15px 31px; font-size: 18px; }
.button-row { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; margin-top: 30px; }
.text-link { color: var(--navy); font-weight: 700; }
.text-link span { color: var(--gold); margin-left: 4px; }

/* Shared headings and effects */
.section-heading { margin-bottom: 44px; }
.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.section-heading > span {
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 16px;
  border-radius: 999px;
  background: var(--gold);
}
.section-heading.centered { text-align: center; }
.section-heading.centered > span { margin-inline: auto; }
.section-heading p { margin: 12px 0 0; color: #7b7f86; font-size: 18px; }
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.eyebrow.light { color: var(--gold-light); }
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Home */
.home-page .site-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  background: linear-gradient(180deg, rgba(2, 17, 30, .97) 0%, rgba(2, 17, 30, .82) 100%);
}
.home-page .site-header.is-scrolled { position: fixed; }
.hero {
  position: relative;
  min-height: 1000px;
  padding-top: 128px;
  color: #fff;
  background: #03182b;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 128px 0 0 42%;
  background-image: url('../img/hero.webp');
  background-position: center;
  background-size: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, #04182a 0%, rgba(4,24,42,.99) 35%, rgba(4,24,42,.82) 54%, rgba(4,24,42,.28) 82%, rgba(4,24,42,.12) 100%),
    linear-gradient(180deg, rgba(0,0,0,.02) 48%, #03182b 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 700px;
  padding-top: 55px;
  padding-bottom: 130px;
}
.hero-copy { max-width: 780px; }
.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(50px, 6vw, 82px);
  line-height: 1;
  letter-spacing: .01em;
  text-transform: uppercase;
  text-shadow: 0 4px 20px rgba(0,0,0,.28);
}
.hero h1 span {
  color: var(--gold);
  text-shadow: 0 2px 14px rgba(217,155,25,.25);
}
.hero-subtitle {
  margin: 28px 0 26px;
  font-size: clamp(23px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.25;
}
.hero-description {
  max-width: 710px;
  margin: 0 0 38px;
  color: rgba(255,255,255,.92);
  font-size: 20px;
  line-height: 1.78;
}
.scroll-indicator {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 205px;
  width: 38px;
  height: 38px;
  transform: translateX(-50%);
}
.scroll-indicator span {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0 auto;
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: rotate(45deg);
  animation: bounce 1.7s infinite;
}
@keyframes bounce { 0%,100% { transform: translateY(0) rotate(45deg); opacity: .5; } 50% { transform: translateY(9px) rotate(45deg); opacity: 1; } }
.hero-features {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 154px;
  padding: 30px 42px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(4,29,50,.98), rgba(7,36,61,.95));
  box-shadow: 0 20px 45px rgba(0,0,0,.28);
  transform: translateX(-50%);
}
.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 10px 28px;
  border-right: 1px solid rgba(217,155,25,.35);
}
.feature-item:last-child { border-right: 0; }
.feature-item svg { flex: 0 0 66px; width: 66px; height: 66px; color: var(--gold); }
.feature-item p { margin: 0; font-size: 21px; line-height: 1.4; }
.home-intro { background: #fff; }
.section-copy h2,
.home-cta h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.16;
}
.section-copy p { margin: 22px 0 0; color: var(--muted); font-size: 18px; }
.home-mini-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.home-mini-grid article {
  min-height: 190px;
  padding: 26px;
  border: 1px solid #e2e5e9;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(4,22,39,.06);
}
.home-mini-grid strong { color: var(--gold); font-size: 25px; }
.home-mini-grid h3 { margin: 7px 0 8px; font-size: 20px; }
.home-mini-grid p { margin: 0; color: var(--muted); }
.home-cta { padding: 58px 0; color: #fff; background: linear-gradient(105deg, var(--navy), #0b3457); }
.home-cta-inner { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
.home-cta h2 { max-width: 800px; color: #fff; }

/* About */
.about-section { padding-top: 54px; }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-copy p { margin: 0 0 24px; color: #1e2b3b; font-size: 18px; line-height: 1.65; }
.about-photo { margin: 0; overflow: hidden; border-radius: 10px; box-shadow: var(--shadow); }
.about-photo img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.mission-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.value-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 24px;
  min-height: 300px;
  padding: 30px;
  border: 1px solid #d7d9dc;
  border-radius: 10px;
  background: linear-gradient(145deg,#fff,#fbfbfb);
}
.value-icon {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
}
.value-icon svg { width: 54px; height: 54px; }
.value-card h2 { margin: 3px 0 5px; color: var(--gold-dark); font-size: 31px; text-transform: uppercase; letter-spacing: .04em; }
.mini-line { display: block; width: 48px; height: 3px; margin: 8px 0 14px; background: var(--gold); }
.value-card p { margin: 0 0 14px; color: #1e2b3b; line-height: 1.55; }

/* Services */
.services-section { padding-bottom: 0; }
.services-layout { display: grid; grid-template-columns: 1fr 365px; gap: 28px; align-items: stretch; }
.service-primary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 510px;
  padding: 31px 24px;
  border: 1px solid #e0e3e7;
  border-radius: 11px;
  background: #fff;
  text-align: center;
  box-shadow: 0 10px 24px rgba(4,22,39,.055);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-6px); border-color: rgba(217,155,25,.5); box-shadow: var(--shadow); }
.service-icon,
.reason-icon {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, var(--navy-2), #020e1a);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 9px 20px rgba(3,24,43,.18);
}
.service-icon svg { width: 58px; height: 58px; }
.service-card h2 { margin: 24px 0 20px; font-size: 24px; line-height: 1.18; text-transform: uppercase; }
.service-card p { margin: 0; color: #505760; font-size: 18px; line-height: 1.75; }
.service-card a { margin-top: auto; padding-top: 25px; color: var(--navy); font-weight: 800; }
.service-card a span { color: var(--gold); }
.civil-list {
  padding: 34px 33px;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, #06233d, #03182b);
  box-shadow: var(--shadow);
}
.civil-list h2 { margin: 0 0 18px; color: var(--gold-light); font-size: 30px; text-transform: uppercase; }
.civil-list ul { margin: 0 0 28px; padding: 0; list-style: none; }
.civil-list li { position: relative; margin: 0 0 11px; padding-left: 30px; font-size: 17px; line-height: 1.45; }
.civil-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; color: var(--gold); font-size: 24px; font-weight: 900; }
.civil-list .btn { width: 100%; }
.maintenance-banner { position: relative; margin-top: 50px; color: #fff; background: var(--navy); overflow: hidden; }
.maintenance-bg { position: absolute; inset: 0 0 0 46%; background: linear-gradient(90deg,var(--navy),rgba(3,24,43,.3)), url('../img/maintenance.webp') center/cover no-repeat; opacity: .75; }
.maintenance-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 130px 1fr auto; align-items: center; gap: 35px; min-height: 205px; padding-block: 30px; }
.maintenance-icon { display: grid; place-items: center; width: 112px; height: 112px; border: 3px solid var(--gold); border-radius: 50%; color: var(--gold); }
.maintenance-icon svg { width: 61px; height: 61px; }
.maintenance-inner h2 { margin: 0 0 4px; font-size: 35px; text-transform: uppercase; }
.maintenance-inner p { margin: 0; max-width: 760px; font-size: 20px; }

/* Why */
.why-section { padding-bottom: 0; }
.why-layout { display: grid; grid-template-columns: 1fr 350px; gap: 36px; align-items: stretch; }
.reason-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.reason-card {
  min-height: 250px;
  padding: 20px 15px;
  border: 1px solid #e0e3e7;
  border-radius: 10px;
  text-align: center;
  background: #fff;
  box-shadow: 0 8px 22px rgba(4,22,39,.055);
  transition: transform .22s ease, box-shadow .22s ease;
}
.reason-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.reason-icon { width: 83px; height: 83px; margin: 0 auto 14px; color: var(--gold); }
.reason-icon svg { width: 46px; height: 46px; }
.reason-card h2 { margin: 0 0 10px; font-size: 17px; line-height: 1.22; }
.reason-card p { margin: 0; color: #59616d; font-size: 14px; line-height: 1.48; }
.why-photo { margin: 0; border-radius: 4px; overflow: hidden; }
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.trust-strip { position: relative; margin-top: 0; color: #fff; background: linear-gradient(105deg, #082a48, #03182b); border-bottom: 2px solid var(--gold); }
.trust-inner { display: grid; grid-template-columns: 120px 1fr auto; align-items: center; gap: 30px; min-height: 155px; padding-block: 24px; }
.trust-icon { display: grid; place-items: center; width: 100px; height: 100px; border: 3px solid var(--gold); border-radius: 50%; color: var(--gold); }
.trust-icon svg { width: 57px; height: 57px; }
.trust-inner h2 { margin: 0; font-size: 26px; }
.trust-inner p { margin: 5px 0 0; color: rgba(255,255,255,.88); font-size: 17px; }

/* Contact */
.contact-section { background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%); }
.contact-layout { display: grid; grid-template-columns: 440px 1fr; gap: 40px; align-items: stretch; }
.contact-visual { position: relative; min-height: 650px; }
.contact-photo {
  position: absolute;
  inset: 0 auto 0 -90px;
  width: 360px;
  border-radius: 0 12px 12px 0;
  background: linear-gradient(180deg,rgba(255,255,255,.02),rgba(255,255,255,.04)), url('../img/contact.webp') center/cover no-repeat;
  opacity: .92;
}
.contact-card {
  position: relative;
  z-index: 2;
  width: 330px;
  margin-left: auto;
  margin-top: 20px;
  padding: 28px 38px 30px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg,#082743,#03182b);
  box-shadow: 0 18px 38px rgba(3,24,43,.28);
  text-align: center;
}
.contact-card > img { width: 150px; height: 154px; object-fit: contain; object-position: top; margin: 0 auto 2px; }
.centered-line { margin-inline: auto; }
.contact-card h2 { margin: 8px 0 3px; font-size: 24px; }
.contact-card > p { margin: 0 0 22px; color: rgba(255,255,255,.82); font-size: 14px; line-height: 1.5; }
.contact-card ul { margin: 0; padding: 0; list-style: none; text-align: left; }
.contact-card li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: center; padding: 13px 0; border-bottom: 1px solid rgba(217,155,25,.45); }
.contact-card li:last-child { border-bottom: 0; }
.contact-card li > svg { width: 38px; height: 38px; padding: 8px; color: var(--gold); border: 1px solid var(--gold); border-radius: 50%; }
.contact-card small { display: block; color: rgba(255,255,255,.68); }
.contact-card a,
.contact-card li span { color: #fff; font-size: 14px; overflow-wrap: anywhere; }
.form-card {
  align-self: start;
  padding: 30px;
  border: 1px solid #eaedf0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(4,22,39,.1);
}
.form-row.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { margin-bottom: 14px; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 14px; font-weight: 700; }
.field label span { color: var(--gold-dark); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cfd5dc;
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input,
.field select { height: 48px; padding: 0 14px; }
.field textarea { min-height: 126px; padding: 12px 14px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217,155,25,.15); }
.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: #b42318; box-shadow: 0 0 0 3px rgba(180,35,24,.1); }
.field-error { display: block; min-height: 0; color: #b42318; font-size: 12px; }
.field.has-error .field-error { margin-top: 4px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-btn { width: 100%; margin-top: 2px; font-size: 18px; }
.submit-btn svg { width: 24px; height: 24px; }
.submit-btn:disabled { opacity: .7; cursor: wait; transform: none; }
.form-privacy { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0 0; color: #858b92; font-size: 12px; text-align: center; }
.form-privacy svg { width: 17px; height: 17px; flex: 0 0 17px; }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: 6px; font-weight: 600; }
.form-status.success { display: block; color: #17643a; background: #e9f7ef; border: 1px solid #a6d8bb; }
.form-status.error { display: block; color: #842029; background: #f8d7da; border: 1px solid #f1aeb5; }

/* Footer */
.site-footer { color: #fff; background: linear-gradient(110deg, #05223c, #03182b); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr 1fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 38px;
}
.footer-brand img { width: 112px; height: 135px; object-fit: contain; object-position: top; float: left; margin: -6px 24px 6px 0; }
.footer-brand p { margin: 0 0 22px; color: rgba(255,255,255,.82); line-height: 1.55; }
.social-links { display: flex; gap: 12px; clear: both; }
.social-links a { display: grid; place-items: center; width: 38px; height: 38px; color: var(--gold); border: 2px solid var(--gold); border-radius: 50%; transition: background .2s ease, color .2s ease; }
.social-links a:hover { color: var(--navy); background: var(--gold); }
.social-links svg { width: 19px; height: 19px; }
.footer-column { display: flex; flex-direction: column; gap: 5px; }
.footer-column h2 { position: relative; margin: 0 0 16px; color: var(--gold-light); font-size: 17px; text-transform: uppercase; }
.footer-column h2::after { content: ""; position: absolute; left: 0; bottom: -7px; width: 62px; height: 2px; background: var(--gold); }
.footer-column a,
.footer-column p { color: rgba(255,255,255,.84); font-size: 14px; }
.footer-column a:hover { color: var(--gold-light); }
.footer-contact p { display: grid; grid-template-columns: 25px 1fr; gap: 10px; align-items: start; margin: 0 0 10px; }
.footer-contact svg { width: 22px; height: 22px; color: var(--gold); }
.footer-bottom { padding: 15px 0 19px; border-top: 1px solid rgba(217,155,25,.55); text-align: center; }
.footer-bottom p { margin: 0; color: rgba(255,255,255,.65); font-size: 13px; }

/* Responsive */
@media (max-width: 1200px) {
  .header-inner { grid-template-columns: 125px 1fr auto; gap: 18px; }
  .brand { width: 110px; }
  .main-nav { gap: 23px; }
  .nav-link { font-size: 13px; }
  .header-cta { min-width: 180px; }
  .hero h1 { font-size: 62px; }
  .feature-item { padding-inline: 18px; gap: 16px; }
  .feature-item svg { flex-basis: 55px; width: 55px; height: 55px; }
  .feature-item p { font-size: 18px; }
  .services-layout { grid-template-columns: 1fr 315px; }
  .service-card { padding-inline: 17px; }
  .why-layout { grid-template-columns: 1fr 300px; }
  .reason-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .contact-layout { grid-template-columns: 390px 1fr; }
}

@media (max-width: 980px) {
  .site-header, .site-header.is-scrolled { height: 88px; }
  .home-page .site-header { position: absolute; }
  .header-inner { grid-template-columns: 1fr auto; }
  .brand { width: 95px; }
  .brand img, .site-header.is-scrolled .brand img { width: 66px; max-height: 79px; }
  .nav-toggle { display: block; grid-column: 2; grid-row: 1; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(3,24,43,.99);
    box-shadow: 0 18px 35px rgba(0,0,0,.25);
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: 440px; }
  .nav-link { padding: 16px 28px; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
  .nav-link::after { display: none; }
  .hero { min-height: auto; padding-top: 88px; padding-bottom: 220px; }
  .hero-media { inset: 88px 0 0 28%; }
  .hero-overlay { background: linear-gradient(90deg, #04182a 0%, rgba(4,24,42,.94) 52%, rgba(4,24,42,.45) 100%), linear-gradient(180deg,transparent 55%,#03182b 100%); }
  .hero-content { min-height: 650px; padding-top: 50px; padding-bottom: 80px; }
  .hero-copy { max-width: 640px; }
  .hero h1 { font-size: 54px; }
  .hero-description { font-size: 18px; }
  .hero-features { grid-template-columns: repeat(2,1fr); min-height: auto; padding: 20px; bottom: 25px; }
  .feature-item { border-right: 0; }
  .feature-item:nth-child(1), .feature-item:nth-child(2) { border-bottom: 1px solid rgba(217,155,25,.3); }
  .feature-item:nth-child(1), .feature-item:nth-child(3) { border-right: 1px solid rgba(217,155,25,.3); }
  .scroll-indicator { display: none; }
  .two-col, .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .mission-grid { grid-template-columns: 1fr; }
  .services-layout { grid-template-columns: 1fr; }
  .civil-list { order: -1; }
  .maintenance-inner { grid-template-columns: 95px 1fr; }
  .maintenance-inner .btn { grid-column: 2; justify-self: start; }
  .why-layout { grid-template-columns: 1fr; }
  .why-photo { max-height: 500px; }
  .trust-inner { grid-template-columns: 90px 1fr; }
  .trust-inner .btn { grid-column: 2; justify-self: start; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-visual { min-height: 560px; max-width: 650px; margin-inline: auto; width: 100%; }
  .contact-photo { width: 58%; left: 0; }
  .contact-card { margin-right: 0; }
  .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 680px) {
  .container-wide, .container { width: min(calc(100% - 30px), var(--container)); }
  .section-pad { padding: 54px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h1, .section-heading h2 { font-size: 36px; }
  .section-heading p { font-size: 16px; }
  .hero { padding-bottom: 355px; }
  .hero-media { inset: 88px 0 0 0; background-position: 56% center; opacity: .85; }
  .hero-overlay { background: linear-gradient(180deg,rgba(3,24,43,.9) 0%,rgba(3,24,43,.82) 55%,#03182b 82%); }
  .hero-content { align-items: flex-start; min-height: 660px; padding-top: 92px; }
  .hero h1 { font-size: clamp(44px, 13vw, 58px); line-height: 1.06; }
  .hero-subtitle { margin-top: 22px; font-size: 24px; }
  .hero-description { font-size: 16px; line-height: 1.65; }
  .hero-features { grid-template-columns: 1fr; bottom: 18px; padding: 8px 18px; }
  .feature-item { justify-content: flex-start; padding: 12px 10px; border: 0 !important; border-bottom: 1px solid rgba(217,155,25,.25) !important; }
  .feature-item:last-child { border-bottom: 0 !important; }
  .feature-item svg { flex-basis: 42px; width: 42px; height: 42px; }
  .feature-item p { font-size: 16px; }
  .home-mini-grid { grid-template-columns: 1fr; }
  .home-cta-inner { grid-template-columns: 1fr; }
  .home-cta .btn { justify-self: start; }
  .about-copy p { font-size: 16px; }
  .value-card { grid-template-columns: 1fr; min-height: 0; padding: 24px; }
  .value-icon { width: 82px; height: 82px; }
  .value-icon svg { width: 44px; height: 44px; }
  .value-card h2 { font-size: 27px; }
  .service-primary-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 410px; }
  .civil-list { padding: 27px 24px; }
  .maintenance-inner { grid-template-columns: 1fr; text-align: center; padding-block: 40px; }
  .maintenance-icon { margin: auto; }
  .maintenance-inner .btn { grid-column: 1; justify-self: center; }
  .maintenance-bg { inset: 0; opacity: .25; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-card { min-height: 225px; }
  .why-photo { height: 410px; }
  .trust-inner { grid-template-columns: 1fr; text-align: center; padding-block: 35px; }
  .trust-icon { margin: auto; }
  .trust-inner .btn { grid-column: 1; justify-self: center; }
  .contact-visual { min-height: 610px; }
  .contact-photo { inset: 0; width: 100%; opacity: .5; }
  .contact-card { width: min(100%, 340px); margin: 70px auto 0; }
  .form-card { padding: 22px 18px; }
  .form-row.two { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-brand img { float: none; width: 100px; margin: 0 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Ajustes de presentación y adaptación multipantalla - v1.1 */
html,
body { max-width: 100%; }
body { overflow-x: hidden; }
img { height: auto; }

/* Logotipo: se usa la versión compacta y se evita comprimirla o recortarla. */
.header-inner { grid-template-columns: 170px minmax(0, 1fr) auto; }
.brand {
  width: 138px;
  min-width: 138px;
  overflow: visible;
}
.brand img {
  width: 112px;
  max-height: 116px;
  object-fit: contain;
  object-position: center;
  image-rendering: auto;
  backface-visibility: hidden;
}
.site-header.is-scrolled .brand img {
  width: 76px;
  max-height: 82px;
}

.contact-card > img {
  width: 174px;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  margin: 0 auto 10px;
  image-rendering: auto;
}

/* Separación visual solicitada entre las tarjetas y la franja inferior. */
.why-section > .container-wide { padding-bottom: 56px; }

/* Pie de página sin elementos provisionales ni redes sociales. */
.footer-brand {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  align-items: start;
  column-gap: 24px;
}
.footer-brand img {
  width: 124px;
  height: auto;
  max-height: 198px;
  object-fit: contain;
  object-position: center top;
  float: none;
  margin: 0;
  image-rendering: auto;
}
.footer-brand p {
  align-self: center;
  margin: 0;
}

@media (max-width: 1200px) {
  .header-inner { grid-template-columns: 128px minmax(0, 1fr) auto; }
  .brand { width: 116px; min-width: 116px; }
  .brand img { width: 94px; max-height: 108px; }
  .footer-grid { gap: 34px; }
  .footer-brand { grid-template-columns: 106px minmax(0, 1fr); gap: 20px; }
  .footer-brand img { width: 106px; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { width: auto; min-width: 0; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 68px; max-height: 79px; }
  .main-nav { max-height: 0; overflow-y: auto; }
  .main-nav.is-open { max-height: calc(100dvh - 88px); }
  .why-section > .container-wide { padding-bottom: 48px; }
  .footer-brand { grid-template-columns: 112px minmax(0, 1fr); }
  .footer-brand img { width: 112px; }
}

@media (max-width: 680px) {
  .site-header,
  .site-header.is-scrolled { height: 78px; }
  .home-page .site-header { height: 78px; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 58px; max-height: 68px; }
  .nav-toggle { width: 42px; height: 42px; }
  .main-nav { top: 78px; }
  .main-nav.is-open { max-height: calc(100dvh - 78px); }
  .hero { padding-top: 78px; }
  .hero-media { inset: 78px 0 0 0; }

  .why-section > .container-wide { padding-bottom: 40px; }
  .reason-card { min-height: 0; padding: 24px 18px; }
  .why-photo { height: min(410px, 92vw); }

  /* En teléfonos, imagen y tarjeta de contacto se apilan para evitar solapamientos. */
  .contact-visual {
    display: grid;
    gap: 18px;
    min-height: 0;
    max-width: none;
  }
  .contact-photo {
    position: relative;
    inset: auto;
    width: 100%;
    height: 270px;
    border-radius: 10px;
    opacity: 1;
  }
  .contact-card {
    width: 100%;
    margin: 0;
    padding: 28px 24px;
  }
  .contact-card > img { width: 158px; }

  .service-card { min-height: 0; }
  .footer-grid { gap: 32px; }
  .footer-brand {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 20px;
  }
  .footer-brand img { width: 96px; margin: 0; }
}

@media (max-width: 460px) {
  .container-wide,
  .container { width: min(calc(100% - 24px), var(--container)); }
  .section-pad { padding: 46px 0; }
  .section-heading h1,
  .section-heading h2 { font-size: clamp(30px, 9vw, 36px); }
  .btn-large { width: 100%; padding-inline: 18px; }
  .hero { padding-bottom: 365px; }
  .hero-content { padding-top: 74px; }
  .hero h1 { font-size: clamp(39px, 12vw, 52px); }
  .hero-subtitle { font-size: 21px; }
  .hero-features { width: calc(100% - 24px); }
  .value-card,
  .civil-list,
  .form-card { padding-inline: 18px; }
  .maintenance-inner h2 { font-size: 28px; }
  .maintenance-inner p { font-size: 17px; }
  .trust-inner h2 { font-size: 22px; }
  .contact-photo { height: 225px; }
  .contact-card > img { width: 145px; }
  .footer-brand { grid-template-columns: 82px minmax(0, 1fr); column-gap: 16px; }
  .footer-brand img { width: 82px; }
  .footer-brand p { font-size: 14px; }
  .footer-column a,
  .footer-column p { overflow-wrap: anywhere; }
}

/* Versión horizontal del logotipo para cabecera y tarjeta de contacto. */
.header-inner { grid-template-columns: 220px minmax(0, 1fr) auto; }
.brand { width: 205px; min-width: 205px; }
.brand img {
  width: 190px;
  height: auto;
  max-height: none;
}
.site-header.is-scrolled .brand img {
  width: 142px;
  max-height: none;
}
.contact-card > img {
  width: 230px;
  height: auto;
  max-height: none;
}

@media (max-width: 1200px) {
  .header-inner { grid-template-columns: 175px minmax(0, 1fr) auto; }
  .brand { width: 165px; min-width: 165px; }
  .brand img { width: 156px; max-height: none; }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .brand { width: auto; min-width: 0; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 145px; max-height: none; }
}

@media (max-width: 680px) {
  .brand img,
  .site-header.is-scrolled .brand img { width: 124px; max-height: none; }
  .contact-card > img { width: min(230px, 86%); }
}

@media (max-width: 380px) {
  .brand img,
  .site-header.is-scrolled .brand img { width: 112px; }
}

/* El menú móvil se activa antes para evitar que la cabecera se comprima en tablets. */
@media (max-width: 1080px) {
  .site-header,
  .site-header.is-scrolled { height: 88px; }
  .home-page .site-header { position: absolute; }
  .header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 18px; }
  .brand { width: auto; min-width: 0; }
  .brand img,
  .site-header.is-scrolled .brand img { width: 145px; max-height: none; }
  .nav-toggle { display: block; grid-column: 2; grid-row: 1; }
  .header-cta { display: none; }
  .main-nav {
    position: fixed;
    top: 88px;
    left: 0;
    right: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow-y: auto;
    background: rgba(3,24,43,.99);
    box-shadow: 0 18px 35px rgba(0,0,0,.25);
    transition: max-height .3s ease;
  }
  .main-nav.is-open { max-height: calc(100dvh - 88px); }
  .nav-link {
    padding: 16px 28px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-size: 15px;
  }
  .nav-link::after { display: none; }
}

@media (max-width: 820px) and (min-width: 681px) {
  .service-primary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card:last-child { grid-column: 1 / -1; min-height: 400px; }
}

/* =========================================================
   Logo SVG transparente y cabecera alineada - v1.2
   ========================================================= */
.site-header,
.site-header.is-scrolled {
  height: 96px;
}

.header-inner,
.site-header.is-scrolled .header-inner {
  height: 100%;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(24px, 3vw, 44px);
}

.brand,
.site-header.is-scrolled .brand {
  width: 112px;
  min-width: 112px;
  height: 100%;
  align-self: center;
  justify-content: center;
  overflow: visible;
}

.brand img,
.site-header.is-scrolled .brand img {
  display: block;
  width: auto;
  height: 78px;
  max-width: 100%;
  max-height: 78px;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.24));
}

/* La misma versión transparente en la tarjeta de contacto y el pie. */
.contact-card > img {
  width: auto;
  height: 184px;
  max-width: 100%;
  max-height: 184px;
  object-fit: contain;
}

.footer-brand img {
  width: auto;
  height: 184px;
  max-width: 100%;
  max-height: 184px;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 1200px) {
  .header-inner,
  .site-header.is-scrolled .header-inner {
    grid-template-columns: 112px minmax(0, 1fr) auto;
    gap: 24px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 98px;
    min-width: 98px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 72px;
    max-height: 72px;
  }
}

@media (max-width: 1080px) {
  .site-header,
  .site-header.is-scrolled,
  .home-page .site-header {
    height: 82px;
  }

  .header-inner,
  .site-header.is-scrolled .header-inner {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 76px;
    min-width: 76px;
    justify-content: flex-start;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 66px;
    max-height: 66px;
  }

  .main-nav { top: 82px; }
  .main-nav.is-open { max-height: calc(100dvh - 82px); }
  .hero { padding-top: 82px; }
  .hero-media { inset: 82px 0 0 0; }
}

@media (max-width: 680px) {
  .site-header,
  .site-header.is-scrolled,
  .home-page .site-header {
    height: 76px;
  }

  .brand,
  .site-header.is-scrolled .brand {
    width: 66px;
    min-width: 66px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 58px;
    max-height: 58px;
  }

  .main-nav { top: 76px; }
  .main-nav.is-open { max-height: calc(100dvh - 76px); }
  .hero { padding-top: 76px; }
  .hero-media { inset: 76px 0 0 0; }

  .contact-card > img {
    height: 166px;
    max-height: 166px;
  }

  .footer-brand img {
    height: 150px;
    max-height: 150px;
  }
}

@media (max-width: 460px) {
  .brand,
  .site-header.is-scrolled .brand {
    width: 60px;
    min-width: 60px;
  }

  .brand img,
  .site-header.is-scrolled .brand img {
    height: 54px;
    max-height: 54px;
  }
}


/* =========================================================
   Ajuste final logo transparente centrado - v1.2.1
   ========================================================= */
.brand,
.site-header.is-scrolled .brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand img,
.site-header.is-scrolled .brand img {
  margin-inline: auto;
}

.contact-card {
  text-align: center;
}

.contact-card > img {
  display: block;
  margin: 0 auto 16px;
  width: min(230px, 100%);
  height: auto;
  max-height: 184px;
  object-fit: contain;
  object-position: center;
}

.footer-brand img {
  display: block;
  margin: 0 auto;
  justify-self: center;
  align-self: start;
  object-position: center;
}

@media (max-width: 680px) {
  .contact-card > img {
    width: min(210px, 88%);
    max-height: 166px;
  }
}
