:root {
  --navy-950: #04101f;
  --navy-900: #07182c;
  --navy-800: #0c2747;
  --blue-600: #1262ae;
  --orange-500: #f99a00;
  --orange-400: #ffb325;
  --cream: #fff8ec;
  --white: #ffffff;
  --slate-50: #f6f8fb;
  --slate-100: #e8edf3;
  --slate-300: #b6c1ce;
  --slate-600: #526174;
  --slate-800: #243449;
  --text: #112238;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-sm: 0 8px 28px rgba(4, 16, 31, 0.08);
  --shadow-md: 0 20px 55px rgba(4, 16, 31, 0.16);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--orange-400);
  outline-offset: 3px;
}

[data-lang="en"] {
  display: none !important;
}

html[lang="en"] [data-lang="es"] {
  display: none !important;
}

html[lang="en"] [data-lang="en"] {
  display: revert !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy-950);
  padding: 10px 16px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue-600);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 3px;
  border-radius: 99px;
  background: var(--orange-500);
  content: "";
}

.eyebrow.on-dark {
  color: #bcdcff;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-950);
  font-weight: 850;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.55rem, 6.6vw, 5.4rem);
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.45rem);
}

h3 {
  font-size: clamp(1.24rem, 2.2vw, 1.65rem);
}

p {
  margin: 0;
}

.lead {
  color: var(--slate-600);
  font-size: clamp(1.05rem, 1.7vw, 1.22rem);
  line-height: 1.75;
}

.section {
  padding: clamp(72px, 9vw, 120px) 0;
}

.section.soft {
  background: var(--slate-50);
}

.section.dark {
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 5%, rgba(18, 98, 174, 0.24), transparent 32%),
    var(--navy-950);
  color: var(--white);
}

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

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.62fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 46px;
}

.section-heading.single {
  display: block;
  max-width: 760px;
}

.section-heading.single .lead {
  margin-top: 22px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 22px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  background: linear-gradient(135deg, var(--orange-400), var(--orange-500));
  box-shadow: 0 12px 28px rgba(249, 154, 0, 0.24);
  color: var(--navy-950);
}

.button.secondary {
  border-color: var(--slate-300);
  background: var(--white);
  color: var(--navy-950);
}

.button.secondary:hover {
  border-color: var(--navy-800);
}

.button.dark-outline {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.button .arrow {
  font-size: 1.15em;
  transition: transform 160ms ease;
}

.button:hover .arrow {
  transform: translateX(3px);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid rgba(6, 24, 44, 0.08);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 4px 24px rgba(4, 16, 31, 0.05);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-copy strong {
  color: var(--navy-950);
  font-size: 1.02rem;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.brand-copy small {
  margin-top: 5px;
  color: var(--slate-600);
  font-size: 0.69rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  border-radius: 999px;
  color: var(--slate-600);
  padding: 10px 12px;
  font-size: 0.9rem;
  font-weight: 750;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--slate-50);
  color: var(--navy-950);
}

.language-toggle {
  min-width: 88px;
  min-height: 42px;
  border: 1px solid var(--slate-300);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy-950);
  cursor: pointer;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.04em;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--slate-300);
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: var(--navy-950);
  content: "";
}

.menu-toggle span {
  margin: 4px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 9vw, 125px) 0 72px;
  background:
    radial-gradient(circle at 10% 10%, rgba(249, 154, 0, 0.1), transparent 28%),
    linear-gradient(145deg, #ffffff 0%, #f7f9fc 70%, #eef5fb 100%);
}

.hero::after {
  position: absolute;
  right: -130px;
  bottom: -200px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(18, 98, 174, 0.12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(18, 98, 174, 0.03), 0 0 0 140px rgba(18, 98, 174, 0.025);
  content: "";
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.9fr);
  gap: clamp(46px, 7vw, 92px);
  align-items: center;
}

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

.hero-copy h1 {
  font-size: clamp(2.6rem, 5.1vw, 4.4rem);
}

.hero-copy .lead {
  max-width: 660px;
  margin-top: 26px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 27px;
  color: var(--slate-600);
  font-size: 0.91rem;
  font-weight: 750;
}

.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-trust span::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange-500);
  content: "";
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.hero-photo {
  position: absolute;
  inset: 0 0 52px 32px;
  overflow: hidden;
  border-radius: 180px 28px 28px 28px;
  box-shadow: var(--shadow-md);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-card {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  display: grid;
  width: 190px;
  height: 190px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.hero-logo-card img {
  width: 164px;
  height: 164px;
  object-fit: contain;
}

.trust-bar {
  position: relative;
  z-index: 4;
  margin-top: 66px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.trust-item {
  min-height: 116px;
  padding: 25px 24px;
}

.trust-item + .trust-item {
  border-left: 1px solid var(--slate-100);
}

.trust-item strong {
  display: block;
  color: var(--navy-950);
  font-size: 1rem;
  line-height: 1.25;
}

.trust-item span {
  display: block;
  margin-top: 7px;
  color: var(--slate-600);
  font-size: 0.82rem;
  line-height: 1.45;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 290px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.service-card::after {
  position: absolute;
  right: -35px;
  bottom: -44px;
  width: 120px;
  height: 120px;
  border: 18px solid rgba(18, 98, 174, 0.05);
  border-radius: 50%;
  content: "";
}

.service-number {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  background: var(--cream);
  color: #a45d00;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.service-card h3 {
  margin-top: 28px;
}

.service-card p {
  margin-top: 15px;
  color: var(--slate-600);
  font-size: 0.93rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 44px;
}

.process-step {
  position: relative;
}

.process-step:not(:last-child)::after {
  position: absolute;
  top: 21px;
  right: -32px;
  width: 22px;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  content: "";
}

.process-index {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  color: var(--orange-400);
  font-size: 0.78rem;
  font-weight: 900;
}

.process-step h3 {
  margin-top: 22px;
}

.process-step p {
  margin-top: 13px;
  color: #b9c7d8;
}

.project-feature {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
  box-shadow: var(--shadow-md);
}

.project-feature-image {
  min-height: 520px;
}

.project-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(36px, 6vw, 72px);
  color: var(--white);
}

.project-feature-copy h2,
.project-feature-copy h3 {
  color: var(--white);
}

.project-feature-copy p {
  margin-top: 20px;
  color: #c4d0de;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0 0;
}

.metric {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
}

.metric strong {
  display: block;
  color: var(--orange-400);
  font-size: 1.35rem;
}

.metric span {
  color: #b9c7d8;
  font-size: 0.78rem;
}

.credential-panel {
  display: grid;
  grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
  gap: 40px;
  align-items: center;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 8% 12%, rgba(249, 154, 0, 0.13), transparent 28%),
    var(--white);
  box-shadow: var(--shadow-sm);
}

.credential-mark {
  display: grid;
  width: min(100%, 310px);
  aspect-ratio: 1;
  place-items: center;
  margin-inline: auto;
  border: 1px solid var(--slate-100);
  border-radius: 50%;
  background: var(--slate-50);
}

.credential-mark img {
  width: 84%;
}

.credential-list {
  display: grid;
  gap: 14px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.credential-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: start;
  color: var(--slate-800);
  font-weight: 720;
}

.credential-list li::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--orange-500);
  color: var(--navy-950);
  content: "✓";
  font-size: 0.72rem;
  font-weight: 950;
}

.cta-band {
  padding: 0 0 clamp(72px, 9vw, 120px);
}

.cta-inner {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--navy-950), var(--navy-800));
  padding: clamp(38px, 6vw, 70px);
  color: var(--white);
}

.cta-inner::after {
  position: absolute;
  right: -65px;
  bottom: -125px;
  width: 300px;
  height: 300px;
  border: 45px solid rgba(249, 154, 0, 0.09);
  border-radius: 50%;
  content: "";
}

.cta-inner h2 {
  max-width: 700px;
  color: var(--white);
}

.cta-inner p {
  max-width: 680px;
  margin-top: 18px;
  color: #c4d0de;
}

.cta-inner .button {
  position: relative;
  z-index: 2;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(70px, 9vw, 112px) 0;
  background:
    linear-gradient(120deg, rgba(4, 16, 31, 0.98), rgba(12, 39, 71, 0.94)),
    url("images/dorado-residential-solar.webp") center / cover;
  color: var(--white);
}

.page-hero::after {
  position: absolute;
  right: 8%;
  bottom: -170px;
  width: 360px;
  height: 360px;
  border: 58px solid rgba(249, 154, 0, 0.1);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 880px;
  color: var(--white);
  font-size: clamp(2.7rem, 6vw, 4.8rem);
}

.page-hero .lead {
  max-width: 760px;
  margin-top: 22px;
  color: #c7d4e2;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.service-detail {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: clamp(28px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
}

.service-detail p {
  margin-top: 16px;
  color: var(--slate-600);
}

.service-detail ul,
.plain-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-detail li,
.plain-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: var(--slate-800);
}

.service-detail li::before,
.plain-list li::before {
  color: var(--orange-500);
  content: "—";
  font-weight: 900;
}

.note-box {
  border-left: 5px solid var(--orange-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--cream);
  padding: 24px 26px;
  color: #5d420f;
}

.project-list {
  display: grid;
  gap: 46px;
}

.project-card {
  overflow: hidden;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.project-card-main {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
}

.project-card-main.reverse {
  grid-template-columns: minmax(330px, 0.92fr) minmax(0, 1.08fr);
}

.project-card-main.reverse .project-card-photo {
  order: 2;
}

.project-card-photo {
  min-height: 460px;
}

.project-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 64%;
}

.project-card-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 62px);
}

.project-card-copy p {
  margin-top: 17px;
  color: var(--slate-600);
}

.project-type {
  width: fit-content;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--cream);
  color: #7f4b00;
  padding: 7px 12px;
  font-size: 0.75rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.project-metrics span {
  border-radius: 10px;
  background: var(--slate-50);
  color: var(--navy-800);
  padding: 10px 13px;
  font-size: 0.86rem;
  font-weight: 820;
}

.project-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  border-top: 8px solid var(--white);
  background: var(--slate-50);
  padding: 10px;
}

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

.project-gallery img {
  width: 100%;
  height: 420px;
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  object-fit: contain;
  object-position: center;
  padding: 12px;
}

.brand-disclaimer {
  margin-top: 28px;
  color: var(--slate-600);
  font-size: 0.85rem;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(50px, 8vw, 100px);
  align-items: center;
}

.about-logo {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 54%, transparent 55%),
    linear-gradient(145deg, var(--cream), #ecf4fb);
  box-shadow: var(--shadow-sm);
}

.about-logo img {
  width: 82%;
}

.about-copy p + p {
  margin-top: 18px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.value-card {
  border-top: 4px solid var(--orange-500);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: var(--white);
  padding: 27px;
  box-shadow: var(--shadow-sm);
}

.value-card p {
  margin-top: 12px;
  color: var(--slate-600);
  font-size: 0.92rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(42px, 7vw, 82px);
  align-items: start;
}

.contact-options {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-option {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-sm);
  background: var(--white);
  padding: 19px;
}

.contact-option strong {
  display: block;
  color: var(--navy-950);
}

.contact-option a {
  display: inline-block;
  margin-top: 4px;
  color: var(--blue-600);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.placeholder {
  display: inline-block;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--slate-100);
  color: var(--slate-600);
  padding: 5px 10px;
  font-size: 0.76rem;
  font-weight: 800;
}

.estimate-form {
  border: 1px solid var(--slate-100);
  border-radius: var(--radius-md);
  background: var(--white);
  padding: clamp(28px, 5vw, 48px);
  box-shadow: var(--shadow-sm);
}

.form-intro {
  margin: 12px 0 28px;
  color: var(--slate-600);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--slate-800);
  font-size: 0.88rem;
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #c9d2dc;
  border-radius: 10px;
  background: var(--white);
  color: var(--navy-950);
  padding: 13px 14px;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue-600);
  outline: 3px solid rgba(18, 98, 174, 0.14);
}

.form-note {
  margin-top: 18px;
  color: var(--slate-600);
  font-size: 0.82rem;
}

.form-status {
  display: none;
  margin-top: 18px;
  border-left: 4px solid var(--blue-600);
  background: #edf6ff;
  padding: 14px 16px;
  color: var(--navy-800);
  font-weight: 700;
}

.form-status.visible {
  display: block;
}

.privacy-content {
  max-width: 850px;
}

.privacy-content h2 {
  margin-top: 44px;
  font-size: 1.7rem;
}

.privacy-content h3 {
  margin-top: 28px;
  font-size: 1.18rem;
}

.privacy-content p,
.privacy-content ul {
  margin-top: 14px;
  color: var(--slate-600);
}

.privacy-content ul {
  padding-left: 22px;
}

.site-footer {
  background: var(--navy-950);
  color: #c1cede;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 70px;
  padding: 68px 0 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.footer-brand strong {
  display: block;
  color: var(--white);
  font-size: 1.18rem;
}

.footer-brand span {
  display: block;
  margin-top: 4px;
  font-size: 0.82rem;
}

.footer-description {
  max-width: 480px;
  margin-top: 20px;
  color: #9eafc3;
}

.footer-column h3 {
  color: var(--white);
  font-size: 0.92rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.footer-links a:hover {
  color: var(--orange-400);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 22px 0 28px;
  color: #8295aa;
  font-size: 0.8rem;
}

@media (max-width: 1050px) {
  .main-nav {
    gap: 12px;
  }

  .nav-links {
    gap: 0;
  }

  .nav-links a {
    padding-inline: 9px;
    font-size: 0.82rem;
  }

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

  .hero-visual {
    min-height: 460px;
  }

  .hero-logo-card {
    width: 160px;
    height: 160px;
  }

  .hero-logo-card img {
    width: 138px;
    height: 138px;
  }

  .card-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 840px) {
  .header-inner {
    min-height: 74px;
  }

  .brand img {
    width: 58px;
    height: 58px;
  }

  .brand-copy {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    border-bottom: 1px solid var(--slate-100);
    background: var(--white);
    box-shadow: var(--shadow-md);
    padding: 18px 20px 24px;
  }

  .main-nav.open {
    display: grid;
  }

  .nav-links {
    display: grid;
  }

  .nav-links a {
    padding: 13px 12px;
    font-size: 1rem;
  }

  .language-toggle {
    width: 100%;
  }

  .header-cta {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .project-feature,
  .credential-panel,
  .cta-inner,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 480px;
  }

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

  .trust-item:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--slate-100);
  }

  .trust-item:nth-child(4) {
    border-top: 1px solid var(--slate-100);
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

  .project-feature-image {
    min-height: 380px;
  }

  .project-card-main,
  .project-card-main.reverse {
    grid-template-columns: 1fr;
  }

  .project-card-main.reverse .project-card-photo {
    order: 0;
  }

  .project-card-photo {
    min-height: 380px;
  }

  .cta-inner {
    align-items: start;
  }

  .footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .footer-about {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.5rem);
  }

  .hero {
    padding-top: 58px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-photo {
    inset: 0 0 42px 12px;
    border-radius: 110px 22px 22px 22px;
  }

  .hero-logo-card {
    width: 128px;
    height: 128px;
  }

  .hero-logo-card img {
    width: 112px;
    height: 112px;
  }

  .trust-bar {
    margin-top: 48px;
  }

  .trust-grid,
  .card-grid,
  .service-detail-grid,
  .values-grid,
  .footer-main,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .trust-item + .trust-item,
  .trust-item:nth-child(3) {
    border-top: 1px solid var(--slate-100);
    border-left: 0;
  }

  .section-heading {
    gap: 20px;
  }

  .button-row,
  .button-row .button {
    width: 100%;
  }

  .project-feature-image,
  .project-card-photo {
    min-height: 290px;
  }

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

  .project-gallery img {
    height: min(130vw, 560px);
    padding: 8px;
  }

  .credential-panel {
    padding: 28px;
  }

  .credential-mark {
    width: 210px;
  }

  .cta-inner {
    padding: 34px 26px;
  }

  .form-grid .field {
    grid-column: 1;
  }

  .footer-main {
    gap: 34px;
  }

  .footer-about {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
