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

:root {
  --ocean: #1a6b8a;
  --ocean-dark: #0e4f66;
  --ocean-light: #3a9fc4;
  --sand: #f4ead5;
  --sand-dark: #e8d9b8;
  --terracotta: #c4704a;
  --terracotta-dark: #a85a38;
  --cream: #faf7f0;
  --charcoal: #333;
  --gray: #666;
  --light-gray: #999;
  --white: #fff;
  --radius: 6px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--charcoal);
  line-height: 1.65;
  font-size: 17px;
  background: var(--white);
  padding-top: 70px;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }

/* ========== HEADER & NAV ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--ocean-dark);
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

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

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.5px;
  flex-shrink: 0;
}
.logo span { color: var(--sand); }

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
}
.main-nav > a:hover,
.main-nav > a:focus {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Nav phone CTA */
.nav-phone {
  background: var(--terracotta) !important;
  color: #fff !important;
  font-weight: 700 !important;
  border-radius: 6px !important;
  padding: 8px 16px !important;
  margin-left: 8px;
  white-space: nowrap;
}
.nav-phone:hover {
  background: var(--terracotta-dark) !important;
}

/* Desktop dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-trigger {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.nav-dropdown:hover .dropdown-trigger {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.18);
  min-width: 180px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 100;
}
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  color: var(--charcoal);
  text-decoration: none;
  padding: 10px 20px;
  font-size: 0.92rem;
  transition: background 0.15s;
}
.dropdown-menu a:hover {
  background: var(--cream);
  color: var(--ocean-dark);
}

/* Hamburger (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== HERO ========== */
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean-light));
}

/* Buttons */
.btn {
  display: inline-block; padding: 15px 32px; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; text-decoration: none; cursor: pointer; border: none;
  transition: all 0.2s; text-align: center;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-secondary { background: var(--sand); color: var(--ocean-dark); }
.btn-full { width: 100%; }

/* Trust Bar */
.trust-bar { background: var(--sand); padding: 18px 0; }
.trust-bar ul { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; list-style: none; font-weight: 600; font-size: 0.92rem; color: var(--ocean-dark); }

/* Services - Horizontal cards with icon strip */
.services { padding: 68px 0; background: var(--cream); }
.services h2 { text-align: center; margin-bottom: 12px; font-size: 1.8rem; color: var(--ocean-dark); }
.services-intro { text-align: center; color: var(--gray); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }
.service-card .card-accent { height: 5px; }
.service-card:nth-child(1) .card-accent { background: var(--ocean); }
.service-card:nth-child(2) .card-accent { background: var(--terracotta); }
.service-card:nth-child(3) .card-accent { background: var(--ocean-light); }
.service-card .card-body { padding: 24px; }
.service-card h3 { margin-bottom: 10px; color: var(--ocean-dark); font-size: 1.2rem; }
.service-card p { color: var(--gray); font-size: 0.93rem; margin-bottom: 14px; }
.service-card .card-link { color: var(--terracotta); font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.service-card .card-link:hover { text-decoration: underline; }
.service-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* About - Right aligned with decorative border */
.about { padding: 68px 0; }
.about-inner { display: flex; gap: 40px; align-items: flex-start; }
.about-img-wrap { flex-shrink: 0; position: relative; }
.about-img { max-width: 340px; border-radius: var(--radius); display: block; }
.about-img-wrap::after {
  content: ''; position: absolute; top: 12px; left: 12px; right: -12px; bottom: -12px;
  border: 3px solid var(--sand-dark); border-radius: var(--radius); z-index: -1;
}
.about h2 { color: var(--ocean-dark); margin-bottom: 16px; font-size: 1.8rem; }
.about p { color: var(--gray); margin-bottom: 14px; font-size: 0.95rem; }

/* Testimonial - Quote block style */
.testimonial { padding: 52px 0; background: var(--ocean); color: #fff; }
.testimonial blockquote {
  font-size: 1.2rem; font-style: italic; max-width: 600px; margin: 0 auto 12px;
  line-height: 1.7; position: relative; padding-left: 32px;
}
.testimonial blockquote::before { content: '\201C'; position: absolute; left: 0; top: -8px; font-size: 3rem; opacity: 0.3; font-family: Georgia, serif; }
.testimonial cite { opacity: 0.8; font-size: 0.95rem; }

/* Contact Form */
.contact { padding: 68px 0; background: var(--cream); }
.contact h2 { text-align: center; color: var(--ocean-dark); margin-bottom: 8px; font-size: 1.8rem; }
.contact-sub { text-align: center; margin-bottom: 28px; color: var(--gray); }
.contact form { max-width: 520px; margin: 0 auto; }
.form-row { display: flex; gap: 14px; }
.form-group { margin-bottom: 16px; flex: 1; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 14px; border: 2px solid #ddd; border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; background: var(--white); transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--ocean-light);
}
.form-note { text-align: center; font-size: 0.82rem; color: var(--light-gray); margin-top: 10px; }

/* Contact Grid */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.contact-info h3 { color: var(--ocean-dark); margin: 20px 0 10px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { margin-bottom: 6px; color: var(--gray); font-size: 0.95rem; }
.contact-form-wrap h2 { color: var(--ocean-dark); margin-bottom: 8px; }

/* Content Pages */
.content { padding: 68px 0; }
.content h2 { color: var(--ocean-dark); margin: 32px 0 14px; font-size: 1.5rem; }
.content h2:first-child { margin-top: 0; }
.content p { margin-bottom: 14px; max-width: 740px; color: var(--gray); }

.benefit-list { margin-bottom: 18px; padding-left: 22px; }
.benefit-list li { margin-bottom: 10px; color: var(--gray); }
.benefit-list li strong { color: var(--ocean-dark); }

.internal-link { text-align: center; padding: 14px 0; font-size: 0.95rem; }
.internal-link a { color: var(--ocean); font-weight: 600; }

/* FAQ - Accordion with ocean border */
.faq { padding: 68px 0; background: var(--cream); }
.faq h2 { text-align: center; color: var(--ocean-dark); margin-bottom: 28px; font-size: 1.8rem; }
details { background: var(--white); margin-bottom: 10px; border-radius: var(--radius); overflow: hidden; border-left: 4px solid var(--ocean); }
details summary { padding: 16px 20px; font-weight: 600; color: var(--ocean-dark); cursor: pointer; font-size: 0.98rem; }
details p { margin: 0 20px 16px; color: var(--gray); line-height: 1.7; font-size: 0.95rem; }

/* CTA Banner */
.cta-banner { background: var(--ocean-dark); color: #fff; padding: 52px 0; text-align: center; }
.cta-banner h2 { margin-bottom: 10px; font-weight: 800; }
.cta-banner p { opacity: 0.85; margin-bottom: 18px; }

/* Footer */
.footer { background: var(--charcoal); color: #aaa; padding: 44px 0 28px; font-size: 0.88rem; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 28px; }
.footer-links h4 { color: #fff; margin-bottom: 12px; font-size: 0.95rem; }
.footer-links a { display: block; color: #aaa; text-decoration: none; margin-bottom: 7px; font-size: 0.88rem; }
.footer-links a:hover { color: var(--sand); }
.footer-address { color: #777; font-size: 0.82rem; margin-top: 6px; }

/* Honeypot */
.hp-field { display: none !important; }

/* Mobile */
@media (max-width: 768px) {
  .hamburger { display: flex; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--ocean-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 80px 24px 32px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 20px rgba(0,0,0,0.2);
    overflow-y: auto;
  }
  .main-nav.open { transform: translateX(0); }

  .main-nav > a {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .nav-dropdown { width: 100%; }

  .dropdown-trigger {
    padding: 14px 16px;
    font-size: 1.05rem;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0,0,0,0.15);
    border-radius: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .nav-dropdown.open .dropdown-menu {
    max-height: 400px;
    padding: 8px 0;
  }
  .dropdown-menu a {
    color: rgba(255,255,255,0.8);
    padding: 10px 24px;
  }
  .dropdown-menu a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
  }

  .nav-phone {
    margin-top: 16px;
    text-align: center !important;
    font-size: 1.05rem !important;
    padding: 14px 16px !important;
  }

  .hero h1 { font-size: 1.9rem; }
  .hero-sm h1 { font-size: 1.6rem; }
  .services-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .about-inner { flex-direction: column; }
  .about-img { max-width: 100%; }
  .about-img-wrap::after { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 500px) {
  .form-row { flex-direction: column; gap: 0; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; text-align: center; }
  .trust-bar ul { gap: 14px; font-size: 0.85rem; }
}
