/* ========================================
   PestoTarget — Premium Pest Control LP
   ======================================== */

:root {
  --primary: #173F35;
  --secondary: #2E7D32;
  --accent: #F5B942;
  --dark: #13201D;
  --light: #F5F8F6;
  --white: #FFFFFF;
  --text: #24332F;
  --text-muted: #5A6B65;
  --border: #DCE6E1;
  --whatsapp: #25D366;
  --shadow-sm: 0 2px 8px rgba(19, 32, 29, 0.06);
  --shadow-md: 0 8px 24px rgba(19, 32, 29, 0.1);
  --shadow-lg: 0 16px 48px rgba(19, 32, 29, 0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --mobile-bar-h: 64px;
  --container: 1140px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  padding-top: var(--header-h);
  padding-bottom: 0;
}

/* Performance: defer off-screen section rendering */
.services,
.featured,
.why-us,
.service-area,
.how-it-works,
.property-types,
.testimonials,
.faqs,
.contact,
.site-footer {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}

@media (max-width: 899px) {
  body { padding-bottom: calc(var(--mobile-bar-h) + env(safe-area-inset-bottom, 0px)); }
}

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

picture {
  display: block;
  width: 100%;
  height: 100%;
}

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

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

ul, ol { list-style: none; }

address { font-style: normal; }

h1, h2, h3 {
  color: var(--dark);
  line-height: 1.25;
  font-weight: 700;
}

h1 { font-size: clamp(1.85rem, 4vw, 2.75rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -0.015em; }
h3 { font-size: 1.1rem; }

p { color: var(--text-muted); }

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--dark);
  padding: 0.75rem 1rem;
  z-index: 1000;
  font-weight: 600;
}

.skip-link:focus { left: 1rem; top: 1rem; }

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition), border-color var(--transition), color var(--transition);
  white-space: nowrap;
  min-height: 44px;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: #1f5245;
  color: var(--white);
  box-shadow: var(--shadow-md);
}

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

.btn-accent {
  background: var(--accent);
  color: var(--dark);
}
.btn-accent:hover {
  background: #f0a820;
  color: var(--dark);
}

.btn-whatsapp {
  background: var(--whatsapp);
  color: var(--white);
}
.btn-whatsapp:hover {
  background: #1ebe57;
  color: var(--white);
}

.btn-lg { padding: 0.9rem 1.6rem; font-size: 1rem; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; min-height: 40px; }
.btn-block { width: 100%; }
.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 10px;
  background: var(--light);
  color: var(--primary);
}
.btn-icon:hover { background: var(--primary); color: var(--white); }

/* ========== HEADER (fixed sticky navbar) ========== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: background var(--transition), box-shadow var(--transition), border-color var(--transition), backdrop-filter var(--transition);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-md);
  border-bottom-color: rgba(23, 63, 53, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--dark);
  font-weight: 700;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.logo:hover { color: var(--primary); }
.logo-mark { display: flex; }
.logo-light { color: var(--white); }

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 8px;
}
.nav-list a:hover,
.nav-list a:focus-visible { color: var(--primary); background: var(--light); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile-cta {
  display: none;
}

@media (max-width: 960px) {
  :root {
    --header-h: 64px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1rem;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }
  .nav-list a {
    padding: 0.85rem 1rem;
    font-size: 1rem;
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-mobile-cta {
    display: flex;
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
  }
  .nav-mobile-cta .btn {
    flex: 1;
    min-height: 48px;
  }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
  .logo-text { font-size: 1.05rem; }
  .logo-mark svg { width: 32px; height: 32px; }
}

@media (min-width: 961px) {
  .header-call { display: none; }
}

/* ========== HERO ========== */
.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3.5rem);
  background:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(46, 125, 50, 0.08), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(245, 185, 66, 0.12), transparent 50%),
    linear-gradient(180deg, var(--light) 0%, var(--white) 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  background: rgba(46, 125, 50, 0.1);
  color: var(--secondary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.hero-lead {
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
  max-width: 34rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.trust-points {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.trust-points svg { color: var(--secondary); flex-shrink: 0; }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 6;
  background: var(--primary);
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrap:hover img { transform: scale(1.04); }

.floating-card {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1rem 1.15rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.floating-card strong {
  display: block;
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.floating-card p {
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.45;
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 420px; margin-inline: auto; width: 100%; }
  .hero-image-wrap { aspect-ratio: 4 / 3; }
}

/* ========== TRUST BAR ========== */
.trust-bar {
  background: var(--primary);
  color: var(--white);
  padding: 1.25rem 0;
}

.trust-bar-title {
  text-align: center;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.trust-scroll {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .trust-scroll {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem;
    scrollbar-width: thin;
  }
  .trust-chip { flex-shrink: 0; }
}

/* ========== SECTIONS ========== */
.section {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-header {
  text-align: center;
  max-width: 36rem;
  margin: 0 auto 2.5rem;
}

.section-header p { margin-top: 0.75rem; }

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

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

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(46, 125, 50, 0.35);
}

.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}
.service-icon svg { width: 100%; height: 100%; }

.service-card h3 { margin-bottom: 0.5rem; }
.service-card p {
  font-size: 0.92rem;
  flex-grow: 1;
  margin-bottom: 1.15rem;
}

.service-actions {
  display: flex;
  align-items: center;
  margin-top: auto;
}

.link-more {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary);
}
.link-more:hover { color: var(--primary); text-decoration: underline; }

@media (max-width: 960px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ========== FEATURED ========== */
.featured {
  background: var(--light);
}

.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.featured-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  background: var(--primary);
}

.featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-media:hover img { transform: scale(1.03); }

.featured-content h2 { margin-bottom: 0.85rem; }
.featured-content > p { margin-bottom: 1.25rem; }

.checklist {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.75rem;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  font-weight: 500;
  color: var(--text);
  font-size: 0.95rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 1.1rem;
  height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M20 6L9 17l-5-5' stroke='%232E7D32' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

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

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

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

.feature-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.feature-card:hover {
  background: var(--white);
  border-color: var(--border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.feature-card h3 { margin-bottom: 0.45rem; }
.feature-card p { font-size: 0.92rem; }

@media (max-width: 800px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ========== SERVICE AREA ========== */
.service-area {
  background:
    linear-gradient(135deg, rgba(23, 63, 53, 0.03), rgba(46, 125, 50, 0.06)),
    var(--light);
}

.service-area-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

.service-area-content h2 { margin-bottom: 1rem; }
.service-area-content p { margin-bottom: 1rem; }
.service-area-content .btn { margin-top: 0.5rem; }

.location-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1rem;
}
.location-map svg { display: block; width: 100%; height: auto; }

.location-card h3 { margin-bottom: 0.5rem; font-size: 1.05rem; }
.location-card address {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.6;
}

@media (max-width: 800px) {
  .service-area-grid { grid-template-columns: 1fr; }
}

/* ========== HOW IT WORKS ========== */
.how-it-works { background: var(--white); }

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--border), var(--secondary), var(--border));
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  text-align: center;
  background: var(--white);
  padding: 0.5rem;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 0 6px var(--white), 0 0 0 8px var(--border);
}

.timeline-step h3 { margin-bottom: 0.4rem; font-size: 1.05rem; }
.timeline-step p { font-size: 0.9rem; }

@media (max-width: 800px) {
  .timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding-left: 1.5rem;
  }
  .timeline::before {
    top: 0;
    bottom: 0;
    left: 27px;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--secondary), var(--border));
  }
  .timeline-step {
    text-align: left;
    display: grid;
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    column-gap: 1rem;
    padding: 0 0 1.75rem;
  }
  .step-num {
    grid-row: 1 / 3;
    margin-bottom: 0;
    align-self: start;
  }
}

/* ========== PROPERTY TYPES ========== */
.property-types { background: var(--light); }

.property-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.property-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--primary);
}
.property-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.property-card:hover .property-image img { transform: scale(1.04); }

.property-body {
  padding: 1.5rem 1.6rem 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.property-body h2 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.property-body > p { margin-bottom: 1rem; font-size: 0.95rem; }

.property-body ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
  margin-bottom: 1.5rem;
}

.property-body li {
  position: relative;
  padding-left: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}
.property-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--secondary);
}

.property-body .btn { margin-top: auto; align-self: flex-start; }

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

/* ========== CTA BAND ========== */
.cta-band {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(46, 125, 50, 0.35), transparent 50%),
    linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  color: var(--white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  text-align: center;
}

.cta-band h2 { color: var(--white); margin-bottom: 0.65rem; }
.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.cta-band-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ========== TESTIMONIALS / PLACEHOLDER ========== */
.testimonials { background: var(--white); }

.placeholder-note {
  background: rgba(245, 185, 66, 0.15);
  border: 1px dashed rgba(245, 185, 66, 0.6);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
}

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

.placeholder-card {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: var(--light);
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.placeholder-card p {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}

@media (max-width: 760px) {
  .placeholder-cards { grid-template-columns: 1fr; }
}

/* ========== FAQ ========== */
.faqs { background: var(--light); }

.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.faq-item:focus-within,
.faq-item.is-open { box-shadow: var(--shadow-sm); }

.faq-item h3 { font-size: inherit; font-weight: inherit; margin: 0; }

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  min-height: 52px;
}

.faq-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--light);
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--primary);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.faq-icon::before { width: 10px; height: 2px; }
.faq-icon::after { width: 2px; height: 10px; transition: opacity var(--transition); }
.faq-trigger[aria-expanded="true"] .faq-icon::after { opacity: 0; }
.faq-trigger[aria-expanded="true"] .faq-icon { background: rgba(46, 125, 50, 0.15); }

.faq-panel {
  padding: 0 1.25rem 1.15rem;
  overflow: hidden;
}
.faq-panel[hidden] { display: none; }
.faq-panel p { font-size: 0.95rem; }
.faq-panel a { font-weight: 600; }

/* ========== FINAL CTA ========== */
.final-cta {
  background:
    linear-gradient(160deg, var(--primary) 0%, #1a4d40 50%, var(--dark) 100%);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
  text-align: center;
}

.final-cta h2 { color: var(--white); margin-bottom: 0.65rem; }
.final-cta p { color: rgba(255, 255, 255, 0.85); margin-bottom: 1.5rem; }

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.final-phone a {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.15rem;
}
.final-phone a:hover { color: #ffc95a; }
.final-phone { margin: 0; }

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

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

.contact-info h2 { margin-bottom: 1rem; }
.contact-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.contact-info address {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.contact-info p { margin-bottom: 0.5rem; color: var(--text); }
.contact-info strong { color: var(--dark); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.contact-form-wrap {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-wrap h3 { margin-bottom: 0.35rem; }
.contact-form-wrap > p { margin-bottom: 1.25rem; font-size: 0.92rem; }

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

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.15);
}

.form-group.is-invalid input,
.form-group.is-invalid select,
.form-group.is-invalid textarea {
  border-color: #c62828;
}

.error-msg {
  display: block;
  min-height: 1.1em;
  font-size: 0.8rem;
  color: #c62828;
  margin-top: 0.3rem;
}

.form-success {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: rgba(46, 125, 50, 0.12);
  color: var(--primary);
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.92rem;
}

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

/* ========== FOOTER ========== */
.site-footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 50% at 10% 20%, rgba(46, 125, 50, 0.22), transparent 55%),
    radial-gradient(ellipse 45% 40% at 90% 80%, rgba(245, 185, 66, 0.1), transparent 50%),
    linear-gradient(165deg, #16352e 0%, var(--dark) 45%, #0e1816 100%);
  color: rgba(255, 255, 255, 0.8);
  padding-top: 0;
  overflow: hidden;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent), var(--secondary));
}

.footer-top {
  padding-top: 2.5rem;
  padding-bottom: 0.5rem;
}

.footer-cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.footer-cta-label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.2rem;
}

.footer-cta-title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  font-weight: 700;
  color: var(--white);
}

.footer-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.35fr 1.25fr;
  gap: 2.25rem;
  padding: 2.5rem 0 3rem;
}

.footer-brand .logo {
  margin-bottom: 0.85rem;
  font-size: 1.35rem;
}

.footer-brand p {
  margin-top: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  max-width: 19rem;
  line-height: 1.65;
}

.footer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.footer-pills span {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(46, 125, 50, 0.25);
  border: 1px solid rgba(245, 185, 66, 0.25);
}

.footer-col h3 {
  position: relative;
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
  padding-bottom: 0.65rem;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.55rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.88rem;
  transition: color var(--transition), padding-left var(--transition);
}

.footer-col li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-services {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 1rem !important;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-bottom: 0.85rem;
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.92rem !important;
}

.footer-contact-item:hover {
  color: var(--accent) !important;
  padding-left: 0 !important;
}

.footer-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: rgba(245, 185, 66, 0.12);
  color: var(--accent);
  border: 1px solid rgba(245, 185, 66, 0.2);
}

.footer-address-card {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  margin-top: 0.35rem;
  padding: 0.9rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-address-card address {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.15rem 0;
  background: rgba(0, 0, 0, 0.2);
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

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

.footer-credit a {
  color: var(--accent);
  font-weight: 600;
}
.footer-credit a:hover {
  color: #ffc95a;
  text-decoration: underline;
}

.footer-bottom-tag {
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(46, 125, 50, 0.2);
  border: 1px solid rgba(46, 125, 50, 0.35);
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  font-size: 0.8rem !important;
}

@media (max-width: 960px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  .footer-cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.15rem;
  }
  .footer-cta-actions { width: 100%; }
  .footer-cta-actions .btn { flex: 1; min-width: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-services { grid-template-columns: 1fr !important; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
}

/* ========== MOBILE ACTION BAR ========== */
.mobile-action-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  padding-bottom: calc(0.5rem + env(safe-area-inset-bottom, 0px));
  gap: 0.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.mobile-action {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--white);
}

.mobile-action.call { background: var(--accent); color: var(--dark); }
.mobile-action.call:hover { background: #f0a820; color: var(--dark); }
.mobile-action.whatsapp { background: var(--whatsapp); }
.mobile-action.whatsapp:hover { background: #1ebe57; color: var(--white); }

@media (max-width: 899px) {
  .mobile-action-bar { display: flex; }
  .float-actions { display: none !important; }
}

/* ========== DESKTOP FLOATING ========== */
.float-actions {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.float-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--white);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.float-btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: var(--shadow-lg);
  color: var(--white);
}

.float-call { background: var(--primary); }
.float-wa { background: var(--whatsapp); }

@media (max-width: 899px) {
  .float-actions { display: none; }
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ========== MOBILE OPTIMIZATIONS ========== */
html {
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  min-width: 0;
}

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

  .section {
    padding: 2.75rem 0;
  }

  .section-header {
    margin-bottom: 1.75rem;
  }

  .hero {
    padding: 1.75rem 0 1.5rem;
  }

  .hero-media {
    max-width: 100%;
  }

  .badge {
    font-size: 0.72rem;
    line-height: 1.4;
    padding: 0.35rem 0.7rem;
  }

  .hero-lead {
    font-size: 0.98rem;
  }

  .hero-ctas,
  .cta-band-actions,
  .final-cta-actions,
  .footer-cta-actions,
  .contact-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-ctas .btn,
  .cta-band-actions .btn,
  .final-cta-actions .btn,
  .footer-cta-actions .btn,
  .contact-actions .btn,
  .featured-content .btn,
  .property-body .btn,
  .service-area-content .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn {
    white-space: normal;
    line-height: 1.35;
  }

  .floating-card {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    padding: 0.75rem 0.85rem;
  }

  .floating-card strong { font-size: 0.92rem; }
  .floating-card p { font-size: 0.78rem; }

  .service-card {
    padding: 1.15rem;
  }

  .property-body {
    padding: 1.15rem 1.15rem 1.35rem;
  }

  .property-body ul {
    grid-template-columns: 1fr;
  }

  .contact-form-wrap {
    padding: 1.25rem;
  }

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

  .faq-trigger {
    font-size: 0.95rem;
    padding: 1rem;
  }

  .footer-top {
    padding-top: 1.75rem;
  }

  .footer-grid {
    padding: 1.75rem 0 2rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .mobile-action {
    font-size: 0.88rem;
    min-height: 50px;
  }

  .contact {
    padding-bottom: 1.5rem;
  }

  .trust-scroll {
    margin-inline: -0.25rem;
    padding-inline: 0.25rem;
  }
}

@media (max-width: 380px) {
  h1 { font-size: 1.65rem; }
  .trust-points li { font-size: 0.88rem; }
  .logo-text { font-size: 0.98rem; }
}
