/* ===================================
   Locksmith Mt Pleasant — Stylesheet
   =================================== */

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

:root {
  --midnight: #0a2540;
  --midnight-light: #133a5c;
  --midnight-dark: #061a2e;
  --mint: #a8e6cf;
  --mint-light: #d1f2e3;
  --mint-dark: #6bc9a8;
  --cream: #f8f6f0;
  --cream-dark: #efece4;
  --white: #ffffff;
  --text-dark: #1a1a2e;
  --text-muted: #5a5a7a;
  --text-light: #e8e6e0;
  --shadow-sm: 0 1px 3px rgba(10, 37, 64, 0.08);
  --shadow-md: 0 4px 20px rgba(10, 37, 64, 0.1);
  --shadow-lg: 0 8px 40px rgba(10, 37, 64, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--midnight);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}

.skip-link:focus {
  top: 16px;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--midnight);
}

/* --- Accent --- */
.accent {
  color: var(--mint-dark);
}

.accent-light {
  color: var(--mint);
}

/* --- Section Label --- */
.section-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--mint-dark);
  background: rgba(168, 230, 207, 0.2);
  border: 1px solid rgba(168, 230, 207, 0.4);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-label--light {
  color: var(--mint);
  background: rgba(168, 230, 207, 0.15);
  border-color: rgba(168, 230, 207, 0.3);
}

/* --- Section Title --- */
.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.section-title--light {
  color: var(--white);
}

.section-intro {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn-primary:hover {
  background: var(--mint-dark);
  border-color: var(--mint-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.btn-mint {
  background: var(--mint);
  color: var(--midnight);
  border-color: var(--mint);
}

.btn-mint:hover {
  background: var(--mint-light);
  border-color: var(--mint-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 36px;
  font-size: 1.0625rem;
}

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

/* ===================================
   HEADER
   =================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(248, 246, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--midnight);
}

.logo-icon {
  color: var(--midnight);
}

.logo--light {
  color: var(--white);
}

.logo--light .logo-icon {
  color: var(--mint);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav ul {
  display: flex;
  gap: 28px;
}

.main-nav a:not(.nav-cta) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
  transition: var(--transition);
}

.main-nav a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint-dark);
  transition: var(--transition);
}

.main-nav a:not(.nav-cta):hover {
  color: var(--midnight);
}

.main-nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--midnight);
  background: var(--mint);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-cta:hover {
  background: var(--mint-dark);
  color: var(--midnight);
  transform: translateY(-1px);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.nav-toggle-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--midnight);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================================
   HERO
   =================================== */
.hero {
  padding-top: 72px;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--cream);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
  background: var(--white);
  border: 1px solid rgba(10, 37, 64, 0.1);
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 28px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mint-dark);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--midnight);
  line-height: 1.05;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-headline br {
  display: block;
}

.hero-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-trust {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--mint-dark);
  flex-shrink: 0;
}

.hero-image {
  position: relative;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.hero-image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--mint);
  border-radius: var(--radius-md);
  z-index: -1;
  opacity: 0.6;
}

/* ===================================
   SERVICES
   =================================== */
.services {
  padding: 100px 0;
  background: var(--white);
}

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

.service-card {
  background: var(--cream);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(168, 230, 207, 0.4);
  background: var(--white);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  color: var(--mint);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--midnight);
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ===================================
   ABOUT
   =================================== */
.about {
  padding: 100px 0;
  background: var(--cream);
}

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

.about-image {
  position: relative;
}

.about-image-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

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

.about-image-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--cream);
}

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

.about-content p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-content p:first-of-type {
  font-size: 1.0625rem;
  color: var(--text-dark);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
}

.feature {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-dark);
}

.feature svg {
  color: var(--mint-dark);
  flex-shrink: 0;
}

/* ===================================
   SERVICE AREA
   =================================== */
.area {
  padding: 100px 0;
  background: var(--midnight);
}

.area-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.area-text {
  font-size: 1.0625rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 32px;
  opacity: 0.85;
}

.area-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-tag {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-light);
  background: rgba(168, 230, 207, 0.1);
  border: 1px solid rgba(168, 230, 207, 0.25);
  padding: 8px 16px;
  border-radius: 50px;
  transition: var(--transition);
}

.area-tag:hover {
  background: rgba(168, 230, 207, 0.2);
  border-color: rgba(168, 230, 207, 0.5);
}

.area-map {
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-placeholder {
  background: var(--midnight-light);
  border: 1px solid rgba(168, 230, 207, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  max-width: 360px;
  width: 100%;
}

.map-placeholder svg {
  color: var(--mint);
  margin-bottom: 16px;
}

.map-placeholder p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 24px;
  opacity: 0.9;
}

/* ===================================
   CTA
   =================================== */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--mint-dark) 0%, var(--mint) 100%);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.cta-text {
  flex: 1;
}

.cta-text p {
  font-size: 1.125rem;
  color: var(--midnight);
  line-height: 1.7;
  opacity: 0.8;
}

.cta-actions {
  text-align: center;
  flex-shrink: 0;
}

.cta-note {
  font-size: 0.875rem;
  color: var(--midnight);
  opacity: 0.7;
  margin-top: 12px;
}

/* ===================================
   FAQ
   =================================== */
.faq {
  padding: 100px 0;
  background: var(--white);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 900px;
}

.faq-item {
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(168, 230, 207, 0.5);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  cursor: pointer;
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--midnight);
  transition: var(--transition);
}

.faq-question:hover {
  background: rgba(168, 230, 207, 0.08);
}

.faq-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--cream);
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-question[aria-expanded="true"] .faq-toggle {
  background: var(--mint);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

/* ===================================
   CONTACT
   =================================== */
.contact {
  padding: 100px 0;
  background: var(--cream);
}

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

.contact-info p {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--midnight);
  border-radius: var(--radius-sm);
  color: var(--mint);
  flex-shrink: 0;
}

.contact-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.contact-value a {
  color: var(--midnight);
  font-weight: 600;
  transition: var(--transition);
}

.contact-value a:hover {
  color: var(--mint-dark);
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--midnight);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--mint-dark);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.3);
}

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

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 12px;
  text-align: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success svg {
  color: var(--mint-dark);
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: var(--midnight);
}

.form-success p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.form-success a {
  color: var(--mint-dark);
  font-weight: 600;
}

/* ===================================
   FOOTER
   =================================== */
.site-footer {
  background: var(--midnight-dark);
  color: var(--text-light);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
  font-size: 0.9375rem;
  color: var(--text-light);
  opacity: 0.7;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mint);
  margin-bottom: 16px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--text-light);
  opacity: 0.7;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--mint);
}

.footer-contact p {
  font-size: 0.9375rem;
  color: var(--text-light);
  opacity: 0.7;
  line-height: 1.7;
}

.footer-contact a {
  color: var(--mint);
  font-weight: 500;
  transition: var(--transition);
}

.footer-contact a:hover {
  opacity: 1;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-light);
  opacity: 0.5;
}

/* ===================================
   MOBILE NAV
   =================================== */
@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 24px;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 105;
  }

  .main-nav.open {
    right: 0;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .main-nav a:not(.nav-cta) {
    font-size: 1.125rem;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 37, 64, 0.5);
    z-index: 104;
  }

  .nav-overlay.active {
    display: block;
  }
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

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

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

  .hero-image {
    max-width: 480px;
    margin: 0 auto;
  }

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

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

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

  .about-image-secondary {
    right: 0;
  }

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

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

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

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

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

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

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

  .hero {
    padding-top: 72px;
  }

  .hero-headline {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

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

  .about-features {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .btn-lg {
    padding: 16px 28px;
    font-size: 0.9375rem;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}
