/* ============================================
   Helms Aero Services — Custom Styles
   ============================================ */

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.6;
  color: #e2e2e4;
  background-color: #0c0c10;
}

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

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

ul {
  list-style: none;
}

/* --- Container --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
}

.section--light {
  background-color: #f6f6f7;
  color: #1e1e25;
}

.section__eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff6b3f;
  margin-bottom: 12px;
}

.section__eyebrow--center {
  text-align: center;
}

.section__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: inherit;
  margin-bottom: 20px;
}

.section__title--center {
  text-align: center;
}

.section__lead {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #56565f;
  max-width: 600px;
  margin-bottom: 16px;
}

.section--light .section__lead {
  color: #56565f;
}

.section__subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: #767680;
  text-align: center;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.6;
}

.section--light .section__subtitle {
  color: #9e9ea4;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn--primary {
  background-color: #ff6b3f;
  color: #fff5f2;
  border-color: #ff6b3f;
}

.btn--primary:hover {
  background-color: #f04a1a;
  border-color: #f04a1a;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 63, 0.3);
}

.btn--ghost {
  background-color: transparent;
  color: #fff5f2;
  border-color: rgba(255, 245, 242, 0.4);
}

.btn--ghost:hover {
  border-color: #fff5f2;
  background-color: rgba(255, 245, 242, 0.08);
}

.btn--ghost-light {
  background-color: transparent;
  color: #1e1e25;
  border-color: rgba(30, 30, 37, 0.3);
}

.btn--ghost-light:hover {
  border-color: #1e1e25;
  background-color: rgba(30, 30, 37, 0.05);
}

.btn--outline {
  background-color: transparent;
  color: #1e1e25;
  border-color: #1e1e25;
}

.btn--outline:hover {
  background-color: #1e1e25;
  color: #fff5f2;
}

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

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(12, 12, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background-color 0.3s ease;
}

.nav.scrolled {
  background-color: rgba(12, 12, 16, 0.95);
}

.nav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  height: 72px;
  gap: 40px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #f6f6f7;
  flex-shrink: 0;
}

.nav__logo-text {
  letter-spacing: 0.02em;
}

.nav__menu {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav__link {
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4c4c8;
  transition: color 0.2s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #ff6b3f;
  transition: width 0.25s ease;
}

.nav__link:hover {
  color: #ff6b3f;
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--cta {
  color: #ff6b3f;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: #e2e2e4;
  margin-left: auto;
}

/* --- Mobile Menu --- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background-color: rgba(12, 12, 16, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu__close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: #e2e2e4;
  padding: 8px;
}

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.mobile-menu__link {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: #c4c4c8;
  padding: 12px 24px;
  transition: color 0.2s ease;
}

.mobile-menu__link:hover {
  color: #ff6b3f;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(12, 12, 16, 0.55) 0%,
    rgba(12, 12, 16, 0.7) 50%,
    rgba(12, 12, 16, 0.88) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
  padding: 0 24px;
  padding-top: 72px;
}

.hero__eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ff6b3f;
  margin-bottom: 20px;
}

.hero__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  color: #fff5f2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 300;
  line-height: 1.7;
  color: #c4c4c8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: #c4c4c8;
  animation: heroScroll 2s ease-in-out infinite;
}

@keyframes heroScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.5; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* --- About --- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about__text .section__lead {
  margin-bottom: 16px;
}

.about__text p {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #56565f;
  margin-bottom: 12px;
}

.about__stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e2e2e4;
}

.stat__number {
  display: block;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 400;
  color: #1e1e25;
  line-height: 1;
  margin-bottom: 6px;
}

.stat__label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #767680;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background-color: #c4c4c8;
}

.about__image {
  border-radius: 4px;
  overflow: hidden;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 6/7;
}

/* --- Services --- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.service-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(255, 107, 63, 0.3);
  background-color: rgba(255, 107, 63, 0.04);
  transform: translateY(-2px);
}

.service-card__icon {
  margin-bottom: 20px;
}

.service-card__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #f6f6f7;
  margin-bottom: 12px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: #9e9ea4;
}

/* --- Listings --- */
.listings {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.listing-card {
  background-color: #fff5f2;
  border-radius: 4px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.listing-card__img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 560/380;
}

.listing-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.listing-card:hover .listing-card__img-wrap img {
  transform: scale(1.03);
}

.listing-card__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: #ff6b3f;
  color: #fff5f2;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}

.listing-card__body {
  padding: 24px;
}

.listing-card__address {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #1e1e25;
  margin-bottom: 8px;
  line-height: 1.3;
}

.listing-card__details {
  font-size: 0.8125rem;
  font-weight: 400;
  color: #767680;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.listing-card__link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #ff6b3f;
  letter-spacing: 0.04em;
  transition: color 0.2s ease;
}

.listing-card__link:hover {
  color: #cc350f;
}

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

.listings__cta .btn--outline {
  border-color: #1e1e25;
  color: #1e1e25;
}

.listings__cta .btn--outline:hover {
  background-color: #1e1e25;
  color: #fff5f2;
}

/* --- Testimonials --- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.testimonial {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 4px;
  padding: 36px 28px;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial:hover {
  border-color: rgba(255, 107, 63, 0.25);
}

.testimonial__quote {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 32px;
  height: 32px;
}

.testimonial__text {
  font-size: 0.9375rem;
  font-weight: 300;
  line-height: 1.75;
  color: #c4c4c8;
  margin-bottom: 24px;
  margin-top: 16px;
}

.testimonial__author {
  font-size: 0.8125rem;
  font-weight: 500;
  color: #ff6b3f;
  letter-spacing: 0.04em;
}

/* --- CTA Banner --- */
.cta-banner {
  background: linear-gradient(135deg, #1e1e25 0%, #2a2a32 100%);
  padding: 80px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-banner__inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner__title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: #f6f6f7;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-banner__text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  color: #9e9ea4;
  margin-bottom: 32px;
}

.cta-banner__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- Contact --- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

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

.contact-detail__icon {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-detail__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b3f;
  margin-bottom: 4px;
}

.contact-detail__value {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #3d3d46;
  line-height: 1.6;
}

.contact-detail__link {
  color: #3d3d46;
  transition: color 0.2s ease;
}

.contact-detail__link:hover {
  color: #ff6b3f;
}

/* --- Contact Form --- */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #56565f;
}

.form-input {
  background-color: #f6f6f7;
  border: 1px solid #e2e2e4;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: #1e1e25;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: #ff6b3f;
  box-shadow: 0 0 0 3px rgba(255, 107, 63, 0.1);
}

.form-input::placeholder {
  color: #c4c4c8;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23767680' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

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

.contact-form__privacy {
  font-size: 0.75rem;
  color: #9e9ea4;
  text-align: center;
  margin-top: 4px;
}

.contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 48px 24px;
}

.contact-form__success-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: #1e1e25;
}

.contact-form__success-text {
  font-size: 0.9375rem;
  font-weight: 300;
  color: #56565f;
  line-height: 1.6;
  max-width: 360px;
}

/* --- Map Section --- */
.map-section {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.map-section iframe {
  filter: grayscale(0.6) contrast(1.1);
  opacity: 0.85;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.map-section:hover iframe {
  filter: grayscale(0.2) contrast(1);
  opacity: 1;
}

/* --- Footer --- */
.footer {
  background-color: #0c0c10;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 64px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 400;
  color: #f6f6f7;
  margin-bottom: 16px;
}

.footer__tagline {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.7;
  color: #767680;
  max-width: 280px;
}

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

.footer__link-group p {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ff6b3f;
  margin-bottom: 16px;
}

.footer__link-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__link-group a,
.footer__link-group li:not(a) {
  font-size: 0.875rem;
  font-weight: 300;
  color: #9e9ea4;
  transition: color 0.2s ease;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.5;
}

.footer__link-group a:hover {
  color: #ff6b3f;
}

.footer__contact-icon {
  flex-shrink: 0;
  margin-top: 3px;
}

.footer__contact-link {
  color: #9e9ea4;
  text-decoration: none;
}

.footer__contact-link:hover {
  color: #ff6b3f;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copyright {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #56565f;
}

.footer__legal {
  font-size: 0.8125rem;
  font-weight: 300;
  color: #56565f;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

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

  .listings .listing-card:last-child {
    grid-column: span 2;
    max-width: 50%;
    justify-self: center;
  }

  .about {
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }

  .nav__menu {
    display: none;
  }

  .nav__toggle {
    display: block;
  }

  .hero__content {
    padding-top: 96px;
  }

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

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

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

  .about__image {
    order: -1;
  }

  .about__image img {
    aspect-ratio: 4/3;
  }

  .about__stats {
    flex-wrap: wrap;
    gap: 24px;
  }

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

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

  .listings .listing-card:last-child {
    grid-column: span 1;
    max-width: 100%;
  }

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

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

  .footer__top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .cta-banner__actions {
    flex-direction: column;
    width: 100%;
  }

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

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

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

  .hero__scroll {
    bottom: 20px;
  }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero__scroll {
    animation: none;
    opacity: 0.6;
  }

  .listing-card__img-wrap img {
    transition: none;
  }

  .service-card,
  .testimonial {
    transition: none;
  }
}
