/* ===== AIRPOWER OÜ - MAIN STYLESHEET ===== */
/* Green-focused modern design, monochrome icons */

:root {
  --green-900: #0d3d22;
  --green-800: #145c33;
  --green-700: #1a7a44;
  --green-600: #1f9050;
  --green-500: #25a85e;
  --green-400: #3cc177;
  --green-100: #d6f5e3;
  --green-50:  #f0faf4;

  --gray-900: #111827;
  --gray-700: #374151;
  --gray-500: #6b7280;
  --gray-300: #d1d5db;
  --gray-100: #f3f4f6;
  --white:    #ffffff;

  --font-display: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-body:    'Inter', 'Segoe UI', system-ui, sans-serif;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,.12);
  --transition: 0.22s ease;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a  { color: var(--green-700); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--green-500); }

/* ===== SKIP TO CONTENT ===== */
.skip-link {
  position: absolute; top: -40px; left: 16px; z-index: 999;
  background: var(--green-700); color: var(--white);
  padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: .875rem; transition: top .2s;
}
.skip-link:focus { top: 16px; }

/* ===== NAVIGATION ===== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-300);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1160px; margin: 0 auto;
  padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.25rem;
  color: var(--green-800);
  letter-spacing: -.01em;
}
.nav-logo svg { width: 36px; height: 36px; }

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 500;
  color: var(--gray-700);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { background: var(--green-50); color: var(--green-700); }

.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  display: none;
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  min-width: 240px; list-style: none; overflow: hidden;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
.nav-dropdown-menu a {
  display: block; padding: 10px 16px;
  border-radius: 0;
  color: var(--gray-700); font-size: .875rem;
}
.nav-dropdown-menu a:hover { background: var(--green-50); color: var(--green-700); }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius-sm);
  font-weight: 600; font-size: .9rem; cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none; text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--green-700); color: var(--white);
  box-shadow: 0 2px 8px rgba(26,122,68,.35);
}
.btn-primary:hover { background: var(--green-800); color: var(--white); box-shadow: 0 4px 16px rgba(26,122,68,.4); }
.btn-outline {
  background: transparent; color: var(--green-700);
  border: 2px solid var(--green-700);
}
.btn-outline:hover { background: var(--green-50); color: var(--green-800); }
.btn-white {
  background: var(--white); color: var(--green-800);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--green-50); color: var(--green-900); }

.nav-cta { margin-left: 8px; }

.hamburger {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px; border-radius: var(--radius-sm);
  color: var(--gray-700);
}
.hamburger:hover { background: var(--gray-100); }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 55%, var(--green-500) 100%);
  color: var(--white);
  padding: 96px 24px 80px;
  text-align: center;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); color: var(--white);
  border: 1px solid rgba(255,255,255,.25);
  padding: 6px 14px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-badge svg { width: 14px; height: 14px; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.02em;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--green-400); }

.hero-lead {
  font-size: 1.15rem; opacity: .88;
  max-width: 560px; margin: 0 auto 36px;
}

.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-top: 56px; padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.stat { text-align: center; }
.stat-value {
  font-size: 2rem; font-weight: 800; color: var(--white);
  letter-spacing: -.02em;
}
.stat-label { font-size: .8rem; opacity: .75; margin-top: 2px; letter-spacing: .03em; }

/* ===== SECTIONS ===== */
.section { padding: 80px 24px; }
.section-alt { background: var(--gray-100); }
.section-green { background: var(--green-900); color: var(--white); }
.section-green-light { background: var(--green-50); }

.container { max-width: 1160px; margin: 0 auto; }

.section-eyebrow {
  font-size: .75rem; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--green-600);
  margin-bottom: 10px;
}
.section-green .section-eyebrow { color: var(--green-400); }

.section-title {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800; line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: 16px;
}
.section-lead {
  font-size: 1.05rem; color: var(--gray-500);
  max-width: 600px;
  margin-bottom: 48px;
}
.section-green .section-lead { color: rgba(255,255,255,.7); }

/* ===== SERVICE CARDS ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--green-400);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px; height: 52px;
  background: var(--green-50); border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--green-700); }

.service-card h3 {
  font-size: 1.1rem; font-weight: 700; margin-bottom: 10px;
  color: var(--gray-900);
}
.service-card p { font-size: .9rem; color: var(--gray-500); line-height: 1.6; }
.service-card .card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px; font-size: .875rem; font-weight: 600;
  color: var(--green-700);
}
.service-card .card-link svg { width: 14px; height: 14px; }
.service-card .card-link:hover { color: var(--green-500); gap: 10px; }
.service-card .card-link svg { transition: transform var(--transition); }
.service-card:hover .card-link svg { transform: translateX(3px); }

/* ===== PROCESS STEPS ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
}
.process-step {
  text-align: center; padding: 28px 16px;
}
.step-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--green-700); color: var(--white);
  font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 4px 12px rgba(26,122,68,.3);
}
.process-step h4 { font-size: .95rem; font-weight: 700; color: var(--gray-900); margin-bottom: 6px; }
.process-step p { font-size: .85rem; color: var(--gray-500); }

/* ===== WHY AIRPOWER ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.why-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 24px; background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-md);
}
.why-icon {
  flex-shrink: 0; width: 44px; height: 44px;
  background: var(--green-700); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 22px; height: 22px; color: var(--white); }
.why-item h4 { font-size: .95rem; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.why-item p  { font-size: .85rem; color: rgba(255,255,255,.65); }

/* ===== TESTIMONIAL ===== */
.testimonial-block {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px; box-shadow: var(--shadow-md);
  max-width: 680px; margin: 0 auto;
  text-align: center;
}
.stars { color: var(--green-500); font-size: 1.3rem; margin-bottom: 16px; }
.testimonial-text {
  font-size: 1.05rem; font-style: italic;
  color: var(--gray-700); line-height: 1.7;
  margin-bottom: 20px;
}
.testimonial-author { font-weight: 700; font-size: .9rem; color: var(--gray-900); }

/* ===== FAQ ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
}
.faq-question {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 22px; cursor: pointer;
  background: var(--white); border: none; width: 100%; text-align: left;
  font-size: .95rem; font-weight: 600; color: var(--gray-900);
  transition: background var(--transition);
}
.faq-question:hover { background: var(--green-50); }
.faq-question svg {
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--green-600); transition: transform .25s;
}
.faq-item.open .faq-question svg { transform: rotate(45deg); }
.faq-answer {
  padding: 0 22px;
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease, padding .3s ease;
  font-size: .9rem; color: var(--gray-500); line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 600px; padding: 0 22px 18px; }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(135deg, var(--green-800), var(--green-600));
  border-radius: var(--radius-lg);
  padding: 56px 40px; text-align: center;
  color: var(--white);
}
.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800; margin-bottom: 12px;
}
.cta-banner p { font-size: 1rem; opacity: .85; margin-bottom: 30px; }
.cta-banner .btn { margin: 6px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
  align-items: start;
}
.contact-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 20px; }
.contact-person {
  padding: 20px; border: 1px solid var(--gray-300);
  border-radius: var(--radius-md); margin-bottom: 16px;
}
.contact-person strong { display: block; font-size: .9rem; color: var(--gray-500); margin-bottom: 4px; }
.contact-person .name { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.contact-person a { display: flex; align-items: center; gap: 8px; font-size: .875rem; color: var(--gray-700); margin-bottom: 4px; }
.contact-person a svg { width: 16px; height: 16px; color: var(--green-600); }

.contact-form-box {
  background: var(--white); border: 1px solid var(--gray-300);
  border-radius: var(--radius-lg); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.contact-form-box h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block; font-size: .85rem; font-weight: 600;
  color: var(--gray-700); margin-bottom: 6px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 10px 14px;
  border: 1.5px solid var(--gray-300); border-radius: var(--radius-sm);
  font-size: .9rem; font-family: var(--font-body);
  color: var(--gray-900); background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(37,168,94,.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  font-size: .8rem; color: var(--gray-500); text-align: center;
  margin-top: 12px;
}

/* ===== PAGE HERO (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-700) 100%);
  color: var(--white); padding: 64px 24px;
}
.page-hero .breadcrumb {
  font-size: .8rem; opacity: .7; margin-bottom: 12px;
}
.page-hero .breadcrumb a { color: rgba(255,255,255,.8); }
.page-hero .breadcrumb span { color: var(--green-400); }
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; letter-spacing: -.02em; margin-bottom: 14px;
}
.page-hero p {
  font-size: 1.05rem; opacity: .85; max-width: 560px;
}

/* ===== CONTENT BLOCKS ===== */
.content-prose {
  max-width: 760px;
}
.content-prose h2 {
  font-size: 1.6rem; font-weight: 800; margin: 48px 0 16px;
  color: var(--gray-900);
}
.content-prose h3 {
  font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px;
  color: var(--gray-900);
}
.content-prose p { margin-bottom: 16px; color: var(--gray-700); }
.content-prose ul {
  list-style: none; margin: 0 0 20px 0; padding: 0;
}
.content-prose ul li {
  padding: 6px 0 6px 28px; position: relative;
  font-size: .95rem; color: var(--gray-700);
}
.content-prose ul li::before {
  content: '';
  position: absolute; left: 0; top: 13px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--green-500);
}

/* ===== INFO BOXES ===== */
.info-box {
  background: var(--green-50); border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 24px 0;
}
.info-box p { color: var(--gray-700); font-size: .9rem; margin: 0; }

.warning-box {
  background: #fff8e1; border-left: 4px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px; margin: 24px 0;
}
.warning-box p { color: var(--gray-700); font-size: .9rem; margin: 0; }

/* ===== FEATURE LIST ===== */
.feature-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px; margin: 32px 0;
}
.feature-item {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; background: var(--white);
  border: 1px solid var(--gray-300); border-radius: var(--radius-md);
}
.feature-item svg { width: 22px; height: 22px; color: var(--green-600); flex-shrink: 0; }
.feature-item span { font-size: .9rem; font-weight: 600; color: var(--gray-800); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--gray-900); color: rgba(255,255,255,.75);
  padding: 56px 24px 32px;
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 48px; max-width: 1160px; margin: 0 auto;
}
.footer-brand { }
.footer-logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--white); font-weight: 700; font-size: 1.1rem;
  margin-bottom: 14px;
}
.footer-logo svg { width: 30px; height: 30px; }
.footer-desc { font-size: .875rem; line-height: 1.7; max-width: 300px; }
.footer-contact { margin-top: 20px; }
.footer-contact a {
  display: flex; align-items: center; gap: 8px;
  font-size: .875rem; color: rgba(255,255,255,.75);
  margin-bottom: 8px;
}
.footer-contact a svg { width: 16px; height: 16px; color: var(--green-400); }
.footer-contact a:hover { color: var(--green-400); }

.footer-col h4 {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.45);
  margin-bottom: 16px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: .875rem; color: rgba(255,255,255,.75);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--green-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  margin-top: 48px; padding-top: 24px;
  max-width: 1160px; margin-left: auto; margin-right: auto;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: .8rem; color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--green-400); }

/* ===== NOTIFICATIONS ===== */
.form-success {
  background: var(--green-50); border: 1.5px solid var(--green-500);
  color: var(--green-800); padding: 14px 18px;
  border-radius: var(--radius-sm); margin-top: 12px;
  font-size: .9rem; display: none;
}
.form-error {
  background: #fef2f2; border: 1.5px solid #ef4444;
  color: #991b1b; padding: 14px 18px;
  border-radius: var(--radius-sm); margin-top: 12px;
  font-size: .9rem; display: none;
}

/* ===== MOBILE NAV ===== */
.mobile-menu {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: var(--white); padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: block; }
.mobile-menu-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 32px;
}
.mobile-menu-header button {
  background: none; border: none; cursor: pointer;
  padding: 8px; color: var(--gray-700);
}
.mobile-nav { list-style: none; }
.mobile-nav > li { border-bottom: 1px solid var(--gray-300); }
.mobile-nav a {
  display: block; padding: 14px 4px;
  font-size: 1rem; font-weight: 600; color: var(--gray-900);
}
.mobile-nav .sub { padding-left: 16px; }
.mobile-nav .sub a {
  font-size: .9rem; font-weight: 500; color: var(--gray-500);
  padding: 10px 4px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .section { padding: 56px 20px; }
  .hero { padding: 72px 20px 64px; }
  .hero-stats { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-banner { padding: 40px 24px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .process-steps { grid-template-columns: 1fr; }
}

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

/* ===== WORDPRESS FOOTER REG INFO ===== */
.footer-reg {
  margin-top: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
  line-height: 1.7;
}
.footer-reg p { margin: 0; }

/* ===== SUBPAGE 2-COL GRID RESPONSIVE ===== */
@media (max-width: 900px) {
  .container > div[style*="grid-template-columns:1fr 320px"] {
    display: block !important;
  }
  .container > div[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }
  article[style*="grid-template-columns:1fr 2fr"] {
    display: block !important;
  }
}
