:root {
  --bg: #f7f8fb;
  --surface: #ffffff;
  --surface-muted: #eef2f7;
  --text: #1a2333;
  --text-muted: #55627a;
  --primary: #f4b400;
  --primary-dark: #d09000;
  --line: #dde3ec;
  --shadow: 0 14px 34px rgba(21, 33, 57, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

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

.container {
  width: min(1140px, 92%);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 0.9rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: color 0.25s ease, transform 0.25s ease;
}

.logo img {
  height: 60px;
  width: auto;
}

.logo:hover {
  color: #0f3a7a;
  transform: translateY(-1px);
}

.main-nav {
  display: flex;
  gap: 1.1rem;
}

.main-nav a {
  position: relative;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.3rem;
  width: 100%;
  height: 2px;
  border-radius: 6px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.main-nav a:hover {
  color: #223a5e;
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.2rem;
  border-radius: 10px;
  border: 1px solid transparent;
  background: var(--primary);
  color: #202020;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.22s ease;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(34, 46, 74, 0.2);
}

.btn-sm {
  padding: 0.55rem 0.95rem;
  font-size: 0.92rem;
}

.btn-ghost {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.13);
  box-shadow: 0 10px 24px rgba(7, 12, 26, 0.25);
}

.hero {
  position: relative;
  background-image: linear-gradient(
      rgba(17, 29, 51, 0.74),
      rgba(17, 29, 51, 0.74)
    ),
    url("./assets/images/electric.jpg");
  background-size: cover;
  background-position: center;
}

.hero-content {
  position: relative;
  padding: 7.2rem 0 6.2rem;
  color: #ffffff;
  max-width: 730px;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 1.4px;
  font-size: 0.84rem;
  font-weight: 700;
  color: #ffe8a4;
  margin-bottom: 0.7rem;
}

.hero h1 {
  margin: 0;
  line-height: 1.12;
  font-size: clamp(2rem, 5vw, 3.35rem);
}

.hero p {
  margin-top: 1rem;
  color: #edf1f7;
  font-size: 1.05rem;
}

.hero-actions {
  margin-top: 1.7rem;
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.section {
  padding: 5rem 0;
}

.section h2 {
  margin: 0 0 0.8rem;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.2;
}

.section-lead {
  margin: 0 0 2rem;
  color: var(--text-muted);
  max-width: 720px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.24s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: #c9d4e4;
  box-shadow: 0 18px 34px rgba(21, 33, 57, 0.16);
}

.card:hover .icon-wrap {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  margin: 0.9rem 0 0.45rem;
  font-size: 1.06rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

.icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #21314f;
  background: #ffe9ab;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background-color 0.25s ease;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
}

.section-muted {
  background: var(--surface-muted);
}

.split {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 2.1rem;
  align-items: center;
}

.feature-list {
  padding-left: 1.1rem;
  margin: 1rem 0 0;
  color: var(--text-muted);
}

.feature-list li {
  margin-bottom: 0.48rem;
}

.image-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.image-frame img {
  transition: transform 0.45s ease;
}

.image-frame:hover img {
  transform: scale(1.04);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-grid figure {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.gallery-grid figure img {
  transition: transform 0.4s ease;
}

.gallery-grid figure:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(21, 33, 57, 0.16);
}

.gallery-grid figure:hover img {
  transform: scale(1.06);
}

.gallery-grid figcaption {
  padding: 0.8rem 0.95rem 1rem;
  font-weight: 600;
  color: #2f3e5d;
}

.section-steps {
  background: #111d33;
  color: #ffffff;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
}

.steps article {
  padding: 1.1rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.28s ease, background-color 0.24s ease, border-color 0.24s ease;
}

.steps article:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.36);
}

.steps article:hover span {
  transform: scale(1.08);
}

.steps span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: #202020;
  background: var(--primary);
  transition: transform 0.24s ease;
}

.steps h3 {
  margin: 0 0 0.45rem;
}

.steps p {
  margin: 0;
  color: #d2d8e4;
}

.section-contact {
  background: var(--surface-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.contact-list p {
  margin: 0.45rem 0;
}

.contact-list a {
  color: #133e7c;
  transition: color 0.22s ease;
}

.contact-list a:hover {
  color: #0a2f68;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem;
  transition: box-shadow 0.26s ease, transform 0.26s ease;
}

.contact-form:hover {
  box-shadow: 0 15px 28px rgba(21, 33, 57, 0.14);
  transform: translateY(-3px);
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.93rem;
  color: #2f3e5d;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #cfd7e3;
  border-radius: 10px;
  background: #f9fbfe;
  color: var(--text);
  font: inherit;
  padding: 0.72rem 0.8rem;
  transition: border-color 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #8fadcf;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(116, 154, 206, 0.2);
}

.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.footer-container {
  padding: 1.1rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  color: #4a5a77;
}

.footer-container p {
  margin: 0;
}

.footer-container a {
  color: #133e7c;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-container a:hover {
  color: #0c3068;
  transform: translateY(-1px);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.legal-page {
  padding: 4.5rem 0;
}

.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.legal-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(21, 33, 57, 0.14);
}

.legal-card h1 {
  margin-top: 0;
  font-size: 1.9rem;
}

.legal-card h2 {
  margin-bottom: 0.5rem;
  font-size: 1.15rem;
}

.legal-card p {
  margin-top: 0;
  color: var(--text-muted);
}

@media (max-width: 980px) {
  .cards-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 700px) {
  .main-nav {
    display: none;
  }

  .logo img {
    height: 48px;
  }

  .cards-grid,
  .gallery-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 4.2rem 0;
  }

  .hero-content {
    padding: 5.7rem 0 5rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    gap: 0.7rem;
  }
}

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