:root {
  --bg: #000;
  --text: #fff;
  --muted: #d1d5db;
  --gold: #facc15;
  --border: #222;
  --fb: #1877F2;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  text-decoration: none;
  color: var(--text);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem;
}

.center {
  text-align: center;
}

/* ================= HEADER ================= */
header {
  background: #000;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  transition: background-color 0.3s ease, padding 0.3s ease;
  will-change: background-color, padding;
}

header .wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
}

header img.logo {
  display: block;
  margin: 0 auto 0.5rem auto;
  height: 180px;           /* Reserve a fixed space */
  max-height: 180px;
  width: auto;
  filter: drop-shadow(0 3px 8px rgba(255, 255, 255, 0.25));
  transition: transform 0.35s ease, opacity 0.35s ease;
  will-change: transform, opacity;
}

.brand-text {
  margin-top: 0.4rem;
  text-align: center;
}

.brand-text h1 {
  margin: 0.25rem 0 0;
  font-size: 1.6rem;
  font-weight: 800;
  transition: font-size 0.3s ease;
}

.brand-text .since {
  display: block;
  color: var(--gold);
  font-weight: 700;
  margin-top: 0.25rem;
}

nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0.5rem 0 1rem;
}

nav a {
  position: relative;
  font-weight: 700;
  padding: 0.4rem 0.6rem;
  border-radius: 0.4rem;
  transition: color 0.2s ease;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background: var(--gold);
  border-radius: 3px;
  transition: width 0.2s ease;
}

nav a:hover {
  color: var(--gold);
}

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

nav .fb {
  color: var(--fb);
  font-weight: 900;
}

nav .fb:hover {
  color: var(--gold);
}

.phone-line {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 0.25rem 0 0.5rem;
}

.phone-line a.phone-large {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: font-size 0.3s ease;
}

.phone-ico {
  color: #1877F2;
  font-weight: 900;
  font-size: 1.4rem;
  margin-right: 0.3rem;
}

.phone-line a.phone-large:hover,
.phone-line a.phone-large:focus {
  color: var(--gold);
}

/* ===== Sticky Mini Header Shrink ===== */
header.shrink {
  background: rgba(0, 0, 0, 0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
header.shrink .wrap {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


header.shrink img.logo {
  transform: scale(0.6);
  opacity: 0.95;
}
header .wrap {
  transition: padding 0.3s ease;
}
header.shrink .wrap {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}


header.shrink .brand-text h1 {
  font-size: 1.2rem;
}

header.shrink .phone-line a.phone-large {
  font-size: 1rem;
}

/* ================= CONTENT ================= */
h2.section-title {
  font-size: 2rem;
  margin: 0.5rem 0 1rem;
}

p.lead {
  max-width: 900px;
  margin: 0 auto 1rem;
  color: var(--muted);
  text-align: center;
}

.hero {
  background: #0a0a0a;
  border-bottom: 1px solid var(--border);
}

.hero .container {
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.card {
  background: #0f0f0f;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.card h4 {
  margin: 0.6rem 0 0;
  padding: 0 1rem 1rem;
}

.card p {
  color: var(--muted);
  padding: 0 1rem 1.2rem;
}

.services-img {
  border: 2.5px solid var(--gold);
  border-radius: 8px;
  transition: box-shadow 0.25s ease;
}

.services-img:hover {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.home-hero {
  max-width: 800px;
  margin: 1.5rem auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

.home-hero img {
  width: 100%;
  height: auto;
  border: min(2.5px, 0.3vw) solid var(--gold);
  border-radius: 12px;
}

/* ================= FOOTER ================= */
footer {
  background: #0b0b0b;
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 1.5rem;
}

footer .logo {
  height: 48px;
  margin: 0 auto 0.5rem;
  filter: drop-shadow(0 2px 6px rgba(255, 255, 255, 0.25));
}

@media (max-width: 768px) {
  header img.logo {
    max-height: 180px;
  }
  .brand-text h1 {
    font-size: 1.4rem;
  }
  .brand-text .since {
    font-size: 1rem;
    font-weight: 800;
  }
}
/* ===== Preserve Form Buttons ===== */
form button,
button[type="submit"],
input[type="submit"] {
  background: var(--gold);
  color: #000;
  border: none;
  padding: 0.75rem 1.25rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

form button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
  background: #ffd700;
  transform: scale(1.03);
}
/* ===== Restore Full-Height Message Boxes ===== */
form textarea,
textarea {
  min-height: 150px;
  height: auto;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
  resize: vertical;
  width: 100%;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"] {
  padding: 0.75rem 1rem;
  font-size: 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: #000;
  width: 100%;
}

