*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', system-ui, sans-serif; color: #1a2e4a; background: #f8fafc; overflow-x: hidden; }

/* NAV */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: rgba(248,250,252,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15,42,74,0.06); transition: box-shadow 0.3s; }
.nav.scrolled { box-shadow: 0 4px 24px rgba(15,42,74,0.08); }
.nav-inner { height: 72px; }
.nav-logo-wrap { flex-shrink: 0; }
.nav-links { gap: 1.5rem; }
.nav-link { color: #334e68; font-size: 0.9rem; font-weight: 500; text-decoration: none; position: relative; transition: color 0.2s; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: #45c492; transition: width 0.25s; }
.nav-link:hover { color: #1a8a5f; }
.nav-link:hover::after { width: 100%; }
.nav-toggle { display: flex; }
.nav-bar { transition: all 0.3s ease; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(1) { transform: rotate(45deg) translate(4px, 4px); }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-bar:nth-child(3) { width: 16px; transform: rotate(-45deg) translate(4px, -4px); }
.nav-mobile { position: absolute; top: 72px; left: 0; right: 0; background: rgba(248,250,252,0.98); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(15,42,74,0.06); animation: slideDown 0.3s ease; }
.nav-mobile-link { color: #334e68; font-size: 1rem; font-weight: 500; text-decoration: none; padding: 0.75rem 0; border-bottom: 1px solid rgba(15,42,74,0.06); display: block; transition: color 0.2s, padding-left 0.2s; }
.nav-mobile-link:hover { color: #1a8a5f; padding-left: 0.5rem; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.75rem 1.75rem; border-radius: 50px; font-size: 0.95rem; font-weight: 600; text-decoration: none; transition: all 0.25s ease; border: 2px solid transparent; cursor: pointer; }
.btn-mint { background: #45c492; color: #0a1a2e; border-color: #45c492; }
.btn-mint:hover { background: #36b080; border-color: #36b080; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(69,196,146,0.3); }
.btn-midnight { background: #0f2a4a; color: #f0f4f8; border-color: #0f2a4a; }
.btn-midnight:hover { background: #1a3d63; border-color: #1a3d63; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(15,42,74,0.25); }
.btn-outline-light { background: transparent; color: #f0f4f8; border-color: rgba(255,255,255,0.4); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; transform: translateY(-2px); }
.btn-lg { padding: 1rem 2.25rem; font-size: 1rem; }

/* SECTIONS */
.section { padding: 6rem 0; }
.section-label { display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: #1a8a5f; background: #e8fbf3; padding: 0.4rem 1rem; border-radius: 50px; }
.section-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 700; color: #0a1a2e; line-height: 1.2; }

/* HERO */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: url('https://images.pexels.com/photos/34764063/pexels-photo-34764063.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=1080') center center / cover no-repeat; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,26,46,0.92) 0%, rgba(15,42,74,0.85) 50%, rgba(20,50,80,0.78) 100%); }
.hero-inner { position: relative; z-index: 10; }
.hero-grid { align-items: stretch; }
.hero-text { padding: 8rem 0 4rem; }
.badge-hero { font-size: 0.85rem; }
.hero h1 { letter-spacing: -0.02em; }
.hero-stats { gap: 2rem; }
.hero-stat { border-left: 2px solid rgba(255,255,255,0.15); padding-left: 1.25rem; }
.hero-image { padding: 2rem 0; }
.hero-img-wrap { position: relative; }
.hero-img { width: 100%; height: 520px; object-fit: cover; }
.hero-img-accent { animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ABOUT */
.about { background: #f8fafc; }
.about-grid { align-items: center; }
.about-img-main { width: 100%; height: 420px; object-fit: cover; }
.about-img-float { bottom: -2rem; right: -1rem; }
.about-feature { margin-bottom: 0.25rem; }

/* SERVICES */
.services { background: linear-gradient(180deg, #f0f9f4 0%, #f8fafc 100%); }
.services-grid { gap: 1.5rem; }
.service-card { background: #fff; border-radius: 20px; padding: 2rem; border: 1px solid rgba(15,42,74,0.05); transition: all 0.3s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 20px 48px rgba(15,42,74,0.08); border-color: rgba(69,196,146,0.2); }
.service-icon-wrap { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; }
.service-icon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; border-radius: 16px; }
.service-card:hover .service-icon { transform: scale(1.1); transition: transform 0.3s; }

/* AREAS */
.areas { background: #f8fafc; }
.areas-grid { gap: 1.25rem; }
.area-card { border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid rgba(15,42,74,0.05); transition: all 0.3s ease; }
.area-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,74,0.08); }
.area-img { width: 100%; height: 180px; object-fit: cover; display: block; }
.area-content { }

/* TESTIMONIALS */
.testimonials { background: linear-gradient(180deg, #f8fafc 0%, #f0f9f4 100%); }
.testimonials-grid { gap: 1.5rem; }
.testimonial-card { background: #fff; border-radius: 20px; padding: 2rem; border: 1px solid rgba(15,42,74,0.05); transition: all 0.3s ease; display: flex; flex-direction: column; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(15,42,74,0.07); }
.testimonial-stars { display: flex; gap: 0.25rem; }
.testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: auto; padding-top: 1.25rem; border-top: 1px solid rgba(15,42,74,0.06); }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, #45c492, #1a8a5f); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }

/* CTA */
.cta-section { position: relative; padding: 6rem 0; background: url('https://images.pexels.com/photos/3935338/pexels-photo-3935338.jpeg?auto=compress&cs=tinysrgb&fit=crop&w=1920&h=800') center center / cover no-repeat; }
.cta-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(10,26,46,0.93) 0%, rgba(15,42,74,0.88) 100%); }
.cta-inner { position: relative; z-index: 1; }

/* CONTACT */
.contact { background: #f8fafc; }
.contact-grid { align-items: start; }
.contact-info-item { }
.contact-icon-wrap { width: 44px; height: 44px; border-radius: 12px; background: #e8fbf3; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-form { background: #fff; border-radius: 24px; padding: 2.5rem; border: 1px solid rgba(15,42,74,0.05); box-shadow: 0 8px 32px rgba(15,42,74,0.04); }
.form-label { display: block; font-size: 0.85rem; font-weight: 600; color: #334e68; margin-bottom: 0.4rem; }
.form-input { width: 100%; padding: 0.75rem 1rem; border: 1.5px solid #d9e2ec; border-radius: 12px; font-size: 0.95rem; font-family: inherit; color: #0a1a2e; background: #f8fafc; transition: all 0.2s; outline: none; }
.form-input:focus { border-color: #45c492; background: #fff; box-shadow: 0 0 0 3px rgba(69,196,146,0.12); }
.form-input::placeholder { color: #9fb3cc; }
.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='%23627d98' stroke-width='2.5' 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 1rem center; padding-right: 2.5rem; }
.form-textarea { resize: vertical; min-height: 120px; }
.form-row { }
.form-success { text-align: center; padding: 2rem; animation: fadeIn 0.4s ease; }
.form-success-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 50%; background: #e8fbf3; align-items: center; justify-content: center; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.hidden { display: none !important; }

/* FOOTER */
.footer { background: #0a1a2e; padding: 4rem 0 2rem; }
.footer-grid { }
.footer a { text-decoration: none; }

/* REVEAL ANIMATIONS (progressive enhancement — content visible without JS) */
.reveal { opacity: 1; transform: none; transition: opacity 0.6s ease, transform 0.6s ease; }
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(24px); }
  .reveal.revealed { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 1023px) {
  .hero-text { padding: 7rem 0 3rem; }
  .hero h1 { font-size: 2.5rem; }
  .hero-image { display: none; }
  .about-img-float { right: 0; }
}
@media (max-width: 767px) {
  .section { padding: 4rem 0; }
  .hero { min-height: auto; }
  .hero-text { padding: 6rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .hero-stat { border-left: none; padding-left: 0; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem; }
  .contact-form { padding: 1.5rem; }
  .footer-grid { gap: 2rem; }
}
