:root {
  --bg: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --accent: #f6c941;
  --accent-dark: #d4a017;
  --accent-light: #fef3c7;
  --hero-start: #0d1424;
  --hero-end: #1a2332;
  --card: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.0625rem; /* 17px - slightly larger for modern look */
  font-family: 'Lato', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--accent);
  color: #0b0d17;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  z-index: 1000;
  transition: all 0.2s ease;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Hero Section */
.site-header {
  position: relative;
  display: flex;
  flex-direction: column;
  background: 
    /* Sustainability green accents */
    radial-gradient(circle at 15% 25%, rgba(34, 197, 94, 0.2) 0%, transparent 45%),
    radial-gradient(circle at 85% 75%, rgba(246, 201, 65, 0.25) 0%, transparent 45%),
    /* Energy yellow accents */
    radial-gradient(circle at 50% 50%, rgba(246, 201, 65, 0.15) 0%, transparent 60%),
    /* Base gradient - lighter and more colorful */
    linear-gradient(135deg, rgba(15, 23, 42, 0.4) 0%, rgba(30, 41, 59, 0.35) 100%);
  color: #f8fafc;
  padding: 0;
  overflow: hidden;
}


.site-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    /* Lighter, more colorful overlay with sustainability theme */
    /* Spotlight effect - lighter in center where content is */
    radial-gradient(ellipse 80% 100% at 50% 50%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(13, 20, 36, 0.4) 100%),
    /* Green sustainability accents */
    radial-gradient(circle at 20% 30%, rgba(34, 197, 94, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(246, 201, 65, 0.25) 0%, transparent 50%),
    /* Subtle darkening at edges for contrast */
    linear-gradient(135deg, rgba(13, 20, 36, 0.3) 0%, rgba(26, 35, 50, 0.25) 100%);
  pointer-events: none;
  z-index: 0;
}

.header__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  z-index: 1;
  padding: 3rem clamp(1.5rem, 6vw, 5rem) 5rem;
  order: 2;
  width: 100%;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.8s ease-out;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.brand__logo-wrapper {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1.25rem;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 8px 24px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  flex-shrink: 0;
}

.brand__logo {
  font-size: 4.5rem;
  display: block;
  line-height: 1;
  margin: 0;
}

.brand img.brand__logo {
  height: 5.5rem;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  font-size: 0;
  margin: 0;
}

.brand__connector {
  flex: 1;
  min-width: 60px;
  height: 2px;
  background: linear-gradient(90deg, 
    rgba(246, 201, 65, 0.6) 0%, 
    rgba(246, 201, 65, 0.3) 50%, 
    rgba(246, 201, 65, 0.6) 100%);
  border-radius: 2px;
  position: relative;
  box-shadow: 0 0 8px rgba(246, 201, 65, 0.4);
}

.brand__connector::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(246, 201, 65, 0.8);
  animation: pulse-dot 2s ease-in-out infinite;
}

.brand__connector::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(246, 201, 65, 0.8);
  animation: pulse-dot 2s ease-in-out infinite 1s;
}

@keyframes pulse-dot {
  0%, 100% { 
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
  50% { 
    opacity: 0.6;
    transform: translateY(-50%) scale(1.3);
  }
}

.brand__tagline {
  margin: 0;
  padding: 1.25rem 1.75rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand__tagline .kicker {
  margin: 0;
  font-size: 0.95rem;
  letter-spacing: 0.15em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content {
  animation: fadeInUp 0.8s ease-out 0.2s both;
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Frosted glass effect for hero content for better readability */
.hero-content::before {
  content: '';
  position: absolute;
  top: -2rem;
  left: -2rem;
  right: -2rem;
  bottom: -2rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 2rem;
  z-index: -1;
  opacity: 0.6;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw + 1rem, 4.5rem);
  line-height: 1.2;
  text-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.hero-content .lead {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.125rem);
  max-width: 100%;
  text-shadow: 
    0 2px 8px rgba(0, 0, 0, 0.25),
    0 0 20px rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}


@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0;
  display: inline-block;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin: 0 0 1rem;
  color: #ffffff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0 0 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}

h4 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.lead {
  max-width: 60ch;
  color: rgba(248, 250, 252, 0.85);
  margin: 0 0 0;
  font-size: 1.125rem;
  line-height: 1.7;
}

.main-nav {
  position: relative;
  width: 100%;
  z-index: 2;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem 0;
  margin: 0;
  flex-shrink: 0;
  order: 1;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 5rem);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.main-nav ul {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: clamp(0.75rem, 1.5vw, 1.5rem);
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.main-nav li {
  white-space: nowrap;
  flex-shrink: 0;
}

.main-nav li:last-child {
  margin-right: 0;
}

.main-nav a {
  text-decoration: none;
  font-weight: 500;
  color: rgba(248, 250, 252, 0.85);
  padding: 0.5rem 0.5rem;
  position: relative;
  transition: color 0.3s ease;
  white-space: nowrap;
  font-size: clamp(0.875rem, 0.9vw + 0.5rem, 1rem);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

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

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

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  position: relative;
  z-index: 1;
}

.btn {
  border-radius: 999px;
  padding: 1rem 2rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn--primary {
  background: var(--accent);
  color: #1b1510;
  box-shadow: 0 10px 25px rgba(246, 201, 65, 0.4);
  border-color: var(--accent);
}

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(246, 201, 65, 0.5);
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

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

main {
  padding: 0 1rem 4rem;
}

/* Sections */
.section {
  width: min(1200px, 100%);
  margin: 0 auto 3rem;
  padding: clamp(3rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem);
  background: var(--card);
  border-radius: 2rem;
  box-shadow: var(--shadow-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* Section background images - overlays for readability */
#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.96);
  z-index: 0;
  border-radius: 2rem;
}

#services > * {
  position: relative;
  z-index: 1;
}

#expertise {
  background-color: #C9D4D6;
}

#expertise::before {
  display: none;
}

#expertise > * {
  position: relative;
  z-index: 1;
}

.section:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.section__heading {
  text-align: center;
  margin-bottom: 3rem;
}

.section__heading .kicker {
  color: var(--accent-dark);
  margin-bottom: 0.5rem;
}

.section__heading h2 {
  margin-bottom: 1rem;
}

.section__heading p {
  color: var(--muted);
  margin: 0;
  font-size: 1.1875rem; /* 19px - slightly larger for better readability */
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  min-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}

.card:hover::before {
  transform: scaleX(1);
}

.card h3 {
  margin: 0;
  color: var(--text);
  font-size: 1.5rem;
}

.card p {
  color: var(--muted);
  margin: 0;
  flex: 1;
  line-height: 1.7;
  font-size: 1.0625rem; /* 17px - matches body text for consistency */
}

.card .link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.card .link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.card .link:hover {
  color: #ffd700;
  gap: 0.75rem;
}

.card .link:hover::after {
  transform: translateX(4px);
}

/* Split Layout */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  align-items: start;
}

.alt {
  background: linear-gradient(135deg, #0e1524 0%, #1d2537 100%);
  color: #f7fbff;
  position: relative;
  overflow: hidden;
}

.alt::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(246, 201, 65, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.alt h2,
.alt h3,
.alt h4 {
  color: #ffffff;
}

.alt p {
  color: rgba(247, 251, 255, 0.85);
}

.alt .label-card {
  background: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text);
}

.alt .label-card h4 {
  color: var(--text);
}

.alt .label-card p {
  color: var(--muted);
}

.alt .check-list {
  background: none;
  border-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: none;
}

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.logo-grid figure {
  margin: 0;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  display: grid;
  grid-template-rows: 2fr 1fr;
  min-height: 140px;
  position: relative;
  aspect-ratio: 1;
}

.logo-grid figure:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}


.logo-grid img {
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
  max-height: 60px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  grid-row: 1;
  align-self: center;
  justify-self: center;
}

.logo-grid figure:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.logo-grid figcaption {
  grid-row: 2;
  padding-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted);
  align-self: flex-end;
  justify-self: center;
  width: 100%;
}

/* Label Cards */
.label-grid {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.label-card {
  display: flex;
  gap: 1.25rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  border-radius: 1.25rem;
  border: 1px solid var(--border);
  align-items: center;
  transition: all 0.3s ease;
}

.label-card:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-light);
}

.label-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.75rem;
  background: #fff;
  padding: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.label-card h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
}

.label-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
}

.check-list li {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(246, 201, 65, 0.05);
  transition: all 0.3s ease;
}

.check-list li:hover {
  background: rgba(246, 201, 65, 0.1);
  transform: translateX(4px);
}

.check-list li::before {
  content: '✓';
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: #1b1510;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(246, 201, 65, 0.3);
}

/* Partner Card */
.partner-card {
  background: linear-gradient(135deg, #f9fafb, #ffffff);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  margin-top: 1.5rem;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.partner-card img {
  margin: 1rem auto;
  max-width: 120px;
  filter: none;
  opacity: 1;
  transition: all 0.3s ease;
}

.partner-card:hover img {
  opacity: 1;
}

/* Contact Section */
.contact-section {
  width: min(1200px, 100%);
  margin: 0 auto 3rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 1rem;
  overflow: visible;
}

.contact-section:hover {
  transform: none;
  box-shadow: none;
}

.contact-section__header {
  width: 100%;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-section__header h2 {
  margin-top: 0;
}

.contact-section__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 3rem;
  align-items: start;
}

.contact-form {
  background: var(--card);
  padding: 2.5rem;
  border-radius: 2rem;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
}

.contact-form:hover {
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-field {
  position: relative;
}

.form-field label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  width: 100%;
  border-radius: 1rem;
  border: 2px solid var(--border);
  padding: 1rem;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: #fff;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(246, 201, 65, 0.15);
  transform: translateY(-2px);
}

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

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

.contact-card {
  background: var(--card);
  border-radius: 2rem;
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.08), 0 4px 12px -2px rgba(0, 0, 0, 0.04);
  height: fit-content;
  transition: all 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 15px 40px -5px rgba(0, 0, 0, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.contact-card h3 {
  margin-top: 0;
  color: var(--text);
}

.contact-card p {
  color: var(--muted);
  line-height: 1.8;
  margin: 0;
}

/* Footer */
.site-footer {
  padding: 3rem 1.5rem;
  text-align: center;
  border-top: 1px solid var(--border);
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-size: 0.95rem;
}

/* Alerts */
.alert-wrapper {
  position: sticky;
  top: 1rem;
  z-index: 100;
  padding: 0 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.alert {
  background: linear-gradient(135deg, #ecfccb, #f7fee7);
  color: #365314;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  border: 2px solid #bef264;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .header__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 0 1.5rem;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .brand__connector {
    display: none;
  }

  .brand__logo-wrapper {
    padding: 1.25rem 1.5rem;
  }

  .brand__logo {
    font-size: 3.5rem;
  }

  .brand img.brand__logo {
    height: 4.5rem;
    max-width: 240px;
  }

  .brand__tagline {
    padding: 1rem 1.25rem;
  }

  .brand__tagline .kicker {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 1rem 1.5rem 3rem;
  }

  .main-nav {
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    background: rgba(13, 20, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 100;
  }

  .nav-container {
    padding: 0 1.5rem;
    justify-content: center;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background: rgba(13, 20, 36, 0.95);
    padding: 1.5rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-xl);
    gap: 0.75rem;
    position: absolute;
    top: 100%;
    left: 1.5rem;
    right: 1.5rem;
    margin-top: 1rem;
  }

  .main-nav ul[data-open='true'] {
    display: flex;
    animation: fadeInUp 0.3s ease-out;
  }

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

  .header__inner {
    margin-top: 1rem;
  }

  .brand {
    flex-direction: column;
    gap: 1rem;
  }

  .cta-group {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 2rem 1.5rem;
    border-radius: 1.5rem;
  }

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

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 540px) {
  .contact-section {
    grid-template-columns: 1fr;
  }

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

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

/* Smooth scroll reveal */
@media (prefers-reduced-motion: no-preference) {
  .section,
  .card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
  }

  .section:nth-child(1) { animation-delay: 0.1s; }
  .section:nth-child(2) { animation-delay: 0.2s; }
  .section:nth-child(3) { animation-delay: 0.3s; }
  .section:nth-child(4) { animation-delay: 0.4s; }
  .section:nth-child(5) { animation-delay: 0.5s; }
}

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