/* ── 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 {
  overflow-x: hidden;
}

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

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

/* ── Utility: Section Label ── */
.section-label {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 11px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-weight: 400;
  color: #C8A45C;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #C8A45C;
  color: #0B1D3A;
  border: 1px solid #C8A45C;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
}

.btn-primary:hover {
  background: #B8944A;
  border-color: #B8944A;
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(200, 164, 92, 0.3);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  font-family: 'Inter', system-ui, sans-serif;
}

.btn-secondary:hover {
  border-color: rgba(255,255,255,0.7);
  transform: translateY(-1px);
}

/* ── Contact Inputs ── */
.contact-input {
  font-family: 'Inter', system-ui, sans-serif;
  font-weight: 300;
  font-size: 14px;
  color: #0B1D3A;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(11, 29, 58, 0.15);
  padding: 10px 0;
  outline: none;
  transition: border-color 0.3s ease;
  width: 100%;
  appearance: none;
  border-radius: 0;
}

.contact-input::placeholder {
  color: #A0AEBF;
}

.contact-input:focus {
  border-bottom-color: #C8A45C;
}

.contact-input:hover:not(:focus) {
  border-bottom-color: rgba(11, 29, 58, 0.3);
}

select.contact-input {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='%236B7B8D' class='w-4 h-4' %3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 36px;
}

/* ── Header Scroll State ── */
#header.scrolled {
  background: rgba(7, 18, 37, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

#header.scrolled .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

/* ── Mobile Menu ── */
.mobile-link {
  display: block;
}

#mobileMenu.open {
  opacity: 1;
  pointer-events: all;
}

#mobileMenu.closed {
  opacity: 0;
  pointer-events: none;
}

.menu-line {
  transition: all 0.3s ease;
}

#menuBtn[aria-expanded="true"] .menu-line:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

#menuBtn[aria-expanded="true"] .menu-line:last-child {
  transform: rotate(-45deg) translate(1px, -1px);
}

/* ── Hero Animations ── */
.hero-title {
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s forwards;
}

.hero-subtitle {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.1s forwards;
}

.hero-desc {
  opacity: 0;
  transform: translateY(20px);
  animation: heroIn 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.5s forwards;
}

.hero-scroll {
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* ── Service Cards ── */
.service-card {
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover {
  border-color: rgba(200, 164, 92, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(11, 29, 58, 0.08);
}

/* ── Scroll Line Animation ── */
.scroll-line {
  animation: scrollDown 1.5s ease-in-out infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100%); }
}

/* ── Responsive ── */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .section-label {
    font-size: 10px;
  }

  #about, #services, #areas {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero-title {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.8rem;
  }
}

/* ── Focus Styles ── */
*:focus-visible {
  outline: 2px solid #C8A45C;
  outline-offset: 2px;
}

/* ── Selection ── */
::selection {
  background: rgba(200, 164, 92, 0.2);
  color: #0B1D3A;
}
