/* ============================================
   A.C. Arms — Custom Styles
   Midnight Blue + Mint | Warm & Approachable
   ============================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: #0f1c3f;
  color: #f0fdf4;
  padding: 0.5rem 1rem;
  border-radius: 0 0 0.5rem 0.5rem;
  z-index: 9999;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  top: 0;
}

/* ---- Section Utilities ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #16a34a;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.section-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  line-height: 1.15;
  color: #0f1c3f;
  margin: 0 0 1rem;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #374151;
  max-width: 560px;
}

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

/* ---- Navigation ---- */
.nav-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 28, 63, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(167, 243, 168, 0.15);
  transition: box-shadow 0.3s ease;
}

.nav-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.nav-logo-icon {
  width: 2.4rem;
  height: 2.4rem;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 0.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.2rem;
  color: #0f1c3f;
  box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.nav-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: #f0fdf4;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: #d5dffc;
  text-decoration: none;
  padding: 0.5rem 0.85rem;
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover {
  color: #f0fdf4;
  background: rgba(167, 243, 168, 0.12);
}

.nav-cta {
  background: linear-gradient(135deg, #4ade80, #22c55e) !important;
  color: #0f1c3f !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 12px rgba(74, 222, 128, 0.3);
}

.nav-cta:hover {
  background: linear-gradient(135deg, #86efac, #4ade80) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: #d5dffc;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: #0f1c3f;
  overflow: hidden;
  padding: 6rem 0 4rem;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(22, 101, 52, 0.25) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 10% 90%, rgba(74, 222, 128, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 10%, rgba(167, 243, 168, 0.08) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 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='%234ade80' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(167, 243, 168, 0.12);
  border: 1px solid rgba(167, 243, 168, 0.25);
  color: #86efac;
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-title {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.1;
  color: #f0fdf4;
  margin: 0 0 1.25rem;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: #86efac;
  display: block;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.75;
  color: #b0c2f9;
  margin: 0 0 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 0.75rem;
  padding: 0.85rem 1.5rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #4ade80, #22c55e);
  color: #0f1c3f;
  box-shadow: 0 4px 20px rgba(74, 222, 128, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 30px rgba(74, 222, 128, 0.45);
  background: linear-gradient(135deg, #86efac, #4ade80);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #f0fdf4;
  border: 1.5px solid rgba(167, 243, 168, 0.3);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(167, 243, 168, 0.5);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 0.85rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #d5dffc;
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.hero-trust-item svg {
  color: #4ade80;
  flex-shrink: 0;
}

/* Hero Image Stack */
.hero-image-stack {
  position: relative;
  height: 600px;
}

.hero-img {
  position: absolute;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-primary {
  width: 320px;
  height: 420px;
  top: 10%;
  right: 5%;
  z-index: 2;
}

.hero-img-secondary {
  width: 240px;
  height: 180px;
  bottom: 8%;
  right: 35%;
  z-index: 3;
  border: 4px solid rgba(15, 28, 63, 0.6);
}

.hero-img-accent {
  width: 140px;
  height: 140px;
  top: 2%;
  right: 38%;
  z-index: 4;
  border: 3px solid rgba(74, 222, 128, 0.4);
}

/* ---- About ---- */
.about {
  background: #f0fdf4;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-image-accent {
  position: absolute;
  inset: 1.25rem -1rem -1rem 1rem;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 1.5rem;
  z-index: 0;
  opacity: 0.25;
}

.about-image-wrap img {
  position: relative;
  z-index: 1;
  border-radius: 1.5rem;
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 16px 48px rgba(15, 28, 63, 0.12);
}

.about-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #bbf7d0;
}

.about-stat {
  text-align: center;
  flex: 1;
}

.about-stat-number {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 2rem;
  font-weight: 900;
  color: #16a34a;
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stat-label {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  line-height: 1.3;
}

.about-stat-divider {
  width: 2px;
  height: 3rem;
  background: #bbf7d0;
  border-radius: 1px;
  flex-shrink: 0;
}

/* ---- What We Offer ---- */
.what-we-offer {
  background: #f8fafc;
}

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

.offer-card {
  background: #ffffff;
  border-radius: 1.25rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.offer-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(15, 28, 63, 0.1);
  border-color: #bbf7d0;
}

.offer-card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  margin-bottom: 1.25rem;
}

.offer-card-title {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  color: #0f1c3f;
  margin: 0 0 0.6rem;
}

.offer-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 0;
}

/* ---- Why Choose Us ---- */
.why-us {
  background: #0f1c3f;
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%234ade80' fill-opacity='0.04'%3E%3Cpath d='M20 20l-2-2 2-2 2 2-2 2zm-8 8l-2-2 2-2 2 2-2 2zm16 0l-2-2 2-2 2 2-2 2zm-8-16l-2-2 2-2 2 2-2 2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-content .section-label {
  background: rgba(167, 243, 168, 0.12);
  border-color: rgba(167, 243, 168, 0.25);
  color: #86efac;
}

.why-content .section-title {
  color: #f0fdf4;
}

.why-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #b0c2f9;
  margin-bottom: 1.5rem;
}

.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #d5dffc;
  font-size: 0.95rem;
  line-height: 1.5;
}

.why-list-check {
  width: 1.5rem;
  height: 1.5rem;
  background: rgba(74, 222, 128, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
  color: #4ade80;
}

.why-image-col {
  position: relative;
  height: 580px;
}

.why-img-main {
  position: absolute;
  inset: 0;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.why-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.why-img-float {
  position: absolute;
  bottom: -1.5rem;
  left: -1.5rem;
  width: 220px;
  border-radius: 1rem;
  overflow: hidden;
  border: 4px solid rgba(15, 28, 63, 0.7);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.why-img-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---- Visit ---- */
.visit {
  background: #f0fdf4;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.visit-intro {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 2rem;
}

.visit-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.visit-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.visit-detail-icon {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  border-radius: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #16a34a;
  flex-shrink: 0;
}

.visit-detail strong {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f1c3f;
  margin-bottom: 0.2rem;
}

.visit-detail p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
}

.visit-detail a {
  color: #16a34a;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.visit-detail a:hover {
  color: #15803d;
  text-decoration: underline;
}

.visit-map {
  border-radius: 1.25rem;
  overflow: hidden;
  min-height: 400px;
  box-shadow: 0 12px 40px rgba(15, 28, 63, 0.1);
}

/* ---- Contact ---- */
.contact {
  background: #ffffff;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #374151;
}

.contact-form {
  background: #f8fafc;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #e5e7eb;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f1c3f;
}

.form-group input,
.form-group textarea {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: #1f2937;
  background: #ffffff;
  border: 1.5px solid #d1d5db;
  border-radius: 0.7rem;
  padding: 0.75rem 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
}

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

.form-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 1rem;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
  border-radius: 0.75rem;
  color: #166534;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
}

.form-success svg {
  color: #16a34a;
  flex-shrink: 0;
}

.hidden {
  display: none !important;
}

/* ---- Footer ---- */
.footer {
  background: #091028;
  padding: 4rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  margin-bottom: 1rem;
}

.footer-logo-icon {
  width: 2rem;
  height: 2rem;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  color: #0f1c3f;
}

.footer-logo-text {
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #f0fdf4;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: #81a0f5;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  color: #f0fdf4;
  margin: 0 0 1rem;
}

.footer-links ul,
.footer-contact ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links li a,
.footer-contact li {
  font-size: 0.88rem;
  color: #b0c2f9;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.5;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #86efac;
}

.footer-contact li svg {
  color: #4ade80;
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.footer-contact a {
  color: #b0c2f9;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: #86efac;
}

.footer-bottom {
  border-top: 1px solid rgba(167, 243, 168, 0.1);
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #5579ef;
  margin: 0;
}

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

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

.reveal[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
}

.reveal[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

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

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

  .hero-image-stack {
    display: none;
  }

  .about-grid,
  .why-grid,
  .visit-grid,
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .why-image-col {
    height: 400px;
    order: -1;
  }

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

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

  .nav-links {
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background: rgba(9, 16, 40, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    border-bottom: 1px solid rgba(167, 243, 168, 0.15);
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    z-index: 999;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-toggle .nav-toggle-icon-close.hidden {
    display: none;
  }

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

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

  .about-stats {
    flex-direction: column;
    gap: 1.25rem;
  }

  .about-stat-divider {
    width: 3rem;
    height: 2px;
  }

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

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

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .why-img-float {
    display: none;
  }
}

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}

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

  .reveal[data-reveal] {
    opacity: 1;
    transform: none;
  }

  .offer-card,
  .btn {
    transition: none;
  }

  .offer-card:hover {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }
}
