/* ============================================
   Green Air SC — Static Landing Page Styles
   All text sizing in rem with fluid html base
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --green-primary: #7CB518;
  --green-dark: #5A8A0E;
  --green-light: #A3D94E;
  --green-pale: #EAF5D0;
  --charcoal: #1A1A1A;
  --charcoal-soft: #2C2C2C;
  --slate: #4A4A4A;
  --warm-gray: #7A7A7A;
  --off-white: #F8F8F6;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 0.5rem rgba(0,0,0,0.06);
  --shadow-md: 0 0.25rem 1.25rem rgba(0,0,0,0.10);
  --shadow-lg: 0 0.5rem 2.5rem rgba(0,0,0,0.14);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Fluid root: 16px at 375px → 18px at 1200px */
html {
  font-size: clamp(100%, 0.925rem + 0.25vw, 112.5%);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--off-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 71.25rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 1rem rgba(124, 181, 24, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--green-primary);
  border: 2px solid var(--green-primary);
}

.btn-outline:hover {
  background: var(--green-primary);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.875rem 2.25rem;
  font-size: 1rem;
  border-radius: 0.625rem;
}

/* ==============================
   HERO — Two-column with logo
   ============================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(26, 26, 26, 0.88) 0%,
    rgba(26, 26, 26, 0.55) 50%,
    rgba(26, 26, 26, 0.78) 100%
  );
}

/* Two-column hero layout */
.hero-layout {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 3.5rem;
  padding: 5rem 0;
}

/* Logo column */
.hero-logo-col {
  flex-shrink: 0;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.1s;
}

.hero-logo-img {
  width: 17.5rem;
  height: auto;
  filter: drop-shadow(0 0.25rem 1.5rem rgba(124, 181, 24, 0.18));
}

/* Content column */
.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(124, 181, 24, 0.12);
  border: 1px solid rgba(124, 181, 24, 0.25);
  border-radius: 6.25rem;
  padding: 0.375rem 1rem;
  margin-bottom: 1.5rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--green-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.2s;
}

.hero-badge svg {
  width: 0.875rem;
  height: 0.875rem;
  fill: var(--green-light);
}

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 1.25rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.35s;
}

.hero h1 .accent {
  color: var(--green-primary);
}

.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 35rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.5s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.65s;
}

.hero-emergency {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(124, 181, 24, 0.2);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  gap: 0.875rem;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards 0.8s;
}

.emergency-dot {
  width: 0.625rem;
  height: 0.625rem;
  background: var(--green-primary);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease-in-out infinite;
}

.hero-emergency p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.8);
}

.hero-emergency strong {
  color: var(--white);
  font-weight: 600;
}

.hero-emergency a {
  color: var(--green-light);
  font-weight: 600;
}

.hero-emergency a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* --- Services Section --- */
.services {
  padding: 6.25rem 0;
  background: var(--off-white);
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 38.75rem;
  margin: 0 auto 4rem;
}

.section-tag {
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.section-header h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--warm-gray);
  line-height: 1.7;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-lg);
  border-color: rgba(124, 181, 24, 0.15);
}

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

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--green-pale);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background var(--transition);
}

.service-card:hover .service-icon {
  background: rgba(124, 181, 24, 0.18);
}

.service-icon img {
  width: 1.875rem;
  height: 1.875rem;
  object-fit: contain;
}

.service-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  stroke: var(--green-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}

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

/* --- Why Choose Section --- */
.why-us {
  padding: 6.25rem 0;
  background: var(--charcoal);
  position: relative;
}

.why-us .section-tag {
  color: var(--green-light);
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255,255,255,0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.why-item:hover {
  background: rgba(124, 181, 24, 0.06);
  border-color: rgba(124, 181, 24, 0.15);
}

.why-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--green-primary);
  flex-shrink: 0;
  width: 2.5rem;
  line-height: 1.3;
}

.why-item h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.375rem;
}

.why-item p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* --- CTA Section --- */
.cta-section {
  padding: 6.25rem 0;
  background: var(--off-white);
  text-align: center;
}

.cta-card {
  background: linear-gradient(145deg, var(--green-primary), var(--green-dark));
  border-radius: var(--radius-lg);
  padding: 4.5rem 3rem;
  max-width: 48.75rem;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 25rem;
  height: 25rem;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 18.75rem;
  height: 18.75rem;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}

.cta-card > * {
  position: relative;
  z-index: 1;
}

.cta-card h2 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2rem;
  max-width: 31.25rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.875rem;
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-1px);
  box-shadow: 0 0.25rem 1rem rgba(0,0,0,0.15);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}

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

/* ==============================
   FOOTER — Logo + Spelled-out name
   ============================== */
.site-footer {
  background: var(--charcoal);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2.5rem 0 1.75rem;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

/* Left: logo + business name */
.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 4.25rem;
  height: 4.25rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.footer-name {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--green-primary);
  letter-spacing: 0.01em;
  line-height: 1.25;
}

/* Ampersand matches the rest of the name */
.footer-name .amp {
  color: inherit;
}

.footer-tagline {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

/* Right: social + phone */
.footer-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.footer-phone {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--green-light);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}

.footer-phone:hover {
  color: var(--white);
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--green-primary);
}

.footer-social svg {
  width: 1.125rem;
  height: 1.125rem;
  fill: rgba(255,255,255,0.7);
}

.footer-social a:hover svg {
  fill: var(--white);
}

.footer-bottom {
  margin-top: 1.75rem;
  padding-top: 1.125rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(1.25rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Scroll-reveal defaults */
.reveal {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* ==============================
   Responsive
   ============================== */
@media (max-width: 62rem) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hero-logo-img {
    width: 14rem;
  }
}

@media (max-width: 48rem) {
  /* Hero stacks vertically on tablet / mobile */
  .hero-layout {
    flex-direction: column;
    gap: 2rem;
    padding: 3.75rem 0;
    text-align: center;
    align-items: center;
  }

  .hero-logo-col {
    order: -1;
  }

  .hero-logo-img {
    width: 11.25rem;
    margin: 0 auto;
  }

  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero h1 {
    font-size: clamp(1.75rem, 6vw, 2.25rem);
  }

  .services {
    padding: 4rem 0;
  }

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

  .service-card {
    padding: 2rem 1.5rem;
  }

  .why-us {
    padding: 4rem 0;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-card {
    padding: 3rem 1.75rem;
  }

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

  .footer-brand-row {
    flex-direction: column;
    text-align: center;
  }

  .footer-brand-text {
    align-items: center;
  }

  .footer-right {
    flex-direction: column;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }
}

@media (max-width: 30rem) {
  .container {
    padding: 0 1rem;
  }

  .hero-layout {
    padding: 3rem 0;
  }

  .hero-logo-img {
    width: 9rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-emergency {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

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

  .cta-actions .btn {
    width: 100%;
  }

  .why-item {
    padding: 1.25rem;
  }

  .footer-logo {
    width: 3.5rem;
    height: 3.5rem;
  }

  .footer-name {
    font-size: 1.05rem;
  }
}
