:root {
  --bg: #ffffff;
  --text: #172033;
  --muted: #5f6b7a;
  --line: #e8edf3;
  --primary: #d62828;
  --primary-dark: #b71f1f;
  --blue: #1d4ed8;
  --soft: #f6f8fb;
  --shadow: 0 18px 50px rgba(16, 24, 40, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(232, 237, 243, 0.95);
}

.topbar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  gap: 16px;
}

.brand {
  text-decoration: none;
  color: var(--text);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

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

.nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 14px 22px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #ef4444);
  color: #fff;
  box-shadow: 0 14px 34px rgba(214, 40, 40, 0.24);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn-light {
  background: #fff;
  color: var(--text);
}

.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(29, 78, 216, 0.12), transparent 34%),
    radial-gradient(circle at bottom right, rgba(214, 40, 40, 0.12), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  padding: 70px 0 50px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: center;
}

.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: #eef4ff;
  color: var(--blue);
}

.section-tag.light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4.7rem);
  line-height: 0.96;
  margin: 16px 0;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 680px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-badges span {
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 700;
  box-shadow: var(--shadow);
}

.hero-description {
  color: var(--muted);
  font-size: 1.06rem;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-contact-card {
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  box-shadow: var(--shadow);
  max-width: 520px;
}

.hero-contact-card strong,
.contact-list strong {
  display: block;
  margin-bottom: 4px;
}

.hero-contact-card p,
.contact-list p,
.footer p,
.service-card h3,
.info-card p,
.split-text p,
.stack-list li,
.check-list li {
  margin: 0;
}

.hero-media {
  position: relative;
}

.hero-image {
  width: 100%;
  height: 580px;
  object-fit: cover;
  border-radius: 30px;
  box-shadow: 0 24px 60px rgba(17, 24, 39, 0.16);
}

.highlights {
  padding: 12px 0 0;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.section-heading h2,
.split-text h2,
.cta-content h2,
.main-contact h2 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.05;
  margin: 14px 0 12px;
}

.section-heading p,
.split-text p,
.main-contact p,
.cta-content p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.7;
}

.cards-grid {
  display: grid;
  gap: 22px;
}

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

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

.info-card,
.service-card,
.contact-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-card h3,
.side-panel h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.info-card p,
.service-card h3,
.side-panel li {
  color: var(--muted);
  line-height: 1.6;
}

.service-card {
  min-height: 166px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(214, 40, 40, 0.12));
  color: var(--text);
  font-weight: 800;
}

.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.check-list,
.stack-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li,
.stack-list li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 15px 18px;
  color: var(--text);
  box-shadow: var(--shadow);
}

.collage {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.card-image {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.card-image.tall {
  grid-row: span 2;
  height: 100%;
  min-height: 510px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: var(--shadow);
  background: #fff;
  min-height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-item:hover img,
.card-image:hover,
.hero-image:hover {
  transform: scale(1.02);
}

.gallery-large {
  grid-row: span 2;
  min-height: 518px;
}

.cta-band {
  background: linear-gradient(135deg, #153ea8 0%, #d62828 100%);
  color: #fff;
  padding: 54px 0;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin: 24px 0 28px;
}

.footer {
  background: #0f1728;
  color: #fff;
  padding: 34px 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  background: linear-gradient(135deg, #0ea85d, #22c55e);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 15px 18px;
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(34, 197, 94, 0.35);
}

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

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

@media (max-width: 1050px) {
  .hero-grid,
  .split-layout,
  .contact-grid,
  .cta-content,
  .four-cols,
  .three-cols,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-large {
    grid-row: span 1;
    min-height: 320px;
  }

  .cta-content,
  .footer-content,
  .topbar-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 28px, 100%);
  }

  .hero {
    padding-top: 36px;
  }

  .hero-grid,
  .split-layout,
  .contact-grid,
  .three-cols,
  .four-cols,
  .gallery-grid,
  .collage,
  .hero-contact-card {
    grid-template-columns: 1fr;
  }

  .hero-image {
    height: auto;
    max-height: none;
    object-fit: contain;
    background: #fff;
  }

  .card-image,
  .card-image.tall,
  .gallery-item,
  .gallery-large {
    min-height: auto;
    height: auto;
  }

  .gallery-item img,
  .card-image {
    object-fit: contain;
    background: #fff;
  }

  .brand {
    font-size: 0.95rem;
  }

  .nav {
    gap: 14px;
  }

  .btn-header {
    width: 100%;
  }
}
