:root {
  --navy: #082b63;
  --navy-dark: #061b3d;
  --blue: #0f4d9a;
  --cyan: #0899bd;
  --red: #e3062c;
  --ink: #102033;
  --muted: #647286;
  --line: #dce5ee;
  --soft: #f3f7fb;
  --white: #ffffff;
  --shadow: 0 22px 55px rgba(6, 27, 61, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: var(--white);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  color: var(--white);
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled,
.site-header.menu-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 24px rgba(8, 43, 99, 0.12);
  backdrop-filter: blur(14px);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  min-height: 34px;
  padding: 8px 20px;
  font-size: 13px;
  background: rgba(6, 27, 61, 0.42);
}

.site-header.is-scrolled .topbar,
.site-header.menu-active .topbar {
  color: var(--white);
  background: var(--navy-dark);
}

.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(1240px, calc(100% - 40px));
  min-height: 82px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-weight: 800;
  line-height: 1.1;
}

.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  background: var(--white);
}

.brand span {
  font-size: 20px;
  color: currentColor;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  padding: 12px 0;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  transform: scaleX(1);
}

.nav-links .nav-cta {
  min-height: 42px;
  padding: 10px 18px;
  color: var(--white);
  background: var(--red);
  border-radius: 6px;
}

.nav-links .nav-cta::after {
  display: none;
}

.language-switcher {
  display: inline-grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.13);
}

.site-header.is-scrolled .language-switcher,
.site-header.menu-active .language-switcher {
  border-color: var(--line);
  background: var(--soft);
}

.lang-btn {
  width: 38px;
  min-height: 32px;
  color: currentColor;
  font-size: 12px;
  font-weight: 800;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
}

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

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: currentColor;
}

.site-header.is-scrolled .menu-toggle,
.site-header.menu-active .menu-toggle {
  border-color: var(--line);
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  padding: 176px 24px 126px;
  color: var(--white);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media picture,
.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-media img {
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 27, 61, 0.88) 0%, rgba(6, 27, 61, 0.68) 43%, rgba(6, 27, 61, 0.2) 100%),
    linear-gradient(180deg, rgba(6, 27, 61, 0.35), rgba(6, 27, 61, 0.75));
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(700px, 100%);
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

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

.hero .eyebrow {
  color: #ff5c73;
}

.hero h1 {
  margin: 0;
  font-size: 72px;
  line-height: 0.98;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 650px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  font-weight: 800;
  line-height: 1;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(6, 27, 61, 0.18);
}

.btn-primary {
  color: var(--white);
  background: var(--red);
}

.btn-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  bottom: 34px;
  left: max(24px, calc((100vw - 1180px) / 2));
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.hero-stats div {
  min-height: 104px;
  padding: 22px 26px;
  color: var(--ink);
  border-right: 1px solid var(--line);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats strong {
  display: block;
  color: var(--navy);
  font-size: 28px;
  line-height: 1;
}

.hero-stats span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.section {
  padding: 96px 0;
}

.split,
.process-layout,
.form-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.section-copy h2,
.section-heading h2,
.form-intro h2 {
  margin: 0;
  color: var(--navy-dark);
  font-size: 44px;
  line-height: 1.12;
  letter-spacing: 0;
}

.intro-text p,
.form-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.intro-text p + p {
  margin-top: 18px;
}

.value-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 43, 99, 0.98), rgba(6, 27, 61, 1) 58%, rgba(8, 153, 189, 0.86));
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.value-item {
  padding: 36px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.value-item:last-child {
  border-right: 0;
}

.value-icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  background: var(--red);
}

.value-item h3 {
  margin: 24px 0 10px;
  font-size: 24px;
  line-height: 1.18;
}

.value-item p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

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

.section-heading {
  width: min(780px, 100%);
  margin-bottom: 42px;
}

.section-heading.compact {
  width: min(700px, 100%);
}

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

.project-card,
.service-item,
.investment-form {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 15px 34px rgba(8, 43, 99, 0.08);
}

.project-card {
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.project-card-body {
  padding: 24px;
}

.project-card span {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.project-card h3,
.service-item h3 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: 22px;
  line-height: 1.18;
}

.project-card p,
.service-item p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.service-section {
  background: var(--white);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 42px;
}

.service-item {
  overflow: hidden;
  padding-bottom: 24px;
}

.service-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-item h3,
.service-item p {
  padding: 0 22px;
}

.service-item h3 {
  margin-top: 22px;
}

.process-section {
  background: #ecf8fb;
}

.process-list {
  display: grid;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 20px;
  align-items: start;
  padding: 24px;
  border: 1px solid rgba(8, 153, 189, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.process-list span {
  display: inline-flex;
  width: 54px;
  height: 54px;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  border-radius: 6px;
  background: var(--navy);
}

.process-list h3 {
  margin: 0 0 6px;
  color: var(--navy-dark);
  font-size: 20px;
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.form-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 27, 61, 0.95), rgba(8, 43, 99, 0.9)),
    url("../assets/optimized/hero-villa-garden.webp?v=20260711-1") center / cover;
}

.form-intro h2 {
  color: var(--white);
}

.form-intro p {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel {
  display: grid;
  gap: 12px;
  margin-top: 34px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel a {
  font-size: 20px;
  font-weight: 800;
}

.investment-form {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.investment-form::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red), var(--cyan), var(--navy));
  content: "";
}

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

.form-row {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.form-row label,
.checkbox-row {
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  min-height: 52px;
  color: var(--ink);
  border: 1px solid #cfdbe8;
  border-radius: 6px;
  background-color: #f8fbfe;
  padding: 13px 15px;
  outline: 0;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.form-row select {
  appearance: none;
  padding-right: 44px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%),
    linear-gradient(to right, #d9e3ee, #d9e3ee);
  background-position:
    calc(100% - 21px) 50%,
    calc(100% - 15px) 50%,
    calc(100% - 42px) 50%;
  background-size:
    6px 6px,
    6px 6px,
    1px 26px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.form-row input:hover,
.form-row select:hover,
.form-row textarea:hover {
  border-color: #abc2d9;
  background-color: var(--white);
}

.form-row textarea {
  min-height: 118px;
  resize: vertical;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--cyan);
  background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(8, 153, 189, 0.16), 0 12px 24px rgba(8, 43, 99, 0.08);
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: #7c8aa0;
}

.checkbox-row {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: start;
  margin: 6px 0 22px;
  line-height: 1.45;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.form-submit {
  width: 100%;
  min-height: 54px;
}

.form-status {
  min-height: 24px;
  margin: 16px 0 0;
  color: #08603f;
  font-size: 14px;
  font-weight: 800;
}

.form-status.error {
  color: var(--red);
}

.site-footer {
  padding: 44px 0;
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy-dark);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  align-items: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 18px;
  font-weight: 800;
}

.footer-brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

:focus-visible {
  outline: 3px solid rgba(227, 6, 44, 0.45);
  outline-offset: 3px;
}

@media (max-width: 1100px) {
  .project-grid,
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero h1 {
    font-size: 60px;
  }
}

@media (max-width: 920px) {
  .navbar {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .brand span {
    font-size: 17px;
  }

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

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    color: var(--ink);
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: grid;
    gap: 6px;
  }

  .nav-links a {
    padding: 12px;
  }

  .nav-links .nav-cta {
    text-align: center;
  }

  .split,
  .process-layout,
  .form-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .value-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .value-item:last-child {
    border-bottom: 0;
  }

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

@media (max-width: 760px) {
  .topbar {
    display: none;
  }

  .navbar {
    width: min(100% - 28px, 1240px);
    min-height: 74px;
    gap: 12px;
  }

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

  .brand span {
    max-width: 120px;
    white-space: normal;
  }

  .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .lang-btn {
    width: 32px;
    min-height: 30px;
  }

  .hero {
    min-height: auto;
    padding: 128px 18px 42px;
  }

  .hero-inner {
    margin-left: 0;
  }

  .hero h1 {
    font-size: 46px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-stats {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    grid-template-columns: 1fr;
    margin: 42px 0 0;
  }

  .hero-stats div {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 72px 0;
  }

  .section-copy h2,
  .section-heading h2,
  .form-intro h2 {
    font-size: 34px;
  }

  .project-grid,
  .service-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .investment-form {
    padding: 22px;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 430px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .brand span {
    display: none;
  }

  .hero h1 {
    font-size: 38px;
  }

  .section-copy h2,
  .section-heading h2,
  .form-intro h2 {
    font-size: 29px;
  }

  .process-list li {
    grid-template-columns: 44px 1fr;
    padding: 18px;
  }

  .process-list span {
    width: 44px;
    height: 44px;
  }
}
