:root {
  --bg: #f2efe8;
  --surface: #fffdf8;
  --surface-strong: #fff7eb;
  --text: #1f2a2b;
  --muted: #556566;
  --brand: #c26b2e;
  --brand-dark: #8b451d;
  --accent: #2f6b5f;
  --line: rgba(31, 42, 43, 0.1);
  --shadow: 0 20px 45px rgba(56, 43, 30, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top left, rgba(194, 107, 46, 0.15), transparent 28%),
    linear-gradient(180deg, #f7f1e7 0%, #f1ede6 45%, #ebe7df 100%);
  color: var(--text);
  line-height: 1.65;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.4) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.4) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.15;
}

a {
  color: inherit;
}

main,
.hero-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  padding: 32px 0 26px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
section {
  position: relative;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.hero-copy {
  padding: 38px;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -60px -80px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 107, 95, 0.18), transparent 68%);
}

.eyebrow,
.section-kicker,
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--brand-dark);
}

.eyebrow::before,
.section-kicker::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
}

.hero h1 {
  margin-top: 16px;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  max-width: 11ch;
}

.hero-lead {
  margin-top: 20px;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-actions {
  margin-top: 28px;
}

.cta-primary,
.cta-secondary,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.cta-primary,
.contact-pill.is-highlight {
  background: linear-gradient(135deg, var(--brand) 0%, #df8e4f 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(194, 107, 46, 0.28);
}

.cta-secondary,
.contact-pill {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  color: var(--text);
}

.cta-primary:hover,
.cta-secondary:hover,
.contact-pill:hover,
.instagram-float:hover,
.whatsapp-float:hover,
.call-float:hover,
.messenger-float:hover {
  transform: translateY(-2px);
}

.hero-points {
  margin-top: 26px;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.hero-points li,
.check-list li {
  position: relative;
  padding-left: 28px;
}

.hero-points li::before,
.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.35rem;
  line-height: 1;
}

.hero-card {
  padding: 30px;
  display: grid;
  align-content: start;
  gap: 18px;
  background:
    linear-gradient(160deg, rgba(47, 107, 95, 0.12), rgba(255, 253, 248, 0.96) 40%),
    rgba(255, 253, 248, 0.95);
}

.hero-logo {
  width: min(180px, 48%);
  border-radius: 22px;
  background: #fff;
  padding: 10px;
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.08);
}

.hero-badge {
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 107, 95, 0.1);
  color: var(--accent);
  letter-spacing: 0.08em;
}

.hero-role {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-stats {
  display: grid;
  gap: 12px;
}

.hero-stats div {
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(47, 107, 95, 0.08);
}

.hero-stats dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.hero-stats dd {
  margin-top: 4px;
  font-size: 1rem;
  font-weight: 700;
}

section {
  max-width: 1120px;
  margin: 22px auto;
  padding: 34px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-heading p,
.intro-copy p,
.service-card p,
.step-card p,
.review-card p,
.review-cta p,
.contact-meta p {
  color: var(--muted);
}

.intro-grid,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.9fr);
  gap: 22px;
}

.trust-card,
.service-card,
.step-card,
.review-card,
.review-cta {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(56, 43, 30, 0.08);
}

.trust-card {
  padding: 24px;
  background: linear-gradient(180deg, rgba(47, 107, 95, 0.08), rgba(255, 255, 255, 0.95));
}

.trust-card h3,
.service-card h3,
.step-card h3,
.review-cta h3 {
  font-size: 1.15rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.service-grid,
.steps-grid,
.review-grid {
  display: grid;
  gap: 18px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.step-card,
.review-card,
.review-cta {
  padding: 24px;
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 16px;
  background: rgba(194, 107, 46, 0.12);
  color: var(--brand-dark);
  font-size: 1.4rem;
}

.steps-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.step-card span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
}

.gallery-section {
  overflow: hidden;
}

.gallery-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.gallery-hint {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gallery-control {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  font-size: 1.15rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.gallery-control:hover,
.gallery-control:focus-visible,
.lightbox .close:hover,
.lightbox .close:focus-visible,
.lightbox .nav:hover,
.lightbox .nav:focus-visible {
  transform: translateY(-1px);
  background: #fff;
}

.carousel-wrapper {
  overflow: hidden;
  width: 100%;
  padding: 18px 0 6px;
  border-radius: 20px;
  outline: none;
}

.carousel {
  display: flex;
  gap: 24px;
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.carousel-wrapper:hover .carousel,
.carousel-wrapper:focus-within .carousel {
  animation-play-state: paused;
}

.carousel img {
  flex: 0 0 auto;
  width: 220px;
  height: 160px;
  object-fit: cover;
  border-radius: 18px;
  opacity: 0.46;
  transform: scale(0.92);
  cursor: pointer;
  transition: transform 0.4s ease, opacity 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 16px 36px rgba(23, 28, 29, 0.12);
}

.carousel img:focus-visible,
.carousel-wrapper:focus-visible {
  outline: 3px solid rgba(47, 107, 95, 0.45);
  outline-offset: 4px;
}

.carousel img.active {
  opacity: 1;
  transform: scale(1.22);
  z-index: 2;
}

.gallery-empty {
  width: 100%;
  text-align: center;
  color: var(--muted);
}

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

.review-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 241, 231, 0.88));
}

.review-stars {
  margin-bottom: 14px;
  color: var(--brand);
  letter-spacing: 0.08em;
}

.review-card strong,
.review-cta h3 {
  display: block;
  margin-top: 14px;
}

.review-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, rgba(194, 107, 46, 0.12), rgba(255, 255, 255, 0.96));
}

.contact-section {
  background: linear-gradient(180deg, rgba(47, 107, 95, 0.06), rgba(255, 253, 248, 0.96));
}

.contact-layout {
  align-items: start;
}

.contact-actions {
  gap: 14px;
}

.contact-pill {
  width: fit-content;
  min-width: min(100%, 280px);
}

.contact-meta {
  display: grid;
  gap: 10px;
  padding: 18px 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
}

footer {
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 28px;
  padding: 18px 24px;
  border-radius: 22px;
  background: #273133;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
  font-size: 0.92rem;
  box-shadow: 0 18px 36px rgba(16, 18, 19, 0.15);
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 10, 12, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  touch-action: pan-y;
}

.lightbox img {
  max-width: 90%;
  max-height: 85%;
  border-radius: 16px;
  user-select: none;
  -webkit-user-drag: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.38);
}

.lightbox .close,
.lightbox .nav {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 42px;
  cursor: pointer;
  width: 56px;
  height: 56px;
  border-radius: 50%;
}

.lightbox .close { top: 20px; right: 30px; }
.lightbox .prev { left: 20px; top: 50%; }
.lightbox .next { right: 20px; top: 50%; }

.instagram-float,
.whatsapp-float,
.call-float,
.messenger-float {
  position: fixed;
  right: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1500;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-float { bottom: 216px; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af, #515bd4); }
.messenger-float { bottom: 150px; background: #0084ff; }
.call-float { bottom: 84px; background: #007bff; }
.whatsapp-float { bottom: 18px; background: #25d366; }

.whatsapp-float img {
  width: 28px;
  height: 28px;
}

@media (max-width: 980px) {
  .hero-shell,
  .intro-grid,
  .contact-layout,
  .service-grid,
  .review-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: none;
  }

  .gallery-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .carousel {
    animation: none;
  }

  .carousel img,
  .carousel img.active {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 720px) {
  .hero-copy,
  .hero-card,
  section {
    padding: 24px;
    border-radius: 24px;
  }

  main,
  .hero-shell,
  footer {
    width: min(100% - 20px, 1120px);
  }

  .hero {
    padding-top: 16px;
  }

  .cta-primary,
  .cta-secondary,
  .contact-pill {
    width: 100%;
  }

  .carousel-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 2px 14px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
    touch-action: pan-x pan-y;
  }

  .carousel {
    width: max-content;
    animation: none;
    padding-right: 10px;
  }

  .carousel img,
  .carousel img.active {
    width: min(78vw, 280px);
    height: 190px;
    opacity: 1;
    transform: none;
    scroll-snap-align: center;
  }

  .carousel img:not([data-real]) {
    display: none;
  }

  .gallery-control {
    width: 48px;
    height: 48px;
  }

  .lightbox .nav,
  .lightbox .close {
    width: 48px;
    height: 48px;
    font-size: 34px;
  }

  .instagram-float,
  .whatsapp-float,
  .call-float,
  .messenger-float {
    right: 12px;
    width: 52px;
    height: 52px;
  }
}
