@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("fonts/Poppins-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --navy: #0d1f4c;
  --navy-light: #16306e;
  --bg: #f5f6f9;
  --surface: #ffffff;
  --text: #1c2130;
  --muted: #5c6274;
  --accent: #0d1f4c;
  --accent-dark: #081434;
  --border: #e4e6ee;
  --footer-bg: #14151a;
  --footer-text: #b8bac2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1.1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.brand {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}

.brand img {
  height: 72px;
  width: auto;
  display: block;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 2px;
  background: var(--navy);
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  padding: 0;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
}

nav a:hover,
nav a[aria-current="page"] {
  color: var(--accent);
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: #fff !important;
  color: var(--text) !important;
  padding: 0.6rem 1rem;
  border-radius: 10px;
  border: 2px solid var(--text);
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
}

.nav-btn:hover,
.nav-btn[aria-current="page"] {
  background: var(--text) !important;
  color: #fff !important;
}

.nav-btn-plain {
  border-color: transparent;
}

.nav-btn-plain:hover,
.nav-btn-plain[aria-current="page"] {
  background: #fff !important;
  color: var(--text) !important;
  border-bottom-color: var(--accent) !important;
}

.subnav {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.subnav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.subnav-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.subnav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

.subnav a:hover,
.subnav a[aria-current="page"] {
  color: var(--accent);
}

.nav-support {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent) !important;
  color: #fff !important;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  font-size: 0.92rem !important;
  font-weight: 700 !important;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(13, 31, 76, 0.35);
}

.nav-support:hover,
.nav-support[aria-current="page"] {
  background: var(--accent-dark) !important;
  color: #fff !important;
}

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

main > h1.section-title {
  padding-top: 3rem;
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 100%),
    url("hero-raglan-castle.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  border-radius: 0 0 28px 28px;
  margin: 0 0 3rem;
  padding: 4rem 1.5rem;
  min-height: 65vh;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: left;
}

.hero h1 {
  font-size: 2.6rem;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 40rem;
}

.hero p {
  color: #cfd6f0;
  max-width: 34rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
}

.support-button {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.support-button img {
  max-width: 100%;
  height: auto;
}

/* Pill buttons */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.8rem 1.7rem;
  border-radius: 10px;
  font-weight: 700;
  border: 2px solid var(--accent);
  transition: opacity 0.15s ease;
}

.btn:hover {
  opacity: 0.9;
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.btn-dark {
  background: var(--navy);
  border-color: var(--navy);
}

/* Section titles */
.section-title {
  margin-top: 0;
  font-size: 1.9rem;
}

.section-lead {
  color: var(--muted);
  max-width: 40rem;
}

/* Service / feature cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.card {
  background: var(--surface);
  box-shadow: 0 2px 16px rgba(13, 31, 76, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
}

.card h3 {
  margin-top: 0;
  color: var(--navy);
}

.card .find-out {
  display: inline-block;
  margin-top: 0.75rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.card .find-out:hover {
  background: var(--accent);
  color: #fff;
}

/* CTA banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  border-radius: 22px;
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

.cta-banner h2 {
  margin: 0 0 0.75rem;
  font-size: 1.7rem;
}

.cta-banner p {
  color: #cfd6f0;
  max-width: 36rem;
  margin: 0 auto 1.75rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

form {
  background: var(--surface);
  box-shadow: 0 2px 16px rgba(13, 31, 76, 0.08);
  border-radius: 14px;
  padding: 1.75rem;
}

label {
  display: block;
  font-weight: 600;
  margin: 1rem 0 0.35rem;
}

form > label:first-of-type {
  margin-top: 0;
}

.form-notice {
  margin: 0 0 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-notice-success {
  background: #e6f4ea;
  color: #1e7a34;
  border: 1px solid #b7ddc2;
}

.form-notice-error {
  background: #fbe9e7;
  color: #a3291a;
  border: 1px solid #f0bcb4;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
}

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

button {
  margin-top: 1.25rem;
  border: none;
  cursor: pointer;
  font: inherit;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
  margin: 2rem 0;
}

.detail-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.detail-list li {
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

.detail-list li:first-child {
  border-top: none;
  padding-top: 0;
}

.detail-list .label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.detail-list a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.detail-list a:hover {
  color: var(--accent);
}

.detail-list .directions {
  display: inline-block;
  margin-top: 0.6rem;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  padding: 0.4rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
}

.detail-list .directions:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 800px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Footer */
footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 2rem;
}

.footer-brand {
  color: #fff;
  font-weight: 800;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.footer-inner h4 {
  color: #fff;
  font-size: 0.95rem;
  margin: 0 0 0.9rem;
}

.footer-inner ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-inner li {
  margin-bottom: 0.6rem;
}

.footer-inner a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-inner a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid #2a2b32;
  text-align: center;
  padding: 1.25rem;
  font-size: 0.85rem;
}

@media (max-width: 700px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
}

.mobile-service-link {
  display: none;
}

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

  nav {
    display: none;
    width: 100%;
    order: 3;
  }

  header.nav-open nav {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    width: 100%;
    padding: 1rem 0 1.5rem;
  }

  .nav-btn,
  .nav-support {
    justify-content: center;
    width: 100%;
  }

  .subnav {
    display: none;
  }

  .mobile-service-link {
    display: block;
  }

  .mobile-service-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    text-align: center;
    margin-top: 0.5rem;
  }

  .mobile-service-link a {
    display: block;
    text-align: center;
    padding: 0.4rem 0;
    color: var(--muted);
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-service-link a:hover,
  .mobile-service-link a[aria-current="page"] {
    color: var(--accent);
  }
}
