/* ============================================
   ANNA HOME CARE - EVERETT, WA
   styles.css — Global Styles
   ============================================ */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;600&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #2E6B8A;
  --primary-dark: #1E4F6B;
  --primary-light: #4A8FAD;
  --accent: #6BBFA0;
  --accent-light: #A8DBC9;
  --warm: #F5EFE7;
  --warm-mid: #EDE3D7;
  --white: #FFFFFF;
  --text-dark: #1C2B36;
  --text-mid: #4A5E6A;
  --text-light: #7A8F9A;
  --border: #D8E8EE;
  --shadow-sm: 0 2px 12px rgba(46,107,138,0.08);
  --shadow-md: 0 8px 32px rgba(46,107,138,0.13);
  --shadow-lg: 0 20px 60px rgba(46,107,138,0.18);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 24px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============================================
   ANNOUNCEMENT BANNER
   ============================================ */
.announce-bar {
  background: linear-gradient(90deg, var(--primary-dark), var(--accent));
  color: white;
  padding: 0.65rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  z-index: 1001;
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  font-size: 0.87rem;
  justify-content: center;
  flex: 1;
}

.announce-dot {
  width: 8px;
  height: 8px;
  background: #FFD166;
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s infinite;
}

.announce-divider { opacity: 0.5; }

.announce-bar strong { font-weight: 700; }
.announce-bar span { opacity: 0.9; }

.announce-cta {
  background: white;
  color: var(--primary);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  transition: var(--transition);
}

.announce-cta:hover { background: var(--warm); }

.announce-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  font-size: 0.85rem;
  padding: 0.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.announce-close:hover { color: white; }
.announce-bar.hidden { display: none; }

/* ============================================
   WHATSAPP FLOATING BUTTON
   ============================================ */
.whatsapp-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: white;
  border-radius: 50px;
  padding: 0.75rem 1.25rem 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 999;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.88rem;
}

.whatsapp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
  color: white;
}

@media (max-width: 768px) {
  .whatsapp-btn span { display: none; }
  .whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
  .announce-inner { font-size: 0.78rem; }
  .announce-bar strong { font-size: 0.82rem; }
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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


/* ============================================
   IDENTITY BAR
   ============================================ */
.identity-bar {
  background: var(--primary);
  padding: 0.5rem 0;
  position: relative;
  z-index: 998;
}

.identity-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.identity-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

.identity-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.identity-loc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}

.identity-divider {
  color: rgba(255,255,255,0.35);
  font-size: 0.75rem;
}

.identity-phone {
  font-size: 0.78rem;
  color: white;
  font-weight: 700;
  background: rgba(255,255,255,0.15);
  padding: 0.15rem 0.65rem;
  border-radius: 50px;
  transition: var(--transition);
}

.identity-phone:hover {
  background: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
  .identity-divider-hide { display: none; }
  .identity-phone { display: none; }
  .identity-bar-inner { gap: 0.4rem; }
  .identity-name { font-size: 0.85rem; }
  .identity-sub, .identity-loc { font-size: 0.72rem; }
}

/* ---- Logo display fix ---- */
.navbar-logo img {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  font-weight: 600;
  color: var(--text-dark);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }

p { color: var(--text-mid); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Layout Utilities --- */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 80px 0; }
.section-sm { padding: 60px 0; }

.section-label {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: block;
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 580px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46,107,138,0.3);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}
.btn-accent:hover {
  background: #58A98A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(107,191,160,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 88px;
  padding: 0 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-logo-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-logo-icon svg {
  width: 24px;
  height: 24px;
  fill: white;
}

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

.navbar-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.navbar-logo-text span:last-child {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-mid);
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--primary);
  background: rgba(46,107,138,0.07);
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.navbar-phone svg { width: 16px; height: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 1.5rem 1.75rem;
  z-index: 999;
  box-shadow: var(--shadow-md);
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: var(--warm);
  color: var(--primary);
}

.mobile-menu-cta {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Page top offset */
.page-top { margin-top: 126px; }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.8;
  margin: 1rem 0 1.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.5rem;
}

.footer-logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary-light), var(--accent));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-icon svg { width: 22px; height: 22px; fill: white; }

.footer-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1.1;
}

.footer-logo-text span:last-child {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

.footer-tagline {
  font-size: 0.78rem;
  font-style: italic;
  color: var(--accent-light);
  opacity: 0.8;
}

.footer-col h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--accent-light); }

.footer-contact-item {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-bottom: 0.85rem;
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item span {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.5;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

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

.footer-bottom a {
  color: rgba(255,255,255,0.45);
  font-size: 0.82rem;
  transition: var(--transition);
}

.footer-bottom a:hover { color: var(--accent-light); }

/* ============================================
   HERO — HOME PAGE
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #1A3A4A 0%, #2E6B8A 50%, #3A8A7A 100%);
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 80%, rgba(107,191,160,0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.hero-shape-1 { width: 600px; height: 600px; top: -200px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -80px; left: 10%; background: rgba(107,191,160,0.08); }
.hero-shape-3 { width: 150px; height: 150px; top: 20%; right: 30%; }

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4rem;
  padding: 6rem 1.5rem 5rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-content { color: white; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

.hero h1 {
  color: white;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent-light);
}

.hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat-num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: block;
  margin-top: 0.25rem;
}

/* Hero image column */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image-frame {
  position: relative;
  width: 420px;
  height: 500px;
}

.hero-image-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  filter: brightness(0.95);
}

.hero-image-card {
  position: absolute;
  bottom: -20px;
  left: -30px;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 200px;
}

.hero-image-card-icon {
  width: 42px;
  height: 42px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-image-card-icon svg { width: 22px; height: 22px; fill: var(--accent); }

.hero-image-card-text strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  font-weight: 600;
}

.hero-image-card-text span {
  font-size: 0.76rem;
  color: var(--text-light);
}

.hero-image-dot {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 80px;
  height: 80px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(107,191,160,0.4);
}

.hero-image-dot svg { width: 36px; height: 36px; fill: white; }

/* ============================================
   TRUST BAR
   ============================================ */
.trust-bar {
  background: var(--warm);
  border-bottom: 1px solid var(--warm-mid);
  padding: 1.5rem 0;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.87rem;
  font-weight: 500;
  color: var(--text-mid);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  fill: var(--accent);
  flex-shrink: 0;
}

/* ============================================
   ABOUT PREVIEW
   ============================================ */
.about-preview {
  background: var(--white);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-mosaic {
  position: relative;
  height: 520px;
}

.mosaic-img {
  position: absolute;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.mosaic-img-1 {
  width: 62%;
  height: 60%;
  top: 0;
  left: 0;
  border-radius: var(--radius-lg);
}

.mosaic-img-2 {
  width: 45%;
  height: 48%;
  bottom: 0;
  right: 0;
  border-radius: var(--radius-lg);
}

.mosaic-img-3 {
  width: 38%;
  height: 35%;
  bottom: 10%;
  left: 5%;
}

.mosaic-badge {
  position: absolute;
  top: 40%;
  right: -5%;
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  z-index: 2;
}

.mosaic-badge-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}

.mosaic-badge-text {
  font-size: 0.72rem;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about-content .section-title { margin-bottom: 1.25rem; }

.motto-box {
  background: var(--warm);
  border-left: 3px solid var(--accent);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-mid);
  font-size: 0.97rem;
}

.value-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.chip {
  background: var(--warm);
  color: var(--primary);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.83rem;
  font-weight: 500;
}

/* ============================================
   SERVICES PREVIEW
   ============================================ */
.services-preview {
  background: var(--warm);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, rgba(46,107,138,0.1), rgba(107,191,160,0.15));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.service-icon svg { width: 26px; height: 26px; fill: var(--primary); }

.service-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.service-card p { font-size: 0.9rem; line-height: 1.7; }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
  background: var(--white);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.why-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-feature {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.why-feature-num {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.why-feature-text h4 { margin-bottom: 0.3rem; }
.why-feature-text p { font-size: 0.9rem; margin: 0; }

.why-image-stack {
  position: relative;
  height: 480px;
}

.why-img-main {
  width: 80%;
  height: 85%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  position: absolute;
  right: 0;
  bottom: 0;
  box-shadow: var(--shadow-lg);
}

.why-img-accent {
  width: 50%;
  height: 45%;
  object-fit: cover;
  border-radius: var(--radius);
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: var(--shadow-md);
}

.why-stat-card {
  position: absolute;
  bottom: 15%;
  left: -5%;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.why-stat-dot {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(107,191,160,0.5); }
  50% { box-shadow: 0 0 0 8px rgba(107,191,160,0); }
}

.why-stat-card span {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-mid);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  padding: 80px 0;
  overflow: hidden;
  position: relative;
}

.testimonials::before {
  content: '"';
  position: absolute;
  top: -60px;
  left: 5%;
  font-family: var(--font-display);
  font-size: 400px;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.testimonials .section-label { color: var(--accent-light); }
.testimonials .section-title { color: white; }
.testimonials .section-subtitle { color: rgba(255,255,255,0.65); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}

.testimonial-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-3px);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 1rem;
  color: #FFD166;
  font-size: 0.9rem;
}

.testimonial-card blockquote {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
}

.author-info span {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
  background: var(--warm);
  padding: 80px 0;
}

.cta-banner-inner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: var(--radius-lg);
  padding: 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

.cta-banner-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.08), transparent 60%);
  pointer-events: none;
}

.cta-banner-content h2 {
  color: white;
  margin-bottom: 0.75rem;
}

.cta-banner-content p {
  color: rgba(255,255,255,0.75);
  margin: 0;
  font-size: 1rem;
}

.cta-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-hero h1 { color: white; margin-bottom: 0.75rem; }

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

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.breadcrumb a { color: rgba(255,255,255,0.65); }
.breadcrumb a:hover { color: white; }
.breadcrumb span { color: rgba(255,255,255,0.35); }

/* ============================================
   ABOUT PAGE
   ============================================ */
.mission-section {
  background: var(--white);
}

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

.mission-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.value-card {
  background: var(--warm);
  border-radius: var(--radius);
  padding: 1.25rem;
  border: 1px solid var(--warm-mid);
  transition: var(--transition);
}

.value-card:hover {
  background: white;
  box-shadow: var(--shadow-sm);
  border-color: var(--border);
}

.value-card svg {
  width: 24px;
  height: 24px;
  fill: var(--accent);
  margin-bottom: 0.5rem;
}

.value-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.value-card p { font-size: 0.82rem; margin: 0; }

.story-image {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 400px;
  object-fit: cover;
  box-shadow: var(--shadow-md);
}

.team-section { background: var(--warm); }

.team-intro { max-width: 620px; margin: 0 auto 3rem; }

.dedication-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.dedication-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

.dedication-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.dedication-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.dedication-card-body {
  padding: 1.5rem;
}

.dedication-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.dedication-card p { font-size: 0.88rem; margin: 0; }

/* ============================================
   SERVICES PAGE
   ============================================ */
.services-full { background: var(--white); }

.services-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.service-detail-card {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--warm-mid);
  transition: var(--transition);
}

.service-detail-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  border-color: var(--border);
}

.service-detail-card .service-icon { margin-bottom: 1rem; }

.service-detail-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 1rem;
}

.service-detail-card ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.service-detail-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.full-services-list {
  background: var(--warm);
}

.services-checklist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.check-item {
  background: white;
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--border);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}

.check-item:hover {
  border-color: var(--accent);
  color: var(--text-dark);
}

.check-item svg {
  width: 16px;
  height: 16px;
  fill: var(--accent);
  flex-shrink: 0;
}

.payment-section { background: var(--white); }

.payment-options {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.payment-badge {
  background: var(--warm);
  border: 2px solid var(--accent-light);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  text-align: center;
  flex: 1;
  min-width: 180px;
}

.payment-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--primary);
  margin: 0 auto 0.5rem;
  display: block;
}

.payment-badge strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.payment-badge span {
  font-size: 0.78rem;
  color: var(--text-light);
}

/* ============================================
   GALLERY PAGE
   ============================================ */
.gallery-section { background: var(--white); }

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--warm);
  border: 1px solid var(--border);
  color: var(--text-mid);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30,79,107,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

.gallery-item-overlay span {
  color: white;
  font-size: 0.88rem;
  font-weight: 500;
}

.gallery-item.large { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; aspect-ratio: auto; min-height: 400px; }

/* Gallery placeholder (when no real images) */
.gallery-placeholder {
  width: 100%;
  height: 100%;
  min-height: 200px;
  object-fit: cover;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { background: var(--white); }

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

.contact-info h2 { margin-bottom: 0.75rem; }

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(46,107,138,0.1), rgba(107,191,160,0.15));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon svg { width: 22px; height: 22px; fill: var(--primary); }

.contact-item-body strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.contact-item-body span {
  font-size: 0.95rem;
  color: var(--text-dark);
  font-weight: 500;
}

.contact-item-body a {
  font-size: 0.95rem;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.contact-item-body a:hover { color: var(--accent); }

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1.1rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.call-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.call-btn svg { width: 22px; height: 22px; fill: white; }

/* Contact Form */
.contact-form-card {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--warm-mid);
}

.contact-form-card h3 { margin-bottom: 0.4rem; }
.contact-form-card > p { margin-bottom: 1.75rem; font-size: 0.9rem; }

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(46,107,138,0.1);
}

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

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

.form-submit { width: 100%; justify-content: center; font-size: 1rem; padding: 1rem; border-radius: var(--radius); }

.map-section { background: var(--warm); }

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.map-container iframe { display: block; }

/* ============================================
   FADE-IN ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-inner { gap: 2.5rem; }
  .hero-image-frame { width: 360px; height: 420px; }
  .about-preview-grid,
  .why-grid,
  .mission-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-mosaic,
  .why-image-stack { height: 340px; }
  .mosaic-badge { right: 0; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr 1fr; }
  .dedication-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .navbar-links,
  .navbar-cta { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 5rem 1.5rem 4rem;
  }

  .hero-visual { display: none; }

  .hero-stats { justify-content: center; }
  .hero-actions { justify-content: center; }
  .hero-desc { margin-left: auto; margin-right: auto; }

  .services-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: span 1; }
  .dedication-grid { grid-template-columns: 1fr; }
  .services-list-grid { grid-template-columns: 1fr; }
  .services-checklist-grid { grid-template-columns: 1fr 1fr; }
  .mission-values { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .cta-banner-inner {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem 1.75rem;
  }

  .cta-banner-actions { justify-content: center; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .trust-bar-inner { gap: 1.25rem; }
  .section { padding: 60px 0; }
  h2 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .services-checklist-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .payment-options { flex-direction: column; }
}

/* ============================================
   HOME HERO SLIDER — DESIGN UPDATE
   Keeps the existing PHP/banner structure intact.
   ============================================ */
.hero-slider {
  min-height: 760px;
  height: min(88vh, 860px);
  padding: 0;
  background: #173b43;
  isolation: isolate;
}

.hero-slides,
.hero-slide,
.hero-slide-bg,
.hero-slide-overlay {
  position: absolute;
  inset: 0;
}

.hero-slides { overflow: hidden; }
.hero-slide {
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .8s ease, visibility .8s ease;
}
.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 2;
}
.hero-slide-bg {
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 7s ease;
}
.hero-slide.is-active .hero-slide-bg { transform: scale(1); }
.hero-slide-overlay {
  background:
    linear-gradient(90deg, rgba(8,35,42,.94) 0%, rgba(10,50,55,.82) 40%, rgba(10,50,55,.40) 72%, rgba(10,40,45,.25) 100%),
    linear-gradient(0deg, rgba(5,25,30,.55), transparent 45%);
  z-index: 1;
}
.hero-slide .hero-bg-shapes { z-index: 2; }
.hero-slider .hero-inner { z-index: 3; min-height: 100%; padding-top: 7rem; padding-bottom: 6rem; }
.hero-slider .hero-content { max-width: 780px; }
.hero-slider .hero-kicker {
  margin: 0 0 .9rem;
  color: rgba(255,255,255,.72);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.hero-slider .hero-badge {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.24);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.hero-slider h1 {
  max-width: 780px;
  font-size: clamp(2.7rem, 5.2vw, 5rem);
  text-shadow: 0 4px 24px rgba(0,0,0,.20);
}
.hero-slider .hero-desc { max-width: 650px; color: rgba(255,255,255,.84); }
.hero-slider .hero-actions { margin-bottom: 2rem; }
.hero-slider .hero-stats {
  max-width: 650px;
  gap: 0;
  justify-content: flex-start;
}
.hero-slider .hero-stats > div {
  padding: 0 1.5rem;
  border-right: 1px solid rgba(255,255,255,.18);
}
.hero-slider .hero-stats > div:first-child { padding-left: 0; }
.hero-slider .hero-stats > div:last-child { border-right: 0; }

.hero-slider-controls {
  position: absolute;
  z-index: 5;
  right: max(1.5rem, calc((100vw - 1180px) / 2));
  bottom: 2rem;
  display: flex;
  align-items: center;
  gap: .75rem;
}
.hero-slider-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.30);
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: .25s ease;
}
.hero-slider-arrow:hover { background: rgba(255,255,255,.20); transform: translateY(-2px); }
.hero-slider-dots { display: flex; gap: .45rem; align-items: center; }
.hero-slider-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  cursor: pointer;
  transition: .25s ease;
}
.hero-slider-dot.is-active { width: 28px; border-radius: 10px; background: #fff; }
.hero-slider-progress {
  position: absolute;
  z-index: 6;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: rgba(255,255,255,.12);
}
.hero-slider-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
}
.hero-slider-progress.is-running span { animation: heroProgress 6s linear forwards; }
@keyframes heroProgress { from { width: 0; } to { width: 100%; } }

@media (max-width: 768px) {
  .hero-slider { min-height: 690px; height: auto; }
  .hero-slider .hero-inner { min-height: 690px; padding: 5.5rem 1.5rem 6rem; }
  .hero-slider .hero-content { max-width: 100%; }
  .hero-slider .hero-kicker { font-size: .72rem; }
  .hero-slider h1 { font-size: clamp(2.25rem, 10vw, 3.2rem); }
  .hero-slider .hero-desc { font-size: .96rem; line-height: 1.7; }
  .hero-slider .hero-stats { display: grid; grid-template-columns: repeat(3,1fr); text-align: left; gap: 0; }
  .hero-slider .hero-stats > div { padding: 0 .7rem; }
  .hero-slider .hero-stats > div:first-child { padding-left: 0; }
  .hero-slider .hero-stat-num { font-size: 1.45rem; }
  .hero-slider .hero-stat-label { font-size: .62rem; letter-spacing: .04em; }
  .hero-slider-controls { left: 1.5rem; right: auto; bottom: 1.25rem; }
  .hero-slide-overlay { background: linear-gradient(90deg, rgba(8,35,42,.93), rgba(8,35,42,.68)), linear-gradient(0deg, rgba(5,25,30,.55), transparent 55%); }
}

@media (max-width: 480px) {
  .hero-slider { min-height: 650px; }
  .hero-slider .hero-inner { min-height: 650px; padding-top: 5rem; }
  .hero-slider .hero-badge { font-size: .7rem; }
  .hero-slider .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-slider .hero-stats { margin-top: .5rem; }
  .hero-slider .hero-stat-label { font-size: .56rem; }
}

/* ==========================================================
   2026 VISUAL REFRESH — GREEN / CALM PROFESSIONAL CARE THEME
   Keeps existing markup and functionality intact.
   ========================================================== */
:root {
  --primary: #176b4a;
  --primary-dark: #0d4d35;
  --primary-light: #2d8b63;
  --accent: #68ad78;
  --accent-light: #bfe3c7;
  --warm: #f1f7f2;
  --warm-mid: #dcebe0;
  --text-dark: #173128;
  --text-mid: #52675e;
  --text-light: #7a8d84;
  --border: #d9e7dd;
  --shadow-sm: 0 2px 12px rgba(23,107,74,.07);
  --shadow-md: 0 10px 30px rgba(23,107,74,.12);
  --shadow-lg: 0 20px 55px rgba(23,107,74,.16);
}

/* Compact static homepage banner — backend banners intentionally bypassed for now. */
.compact-hero {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  display: flex;
  align-items: center;
  isolation: isolate;
  background: var(--primary-dark);
}
.compact-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('frontyard_updated.JPG') center 55%/cover no-repeat;
  transform: scale(1.01);
}
.compact-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(8,61,41,.94) 0%, rgba(12,82,54,.82) 48%, rgba(12,82,54,.38) 100%);
}
.compact-hero-inner {
  min-height: 390px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}
.compact-hero-copy { max-width: 700px; color: #fff; }
.compact-hero-eyebrow {
  display: inline-block;
  margin-bottom: .65rem;
  padding: .32rem .8rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.9);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.compact-hero h1 { color:#fff; font-size:clamp(2.3rem,5vw,4rem); margin-bottom:.65rem; }
.compact-hero-copy p { color:rgba(255,255,255,.86); font-size:1rem; max-width:560px; margin-bottom:1.25rem; }
.compact-hero-actions { display:flex; align-items:center; gap:.9rem; flex-wrap:wrap; }
.compact-hero-phone { color:#fff; font-weight:700; font-size:.92rem; }
.compact-hero-phone:hover { color:var(--accent-light); }
.compact-hero-card {
  display:flex; align-items:center; gap:.8rem; max-width:310px; padding:1rem 1.05rem;
  border:1px solid rgba(255,255,255,.2); border-radius:16px; background:rgba(255,255,255,.12);
  backdrop-filter:blur(12px); color:#fff; box-shadow:0 15px 40px rgba(0,0,0,.12);
}
.compact-hero-card-icon { width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--primary);font-weight:800;flex-shrink:0; }
.compact-hero-card strong { display:block; font-size:.9rem; }
.compact-hero-card small { display:block; margin-top:.15rem; color:rgba(255,255,255,.72); line-height:1.4; }

/* Homepage image composition refresh: overlapping editorial layout with changed visual hierarchy. */
.about-image-mosaic { height:500px; display:grid; grid-template-columns:1.15fr .85fr; grid-template-rows:1fr 1fr; gap:14px; }
.about-image-mosaic .mosaic-img { position:relative; width:100%; height:100%; inset:auto; border-radius:18px; box-shadow:var(--shadow-md); }
.about-image-mosaic .mosaic-img-1 { grid-row:1 / 3; grid-column:1; }
.about-image-mosaic .mosaic-img-2 { grid-row:1; grid-column:2; }
.about-image-mosaic .mosaic-img-3 { grid-row:2; grid-column:2; }
.mosaic-badge { top:auto; right:auto; left:12px; bottom:12px; border-radius:14px; background:rgba(23,107,74,.94); padding:.8rem 1rem; }
.mosaic-badge-num { font-size:1.5rem; }
.mosaic-badge-text { font-size:.65rem; }

/* More polished service cards without changing their structure. */
.services-preview { background:linear-gradient(180deg,#f4f9f5 0%,#edf5ef 100%); }
.services-grid { gap:1rem; }
.service-card { border-radius:18px; padding:1.65rem; box-shadow:0 5px 20px rgba(23,107,74,.06); }
.service-card:nth-child(2n) { transform:translateY(12px); }
.service-card:hover { transform:translateY(-6px); box-shadow:var(--shadow-md); }
.service-card:nth-child(2n):hover { transform:translateY(6px); }
.service-icon { border-radius:50%; width:58px; height:58px; background:#e5f3e9; border:1px solid #cfe7d6; }
.service-icon svg { fill:var(--primary); }
.service-card h3 { color:var(--primary-dark); }

/* Green visual language across existing cards/sections. */
.section-label { color:var(--primary-light); }
.chip { background:#eef7f0; border-color:#d5e8da; color:var(--primary); }
.motto-box { background:#f0f7f2; border-left-color:var(--primary-light); }
.trust-bar { background:#f2f8f3; border-color:#dbe9de; }
.trust-item svg { fill:var(--primary-light); }

/* Inner-page headers: compact, layered and more professional than the old tall gradient. */
.page-hero {
  padding:54px 0 52px;
  text-align:left;
  background:linear-gradient(135deg,#0c4d35 0%,#176b4a 58%,#2d8b63 100%);
  border-bottom:0;
}
.page-hero::before {
  content:''; position:absolute; width:300px;height:300px; border-radius:50%;
  right:-80px; top:-150px; background:rgba(255,255,255,.07);
}
.page-hero::after {
  height:34px; background:var(--white); clip-path:ellipse(58% 100% at 50% 100%);
}
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { font-size:clamp(2.15rem,4.5vw,3.4rem); max-width:760px; }
.page-hero p { margin:0; max-width:650px; text-align:left; color:rgba(255,255,255,.82); }
.breadcrumb { justify-content:flex-start; margin-bottom:.8rem; }

/* Blog uses a separate header class, give it the same green family. */
.blog-page-hero {
  position:relative; overflow:hidden; padding:58px 0 64px;
  background:linear-gradient(135deg,#0c4d35,#176b4a 60%,#2d8b63);
}
.blog-page-hero::after { content:''; position:absolute; width:320px;height:320px;border-radius:50%;right:-120px;top:-170px;background:rgba(255,255,255,.08); }
.blog-page-hero h1 { color:#fff; font-size:clamp(2.2rem,4.5vw,3.5rem); margin:.25rem 0 .6rem; position:relative; z-index:1; }
.blog-page-hero p { color:rgba(255,255,255,.82); max-width:650px; position:relative; z-index:1; }

/* Existing detail cards and value cards inherit a cleaner green treatment. */
.value-card, .service-detail-card { border-color:#d8e8dc; }
.value-card:hover, .service-detail-card:hover { border-color:#b9d8c1; box-shadow:var(--shadow-md); }

@media (max-width: 768px) {
  .compact-hero, .compact-hero-inner { min-height:360px; }
  .compact-hero-inner { padding-top:2.5rem; padding-bottom:2.5rem; }
  .compact-hero-card { display:none; }
  .compact-hero-overlay { background:linear-gradient(90deg,rgba(8,61,41,.93),rgba(12,82,54,.68)); }
  .about-image-mosaic { height:420px; }
  .service-card:nth-child(2n), .service-card:nth-child(2n):hover { transform:none; }
  .page-hero { padding:45px 0 48px; text-align:center; }
  .page-hero p { text-align:center; margin-left:auto; margin-right:auto; }
  .breadcrumb { justify-content:center; }
  .blog-page-hero { padding:48px 0 54px; text-align:center; }
  .blog-page-hero p { margin-left:auto; margin-right:auto; }
}

/* ==========================================================
   SECOND VISUAL REWORK — DISTINCT CARD COMPOSITIONS
   Keeps the existing markup, content and functionality.
   ========================================================== */

/* Homepage: make the services section feel like a designed editorial grid. */
@media (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
  }
  .services-grid .service-card {
    grid-column: span 4;
    min-height: 285px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
    border: 1px solid #d9e9de;
    background: #fff;
  }
  .services-grid .service-card:nth-child(1),
  .services-grid .service-card:nth-child(4) { grid-column: span 5; }
  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(3) { grid-column: span 3; }
  .services-grid .service-card:nth-child(5),
  .services-grid .service-card:nth-child(6) { grid-column: span 6; }

  .services-grid .service-card::after {
    content:'';
    position:absolute;
    right:-34px;
    bottom:-46px;
    width:130px;
    height:130px;
    border-radius:50%;
    background:#eef7f0;
    transition:.3s ease;
  }
  .services-grid .service-card:hover::after { transform:scale(1.18); }
  .services-grid .service-card:nth-child(2n) {
    transform:none;
    background:#f8fbf8;
  }
  .services-grid .service-card:nth-child(2n):hover { transform:translateY(-7px); }
  .services-grid .service-card:nth-child(3) { margin-top:28px; }
  .services-grid .service-card:nth-child(4) { margin-top:-28px; }

  .service-icon {
    width:52px;
    height:52px;
    border-radius:14px;
    margin-bottom:1.15rem;
    background:#e8f4eb;
    border:0;
    position:relative;
    z-index:1;
  }
  .service-card h3,
  .service-card p { position:relative; z-index:1; }
}

/* About image block: asymmetric composition instead of the previous equal mosaic. */
@media (min-width: 901px) {
  .about-image-mosaic {
    height:540px;
    display:block;
    position:relative;
  }
  .about-image-mosaic .mosaic-img {
    position:absolute;
    object-fit:cover;
    border:7px solid #fff;
    box-shadow:0 16px 38px rgba(23,107,74,.14);
  }
  .about-image-mosaic .mosaic-img-1 {
    width:68%; height:78%; left:0; top:0;
    border-radius:28px 10px 28px 10px;
  }
  .about-image-mosaic .mosaic-img-2 {
    width:52%; height:48%; right:0; top:15%;
    border-radius:10px 28px 10px 28px;
  }
  .about-image-mosaic .mosaic-img-3 {
    width:48%; height:38%; right:5%; bottom:0;
    border-radius:28px 10px 28px 10px;
  }
  .mosaic-badge {
    left:10%; bottom:8%;
    border-radius:10px;
    box-shadow:0 12px 25px rgba(0,0,0,.12);
  }
}

/* General cards: less uniform, more editorial. */
.value-card,
.service-detail-card,
.why-stat-card,
.testimonial-card,
.dedication-card {
  border-radius:22px;
  border:1px solid #dbe9df;
  box-shadow:0 8px 24px rgba(23,107,74,.07);
}

.value-card:nth-child(odd),
.service-detail-card:nth-child(odd),
.testimonial-card:nth-child(odd),
.dedication-card:nth-child(odd) {
  border-radius:22px 8px 22px 8px;
}
.value-card:nth-child(even),
.service-detail-card:nth-child(even),
.testimonial-card:nth-child(even),
.dedication-card:nth-child(even) {
  border-radius:8px 22px 8px 22px;
}

.value-card:hover,
.service-detail-card:hover,
.testimonial-card:hover,
.dedication-card:hover {
  transform:translateY(-5px);
  border-color:#b7d5bf;
}

/* Blog cards: image-first magazine look. */
.blog-card {
  border:0 !important;
  border-radius:18px !important;
  overflow:hidden;
  background:#fff;
  box-shadow:0 8px 26px rgba(23,107,74,.08) !important;
}
.blog-card-thumb {
  position:relative;
  overflow:hidden;
}
.blog-card-thumb img {
  transition:transform .5s ease;
}
.blog-card:hover .blog-card-thumb img { transform:scale(1.055); }
.blog-card-body { padding:1.35rem 1.4rem 1.5rem; }
.blog-card-tag {
  background:#e8f4eb !important;
  color:#176b4a !important;
  border-radius:999px !important;
}

/* Contact form and informational cards get a quieter split-panel appearance. */
.contact-form-card {
  border-radius:24px !important;
  border:1px solid #d9e8dd !important;
  box-shadow:0 14px 38px rgba(23,107,74,.09) !important;
}

/* Inner page hero: add a stronger visual identity without changing its content. */
.page-hero {
  background:#f0f7f2;
  padding:42px 0 38px;
  border-bottom:1px solid #dbe9df;
  overflow:hidden;
}
.page-hero::before {
  width:420px;
  height:420px;
  right:-180px;
  top:-260px;
  background:#dceee1;
}
.page-hero::after {
  display:none;
}
.page-hero h1 { color:#104c36; }
.page-hero p { color:#5d7469; }
.page-hero .breadcrumb { color:#6c8478; }
.page-hero .breadcrumb a { color:#176b4a; }

.blog-page-hero {
  background:#f0f7f2;
  border-bottom:1px solid #dbe9df;
}
.blog-page-hero h1 { color:#104c36; }
.blog-page-hero p { color:#5d7469; }
.blog-page-hero::after { background:#dceee1; }

@media (max-width: 900px) {
  .services-grid .service-card { margin:0 !important; transform:none !important; }
  .about-image-mosaic { height:440px; }
}

@media (max-width: 600px) {
  .about-image-mosaic { height:360px; }
  .about-image-mosaic .mosaic-img { border-width:4px; }
  .about-image-mosaic .mosaic-img-1 { width:72%; height:72%; left:0; top:0; }
  .about-image-mosaic .mosaic-img-2 { width:53%; height:45%; right:0; top:10%; }
  .about-image-mosaic .mosaic-img-3 { width:48%; height:38%; right:3%; bottom:0; }
  .mosaic-badge { left:4%; bottom:3%; }
}

/* ==========================================================
   FINAL POLISH — CARD CONSISTENCY + MOBILE RESPONSIVENESS
   ========================================================== */

/* Keep cards visually distinctive without awkward offsets. */
.service-card,
.value-card,
.service-detail-card,
.testimonial-card,
.dedication-card,
.why-stat-card,
.contact-form-card,
.blog-card {
  min-width: 0;
}

.service-card p,
.value-card p,
.service-detail-card p,
.testimonial-card p,
.dedication-card p,
.blog-card p {
  overflow-wrap: anywhere;
}

@media (min-width: 901px) {
  /* More balanced service composition: varied widths, but aligned and intentional. */
  .services-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: stretch;
  }
  .services-grid .service-card {
    min-height: 300px;
    margin-top: 0 !important;
    padding: 1.75rem;
  }
  .services-grid .service-card:nth-child(1) { grid-column: span 5; }
  .services-grid .service-card:nth-child(2) { grid-column: span 4; }
  .services-grid .service-card:nth-child(3) { grid-column: span 3; }
  .services-grid .service-card:nth-child(4) { grid-column: span 3; }
  .services-grid .service-card:nth-child(5) { grid-column: span 4; }
  .services-grid .service-card:nth-child(6) { grid-column: span 5; }

  .services-grid .service-card:nth-child(2),
  .services-grid .service-card:nth-child(5) {
    background: #f7fbf8;
  }

  .services-grid .service-card:nth-child(3),
  .services-grid .service-card:nth-child(4) {
    min-height: 270px;
  }

  .services-grid .service-card:hover,
  .services-grid .service-card:nth-child(2n):hover {
    transform: translateY(-6px);
  }
}

/* Prevent the asymmetric homepage image block from colliding with its text. */
@media (min-width: 769px) and (max-width: 1100px) {
  .about-preview-grid,
  .mission-grid,
  .why-grid {
    gap: 2.5rem;
  }
  .about-image-mosaic {
    height: 450px;
  }
  .mosaic-badge {
    left: 4%;
    bottom: 5%;
  }
}

@media (max-width: 768px) {
  /* Global mobile spacing */
  .container {
    width: min(100% - 2rem, 1180px);
  }

  .section {
    padding: 48px 0;
  }

  .section-title {
    line-height: 1.18;
  }

  /* Compact hero: keep it genuinely compact on phones. */
  .compact-hero,
  .compact-hero-inner {
    min-height: 0;
  }

  .compact-hero-inner {
    padding: 2.75rem 1rem 2.85rem;
    display: block;
  }

  .compact-hero-copy {
    max-width: 100%;
  }

  .compact-hero h1 {
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.08;
    margin-bottom: .75rem;
  }

  .compact-hero-copy p {
    font-size: .94rem;
    line-height: 1.55;
    margin-bottom: 1rem;
  }

  .compact-hero-actions {
    align-items: stretch;
    gap: .65rem;
  }

  .compact-hero-actions .btn {
    flex: 1 1 auto;
    text-align: center;
    min-height: 46px;
  }

  .compact-hero-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: .7rem .8rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 10px;
    background: rgba(255,255,255,.08);
  }

  /* About mosaic becomes a stable two-row composition instead of overlapping. */
  .about-image-mosaic {
    height: auto;
    min-height: 0;
    display: grid !important;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: 190px 150px;
    gap: 10px;
    margin-bottom: .5rem;
  }

  .about-image-mosaic .mosaic-img,
  .about-image-mosaic .mosaic-img-1,
  .about-image-mosaic .mosaic-img-2,
  .about-image-mosaic .mosaic-img-3 {
    position: relative !important;
    inset: auto !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 0;
    border: 0;
    border-radius: 16px !important;
    object-fit: cover;
  }

  .about-image-mosaic .mosaic-img-1 {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .about-image-mosaic .mosaic-img-2 {
    grid-column: 2;
    grid-row: 1;
  }

  .about-image-mosaic .mosaic-img-3 {
    grid-column: 2;
    grid-row: 2;
  }

  .mosaic-badge {
    left: 10px;
    bottom: 10px;
    padding: .65rem .75rem;
    border-radius: 10px;
  }

  .mosaic-badge-num {
    font-size: 1.15rem;
  }

  .mosaic-badge-text {
    font-size: .56rem;
  }

  /* Service cards: remove desktop offsets and make every card readable. */
  .services-grid,
  .services-list-grid,
  .dedication-grid,
  .testimonials-grid {
    width: 100%;
  }

  .services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .9rem;
  }

  .services-grid .service-card,
  .services-grid .service-card:nth-child(n) {
    grid-column: auto;
    min-height: 0;
    margin: 0 !important;
    transform: none !important;
    padding: 1.35rem;
    border-radius: 18px;
  }

  .services-grid .service-card:nth-child(even) {
    background: #f7fbf8;
  }

  .service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: .85rem;
  }

  .service-icon svg {
    width: 22px;
    height: 22px;
  }

  .service-card h3 {
    font-size: 1.08rem;
    margin-bottom: .4rem;
  }

  .service-card p {
    font-size: .88rem;
    line-height: 1.62;
  }

  /* Inner page cards */
  .mission-values {
    gap: .75rem;
  }

  .value-card,
  .service-detail-card,
  .testimonial-card,
  .dedication-card,
  .why-stat-card,
  .contact-form-card {
    border-radius: 16px !important;
  }

  .value-card:nth-child(odd),
  .value-card:nth-child(even),
  .service-detail-card:nth-child(odd),
  .service-detail-card:nth-child(even),
  .testimonial-card:nth-child(odd),
  .testimonial-card:nth-child(even),
  .dedication-card:nth-child(odd),
  .dedication-card:nth-child(even) {
    border-radius: 16px !important;
  }

  .dedication-card-img {
    height: 190px;
  }

  .dedication-card-body {
    padding: 1.2rem;
  }

  /* Prevent long page headings/breadcrumbs from causing horizontal overflow. */
  .page-hero,
  .blog-page-hero {
    padding-left: 0;
    padding-right: 0;
  }

  .page-hero h1,
  .page-hero p,
  .blog-page-hero h1,
  .blog-page-hero p {
    overflow-wrap: anywhere;
  }

  .breadcrumb {
    flex-wrap: wrap;
    row-gap: .25rem;
    padding: 0 .25rem;
  }

  /* Forms: comfortable tap targets and no squeezed controls. */
  .form-row {
    gap: .85rem;
  }

  input,
  select,
  textarea,
  button {
    max-width: 100%;
  }

  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Blog/gallery cards should never overflow the viewport. */
  .blog-card,
  .gallery-item {
    min-width: 0;
  }

  .blog-card-body {
    padding: 1.1rem 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, 1180px);
  }

  .compact-hero-inner {
    padding-left: .65rem;
    padding-right: .65rem;
  }

  .compact-hero-actions {
    flex-direction: column;
  }

  .compact-hero-actions .btn,
  .compact-hero-phone {
    width: 100%;
  }

  .about-image-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 155px 125px;
  }

  .mosaic-badge {
    display: none;
  }

  .services-grid .service-card {
    padding: 1.2rem;
  }

  .services-checklist-grid {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding-top: 36px;
    padding-bottom: 34px;
  }

  .page-hero h1,
  .blog-page-hero h1 {
    font-size: 2rem;
  }
}

/* Guard against any horizontal overflow introduced by decorative elements. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
