:root {
  --navy: #0b1f33;
  --steel: #173a5e;
  --blue: #2f80a8;
  --sky: #eaf4f8;
  --amber: #e6a23c;
  --amber-dark: #c9821f;
  --ink: #1c2c3a;
  --muted: #51677a;
  --line: #dce5ec;
  --bg: #f5f8fb;
  --white: #ffffff;
  --green: #2f9e77;
  --shadow-sm: 0 8px 24px rgba(20, 45, 70, 0.08);
  --shadow-md: 0 18px 48px rgba(20, 45, 70, 0.12);
  --shadow-lg: 0 28px 70px rgba(11, 31, 51, 0.18);
  --radius: 18px;
  --radius-sm: 12px;
  --header-height: 84px;
  --font: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

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

button {
  cursor: pointer;
}

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

.section {
  padding: 92px 0;
}

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

.section-dark {
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, rgba(47, 128, 168, 0.28), transparent 32%),
    linear-gradient(135deg, #0b1f33 0%, #173a5e 55%, #1e5373 100%);
}

.section-head {
  max-width: 720px;
  margin-bottom: 48px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--amber-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-head.center .eyebrow::after {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.section-head h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 16px;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.88);
}

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

.mt-24 {
  margin-top: 24px;
}

.news-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 9px;
  width: min(340px, 100%);
  height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--muted);
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-box:focus-within {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 128, 168, 0.1);
}

.search-box svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.search-box input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box input::placeholder {
  color: #9aa9b6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease;
}

.btn svg {
  width: 17px;
  height: 17px;
}

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

.btn[disabled] {
  cursor: not-allowed;
  opacity: 0.68;
  transform: none;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  box-shadow: 0 10px 26px rgba(230, 162, 60, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(230, 162, 60, 0.34);
}

.btn-outline {
  color: var(--steel);
  border-color: #c8d7e2;
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline:hover {
  border-color: var(--steel);
  background: #fff;
}

.btn-light {
  color: var(--navy);
  background: #fff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
}

.btn-ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.btn-block {
  width: 100%;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1px 0 rgba(11, 31, 51, 0.06), 0 8px 24px rgba(11, 31, 51, 0.08);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.topbar {
  height: 36px;
  background: rgba(7, 22, 36, 0.92);
  font-size: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: height 0.25s ease, opacity 0.25s ease;
}

.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.topbar-group {
  display: flex;
  align-items: center;
  gap: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.topbar-group span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.topbar-group svg {
  width: 14px;
  height: 14px;
  opacity: 0.9;
}

.navbar {
  height: var(--header-height);
  transition: height 0.25s ease, background 0.25s ease;
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

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

.brand img {
  height: 46px;
  width: auto;
}

.brand .logo-light {
  display: none;
}

.site-header.scrolled .brand .logo-dark {
  display: block;
}

.site-header.scrolled .brand .logo-light {
  display: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--amber);
  transform: translateX(-50%);
  transition: width 0.22s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--steel);
  background: var(--sky);
}

.nav-menu a.active::after,
.nav-menu a:hover::after {
  width: 22px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 700;
  color: var(--steel);
}

.nav-phone svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
}

.lang-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid #cfdce6;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #173a5e, #2f80a8);
  box-shadow: 0 8px 20px rgba(23, 58, 94, 0.22);
  font-size: 14px;
  font-weight: 850;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.lang-toggle svg {
  width: 19px;
  height: 19px;
  color: #ffe1a8;
}

.lang-toggle:hover {
  transform: translateY(-2px);
  border-color: var(--blue);
  box-shadow: 0 12px 26px rgba(23, 58, 94, 0.3);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  color: var(--steel);
  background: var(--sky);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.scrolled {
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.site-header.scrolled .topbar {
  height: 0;
  opacity: 0;
  overflow: hidden;
  border: 0;
}

.site-header.scrolled .navbar {
  height: 68px;
}

.site-header.scrolled .nav-menu a {
  color: var(--ink);
}

.site-header.scrolled .nav-menu a:hover,
.site-header.scrolled .nav-menu a.active {
  color: var(--steel);
  background: var(--sky);
}

.site-header.scrolled .nav-phone,
.site-header.scrolled .nav-toggle {
  color: var(--steel);
}

/* Hero */
.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  padding: 140px 0 110px;
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

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

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1.1s ease, transform 5.5s ease;
  background-position: center;
  background-size: cover;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide::after,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 19, 32, 0.84) 0%, rgba(8, 28, 45, 0.58) 48%, rgba(8, 28, 45, 0.16) 100%),
    linear-gradient(180deg, rgba(5, 19, 32, 0.34) 0%, rgba(5, 19, 32, 0.04) 58%, rgba(5, 19, 32, 0.58) 100%);
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.hero-badge svg {
  width: 16px;
  height: 16px;
  color: var(--amber);
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.38);
}

.hero h1 em {
  display: inline-block;
  color: var(--amber);
  font-style: normal;
  position: relative;
}

.hero-lead {
  max-width: 600px;
  margin: 0 0 34px;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(16px, 2vw, 19px);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.32);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 760px;
  margin-top: 54px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-stat strong {
  display: block;
  color: #fff;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.hero-stat strong span {
  color: var(--amber);
}

.hero-stat small {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.24);
}

.hero-dots {
  position: absolute;
  right: 34px;
  bottom: 34px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.25s ease, background 0.25s ease;
}

.hero-dot.active {
  width: 30px;
  background: var(--amber);
}

/* Page hero */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(5, 19, 32, 0.88), rgba(8, 28, 45, 0.62)),
    url("../assets/images/hero-home.jpg") center / cover no-repeat;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 19, 32, 0.12), rgba(5, 19, 32, 0.38));
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.36);
}

.page-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: var(--amber);
}

/* Feature cards */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(var(--blue), var(--amber));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  border-radius: 15px;
  color: var(--steel);
  background: var(--sky);
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 19px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* About preview */
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.split-media {
  position: relative;
  height: 500px;
  min-height: 500px;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(5, 19, 32, 0.42));
}

.experience-badge {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 2;
  min-width: 150px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
}

.experience-badge strong {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.experience-badge small {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.78);
}

.split-copy h2 {
  margin: 0 0 18px;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
}

.split-copy p {
  color: var(--muted);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
  margin: 26px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-weight: 650;
}

.check-list svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 3px;
  color: var(--green);
}

/* Product cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
  transform: scale(1.06);
}

.product-media span {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(11, 31, 51, 0.72);
  font-size: 12px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.product-body {
  padding: 24px;
}

.product-body h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.product-body p {
  min-height: 72px;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 22px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  list-style: none;
}

.spec-list li {
  font-size: 12px;
}

.spec-list strong {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-weight: 500;
}

.spec-list span {
  font-weight: 700;
}

.product-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--steel);
  font-weight: 800;
  font-size: 14px;
}

.product-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.product-link:hover svg {
  transform: translateX(4px);
}

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

.process-card {
  position: relative;
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.process-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 24px;
  border-radius: 14px;
  color: var(--navy);
  background: var(--amber);
  font-size: 18px;
  font-weight: 800;
}

.process-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.process-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.project-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-media img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  color: #fff;
  background: linear-gradient(180deg, rgba(5, 19, 32, 0.08) 28%, rgba(5, 19, 32, 0.94) 100%);
}

.project-overlay small {
  display: block;
  margin-bottom: 6px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
}

.project-overlay h3 {
  margin: 0 0 10px;
  font-size: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-meta span {
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: #fff;
  font-weight: 650;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover,
.filter-btn.active {
  color: #fff;
  border-color: var(--steel);
  background: var(--steel);
}

/* Stats band */
.stats-band {
  position: relative;
  padding: 58px 0;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, 0.96), rgba(23, 58, 94, 0.9)),
    url("../assets/images/villa-7.jpg") center / cover no-repeat;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.03em;
}

.stat-item strong span {
  color: var(--amber);
}

.stat-item p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.86);
}

/* News */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.news-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-media img {
  transform: scale(1.06);
}

.news-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 24px;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 12px;
}

.news-meta span:first-child {
  color: var(--amber-dark);
  font-weight: 700;
}

.news-body h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.4;
}

.news-body p {
  flex: 1;
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--steel);
  font-size: 14px;
  font-weight: 800;
}

.text-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.22s ease;
}

.text-link:hover svg {
  transform: translateX(4px);
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item.open {
  border-color: #bcd4e3;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 24px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 750;
}

.faq-icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--steel);
  background: var(--sky);
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #fff;
  background: var(--steel);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  font-size: 15px;
}

/* CTA */
.cta-panel {
  position: relative;
  padding: 56px;
  border-radius: 28px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 31, 51, 0.92), rgba(47, 128, 168, 0.78)),
    url("../assets/images/villa-2.jpg") center / cover no-repeat;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 260px;
  height: 260px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.cta-panel-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-panel h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.15;
}

.cta-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 28px;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.info-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.info-card .feature-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
}

.info-card .feature-icon svg {
  width: 22px;
  height: 22px;
}

.info-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-form-wrap {
  padding: 34px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.contact-form-wrap h2 {
  margin: 0 0 8px;
  font-size: 28px;
}

.contact-form-wrap > p {
  margin: 0 0 26px;
  color: var(--muted);
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form-field label {
  font-size: 13px;
  font-weight: 750;
}

.form-field label b {
  color: #d84b4b;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  background: #fbfcfe;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input,
.form-field select {
  height: 48px;
  padding: 0 14px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 128, 168, 0.1);
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-color: #d84b4b;
}

.field-error {
  color: #d84b4b;
  font-size: 12px;
}

.form-success {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  color: #1c6f4d;
  background: #e8f7f0;
  font-size: 14px;
}

.form-success.show {
  display: block;
}

.form-success.error {
  color: #a33;
  background: #fdecec;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--amber));
}

.timeline-item {
  position: relative;
  padding: 0 0 36px 28px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 16px;
  height: 16px;
  border: 4px solid #fff;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 3px rgba(47, 128, 168, 0.2);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 7px;
  color: var(--amber-dark);
  font-weight: 800;
}

.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.timeline-item p {
  margin: 0;
  color: var(--muted);
}

/* Values */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.value-card {
  padding: 34px 28px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.value-card .feature-icon {
  color: var(--amber);
  background: rgba(255, 255, 255, 0.1);
}

.value-card h3 {
  margin: 0 0 10px;
  font-size: 21px;
}

.value-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
}

/* Article */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 48px;
  align-items: start;
}

.article-main {
  background: #fff;
  border-radius: 22px;
  padding: 42px;
  box-shadow: var(--shadow-sm);
}

.article-hero {
  width: 100%;
  height: 420px;
  border-radius: 16px;
  object-fit: cover;
  margin-bottom: 28px;
}

.article-main h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.article-body p {
  color: #33485a;
  font-size: 16px;
  margin: 0 0 18px;
}

.article-sidebar {
  display: grid;
  gap: 20px;
}

.sidebar-card {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.sidebar-card h3 {
  margin: 0 0 14px;
  font-size: 18px;
}

.sidebar-news {
  display: grid;
  gap: 14px;
}

.sidebar-news a {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 12px;
  align-items: center;
}

.sidebar-news img {
  width: 70px;
  height: 54px;
  border-radius: 10px;
  object-fit: cover;
}

.sidebar-news span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
}

.sidebar-news a:hover span {
  color: var(--steel);
}

/* Footer */
.site-footer {
  color: var(--muted);
  background: #f0f4f8;
  border-top: 1px solid var(--line);
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.1fr;
  gap: 48px;
  padding: 64px 0 46px;
}

.footer-brand img {
  height: 48px;
  margin-bottom: 18px;
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
  font-size: 15px;
  color: var(--muted);
}

.footer-col h4 {
  margin: 0 0 20px;
  color: var(--navy);
  font-size: 17px;
}

.footer-links {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 15px;
  color: var(--ink);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--amber);
}

.footer-links a:hover {
  color: var(--blue);
  transform: translateX(3px);
}

.footer-contact {
  display: grid;
  gap: 13px;
  font-size: 15px;
  color: var(--ink);
}

.footer-contact div {
  display: flex;
  align-items: flex-start;
  gap: 9px;
}

.footer-contact svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  color: var(--amber-dark);
}

.footer-bottom {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Back to top */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: var(--steel);
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.back-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--blue);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 19, 32, 0.72);
  backdrop-filter: blur(8px);
}

.modal-backdrop.open {
  display: flex;
}

.modal {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100vh - 48px);
  border-radius: 24px;
  background: #fff;
  overflow: auto;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-media {
  height: 360px;
  overflow: hidden;
}

.modal-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-body {
  padding: 32px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(11, 31, 51, 0.58);
  font-size: 24px;
  line-height: 1;
  backdrop-filter: blur(8px);
}

.modal-body h2 {
  margin: 0 0 16px;
  font-size: 28px;
}

.modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.modal-meta span {
  padding: 7px 12px;
  border-radius: 999px;
  color: var(--steel);
  background: var(--sky);
  font-size: 13px;
  font-weight: 700;
}

.modal-body p {
  margin: 0;
  color: var(--muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Utilities */
.empty-state {
  grid-column: 1 / -1;
  padding: 60px 20px;
  border-radius: 20px;
  color: var(--muted);
  background: #fff;
  text-align: center;
}

.no-scroll {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1080px) {
  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .article-layout {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .nav-menu,
  .nav-phone {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 88vw);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 110px 24px 36px;
    color: var(--ink);
    background: #fff;
    box-shadow: -20px 0 60px rgba(11, 31, 51, 0.22);
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 14px 16px;
    color: var(--ink);
  }

  .nav-menu a:hover,
  .nav-menu a.active {
    color: var(--steel);
    background: var(--sky);
  }

  .nav-menu a::after {
    display: none;
  }

  .nav-toggle.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle.open span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .split,
  .split.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split-media {
    height: 360px;
    min-height: 360px;
  }

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

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

  .cta-panel-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 66px 0;
  }

  .hero {
    min-height: 700px;
    padding-top: 140px;
  }

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

  .hero-actions .btn {
    flex: 1;
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .feature-grid,
  .product-grid,
  .project-grid,
  .news-grid,
  .article-sidebar,
  .form-grid,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    padding: 34px 24px;
  }

  .news-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    width: 100%;
  }

  .contact-form-wrap,
  .article-main {
    padding: 24px;
  }

  .article-hero {
    height: 260px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
  }
}

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