/* Albino Rhino Home Inspections LLC — Cloudflare Static Theme
   Faithful match to albinorhinonj.com Shopify Horizon palette & typography */

@import url('https://fonts.googleapis.com/css2?family=Anonymous+Pro:wght@400;700&family=Assistant:wght@300;400;600;700&family=Merriweather+Sans:ital,wght@0,700;1,700&display=swap');

:root {
  /* Color Scheme 1 (Default - Soft Ice Blue) */
  --bg-ice: #EAF4FA;
  --fg-dark: #110811;
  --fg-heading: #000000;
  --plum: #442243;
  --plum-hover: #19199A;
  --crimson: #DC143C;
  --crimson-hover: #B01030;
  --lavender: #C49BC2;
  --lavender-btn: #E6E6FB;
  --lavender-btn-hover: #030363;
  --dark-bg: #121212;
  --dark-fg: #F4F0F4;
  --white: #FFFFFF;
  --border-subtle: rgba(68, 34, 67, 0.14);
  --shadow-card: 0 6px 24px rgba(17, 8, 17, 0.08);
  --shadow-lg: 0 12px 36px rgba(17, 8, 17, 0.12);

  --font-body: 'Assistant', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Merriweather Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'Anonymous Pro', monospace;

  --max-width: 1200px;
  --body-width: 900px;
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--fg-dark);
  background-color: var(--bg-ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--fg-heading);
  line-height: 1.25;
  margin-top: 0;
}

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

a {
  color: var(--plum);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--body-width);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.18s ease;
  text-align: center;
}

.btn--plum {
  background-color: var(--plum);
  color: var(--dark-fg);
  border-color: var(--plum);
}
.btn--plum:hover {
  background-color: var(--plum-hover);
  border-color: var(--plum-hover);
  color: var(--white);
}

.btn--crimson {
  background-color: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn--crimson:hover {
  background-color: var(--crimson-hover);
  border-color: var(--crimson-hover);
  color: var(--white);
}

.btn--crimson-outline {
  background-color: transparent;
  color: var(--crimson);
  border-color: var(--crimson);
}
.btn--crimson-outline:hover {
  background-color: var(--crimson);
  color: var(--white);
}

.btn--outline {
  background-color: transparent;
  color: var(--fg-dark);
  border-color: var(--fg-dark);
}
.btn--outline:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--fg-dark);
}

/* Header & Navigation */
.site-header {
  background-color: var(--bg-ice);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.site-brand {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--fg-heading);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-brand:hover {
  color: var(--plum);
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
}

.site-nav a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--fg-dark);
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--plum);
  border-bottom-color: var(--plum);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--fg-dark);
}

@media (max-width: 1120px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
  }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-ice);
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
  }
  .site-nav.open {
    display: flex;
  }
}

/* Homepage Sections */
.hero-image-band {
  width: 100%;
  background-color: var(--bg-ice);
}

.hero-image-band img {
  width: 100%;
  max-height: 680px;
  object-fit: cover;
  margin: 0 auto;
}

.feature-photo-band {
  width: 100%;
  background-color: var(--bg-ice);
  padding: 24px 0;
}

.feature-photo-band img {
  width: 100%;
  max-width: min(900px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
}

.section-red-accent {
  background-color: var(--white);
  color: var(--fg-dark);
  padding: 64px 0;
}

.section-red-accent h1,
.section-red-accent h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 16px;
}

.section-ice {
  background-color: var(--bg-ice);
  padding: 56px 0;
}

.section-lavender {
  background-color: var(--lavender);
  padding: 56px 0;
}

.section-lavender img {
  width: 100%;
  max-width: min(720px, 100%);
  height: auto;
  margin: 0 auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .site-brand {
    font-size: 1rem;
    white-space: normal;
    line-height: 1.2;
  }
  .hero-image-band img {
    height: auto;
    max-height: none;
    object-fit: contain;
  }
  .section-red-accent,
  .section-ice,
  .section-lavender {
    padding: 40px 0;
  }
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
}

.award-highlight {
  display: inline-block;
  background: #FFF3F5;
  border-left: 4px solid var(--crimson);
  padding: 10px 18px;
  font-weight: 700;
  color: var(--crimson);
  margin: 12px 0 20px;
  border-radius: 0 4px 4px 0;
}

/* InterNACHI Certifications Grid */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
  margin: 28px 0 44px;
}

.certs-grid img {
  max-height: 115px;
  width: auto;
  object-fit: contain;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
  border-top: 4px solid var(--plum);
}

.pillar-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

/* Page Header & Content */
.page-hero {
  background-color: var(--white);
  border-bottom: 1px solid var(--border-subtle);
  padding: 48px 0 36px;
}

.page-hero h1 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  margin-bottom: 10px;
}

.page-hero .subtitle {
  font-size: 1.12rem;
  color: rgba(17, 8, 17, 0.78);
  margin: 0;
}

.page-body {
  padding: 48px 0 72px;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

@media (max-width: 640px) {
  .content-card {
    padding: 22px;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.service-card__img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #f5f7fa;
}

.service-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__title {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.service-card__price {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--plum);
  margin-bottom: 12px;
}

.service-card__desc {
  font-size: 0.96rem;
  color: rgba(17, 8, 17, 0.85);
  flex: 1;
  margin-bottom: 18px;
}

/* Service Areas Grid */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--plum);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.area-card h3 {
  margin-bottom: 10px;
}

/* Contact Page (Upgraded Professional Layout) */
.cred-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.cred-pill {
  background: var(--bg-ice);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--plum);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 32px;
  align-items: start;
}

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

.contact-info-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-method-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px 24px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--plum);
}

.contact-method-card--cta {
  border-left-color: var(--crimson);
  background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
}

.contact-method-card h3 {
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.contact-big-link {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--plum);
  text-decoration: none;
  display: inline-block;
  margin: 4px 0;
}

.contact-big-link:hover {
  color: var(--crimson);
}

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-lg);
  border-top: 5px solid var(--crimson);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 600px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group--full {
  grid-column: 1 / -1;
}

.form-group label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fg-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #cbd5e1;
  border-radius: 5px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--fg-dark);
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--plum);
  box-shadow: 0 0 0 3px rgba(68, 34, 67, 0.12);
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  font-weight: 600;
  display: none;
}

.form-status.success {
  display: block;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.form-status.error {
  display: block;
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.steps-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.step-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-card);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--plum);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 10px;
}

/* Recognition & Video Grid */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 28px;
  margin-top: 28px;
}

@media (max-width: 480px) {
  .video-grid {
    grid-template-columns: 1fr;
  }
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  background: #111;
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card__body {
  padding: 22px;
}

.video-card__meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--plum);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

/* Blog Grid & Article */
.blog-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

.blog-search {
  padding: 10px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  font-size: 1rem;
  min-width: 260px;
  font-family: var(--font-body);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.blog-card__img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.blog-card__body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card__date {
  font-size: 0.85rem;
  color: rgba(17, 8, 17, 0.65);
  margin-bottom: 6px;
}

.blog-card__title {
  font-size: 1.18rem;
  margin-bottom: 10px;
}

.blog-card__excerpt {
  font-size: 0.96rem;
  color: rgba(17, 8, 17, 0.84);
  flex: 1;
  margin-bottom: 16px;
}

.article-body img {
  border-radius: var(--radius);
  margin: 20px auto;
}

/* Footer (Color Scheme 2 - Dark #121212) */
.site-footer {
  background-color: var(--dark-bg);
  color: var(--dark-fg);
  padding: 56px 0 32px;
}

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

.site-footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

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

.footer-heading {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(244, 240, 244, 0.72);
}

/* Enhanced Services Page & Comparison Table */
.service-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-ice);
  color: var(--plum);
  margin-bottom: 10px;
  align-self: flex-start;
}

.service-badge--best {
  background: #FFF0F3;
  color: var(--crimson);
  border: 1px solid rgba(220, 20, 60, 0.25);
}

.service-card--featured {
  border: 2px solid var(--crimson);
  box-shadow: 0 12px 34px rgba(220, 20, 60, 0.14);
}

.package-spotlight {
  background: linear-gradient(135deg, #ffffff 0%, #fff5f7 100%);
  border: 2px solid var(--crimson);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 40px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--shadow-lg);
}

@media (max-width: 820px) {
  .package-spotlight {
    grid-template-columns: 1fr;
  }
}

.comparison-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-card);
  margin-top: 48px;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
  margin-top: 16px;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.96rem;
}

.comparison-table thead th {
  background: var(--bg-ice);
  color: var(--fg-heading);
  font-family: var(--font-heading);
  font-size: 0.98rem;
}

.comparison-table thead th.col-featured {
  background: #FFF0F3;
  color: var(--crimson);
  border-top: 3px solid var(--crimson);
}

.comparison-table td.col-featured {
  background: rgba(255, 240, 243, 0.35);
  font-weight: 600;
}

.check-yes {
  color: #059669;
  font-weight: 700;
}

.check-add {
  color: var(--plum);
  font-weight: 600;
  font-size: 0.88rem;
}

/* Service Detail Modal */
.service-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(17, 8, 17, 0.65);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.service-modal-backdrop.open {
  display: flex;
}

.service-modal {
  background: var(--white);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  padding: 32px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  position: relative;
}

.service-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-ice);
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--fg-dark);
}
