/* ==================== SELF-HOSTED FONTS ==================== */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/PlusJakartaSans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('/assets/fonts/PlusJakartaSans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==================== CSS VARIABLES ==================== */
:root {
  --primary: #053C33;
  --primary-light: #1B4D3E;
  --primary-dark: #032820;
  --secondary: #8B7355;
  --accent: #B7F37B;
  --accent-hover: #A3E065;
  --accent-bg: rgba(183, 243, 123, 0.12);
  --accent-bg-strong: rgba(183, 243, 123, 0.18);
  --light: #F7F9F9;
  --light-warm: #EEF4F0;
  --dark: #1A1A1A;
  --gray: #6B7280;
  --gray-light: #E5E7EB;
  --white: #FFFFFF;
  --shadow: 0 2px 8px -2px rgba(0,0,0,0.06), 0 1px 3px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 8px 24px -8px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 40px -12px rgba(0,0,0,0.12);
  --radius: 14px;
  --radius-lg: 16px;
  --transition: all 0.25s ease;
  --border-light: #E8ECE9;
  --border: #E5E7EB;
  --text-secondary: #6B7280;
  --text: #1A1A1A;
  --bg-light: #F0F7F2;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  line-height: 1.5;
  color: var(--dark);
  background: #FBFCFE;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul {
  list-style: none;
}

/* ==================== LUCIDE ICONS ==================== */
.lucide {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 24px; height: 24px; }
.icon-lg { width: 32px; height: 32px; }
.icon-xl { width: 40px; height: 40px; }

/* ==================== UTILITIES ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-wide {
  max-width: 100%;
  padding: 0 40px;
}

.section {
  padding: 120px 0;
}

.section-light {
  background: var(--light);
}

.section-dark {
  background: var(--primary-dark);
  color: var(--white);
}

.section-dark-header,
.services-dark-header {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 100px;
  text-align: center;
}

.section-dark-header h2,
.services-dark-header h2 {
  color: var(--white);
}

.section-dark-header .eyebrow,
.services-dark-header .eyebrow {
  color: var(--accent);
}

.section-dark-header .eyebrow::after,
.services-dark-header .eyebrow::after {
  background: var(--accent);
}

.section-dark-header .subtitle,
.services-dark-header .subtitle {
  color: rgba(255,255,255,0.75);
}

.text-center { text-align: center; }
.text-accent { color: var(--accent); }

/* On dark backgrounds accent is fine; on light backgrounds use darker green */
.hero .text-accent,
.section-dark .text-accent { color: var(--accent); }

/* ==================== TYPOGRAPHY ==================== */
h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
}

.section-dark h1,
.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.hero-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0;
}

.subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 620px;
  line-height: 1.6;
}

.eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary);
  margin-bottom: 10px;
  display: inline-block;
  position: relative;
  padding-bottom: 8px;
}

.eyebrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='4' viewBox='0 0 40 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 2c5 0 5-2 10-2s5 2 10 2 5-2 10-2 5 2 10 2' fill='none' stroke='%236FCF17' stroke-width='2'/%3E%3C/svg%3E");
  background-size: 40px 4px;
  background-repeat: repeat-x;
  background-color: transparent;
}

/* Eyebrow on dark backgrounds */
.section-dark .eyebrow,
.hero .eyebrow,
.cta-banner .eyebrow {
  color: var(--accent);
}

.section-dark .eyebrow::after,
.hero .eyebrow::after,
.cta-banner .eyebrow::after {
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='4' viewBox='0 0 40 4' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 2c5 0 5-2 10-2s5 2 10 2 5-2 10-2 5 2 10 2' fill='none' stroke='%236FCF17' stroke-width='2'/%3E%3C/svg%3E");
  background-color: transparent;
}

/* ==================== BUTTONS ==================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  filter: brightness(1.08);
  box-shadow: var(--shadow-lg);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border: 2px solid var(--primary-dark);
}

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

/* Outline on dark backgrounds: white */
.hero .btn-outline,
.cta-banner .btn-outline,
.section-dark .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.hero .btn-outline:hover,
.cta-banner .btn-outline:hover,
.section-dark .btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}

/* Accent outline for header CTA on dark bg */
.btn-accent-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-accent-outline:hover {
  background: var(--accent);
  color: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

/* ==================== TOP BAR ==================== */
.top-bar {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 10px 0;
  font-size: 0.875rem;
}

.top-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.top-bar-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-contact a,
.top-bar-contact span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-dark);
  font-weight: 500;
}

.top-bar-contact a:hover { color: var(--primary); }
.top-bar-contact .lucide { width: 16px; height: 16px; }

.top-bar svg {
  color: var(--primary-dark);
}

/* ==================== HEADER ==================== */
.header {
  background: var(--primary);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: none;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 36px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.logo span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 8px 0;
}

.nav a:hover {
  color: var(--white);
}

.nav a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

.nav a:hover::after { width: 100%; }

.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.phone-link:hover { color: var(--accent); }

.phone-link svg {
  color: var(--accent);
}

/* Header CTA button: accent outline on dark header */
.header .btn-primary,
.header .header-cta .btn {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.header .btn-primary:hover,
.header .header-cta .btn:hover {
  background: var(--accent);
  color: var(--primary-dark);
  filter: none;
  box-shadow: none;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--white);
}

.mobile-nav {
  display: none;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: var(--shadow);
  padding: 16px 0 24px;
}

.mobile-nav.active { display: block; }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  border-radius: 8px;
}

.mobile-nav a:hover {
  background: rgba(255,255,255,0.08);
  color: var(--accent);
}

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

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
}

.hero-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 36px;
  margin-top: 48px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

/* Accent color for stats on dark backgrounds only */
.hero .stat-number,
.section-dark .stat-number {
  color: var(--accent);
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  font-weight: 500;
}

.hero-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 24px 48px -12px rgba(0,0,0,0.18);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-light);
}

.hero-card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-feature-icon {
  width: 30px;
  height: 30px;
  background: rgba(27, 77, 62, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* ==================== TRUST BAR ==================== */
.trust-bar {
  background: var(--light);
  padding: 28px 0;
  border-bottom: 1px solid var(--gray-light);
}

.trust-bar-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary-dark);
}

.trust-item .lucide { color: var(--accent); }

/* ==================== CARDS & GRIDS ==================== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.link-inline:hover { color: var(--accent); }
.link-inline:hover .lucide { transform: translateX(4px); }

/* Card link spacing */
.card .link-inline {
  margin-top: 18px;
}

/* Services header subtitle spacing */
.section .subtitle {
  margin-bottom: 40px;
}

/* ==================== ACTION BANNER ==================== */
.action-banner {
  background: var(--light-warm);
  border: 1px solid rgba(139, 115, 85, 0.2);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: var(--shadow);
}

.action-badge {
  background: var(--accent);
  color: var(--primary-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

/* ==================== PROCESS ==================== */
.process-section {
  background: var(--primary-dark);
  color: var(--white);
}

.process-section h2,
.process-section .eyebrow {
  color: var(--white);
}

.process-section .eyebrow {
  color: var(--accent);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}

.process-card {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: left;
  position: relative;
  color: var(--dark);
}

.process-card h3 {
  color: var(--dark);
}

.process-card p {
  color: var(--gray);
}

.process-card::after {
  display: none;
}

.process-number {
  display: inline-block;
  background: var(--accent);
  border-radius: var(--radius);
  padding: 4px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 18px;
}

/* Process step checklist items */
.process-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.process-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.95rem;
  color: var(--gray);
}

.process-checklist li::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231B4D3E' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

/* ==================== CTA BANNER ==================== */
.cta-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 80px 0;
}

.cta-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  color: var(--white);
  margin-bottom: 8px;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
}

.cta-text p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  max-width: 500px;
}

.cta-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  padding: 16px 32px;
  border-radius: var(--radius);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.cta-phone:hover { transform: scale(1.03); }

/* ==================== TESTIMONIALS ==================== */
.testimonials-section { overflow: hidden; }

.testimonials-wrapper {
  margin-top: 48px;
  position: relative;
}

/* Scrolling carousel track (original) */
.testimonials-track {
  display: flex;
  gap: 24px;
  animation: scroll 32s linear infinite;
}

.testimonials-track:hover { animation-play-state: paused; }

@keyframes scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Static grid layout option */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-light);
  box-shadow: var(--shadow);
  min-width: 320px;
  max-width: 380px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

/* When in grid, allow cards to fill */
.testimonials-grid .testimonial-card {
  min-width: auto;
  max-width: none;
}

.testimonial-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: #F59E0B;
}

.testimonial-stars .lucide {
  width: 18px;
  height: 18px;
  fill: #F59E0B;
}

.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--gray);
  background: var(--light);
  padding: 4px 10px;
  border-radius: 999px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.testimonial-date {
  font-size: 0.8rem;
  color: var(--gray);
}

/* ==================== FAQ ==================== */
/* Default centered layout */
.faq-grid {
  max-width: 820px;
  margin: 40px auto 0;
}

/* Split layout: heading left, accordion right */
.faq-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-top: 0;
}

.faq-split-heading {
  position: sticky;
  top: 120px;
}

.faq-split-heading h2 {
  margin-bottom: 16px;
}

.faq-split-heading p {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.7;
}

.faq-split-items .faq-item {
  background: var(--light);
  border-radius: 16px;
  padding: 0;
  margin-bottom: 12px;
  border: none;
  overflow: hidden;
}

.faq-split-items .faq-question {
  padding: 20px 24px;
}

.faq-split-items .faq-answer p {
  padding: 0 24px 20px;
}

.faq-item { border-bottom: 1px solid var(--gray-light); }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--dark);
  gap: 16px;
}

.faq-icon {
  transition: var(--transition);
  flex-shrink: 0;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer p { padding-bottom: 20px; color: var(--gray); line-height: 1.7; }

.faq-item.active .faq-answer { max-height: 300px; }
.faq-item.active .faq-icon { transform: rotate(45deg); }

/* ==================== FORMS ==================== */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

label { font-weight: 600; font-size: 0.9rem; }

input, textarea, select {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-light);
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--light);
  color: var(--dark);
  transition: var(--transition);
}

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

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27, 77, 62, 0.12);
  background: var(--white);
}

.contact-details {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-details .footer-contact-item {
  color: var(--dark);
}

.contact-details .footer-contact-item a {
  color: var(--primary);
  font-weight: 600;
}

/* ==================== BEFORE/AFTER ==================== */
.before-after-section {
  background: var(--light);
}

.before-after {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  max-width: 960px;
  margin: 24px auto 0;
  --pos: 50%;
  width: 100%;
}

.before-after .after {
  position: absolute;
  inset: 0;
  overflow: hidden;
  clip-path: inset(0 calc(100% - var(--pos)) 0 0);
}

.before-after > img {
  display: block;
  width: 100%;
  height: auto;
}

.before-after .after img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.before-after input[type="range"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
}

.before-after .handle {
  position: absolute;
  top: 0;
  left: var(--pos);
  height: 100%;
  width: 2px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.before-after .handle::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-light);
}

.before-after .handle::after {
  content: "<>";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-size: 1rem;
  font-weight: 700;
}

.before-after-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 10px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  color: rgba(255,255,255,0.65);
  margin: 18px 0;
  max-width: 300px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.footer-social a:hover { background: var(--accent); color: var(--primary-dark); }

.footer h4 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer .logo img {
  height: 36px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}
.footer-links a:hover { color: var(--accent); }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
}

/* Footer subscribe card */
.footer-subscribe {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  margin-top: 20px;
  color: var(--primary-dark);
}

.footer-subscribe p {
  color: var(--primary-dark);
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-subscribe-form {
  display: flex;
  gap: 8px;
}

.footer-subscribe-form input {
  flex: 1;
  padding: 10px 14px;
  border-radius: var(--radius);
  border: none;
  font-size: 0.9rem;
  background: rgba(255,255,255,0.9);
}

.footer-subscribe-form button {
  padding: 10px 18px;
  border-radius: var(--radius);
  border: none;
  background: var(--primary-dark);
  color: var(--white);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-subscribe-form button:hover {
  background: var(--primary);
}

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

.footer-bottom-links {
  display: flex;
  gap: 18px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
}

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

/* ==================== SUBPAGES ==================== */
.page-hero {
  background: var(--light);
  padding: 60px 0;
  border-bottom: 1px solid var(--gray-light);
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 12px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
}

.breadcrumbs li:not(:last-child)::after {
  content: "\00B7";
  margin: 0 8px;
}

.breadcrumbs a {
  color: var(--gray);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--accent);
}

.split-section {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.map-embed {
  width: 100%;
  min-height: 320px;
  border: none;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; }
  .hero-text p { margin: 0 auto 36px; }
  .hero-buttons, .hero-stats { justify-content: center; }
  .hero-card { max-width: 460px; margin: 0 auto; }
  .process-grid { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
  .process-card::after { display: none; }
  .split-section { grid-template-columns: 1fr; }
  .action-banner { flex-direction: column; align-items: flex-start; }
  .faq-split { grid-template-columns: 1fr; gap: 32px; }
  .faq-split-heading { position: static; }
}

@media (max-width: 860px) {
  .nav, .header-cta { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .header-inner { justify-content: space-between; }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-content { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .testimonials-track { animation-duration: 40s; }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .action-banner { align-items: center; text-align: center; }
  .action-banner .btn { width: 100%; max-width: 320px; }
  .hero { padding: 70px 0 80px; }
  .cta-banner { padding: 60px 0; }
}

@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .container-wide { padding: 0 16px; }
  .top-bar-contact { flex-direction: column; gap: 8px; align-items: center; }
  .hero-buttons { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .testimonial-card { min-width: 260px; }
  .hero-stats { gap: 16px; }
  .stat-number { font-size: 2rem; }
  .hero { padding: 50px 0 60px; }
}

/* Hide top bar on mobile - use sticky CTA bar instead */
@media (max-width: 860px) {
  .top-bar { display: none; }
  .page-hero h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); hyphens: auto; word-break: break-word; }
}

/* ==================== CONSENT BANNER ==================== */
#consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--primary-dark);
  color: var(--white);
  padding: 16px 24px;
  z-index: 9999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.consent-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.consent-text {
  flex: 1;
  min-width: 280px;
}

.consent-text strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.consent-text p {
  font-size: 0.9rem;
  margin: 0;
  opacity: 0.9;
}

.consent-text a {
  color: var(--accent);
  text-decoration: underline;
}

.consent-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.consent-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.consent-btn-primary {
  background: var(--accent);
  color: var(--primary-dark);
}

.consent-btn-primary:hover {
  background: var(--accent-hover);
}

.consent-btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.3);
}

.consent-btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

@media (max-width: 600px) {
  .consent-content {
    flex-direction: column;
    text-align: center;
  }
  .consent-buttons {
    width: 100%;
    justify-content: center;
  }
}

/* ==================== STICKY MOBILE CTA ==================== */
#sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  z-index: 9998;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.sticky-cta-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.sticky-cta-phone {
  background: var(--primary);
  color: var(--white);
}

.sticky-cta-phone:hover {
  background: var(--primary-dark);
}

.sticky-cta-whatsapp {
  background: #25D366;
  color: var(--white);
}

.sticky-cta-whatsapp:hover {
  background: #128C7E;
}

/* Add padding to body when sticky bar is visible */
@media (max-width: 768px) {
  body {
    padding-bottom: 60px;
  }

  #consent-banner {
    bottom: 56px;
  }
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
#whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  z-index: 9997;
  transition: var(--transition);
}

#whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

#whatsapp-float svg {
  width: 28px;
  height: 28px;
}
