/*
Theme Name: HoGtec
Theme URI: https://hogtec.de
Author: HoGtec - Christian Hohmann
Author URI: https://hogtec.de
Description: Intelligente Gebäudesteuerung & KNX-Lösungen - Custom WordPress Theme
Version: 1.0.0
License: All Rights Reserved
Text Domain: hogtec
*/

/* ================================================
   HoGtec – Modern Website Styles
   ================================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-primary: #81d742;
  --color-primary-dark: #4FBE1A;
  --color-dark: #0a1628;
  --color-darker: #060f1d;
  --color-navy: #0d1f3c;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-white: #ffffff;
  --color-off-white: #f7fafc;
  --color-border: #e2e8f0;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 80px;
  --container-width: 1200px;
  --section-padding: 120px;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--color-text);
  line-height: 1.7;
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- SECTION UTILITIES ---------- */
.section-tag {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: center;
}

.about__text-col .section-tag,
.contact__info .section-tag,
.content-two-col__text .section-tag,
.ref-project__info .section-tag {
  text-align: left;
}

.section-tag--light {
  color: var(--color-primary);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1.2;
  margin-bottom: 24px;
  text-align: center;
}

.section-title--left {
  text-align: left;
}

.section-intro {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 60px;
  color: var(--color-text-light);
  font-size: 1.1rem;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
}

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

.btn--primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(129, 215, 66, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline:hover {
  border-color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all 0.3s ease;
}

.nav--scrolled {
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 65px;
  width: auto;
}

.footer .nav__logo-img {
  height: 47px;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav__menu a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
  position: relative;
}

.nav__menu a:hover {
  color: var(--color-white);
}

.nav__menu a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width 0.3s;
}

.nav__menu a:hover::after {
  width: 100%;
}

.nav__cta {
  background: var(--color-primary) !important;
  color: var(--color-white) !important;
  padding: 10px 24px;
  border-radius: 6px;
}

.nav__cta::after {
  display: none !important;
}

.nav__cta:hover {
  background: var(--color-primary-dark) !important;
}

.nav__active {
  color: var(--color-white) !important;
}

/* WordPress menu active state */
.nav__menu .current-menu-item > a,
.nav__menu .current_page_item > a {
  color: var(--color-white) !important;
}

.nav--solid {
  background: var(--color-dark);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* WordPress menu reset — strip default WP list styles */
.nav__menu,
.nav__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__menu li {
  margin: 0;
  padding: 0;
}

/* ---------- PAGE HEADER (subpages) ---------- */
.page-header {
  position: relative;
  padding: 180px 24px 100px;
  background:
    linear-gradient(135deg, var(--color-darker) 0%, var(--color-navy) 50%, #0f2847 100%);
  text-align: center;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 215, 66, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header--compact {
  padding: 160px 24px 80px;
}

.page-header__content {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.page-header__title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-header__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.55);
  font-weight: 300;
  line-height: 1.8;
  max-width: 560px;
  margin: 0 auto;
}

/* ---------- CONTENT SECTIONS (subpages) ---------- */
.content-section {
  padding: var(--section-padding) 0;
}

.content-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.content-two-col__text p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.content-two-col__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-dark);
  border-radius: 12px;
  min-height: 350px;
}

/* VALUES reuses benefits grid */
.values {
  padding: var(--section-padding) 0;
}

/* PRODUCTS dark background variant */
.products--dark-bg {
  background: var(--color-dark);
}

.product-card--on-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.product-card--on-dark h3 {
  color: var(--color-white);
}

.product-card--on-dark p {
  color: rgba(255, 255, 255, 0.5);
}

.product-card--on-dark:hover {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

/* ---------- REFERENCE PROJECTS ---------- */
.ref-project {
  padding: var(--section-padding) 0 60px;
}

.ref-project__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.ref-project__image {
  border-radius: 12px;
  overflow: hidden;
}

.ref-project__image img {
  width: 100%;
  height: auto;
  display: block;
}

.ref-project__intro {
  font-size: 1.1rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.ref-details {
  padding: 60px 0 var(--section-padding);
}

.ref-details__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.ref-detail-card {
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.ref-detail-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(129, 215, 66, 0.06);
}

.ref-detail-card__icon {
  width: 44px;
  height: 44px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.ref-detail-card__icon svg {
  width: 100%;
  height: 100%;
}

.ref-detail-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.ref-detail-card ul {
  list-style: none;
  padding: 0;
}

.ref-detail-card li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 0.92rem;
  color: var(--color-text-light);
  line-height: 1.6;
}

.ref-detail-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-primary);
}

@media (max-width: 1024px) {
  .ref-project__grid {
    grid-template-columns: 1fr;
  }

  .ref-details__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- LEGAL PAGES ---------- */
.legal-content {
  padding: 80px 0 var(--section-padding);
}

.container--narrow {
  max-width: 780px;
}

.legal-content h2 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  color: var(--color-text-light);
  margin-bottom: 12px;
  line-height: 1.8;
}

.legal-content a {
  color: var(--color-primary);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--color-primary-dark);
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(135deg, rgba(6,15,29,0.85) 0%, rgba(13,31,60,0.75) 50%, rgba(15,40,71,0.8) 100%),
    url('images/hero-bg.jpg') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(129, 215, 66, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(129, 215, 66, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60"><rect width="60" height="60" fill="none"/><circle cx="30" cy="30" r="0.5" fill="rgba(255,255,255,0.03)"/></svg>') repeat;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 800px;
}

.hero__tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 24px;
  padding: 8px 20px;
  border: 1px solid rgba(129, 215, 66, 0.3);
  border-radius: 50px;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 700;
  color: var(--color-white);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.6);
  max-width: 580px;
  margin: 0 auto 40px;
  font-weight: 300;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* ---------- PARTNER LOGOS ---------- */
.partners {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.partners__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.partners__item {
  width: 130px;
  opacity: 0.4;
  transition: opacity 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners__item:hover {
  opacity: 0.7;
}

.partners__item img {
  width: 100%;
  height: auto;
  max-height: 45px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.partners__item:hover img {
  filter: grayscale(0%);
}

@media (max-width: 768px) {
  .partners__row {
    gap: 32px;
  }

  .partners__item {
    width: 100px;
  }
}

/* ---------- SERVICES ---------- */
.services {
  padding: var(--section-padding) 0;
  text-align: center;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
}

.service-card {
  padding: 48px 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
  text-align: center;
}

.service-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(129, 215, 66, 0.08);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 24px;
  color: var(--color-primary);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.service-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
}

.about__image-col {
  background: url('images/about.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
}

.about__image-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.85rem;
}

.about__image-placeholder svg {
  width: 160px;
  height: 160px;
  opacity: 0.5;
}

.about__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
}

.about__text-col p {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about__stats {
  display: flex;
  gap: 40px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-number {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about__stat-label {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 4px;
}

/* ---------- CTA BANNER ---------- */
.cta-banner {
  position: relative;
  padding: var(--section-padding) 0;
  background:
    linear-gradient(135deg, rgba(6,15,29,0.88) 0%, rgba(13,31,60,0.85) 100%),
    url('images/bauherren.jpg') center/cover no-repeat;
  overflow: hidden;
}

.cta-banner__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(129, 215, 66, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(129, 215, 66, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px;
}

.cta-banner__content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--color-white);
  line-height: 1.3;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-banner__content p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

/* ---------- BENEFITS ---------- */
.benefits {
  padding: var(--section-padding) 0;
  background: var(--color-off-white);
}

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

.benefit {
  padding: 8px 0;
}

.benefit__number {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}

.benefit h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 8px;
}

.benefit p {
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ---------- PRODUCTS ---------- */
.products {
  padding: var(--section-padding) 0;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.product-card {
  padding: 36px 32px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.product-card--dark {
  background: var(--color-dark);
  border-color: rgba(255, 255, 255, 0.08);
}

.product-card--dark h3 {
  color: var(--color-white);
}

.product-card--dark p {
  color: rgba(255, 255, 255, 0.5);
}

.product-card--dark:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.product-card__badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(129, 215, 66, 0.1);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 16px;
}

.product-card__badge--soft {
  background: rgba(129, 215, 66, 0.15);
}

.product-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.product-card p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.product-card__link {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-primary);
  transition: gap 0.2s;
}

.product-card__link:hover {
  text-decoration: underline;
}

.product-card--dark .product-card__link {
  color: var(--color-primary);
}

.products__cta {
  text-align: center;
  margin-top: 48px;
}

/* ---------- CTA DARK ---------- */
.cta-dark {
  padding: 100px 0;
  background:
    linear-gradient(135deg, rgba(10,22,40,0.92) 0%, rgba(6,15,29,0.92) 100%),
    url('images/cta-bg.jpg') center/cover no-repeat;
  text-align: center;
}

.cta-dark__content h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-dark__content p {
  color: rgba(255, 255, 255, 0.5);
  max-width: 540px;
  margin: 0 auto 36px;
  font-size: 1.05rem;
}

/* ---------- CONTACT ---------- */
.contact {
  padding: var(--section-padding) 0;
  background: var(--color-off-white);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__info p {
  color: var(--color-text-light);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__detail svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-primary);
  margin-top: 2px;
}

.contact__detail strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.contact__detail span,
.contact__detail a {
  font-size: 0.95rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

.contact__detail a:hover {
  color: var(--color-primary);
}

/* -- Form -- */
.contact__form-wrap {
  background: var(--color-white);
  padding: 48px;
  border-radius: 12px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.04);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-off-white);
  color: var(--color-text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(129, 215, 66, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group--privacy {
  margin-top: 8px;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.82rem;
  color: var(--color-text-light);
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.checkbox-label a {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--color-darker);
  padding: 80px 0 0;
  color: rgba(255, 255, 255, 0.5);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}

.footer__brand p {
  margin-top: 16px;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer__links h4 {
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.footer__links li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer__links a:hover {
  color: var(--color-primary);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  text-align: center;
  font-size: 0.82rem;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
  }

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

  .about__image-col {
    min-height: 300px;
  }

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

  .content-two-col {
    grid-template-columns: 1fr;
  }

  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

@media (max-width: 768px) {
  :root {
    --section-padding: 64px;
    --nav-height: 64px;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .nav__menu--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__menu li {
    width: 100%;
  }

  .nav__menu a {
    display: block;
    padding: 14px 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav__menu a::after {
    display: none;
  }

  .nav__cta {
    text-align: center;
    margin-top: 8px;
  }

  .hero__title {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero__scroll {
    display: none;
  }

  .about__text-col {
    padding: 48px 24px;
  }

  .about__stats {
    flex-direction: column;
    gap: 20px;
  }

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

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

  .contact__form-wrap {
    padding: 32px 24px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .page-header {
    padding: 140px 24px 60px;
  }

  .page-header--compact {
    padding: 130px 24px 50px;
  }

  .content-two-col__visual {
    min-height: 250px;
  }
}

/* ---------- ANIMATIONS ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
.fade-in--delay-1 { transition-delay: 0.1s; }
.fade-in--delay-2 { transition-delay: 0.2s; }
.fade-in--delay-3 { transition-delay: 0.3s; }
.fade-in--delay-4 { transition-delay: 0.4s; }
.fade-in--delay-5 { transition-delay: 0.5s; }
.fade-in--delay-6 { transition-delay: 0.6s; }

/* ---------- FORM MESSAGES ---------- */
.form-message {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.form-message--success {
  background: rgba(129, 215, 66, 0.1);
  color: var(--color-primary-dark);
  border: 1px solid rgba(129, 215, 66, 0.3);
}

.form-message--error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.3);
}
