:root {
  --navy: #10233f;
  --navy-2: #152f52;
  --charcoal: #23272f;
  --slate: #5f6b7a;
  --light: #f5f7fa;
  --white: #ffffff;
  --line: #dde4ee;
  --terracotta: #b76035;
  --terracotta-dark: #8f3f24;
  --gold: #d9a15c;
  --shadow: 0 24px 70px rgba(16, 35, 63, 0.14);
  --radius: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.65;
}

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

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

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

.skip-link {
  position: absolute;
  top: -50px;
  left: 20px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 2000;
}

.skip-link:focus {
  top: 20px;
}

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

.section {
  padding: 92px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: linear-gradient(135deg, var(--navy), #081627);
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(221, 228, 238, 0.85);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 285px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 700;
  color: var(--navy);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 3px;
  width: 0;
  height: 2px;
  background: var(--terracotta);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus::after {
  width: 100%;
}

.language-switcher {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--navy);
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
  font-size: 13px;
}

.lang-btn.active {
  background: var(--navy);
  color: var(--white);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: var(--navy);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 80% 20%, rgba(217, 161, 92, 0.22), transparent 30%),
    linear-gradient(135deg, #f8fafc 0%, #ffffff 52%, #edf2f7 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 54px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--terracotta);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.12;
  color: var(--navy);
}

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

h1 {
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: -0.055em;
}

h2 {
  font-size: clamp(30px, 4vw, 48px);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.02em;
}

.hero-text,
.lead-copy,
.section-heading p,
.about-content p,
.contact-info p {
  color: var(--slate);
  font-size: 18px;
}

.section-dark .section-heading p,
.section-dark .trust-card p,
.cta-band .eyebrow {
  color: rgba(255, 255, 255, 0.76);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

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

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(183, 96, 53, 0.24);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--line);
}

.hero-card {
  min-height: 520px;
  border-radius: 34px;
  background: linear-gradient(150deg, var(--navy), var(--navy-2));
  box-shadow: var(--shadow);
  padding: 34px;
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  right: -90px;
  top: -90px;
  background: rgba(217, 161, 92, 0.18);
}

.building-visual {
  position: absolute;
  inset: 62px 48px 170px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  align-items: end;
}

.building-visual span {
  min-height: 80px;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.28));
}

.building-visual span:nth-child(2),
.building-visual span:nth-child(5) {
  min-height: 150px;
}

.building-visual span:nth-child(3),
.building-visual span:nth-child(7) {
  min-height: 230px;
}

.building-visual span:nth-child(4) {
  min-height: 190px;
}

.hero-stat {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-top: 330px;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
}

.hero-stat + .hero-stat {
  margin-top: 0;
}

.hero-stat strong {
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
}

.two-column,
.about-grid,
.contact-grid,
.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: start;
}

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

.section-heading.centered {
  text-align: center;
  margin: 0 auto 42px;
}

.cards-grid,
.trust-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card,
.portfolio-card,
.values-panel,
.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 14px 42px rgba(16, 35, 63, 0.06);
}

.service-card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: #fff2eb;
  color: var(--terracotta);
  border-radius: 16px;
  font-size: 24px;
  margin-bottom: 22px;
}

.service-card p,
.portfolio-card p,
.values-panel li {
  color: var(--slate);
}

.service-card a,
.service-detail a {
  color: var(--terracotta);
  font-weight: 800;
}

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

.trust-card {
  padding: 26px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.06);
}

.trust-icon {
  display: inline-flex;
  color: var(--gold);
  font-weight: 900;
  margin-bottom: 18px;
}

.service-list {
  display: grid;
  gap: 24px;
  margin-top: 38px;
}

.service-detail {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 26px;
  align-items: start;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.service-detail ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--slate);
}

.values-panel ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.filter-btn {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 800;
  cursor: pointer;
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
}

.portfolio-card-visual {
  height: 150px;
  border-radius: 18px;
  margin-bottom: 18px;
  background:
    linear-gradient(135deg, rgba(16,35,63,0.84), rgba(183,96,53,0.7)),
    repeating-linear-gradient(90deg, transparent 0 18px, rgba(255,255,255,0.26) 18px 20px);
}

.portfolio-tag {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-band {
  padding: 70px 0;
}

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

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.info-list {
  margin: 28px 0;
}

.map-placeholder {
  height: 230px;
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(16,35,63,0.86), rgba(16,35,63,0.58)),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.16) 0 1px, transparent 1px 18px);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.form-row {
  margin-bottom: 18px;
}

label {
  display: block;
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 7px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: var(--white);
  color: var(--charcoal);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px rgba(183, 96, 53, 0.13);
}

.error {
  display: block;
  color: #b42318;
  min-height: 20px;
  margin-top: 5px;
  font-weight: 700;
}

.form-note {
  color: var(--slate);
  font-size: 14px;
}

.form-success {
  color: #067647;
  font-weight: 800;
}

.site-footer {
  background: #07111f;
  color: rgba(255,255,255,0.76);
  padding: 62px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 38px;
}

.footer-logo {
  width: 220px;
  background: var(--white);
  border-radius: 14px;
  padding: 8px;
  margin-bottom: 16px;
}

.site-footer h3 {
  color: var(--white);
  margin-bottom: 14px;
}

.site-footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 38px;
  padding-top: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .header-inner {
    height: auto;
    padding: 14px 0;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .main-nav {
    order: 5;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 18px;
    background: var(--light);
    border-radius: 18px;
  }

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

  .hero-grid,
  .two-column,
  .about-grid,
  .contact-grid,
  .cta-inner,
  .service-detail {
    grid-template-columns: 1fr;
  }

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

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

  .section {
    padding: 66px 0;
  }

  .brand-logo,
  .footer-logo {
    width: 190px;
  }

  .language-switcher {
    order: 3;
  }

  .hero {
    min-height: auto;
    padding-top: 48px;
  }

  .hero-card {
    min-height: 430px;
    padding: 24px;
  }

  .building-visual {
    inset: 48px 30px 150px;
  }

  .hero-stat {
    margin-top: 260px;
  }

  .cards-grid,
  .trust-grid,
  .portfolio-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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