:root {
  --navy: #09172e;
  --green: #20a66a;
  --green-dark: #13794b;
  --white: #fff;
  --ink: #17243a;
  --muted: #637087;
  --pale: #f4f7f8;
  --gold: #f4b942;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  line-height: 1.6;
}

a {
  color: inherit;
}

/* HEADER AND LOGO */
.site-header {
  background: var(--navy);
  color: var(--white);
  padding: 15px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 19px;
  min-width: 0;
}

.site-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: transparent;
}

.brand-text {
  display: block;
  line-height: 1.35;
}

.brand-text small {
  display: block;
  color: #58d69b;
  font-size: 10px;
  letter-spacing: 1.4px;
  font-weight: 700;
  margin-top: 5px;
}

/* NAVIGATION */
.site-header nav {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.site-header nav a {
  padding: 9px 11px;
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  border-radius: 6px;
  transition: background 0.2s ease;
}

.site-header nav a:hover,
.site-header nav a[aria-current="page"] {
  background: var(--green);
  color: var(--white);
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 12px 19px;
  border: 0;
  border-radius: 7px;
  background: var(--green);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  margin: 4px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: var(--green-dark);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}

/* HOMEPAGE HERO */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  background: var(--navy);
  color: var(--white);
  padding: 0;
  height: 390px;
  min-height: 390px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding: 24px 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 1.7px;
  color: #8ee0b5;
  font-weight: 800;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 12px 0;
}

.hero h1 span {
  color: #58d69b;
}

.hero-inner > p {
  max-width: 520px;
  color: #e0e9f2;
  font-size: 16px;
  margin: 0 0 14px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0;
}

.hero-actions .btn {
  margin: 4px 0;
}

/* PHOTO: FIXED HEIGHT, CROP INSIDE THE RIGHT PANEL */
.hero-image {
  width: 100%;
  height: 390px;
  min-width: 0;
  min-height: 0;
  position: relative;
  overflow: hidden;
  background: #102542;
}

.hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(9, 23, 46, 0.10),
    rgba(9, 23, 46, 0)
  );
  pointer-events: none;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center 25%;
}

/* SLIDESHOW CONTROLS */
.slide-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
}

.slide-controls button {
  border: 1px solid #d7e2ee;
  background: #0d2544;
  color: var(--white);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.slide-controls button:hover {
  background: var(--green);
}

.dots {
  color: #9ddbb9;
  letter-spacing: 4px;
  font-size: 13px;
}

.voice-button {
  margin-top: 8px;
}

audio {
  width: min(100%, 420px);
  margin: 10px 0;
}

/* GENERAL SECTIONS */
section:not(.hero) {
  padding: 58px 7%;
}

.section-head {
  text-align: center;
  margin: 0 auto 32px;
  max-width: 760px;
}

.section-head h2 {
  font-size: clamp(27px, 4vw, 36px);
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 10px;
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

/* SERVICE CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.card {
  border: 1px solid #e1e8ed;
  border-radius: 12px;
  padding: 23px;
  background: var(--white);
  box-shadow: 0 7px 22px #09172e0b;
}

.card .icon {
  font-size: 30px;
}

.card h3 {
  color: var(--navy);
  margin: 10px 0 7px;
}

.card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.card a {
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
}

/* ABOUT AND PALE SECTIONS */
.pale {
  background: var(--pale);
}

.about-copy {
  max-width: 800px;
  text-align: center;
  margin: auto;
  color: var(--muted);
}

/* CONTACT PANEL */
.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 34px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.contact-panel h2 {
  color: #61d99e;
  margin-top: 0;
}

.contact-panel p {
  color: #dce5f1;
}

.contact-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.contact-panel .btn-outline {
  border-color: #8ca0b7;
}

/* OTHER PAGE HEADERS */
.page-hero {
  background: linear-gradient(115deg, var(--navy), #18395f);
  color: var(--white);
  text-align: center;
  padding: 48px 7%;
}

.page-hero h1 {
  font-size: clamp(32px, 4vw, 46px);
  margin: 0 0 8px;
}

.page-hero p {
  margin: 0;
  color: #dce5f1;
}

/* GALLERY PLACEHOLDERS */
.gallery-placeholder {
  min-height: 155px;
  border-radius: 9px;
  background: linear-gradient(135deg, #dbe9e5, #b8d9ce);
  display: grid;
  place-items: center;
  color: #245642;
  font-size: 35px;
}

.small-note {
  font-size: 13px;
  color: var(--muted);
}

/* FEATURE STRIP */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 25px 7%;
  background: #f3f7f5;
}

.feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: #dff5e9;
  color: var(--green-dark);
  border-radius: 50%;
  font-size: 22px;
  flex-shrink: 0;
}

.feature strong {
  display: block;
  color: var(--navy);
}

.feature span {
  font-size: 13px;
  color: var(--muted);
}

/* FOOTER */
.site-footer {
  background: #061124;
  color: #cbd5e1;
  text-align: center;
  padding: 22px 6%;
  font-size: 13px;
}

.site-footer a {
  color: #a9e7c7;
  text-decoration: none;
}

/* TABLETS AND MOBILE */
@media (max-width: 800px) {
  .site-header {
    justify-content: center;
    text-align: center;
    padding: 15px 4%;
  }

  .brand {
    justify-content: center;
    font-size: 16px;
    gap: 10px;
  }

  .site-logo {
    width: 62px;
    height: 62px;
  }

  .brand-text small {
    font-size: 9px;
    letter-spacing: 1.1px;
  }

  .site-header nav {
    width: 100%;
    gap: 4px;
  }

  .site-header nav a {
    font-size: 13px;
    padding: 8px;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 0;
  }

  .hero-inner {
    padding: 32px 7%;
    overflow: visible;
  }

  .hero h1 {
    font-size: clamp(32px, 8vw, 45px);
  }

  .hero-inner > p {
    font-size: 16px;
  }

  .hero-image {
    width: 100%;
    height: 260px;
    min-height: 0;
    flex: 0 0 260px;
  }

  .hero-image img {
    width: 100%;
    height: 260px;
    min-height: 0;
    object-position: center 25%;
  }

  .feature-strip {
    grid-template-columns: 1fr;
    padding: 24px 7%;
  }

  section:not(.hero) {
    padding: 45px 6%;
  }

  .contact-panel {
    padding: 25px 18px;
  }
}

/* SMALL PHONES */
@media (max-width: 400px) {
  .brand {
    font-size: 14px;
    gap: 8px;
  }

  .site-logo {
    width: 48px;
    height: 48px;
  }

  .brand-text small {
    font-size: 8px;
    letter-spacing: 0.7px;
  }

  .site-header nav a {
    font-size: 12px;
    padding: 7px 8px;
  }

  .btn {
    padding: 11px 14px;
    font-size: 14px;
  }

  .hero-inner {
    padding: 28px 6%;
  }
}