:root {
  --bg: #f4efe8;
  --bg-soft: #fffaf4;
  --surface: rgba(255, 255, 255, 0.74);
  --surface-strong: #ffffff;
  --text: #1f2421;
  --muted: #5d615e;
  --line: rgba(31, 36, 33, 0.1);
  --primary: #c34b22;
  --primary-dark: #8e3415;
  --accent: #f3a530;
  --slate: #23313a;
  --shadow: 0 20px 60px rgba(67, 33, 18, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Barlow", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(243, 165, 48, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(195, 75, 34, 0.18), transparent 30%),
    linear-gradient(180deg, #f9f2e8 0%, #f4efe8 52%, #efe8de 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 76%, rgba(195, 75, 34, 0.06) 76% 78%, transparent 78%),
    linear-gradient(45deg, transparent 0 85%, rgba(35, 49, 58, 0.04) 85% 86%, transparent 86%);
  pointer-events: none;
}

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

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

.page-shell {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 24px auto 40px;
}

.topbar {
  position: sticky;
  top: 16px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 20px;
  background: rgba(255, 250, 244, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(18px);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(67, 33, 18, 0.16);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 0.98rem;
  letter-spacing: -0.04em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.82rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

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

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

.section {
  padding: 88px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 46px;
  align-items: center;
  min-height: calc(100vh - 200px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.hero h1,
.section-heading h2,
.coverage-copy h2,
.contact-copy h2 {
  margin: 0;
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  max-width: 11ch;
}

.hero h1 span {
  display: block;
  color: var(--primary);
}

.hero-lead,
.section-heading p,
.coverage-copy p,
.contact-copy p {
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.hero-lead {
  max-width: 62ch;
  margin: 24px 0 0;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  box-shadow: 0 18px 36px rgba(142, 52, 21, 0.22);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(31, 36, 33, 0.1);
}

.button[aria-disabled="true"] {
  opacity: 0.55;
  pointer-events: none;
}

.hero-points {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li {
  position: relative;
  padding-left: 34px;
  color: var(--slate);
  font-weight: 600;
}

.hero-points li::before {
  content: "+";
  position: absolute;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(243, 165, 48, 0.2);
  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.hero-visual {
  position: relative;
  display: grid;
  gap: 20px;
}

.roof-card,
.mini-card,
.stats,
.service-card,
.benefit-card,
.coverage-card,
.process-card,
.contact-panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.roof-card-main {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: var(--radius-xl);
  min-height: 280px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 235, 0.72)),
    linear-gradient(145deg, rgba(195, 75, 34, 0.1), transparent 45%);
}

.roof-card-main::before {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -36px;
  width: 220px;
  height: 140px;
  background: linear-gradient(145deg, rgba(35, 49, 58, 0.12), rgba(195, 75, 34, 0.3));
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.roof-card-main::after {
  content: "";
  position: absolute;
  right: 42px;
  bottom: 18px;
  width: 120px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
}

.card-kicker {
  margin: 0;
  color: var(--primary-dark);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.roof-card-main h2 {
  position: relative;
  z-index: 1;
  margin: 18px 0 10px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
  max-width: 8ch;
}

.roof-card-main p {
  position: relative;
  z-index: 1;
  max-width: 34ch;
  color: var(--muted);
  line-height: 1.7;
}

.roof-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.mini-card {
  padding: 20px;
  border-radius: var(--radius-lg);
}

.mini-card strong {
  display: block;
  font-size: 1.05rem;
}

.mini-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.5;
}

.accent-card {
  background: linear-gradient(145deg, rgba(243, 165, 48, 0.26), rgba(255, 255, 255, 0.75));
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.stats div {
  padding: 8px 10px;
}

.stats strong,
.coverage-card strong {
  display: block;
  font-size: 1.05rem;
}

.stats span,
.coverage-card span,
.contact-note {
  color: var(--muted);
  line-height: 1.6;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-heading h2,
.coverage-copy h2,
.contact-copy h2 {
  font-size: clamp(2.2rem, 5vw, 4rem);
}

.services-grid,
.gallery-grid,
.benefits-grid,
.coverage-list,
.process-grid {
  display: grid;
  gap: 18px;
}

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

.gallery-card {
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.gallery-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d8d0c7;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-body {
  padding: 24px;
}

.gallery-body h3 {
  margin: 12px 0 10px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
}

.gallery-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.gallery-tag {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, var(--slate), #435867);
  font-weight: 800;
  font-size: 0.88rem;
}

.gallery-tag-success {
  background: linear-gradient(145deg, #138a4e, #0d6b3c);
}

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

.service-card,
.benefit-card,
.coverage-card,
.process-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: auto 20px 20px auto;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(195, 75, 34, 0.14), rgba(243, 165, 48, 0.26));
}

.service-card h3,
.benefit-card h3,
.process-card h3 {
  margin: 0 0 12px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.24rem;
  letter-spacing: -0.04em;
}

.service-card p,
.benefit-card p,
.process-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

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

.benefit-card {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(255, 247, 238, 0.7)),
    rgba(255, 255, 255, 0.66);
}

.coverage-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 30px;
  align-items: start;
}

.coverage-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.coverage-card {
  min-height: 168px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0.92)),
    linear-gradient(145deg, rgba(35, 49, 58, 0.16), rgba(195, 75, 34, 0.1));
}

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

.process-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 247, 238, 0.72));
}

.process-card span {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border-radius: 20px;
  font-family: "Sora", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  color: #fff;
  background: linear-gradient(145deg, var(--slate), #435867);
}

.contact-section {
  padding-bottom: 36px;
}

.contact-panel {
  padding: 34px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at top right, rgba(243, 165, 48, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 245, 235, 0.76));
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.contact-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 36, 33, 0.08);
}

.contact-card small {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}

.contact-card strong {
  display: block;
  font-size: 1.1rem;
  line-height: 1.35;
}

.contact-note {
  margin: 20px 0 0;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 4px 8px;
  color: var(--muted);
}

.floating-whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  min-height: 54px;
  padding: 0 20px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(145deg, #138a4e, #0d6b3c);
  box-shadow: 0 16px 36px rgba(13, 107, 60, 0.28);
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}

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

@media (max-width: 1100px) {
  .hero,
  .coverage-section,
  .gallery-grid,
  .services-grid,
  .benefits-grid,
  .process-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: auto;
    padding-top: 28px;
  }

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

@media (max-width: 860px) {
  .page-shell {
    width: min(calc(100% - 20px), var(--max-width));
    margin-top: 14px;
  }

  .topbar {
    border-radius: 28px;
    padding: 16px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero,
  .coverage-section,
  .roof-grid,
  .gallery-grid,
  .benefits-grid,
  .coverage-list,
  .process-grid,
  .contact-cards,
  .stats {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

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

  .services-grid {
    grid-template-columns: 1fr;
  }

  .roof-card-main {
    min-height: 240px;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 84px;
  }
}

@media (max-width: 520px) {
  .button {
    width: 100%;
  }

  .floating-whatsapp {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    min-width: 0;
    padding: 0 18px;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .topbar {
    top: 10px;
  }

  .contact-panel,
  .roof-card-main,
  .service-card,
  .benefit-card,
  .coverage-card,
  .process-card {
    padding: 22px;
  }
}
