/* =============================================
   ADMS — Global Stylesheet
   Palette: Navy #1B2B4B | Gold #C9A84C | Slate #4A5568 | White #FFFFFF | Light #F7F8FA
   ============================================= */

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

:root {
  --navy: #1B2B4B;
  --navy-dark: #111d33;
  --gold: #C9A84C;
  --gold-light: #e2c47a;
  --slate: #4A5568;
  --slate-light: #718096;
  --white: #ffffff;
  --light: #F7F8FA;
  --border: #E2E8F0;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --radius: 8px;
  --shadow: 0 2px 16px rgba(27,43,75,0.10);
  --shadow-lg: 0 8px 40px rgba(27,43,75,0.15);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--slate);
  background: var(--white);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 5rem 0; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  font-family: var(--font-body);
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(27,43,75,0.06);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.nav__logo-accent { color: var(--gold); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate);
  transition: color var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--navy); }
.nav__cta {
  background: var(--navy) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--navy-dark) !important; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4373 100%);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero__content { max-width: 680px; }
.hero__eyebrow {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2rem;
  max-width: 540px;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* --- Section Headers --- */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p {
  font-size: 1.1rem;
  color: var(--slate-light);
  max-width: 560px;
  margin: 0.75rem auto 0;
}
.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* --- Value Props (Home) --- */
.value-props { background: var(--light); }
.props-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.prop-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}
.prop-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.prop-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.prop-card p { font-size: 0.9rem; color: var(--slate-light); margin: 0; }

/* --- Services Teaser (Home) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.service-card {
  padding: 2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.service-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; }
.service-card p { font-size: 0.9rem; color: var(--slate-light); margin-bottom: 1rem; }
.service-card .price-tag {
  font-weight: 700;
  color: var(--gold);
  font-size: 0.95rem;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 4rem 0;
}
.cta-banner h2 { color: var(--white); margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.75); margin-bottom: 2rem; font-size: 1.1rem; }

/* --- Services Page --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #2d4373 100%);
  color: var(--white);
  padding: 4rem 0 3rem;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: start;
}
.package-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.package-card:hover { box-shadow: var(--shadow-lg); }
.package-card.featured {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.package-card__header {
  background: var(--light);
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border);
}
.package-card.featured .package-card__header {
  background: var(--navy);
  color: var(--white);
}
.package-card.featured .package-card__header h3 { color: var(--white); }
.package-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.package-card__header h3 { font-size: 1.3rem; margin-bottom: 0.25rem; }
.package-card__header .price {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-display);
}
.package-card__body { padding: 1.5rem 2rem 2rem; }
.package-card__body ul { display: flex; flex-direction: column; gap: 0.6rem; margin-bottom: 1.5rem; }
.package-card__body li {
  font-size: 0.9rem;
  padding-left: 1.4rem;
  position: relative;
  color: var(--slate);
}
.package-card__body li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* --- Pricing Page --- */
.pricing-note {
  background: var(--light);
  border-left: 4px solid var(--gold);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 3rem;
  font-size: 0.95rem;
}
.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.maintenance-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.maintenance-card .price {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
  margin: 0.5rem 0;
}
.faq-list { display: flex; flex-direction: column; gap: 1rem; max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item__q::after { content: '+'; font-size: 1.2rem; color: var(--gold); }
.faq-item__q[aria-expanded="true"]::after { content: '−'; }
.faq-item__a {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.9rem;
  display: none;
}
.faq-item__a.open { display: block; }

/* --- Blog --- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}
.post-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__body { padding: 1.5rem; }
.post-card__meta { font-size: 0.8rem; color: var(--slate-light); margin-bottom: 0.5rem; }
.post-card__title { font-size: 1.1rem; margin-bottom: 0.5rem; }
.post-card__title a:hover { color: var(--gold); }
.post-card__excerpt { font-size: 0.88rem; color: var(--slate-light); }

.blog-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--slate-light);
}

/* Blog post */
.post-content { max-width: 720px; margin: 0 auto; padding: 3rem 1.25rem; }
.post-content h1 { margin-bottom: 0.5rem; }
.post-content .post-meta { color: var(--slate-light); font-size: 0.9rem; margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border); }
.post-content p { margin-bottom: 1.25rem; }
.post-content h2 { margin: 2rem 0 1rem; }
.post-content h3 { margin: 1.5rem 0 0.75rem; }

/* --- About --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-image {
  aspect-ratio: 4/5;
  background: var(--light);
  border-radius: var(--radius);
  overflow: hidden;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.credentials { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem; }
.credential {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
}
.credential__icon {
  width: 36px;
  height: 36px;
  background: rgba(201,168,76,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item__icon {
  width: 44px;
  height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}
.contact-item h4 { font-size: 0.85rem; color: var(--slate-light); margin-bottom: 0.2rem; font-family: var(--font-body); }
.contact-item p { font-size: 0.95rem; color: var(--navy); font-weight: 500; margin: 0; }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--slate);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* --- Footer --- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding-top: 3rem;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__name { font-family: var(--font-display); color: var(--white); font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer__tagline { font-size: 0.9rem; margin-bottom: 0.5rem; }
.footer__reg { font-size: 0.8rem; color: var(--gold); }
.footer__nav ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer__nav a { font-size: 0.9rem; transition: color var(--transition); }
.footer__nav a:hover { color: var(--white); }
.footer__contact p { font-size: 0.9rem; margin-bottom: 0.25rem; }
.footer__contact a { color: var(--gold); font-size: 0.9rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 0;
  font-size: 0.8rem;
}

/* --- Responsive --- */
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }

  .nav__toggle { display: flex; }
  .nav__links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1.5rem 1.25rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    gap: 1.25rem;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1rem; }

  .hero { padding: 4rem 0 3rem; }
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { text-align: center; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-image { aspect-ratio: 3/2; }

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

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