:root {
  --accent: #28b41e;
  --accent-dark: #1e9416;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1f2933;
  background: #f5f7fa;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: transparent;
  color: #fff;
  padding: 1rem 1.5rem;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 100;
  transition: padding 0.3s ease, background 0.3s ease, border-radius 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, top 0.3s ease;
}

header.scrolled {
  padding: 0.6rem 1.5rem;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  box-shadow: 0 4px 22px rgba(0, 0, 0, 0.45);
  width: 1210px;
  left: 50%;
  transform: translateX(-50%);
  top: 10px;
}

header .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: border-radius 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, background 0.3s ease;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.03em;
  width: 280px;
}

nav a {
  font-size: 0.95rem;
  margin-left: 1rem;
  opacity: 0.9;
}

nav a:hover {
  opacity: 1;
  text-decoration: underline;
}

.header-cta {
  display: none;
}

.hero {
  background: #0a1f2e;
  color: #fff;
  padding: 4rem 1.5rem 3rem;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 25, 0.62);
  z-index: 1;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 2.8rem);
  margin-bottom: 0.5rem;
  color: #fff;
}

.hero h2 {
  font-size: 1.15rem;
  font-weight: 500;
  margin-top: 0;
  color: #9ecfdb;
}

.hero p {
  margin-top: 1rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.15s, transform 0.1s;
}

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

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-block {
  width: 100%;
}

.hero-phone {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
}

.hero-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 2rem;
  color: #fff;
}

.hero-card-eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 0.4rem;
}

.hero-card-phone {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

.hero-card-phone:hover {
  color: #9ecfdb;
}

.hero-card-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin: 1.25rem 0;
}

.hero-card-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.hero-card-feature::before {
  content: '✓';
  background: var(--accent);
  color: #fff;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.pill {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

main {
  flex: 1;
}

section {
  padding: 2.5rem 1.5rem;
}

section:nth-of-type(even) {
  background: #ffffff;
}

section:nth-of-type(odd) {
  background: #f5f7fa;
}

h3.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #102a43;
}

h3.section-title::after {
  content: '';
  display: block;
  width: 2.5rem;
  height: 3px;
  background: var(--accent);
  margin-top: 0.4rem;
  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: #62748a;
  margin-bottom: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border-top: 3px solid var(--accent);
}

.card h4 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: #102a43;
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card ul li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f0f4f8;
  font-size: 0.9rem;
}

.card ul li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
}

.card ul li:last-child {
  border-bottom: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.feature {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
}

.feature-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #102a43;
}

.feature p {
  margin: 0;
  color: #52606d;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.stat {
  background: #ffffff;
  border-radius: 0.9rem;
  padding: 1.2rem 1.3rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
  font-size: 0.9rem;
  border-top: 3px solid var(--accent);
}

.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.15rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #102a43;
  margin-bottom: 0.25rem;
}

.stat-text {
  font-size: 0.85rem;
  color: #7b8794;
}

.testimonial {
  background: #fff;
  border-radius: 1rem;
  padding: 1.75rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  border-left: 4px solid var(--accent);
  margin: 0;
}

.testimonial-stars {
  color: #f6c90e;
  font-size: 1rem;
  display: block;
  margin-bottom: 0.75rem;
}

.testimonial p {
  font-style: italic;
  color: #334e68;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.testimonial-author {
  font-weight: 600;
  font-size: 0.85rem;
  color: #102a43;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: flex-start;
}

form {
  display: grid;
  gap: 0.9rem;
}

.form-group {
  display: grid;
  gap: 0.2rem;
}

label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334e68;
  display: block;
  margin-bottom: 0.15rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #cbd2d9;
  font-family: inherit;
  font-size: 0.9rem;
}

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

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(11, 114, 133, 0.1);
}

.helper-text {
  font-size: 0.75rem;
  color: #9fb3c8;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #7b8794;
  margin-top: 0.5rem;
}

.checkbox-row input {
  width: auto;
  margin-top: 0.15rem;
}

.contact-details {
  font-size: 0.9rem;
  color: #52606d;
}

.contact-details h4 {
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #102a43;
}

.contact-item {
  margin-bottom: 1.25rem;
}

.contact-item .label {
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.2rem;
}

.contact-item a {
  font-size: 1rem;
  color: #102a43;
  font-weight: 500;
  text-decoration: underline;
}

.contact-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #25d366;
  color: #fff;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 0.75rem;
  text-decoration: none;
}

.contact-whatsapp:hover {
  background: #1ebe5d;
}

footer {
  background: #000;
  color: rgba(255, 255, 255, 0.5);
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

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

.footer-left {
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
}

.footer-left strong {
  color: #fff;
  display: block;
  margin-bottom: 0.15rem;
}

.footer-right {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

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

.footer-right a:hover {
  color: var(--accent-dark);
}

@media (max-width: 800px) {
  .hero-inner,
  .grid-2,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  nav {
    display: none;
  }

  .logo {
    width: 168px;
  }

  header .container {
    justify-content: space-between;
  }

  .header-cta {
    display: flex;
  }

  header.scrolled {
    width: 95%;
    left: 50%;
    transform: translateX(-50%);
  }

  .hero-card {
    display: none;
  }

  body {
    padding-bottom: 4.5rem;
  }
}

/* Google badge */
.google-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  margin-bottom: 0.9rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
}

.google-badge-stars {
  color: #f6c90e;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

/* Before/after */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.ba-card {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  background: #fff;
}

.ba-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 200px;
}

.ba-image {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 0.6rem;
}

.ba-before {
  background-color: #5a4a3a;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.07) 0px, rgba(0,0,0,0.07) 2px, transparent 2px, transparent 8px);
}

.ba-after {
  background-color: #4a7a3a;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.06) 0px, rgba(255,255,255,0.06) 2px, transparent 2px, transparent 8px);
}

.ba-label {
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ba-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #102a43;
}

.ba-note {
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: #9fb3c8;
  text-align: center;
}

/* Service area */
.service-area {
  font-size: 0.875rem;
  color: #334e68;
  line-height: 1.7;
}

/* Mobile bottom nav */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 200;
  padding: 0.5rem 0 calc(0.6rem + env(safe-area-inset-bottom));
}

@media (max-width: 800px) {
  .mobile-nav {
    display: flex;
  }
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.62rem;
  flex: 1;
  text-decoration: none;
  padding: 0.3rem 0.25rem;
  transition: color 0.15s;
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--accent);
}
