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

:root {
  --navy:   #0b1d3a;
  --blue:   #1a3a6b;
  --gold:   #c8a951;
  --light:  #f5f6fa;
  --white:  #ffffff;
  --text:   #333333;
  --gray:   #6b7280;
  --radius: 6px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--gold); }

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header / Nav ===== */
header {
  background: var(--navy);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .5px;
}

.logo span { color: var(--gold); }

nav a {
  color: var(--white);
  margin-left: 28px;
  font-size: .95rem;
  font-weight: 500;
  transition: color .2s;
}

nav a:hover { color: var(--gold); }

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 100px 0 90px;
  text-align: center;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: .9;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 14px 36px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}

.btn:hover {
  background: #b89740;
  transform: translateY(-1px);
  color: var(--navy);
}

/* ===== Section Shared ===== */
section { padding: 80px 0; }

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ===== About ===== */
.about-content {
  max-width: 780px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

.about-content p + p { margin-top: 16px; }

/* ===== Services ===== */
.services-section { background: var(--light); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.15rem;
}

.service-card p {
  color: var(--gray);
  font-size: .95rem;
}

/* ===== Contact Form ===== */
.contact-section { background: var(--white); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.3rem;
  margin-bottom: 18px;
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--gray);
  line-height: 1.7;
}

.contact-info a { color: var(--blue); }

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .95rem;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  margin-bottom: 18px;
  transition: border-color .2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
}

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

/* SMS Consent Checkbox */
.sms-consent {
  background: var(--light);
  border: 1px solid #d1d5db;
  border-radius: var(--radius);
  padding: 16px;
  margin-bottom: 20px;
}

.sms-consent label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 400;
  font-size: .88rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 0;
  cursor: pointer;
}

.sms-consent input[type="checkbox"] {
  width: auto;
  margin: 4px 0 0;
  flex-shrink: 0;
}

.sms-consent a {
  color: var(--blue);
  text-decoration: underline;
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.7);
  padding: 40px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}

.footer-brand .logo { margin-bottom: 12px; display: inline-block; }

.footer-brand p {
  font-size: .9rem;
  line-height: 1.7;
  max-width: 320px;
}

footer h4 {
  color: var(--white);
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer-links a {
  display: block;
  color: rgba(255,255,255,.7);
  margin-bottom: 8px;
  font-size: .9rem;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact p {
  font-size: .9rem;
  margin-bottom: 6px;
}

.footer-contact a { color: rgba(255,255,255,.7); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 20px;
  text-align: center;
  font-size: .85rem;
}

/* ===== Legal Pages (Privacy / Terms) ===== */
.legal-page {
  padding: 60px 0 80px;
}

.legal-page h1 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 8px;
}

.legal-page .last-updated {
  color: var(--gray);
  font-size: .9rem;
  margin-bottom: 36px;
}

.legal-page h2 {
  color: var(--navy);
  font-size: 1.3rem;
  margin: 32px 0 12px;
}

.legal-page p,
.legal-page li {
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-page ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page strong { color: var(--navy); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .mobile-toggle { display: block; }

  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 20px;
    flex-direction: column;
  }

  nav.open { display: flex; }

  nav a {
    margin: 0 0 12px;
    font-size: 1.05rem;
  }

  .hero { padding: 60px 0 50px; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }

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

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