/*
Theme Name: Mearns Energy Solutions
Theme URI: https://mearnsenergysolutions.co.uk
Author: Mearns Energy Solutions Ltd.
Author URI: https://mearnsenergysolutions.co.uk
Description: Professional heating, plumbing and renewable energy services theme for Mearns Energy Solutions Ltd.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mearns-energy
Tags: business, services, energy, green, clean
*/

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:        #2d7a4a;
  --primary-dark:   #235f3a;
  --primary-light:  #e8f5ee;
  --text:           #1f2b23;
  --text-muted:     #5c7263;
  --bg:             #ffffff;
  --bg-muted:       #f3f9f5;
  --bg-secondary:   #e8f5ee;
  --border:         #d1e8da;
  --white:          #ffffff;
  --shadow:         0 4px 24px -4px rgba(45,122,74,0.13);
  --shadow-sm:      0 2px 8px -2px rgba(45,122,74,0.10);
  --radius:         0.5rem;
  --radius-lg:      1rem;
  --radius-xl:      1.5rem;
  --max-w:          80rem;
  --transition:     0.2s ease;
}

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

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
.h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
.h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.text-muted { color: var(--text-muted); }
.text-lg { font-size: 1.125rem; line-height: 1.7; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.section { padding-block: clamp(4rem, 8vw, 6rem); }
.section-sm { padding-block: clamp(2.5rem, 5vw, 4rem); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.gap-4 { gap: 1rem; }

@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  box-shadow: 0 4px 14px -2px rgba(45,122,74,0.35);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(45,122,74,0.4);
}
.btn-outline {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
  backdrop-filter: blur(8px);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-dark {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline-dark:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-lg { padding: 0.875rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.btn-full { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--text);
}
.site-logo img {
  height: 2.5rem;
  width: auto;
  border-radius: 6px;
}
.site-logo .logo-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}
.site-logo .logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.main-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  text-decoration: none;
}
.main-nav a:hover,
.main-nav a.current { color: var(--primary); }
.main-nav .btn { margin-left: 0.5rem; }

/* Mobile hamburger */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: var(--text);
}
.menu-toggle svg { display: block; }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--border);
  padding: 1rem;
}
.mobile-nav a {
  display: block;
  padding: 0.6rem 0.5rem;
  font-weight: 500;
  color: var(--text);
  transition: color var(--transition);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--primary); }
.mobile-nav .btn { margin-top: 0.75rem; }
.mobile-nav.is-open { display: block; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .menu-toggle { display: block; }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: #1a3d28;
}
.hero-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(20, 80, 45, 0.85) 0%,
    rgba(26, 90, 55, 0.7) 50%,
    rgba(15, 60, 35, 0.8) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 56rem;
  padding: 5rem 2rem 4rem;
  color: var(--white);
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 99px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.95);
  margin-bottom: 1.75rem;
}
.hero-badge .leaf-icon {
  color: #4ade80;
  font-size: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  letter-spacing: -0.03em;
}
.hero h1 .accent { color: #4ade80; }
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.88);
  max-width: 36rem;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, rgba(45,122,74,0.07) 0%, #fff 50%, rgba(45,122,74,0.05) 100%);
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 40rem;
  line-height: 1.7;
}

/* ============================================================
   SERVICE CARDS GRID
   ============================================================ */
.services-section { background: var(--bg); }
.section-header { margin-bottom: 3.5rem; }
.section-header h2 { margin-bottom: 0.75rem; }
.section-header p { color: var(--text-muted); max-width: 38rem; margin: 0 auto; font-size: 1.05rem; line-height: 1.7; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px)  { .services-grid { grid-template-columns: 1fr; } }

.service-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px -8px rgba(45,122,74,0.2);
}
.service-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-muted);
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body { padding: 1.5rem; flex: 1; }
.service-card-body h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.service-card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary);
}
.service-card-link:hover { gap: 0.5rem; }

/* ============================================================
   TESTIMONIALS SECTION
   ============================================================ */
.testimonials-section { background: var(--bg-muted); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 640px) { .testimonials-grid { grid-template-columns: 1fr; } }

.testimonial-card {
  background: var(--bg);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.testimonial-stars span { color: #f59e0b; font-size: 1.1rem; }
.testimonial-text {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { font-weight: 700; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
@media (max-width: 900px)  { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .values-grid { grid-template-columns: 1fr; } }

.value-card { text-align: center; padding: 1.5rem 1rem; }
.value-icon {
  width: 4rem;
  height: 4rem;
  background: var(--primary-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.75rem;
}
.value-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

.mission-block {
  background: var(--primary-light);
  border-left: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-block: 3rem;
  max-width: 50rem;
  margin-inline: auto;
}
.mission-block p { font-size: 1.05rem; line-height: 1.8; color: var(--text); }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-icon {
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--primary);
}
.contact-info-label { font-weight: 600; font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-info-value { font-size: 0.875rem; color: var(--text-muted); }
.contact-info-value a { color: var(--primary); }

.social-links { display: flex; gap: 0.75rem; margin-top: 0.75rem; flex-wrap: wrap; }
.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--text-muted);
  font-size: 1.1rem;
  text-decoration: none;
}
.social-link:hover { background: var(--primary); border-color: var(--primary); color: var(--white); }

/* WordPress CF7 / Contact Form Styles */
.wpcf7-form { }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-group input,
.form-group textarea,
.form-group select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
  outline: none;
  display: block;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.wpcf7-form input:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,122,74,0.12);
}
.wpcf7-form textarea { min-height: 9rem; resize: vertical; }
.wpcf7-submit,
.form-submit-btn {
  width: 100%;
  padding: 0.875rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  font-family: inherit;
}
.wpcf7-submit:hover,
.form-submit-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.wpcf7-not-valid-tip { color: #dc2626; font-size: 0.8rem; margin-top: 0.25rem; }
.wpcf7-mail-sent-ok { color: var(--primary); background: var(--primary-light); padding: 1rem; border-radius: var(--radius); margin-top: 1rem; }
.wpcf7-mail-sent-ng { color: #dc2626; background: #fef2f2; padding: 1rem; border-radius: var(--radius); margin-top: 1rem; }
.wpcf7 form .wpcf7-response-output { border: none !important; padding: 0 !important; }
.wpcf7 .ajax-loader { display: none; }

/* ============================================================
   SERVICE DETAIL PAGE
   ============================================================ */
.service-detail-content { display: grid; grid-template-columns: 3fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 1024px) { .service-detail-content { grid-template-columns: 1fr; } }

.service-detail-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  margin-bottom: 2.5rem;
}
.service-detail-image img { width: 100%; height: 100%; object-fit: cover; }

.service-benefits { margin-bottom: 2.5rem; }
.service-benefits h3 { font-size: 1.2rem; margin-bottom: 1rem; }
.benefits-list { display: flex; flex-direction: column; gap: 0.6rem; }
.benefits-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9375rem;
  color: var(--text);
}
.benefits-list li::before {
  content: '';
  width: 1.1rem;
  height: 1.1rem;
  min-width: 1.1rem;
  background: var(--primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414L8.414 15l-4.121-4.121a1 1 0 011.414-1.414L8.414 12.172l7.879-7.879a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 0.75rem;
  background-position: center;
  background-repeat: no-repeat;
}

.service-sidebar {
  position: sticky;
  top: 6rem;
}
.sidebar-cta {
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}
.sidebar-cta h3 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.sidebar-cta p { font-size: 0.9rem; opacity: 0.88; margin-bottom: 1.5rem; line-height: 1.6; }
.sidebar-cta .btn {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  width: 100%;
  justify-content: center;
  font-weight: 700;
}
.sidebar-cta .btn:hover { background: var(--bg-muted); }
.sidebar-certifications {
  background: var(--bg-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}
.sidebar-certifications h4 { font-size: 0.95rem; margin-bottom: 0.75rem; }
.cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}
.cert-dot { width: 0.5rem; height: 0.5rem; background: var(--primary); border-radius: 50%; min-width: 0.5rem; }

/* Related Services */
.related-services { background: var(--bg-muted); }
.related-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
@media (max-width: 768px) { .related-services-grid { grid-template-columns: 1fr; } }
.related-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  text-decoration: none;
  color: var(--text);
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.related-card:hover { border-color: var(--primary); box-shadow: 0 8px 24px -4px rgba(45,122,74,0.15); transform: translateY(-2px); }
.related-card h4 { font-size: 1rem; color: var(--text); }
.related-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }
.related-card-arrow { color: var(--primary); font-size: 0.875rem; font-weight: 700; margin-top: auto; padding-top: 0.5rem; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--bg-muted);
  border-radius: var(--radius-lg);
  border-left: 3px solid var(--primary);
}
.process-step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  min-width: 2rem;
}
.process-step h4 { font-size: 0.95rem; margin-bottom: 0.25rem; }
.process-step p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #1a2e21;
  color: rgba(255,255,255,0.85);
  padding-top: 3.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}
@media (max-width: 900px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--white);
}
.footer-brand .footer-logo img { height: 2.25rem; width: auto; border-radius: 6px; }
.footer-brand .footer-logo .logo-name { font-weight: 700; font-size: 1rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; opacity: 0.75; }

.footer-heading { font-size: 0.875rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; text-transform: uppercase; letter-spacing: 0.08em; }

.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  text-decoration: none;
}
.footer-links a:hover { color: #4ade80; }

.footer-cert-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}
.footer-cert-dot { width: 0.45rem; height: 0.45rem; background: #4ade80; border-radius: 50%; }

.footer-contact-item {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.65rem;
}
.footer-contact-icon { margin-top: 0.1rem; opacity: 0.8; font-size: 0.9rem; }
.footer-contact-item a { color: rgba(255,255,255,0.65); }
.footer-contact-item a:hover { color: #4ade80; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-text { font-size: 0.8rem; color: rgba(255,255,255,0.45); }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: all var(--transition);
  text-decoration: none;
}
.footer-social a:hover { background: #4ade80; color: #1a2e21; }

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--primary);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.cta-strip h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 0.75rem; color: var(--white); }
.cta-strip p { opacity: 0.88; margin-bottom: 2rem; max-width: 36rem; margin-inline: auto; font-size: 1.05rem; line-height: 1.7; margin-bottom: 2rem; }
.cta-strip .btn {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.cta-strip .btn:hover { background: var(--bg-muted); transform: translateY(-2px); }

/* ============================================================
   MISC / UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.wp-block-image { margin-block: 1.5rem; }
.entry-content p { margin-bottom: 1rem; }
.entry-content h2, .entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.entry-content li { margin-bottom: 0.3rem; }

/* Map embed */
.map-embed {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--bg-muted);
  border: 1px solid var(--border);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* Scroll-top */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 2.75rem;
  height: 2.75rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 200;
  box-shadow: 0 4px 14px rgba(45,122,74,0.35);
  transition: all var(--transition);
}
#scroll-top.visible { display: flex; }
#scroll-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* Certifications bar */
.cert-bar {
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.cert-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.cert-bar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}
.cert-bar-item span { font-size: 1.25rem; }

/* WhatsApp floating button */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem;
  right: 2rem;
  width: 3rem;
  height: 3rem;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 200;
  box-shadow: 0 4px 14px rgba(37,211,102,0.4);
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 1.6rem; height: 1.6rem; fill: white; }
