:root {
  --navy: #1d3557;
  --navy-dark: #111f33;
  --gold: #c9a227;
  --gold-light: #e8c96a;
  --secondary: #457b9d;
  --white: #ffffff;
  --light-bg: #f8f9fa;
  --dark-text: #2d2d2d;
  --mid-text: #555555;
  --border: #e0e0e0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  color: var(--dark-text);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.3;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--navy); }

address { font-style: normal; }

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

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

/* ── Header logo image ── */
.logo-img {
  height: 48px;
  width: 48px;
  object-fit: contain;
  flex-shrink: 0;
}

/* ── Header ── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.logo a {
  color: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo-tagline {
  font-size: 0.72rem;
  color: var(--gold);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: 300;
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.main-nav a {
  color: rgba(255,255,255,0.82);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--gold);
}

.header-phone {
  color: var(--gold);
  font-weight: 700;
  font-size: 1rem;
  white-space: nowrap;
}

.header-phone:hover { color: var(--gold-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.6rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  line-height: 1;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 0.78rem 1.8rem;
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

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

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: #253f6a;
  border-color: #253f6a;
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
}

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

/* ── Section helpers ── */
.section { padding: 5rem 0; }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
}

.section-sub {
  color: var(--mid-text);
  text-align: center;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-left {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* ── Hero ── */
.hero {
  background: linear-gradient(140deg, var(--navy) 0%, #253f6a 100%);
  color: var(--white);
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-logo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(0,0,0,0.5));
}

.hero-content { position: relative; z-index: 1; }

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.18;
}

.hero h1 .accent { color: var(--gold); }

.hero-sub {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.82);
  margin-bottom: 2.25rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Page Hero logo layout ── */
.page-hero-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.page-hero-logo {
  width: 110px;
  height: 110px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4));
}

.page-hero-inner h1,
.page-hero-inner p {
  text-align: left;
}

@media (max-width: 600px) {
  .page-hero-inner { flex-direction: column; text-align: center; }
  .page-hero-inner h1, .page-hero-inner p { text-align: center; }
  .page-hero-logo { width: 80px; height: 80px; }
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(140deg, var(--navy) 0%, #253f6a 100%);
  color: var(--white);
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Services Grid (home) ── */
.services-overview { background: var(--light-bg); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}

.service-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--mid-text);
  font-size: 0.93rem;
}

.services-more { text-align: center; }

/* ── Full Services Grid (services page) ── */
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.service-full-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  border-left: 5px solid var(--gold);
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.service-full-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.service-full-card h3 {
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-full-card p {
  color: var(--mid-text);
  font-size: 0.93rem;
}

/* ── Why Us ── */
.why-us { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.why-card { text-align: center; padding: 1.5rem 1rem; }

.why-icon {
  font-size: 2.4rem;
  margin-bottom: 1rem;
  display: block;
}

.why-card h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.why-card p {
  color: var(--mid-text);
  font-size: 0.93rem;
}

/* ── Equipment Banner ── */
.equipment-banner {
  background: var(--navy-dark);
  color: var(--white);
  padding: 3.5rem 0;
}

.equipment-inner {
  display: flex;
  gap: 3rem;
  align-items: center;
  flex-wrap: wrap;
}

.equipment-badge {
  flex-shrink: 0;
  background: var(--gold);
  color: var(--navy);
  border-radius: 4px;
  padding: 1.5rem 2rem;
  text-align: center;
  min-width: 180px;
}

.equipment-badge .badge-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.25rem;
}

.equipment-badge .badge-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.equipment-text h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.equipment-text p {
  color: rgba(255,255,255,0.75);
  max-width: 560px;
}

/* ── CTA Banner ── */
.cta-banner {
  background: var(--navy);
  padding: 4rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.4rem;
}

.cta-text p { color: rgba(255,255,255,0.72); }

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ── About page ── */
.about-section { background: var(--white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-text p {
  color: var(--mid-text);
  margin-bottom: 1.1rem;
}

.about-text p:last-child { margin-bottom: 0; }

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.stat-box {
  background: var(--light-bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 1.25rem;
  text-align: center;
  border-radius: 3px;
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--navy);
  font-weight: 700;
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--mid-text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.values-section { background: var(--light-bg); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  text-align: center;
}

.value-card h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  margin-top: 0.75rem;
}

.value-card p {
  color: var(--mid-text);
  font-size: 0.93rem;
}

.value-icon {
  font-size: 2.2rem;
  display: block;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.25rem;
  align-items: flex-start;
}

.detail-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.detail-text strong {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--navy);
  margin-bottom: 0.15rem;
}

.detail-text span,
.detail-text a {
  color: var(--mid-text);
  font-size: 0.95rem;
}

.hours-table { margin-top: 0.25rem; }
.hours-table tr td { padding: 0.1rem 0; font-size: 0.93rem; color: var(--mid-text); }
.hours-table tr td:first-child { padding-right: 1.5rem; }

.contact-form-wrap h2 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-form .form-group { margin-bottom: 1.1rem; }

.contact-form label {
  display: block;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.35rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  color: var(--dark-text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(29,53,87,0.1);
}

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

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.map-section { background: var(--light-bg); padding: 0; }

.map-section iframe {
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}

/* ── Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.68);
  padding-top: 4rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer-brand .logo-name {
  color: var(--white);
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.footer-brand .social-link {
  color: var(--gold);
  font-size: 0.88rem;
}

.footer-brand .social-link:hover { color: var(--gold-light); }

.site-footer h4 {
  color: var(--white);
  font-size: 0.9rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: 0.45rem; }

.site-footer a {
  color: rgba(255,255,255,0.62);
  font-size: 0.9rem;
  transition: color 0.2s;
}

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

.site-footer p { font-size: 0.9rem; margin-bottom: 0.4rem; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
}

.footer-bottom p {
  text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

/* ── Mobile call bar ── */
.mobile-call-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-call-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--gold);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
  }

  .mobile-call-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem;
    color: var(--navy);
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  .mobile-call-bar a:hover { color: var(--navy); }

  body { padding-bottom: 58px; }
}

/* ── Form success state ── */
.form-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 3px;
  padding: 1rem 1.25rem;
  color: #155724;
  font-size: 0.95rem;
  margin-top: 1rem;
  display: none;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  }

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

  .main-nav ul { flex-direction: column; gap: 0.75rem; }

  .nav-toggle { display: block; }

  .header-phone { display: none; }

  .hero { padding: 3.5rem 0 3rem; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .hero-logo { width: 160px; height: 160px; margin: 0 auto; }

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

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

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  .equipment-badge { min-width: auto; width: 100%; }

  .site-header { position: relative; }
}

@media (max-width: 500px) {
  .footer-inner { grid-template-columns: 1fr; }

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