:root {
  --bg: #ffffff;
  --surface: rgba(255, 255, 255, 0.8);
  --surface-strong: #ffffff;
  --text: #162035;
  --muted: #5d6882;
  --line: rgba(22, 32, 53, 0.1);
  --primary: #0ea5e9;
  --primary-dark: #0b76b1;
  --accent: #2563eb;
  --shadow: 0 24px 60px rgba(27, 52, 94, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 30%),
    radial-gradient(circle at 85% 10%, rgba(37, 99, 235, 0.08), transparent 24%),
    linear-gradient(180deg, #f9fcff 0%, #ffffff 40%, #f7fbff 100%);
  color: var(--text);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.site-shell { overflow: hidden; }
.container { width: min(var(--container), calc(100% - 2rem)); margin: 0 auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.76);
  border-bottom: 1px solid rgba(22, 32, 53, 0.06);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}
.brand strong {
  display: block;
  font-size: 1rem;
}
.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 0.15rem;
}
.brand-mark {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: white;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 15px 35px rgba(37, 99, 235, 0.22);
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.nav a {
  font-size: 0.95rem;
  color: var(--muted);
  transition: 0.25s ease;
}
.nav a:hover { color: var(--text); }
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}
.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 18px 36px rgba(37, 99, 235, 0.24);
}
.btn-secondary {
  background: #eef7ff;
  color: var(--accent);
}
.btn-outline {
  background: rgba(14, 165, 233, 0.08);
  color: var(--accent);
}

.hero { padding: 4.2rem 0 2.2rem; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 2.2rem;
}
.eyebrow,
.section-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 165, 233, 0.1);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  margin: 1rem 0;
}
.hero-text {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 44rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0 1.4rem;
}
.hero-contact-card {
  display: inline-flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.2rem;
  border-radius: 20px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(22, 32, 53, 0.08);
  box-shadow: var(--shadow);
}
.hero-contact-card span { color: var(--muted); font-size: 0.9rem; }
.hero-contact-card strong { font-size: 1.15rem; }

.hero-visual {
  position: relative;
  min-height: 620px;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 9% 10% 10%;
  background: linear-gradient(180deg, rgba(14, 165, 233, 0.16), rgba(255,255,255,0));
  filter: blur(8px);
  border-radius: 38px;
}
.hero-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
  overflow: hidden;
}
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main {
  right: 0;
  top: 2rem;
  width: min(100%, 480px);
  height: 500px;
  padding: 1rem;
}
.hero-card-main img {
  border-radius: 22px;
  object-fit: contain;
  background: #fff;
}
.hero-card-small {
  width: 210px;
  height: 170px;
  padding: 0.75rem;
}
.hero-card-small img {
  border-radius: 16px;
  object-fit: contain;
  background: #fff;
}
.hero-card-small.one { left: 0; bottom: 6rem; }
.hero-card-small.two { left: 8rem; top: 0; }
.floating-card { animation: floatY 5s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.highlights { padding: 0.8rem 0 1.2rem; }
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.highlight-card {
  background: rgba(255,255,255,0.85);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}
.highlight-card h3 { margin: 0; font-size: 1.05rem; }

.section { padding: 4.5rem 0; }
.section-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}
.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.9rem 0 1rem;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  margin: 0;
}
.centered { text-align: center; max-width: 760px; margin: 0 auto 2.2rem; }

.service-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.service-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(240,248,255,0.92));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 1.6rem;
  min-height: 210px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.service-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  font-weight: 800;
}
.service-card h3 { margin: 2.4rem 0 0; font-size: 1.25rem; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.1fr 1fr 1fr;
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-card {
  background: rgba(255,255,255,0.88);
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 0.8rem;
}
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 20px;
  background: #fff;
}
.gallery-card.tall { grid-row: span 2; }
.gallery-card.wide { grid-column: span 2; }

.links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
.link-card {
  background: rgba(255,255,255,0.9);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.link-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.25);
}
.link-badge {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}
.link-card strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}
.link-card small {
  display: block;
  color: var(--muted);
  line-height: 1.6;
  word-break: break-word;
}

.cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem;
  border-radius: 32px;
  background: linear-gradient(135deg, #eff8ff, #ffffff);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.cta-box h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.85rem 0;
}
.cta-box p { margin: 0; color: var(--muted); }

.footer {
  padding: 1.2rem 0 2rem;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.footer p { margin: 0.35rem 0 0; color: var(--muted); }
.footer a { color: var(--accent); font-weight: 700; }

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  box-shadow: 0 18px 36px rgba(22, 163, 74, 0.35);
  z-index: 30;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 1080px) {
  .hero-grid,
  .section-grid,
  .highlight-grid,
  .links-grid,
  .service-cards,
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    min-height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .hero-card,
  .hero-card-main,
  .hero-card-small {
    position: static;
    width: 100%;
    height: 280px;
  }
  .hero-card-main { grid-column: 1 / -1; }
  .gallery-grid { grid-auto-rows: auto; }
  .gallery-card.tall,
  .gallery-card.wide { grid-row: auto; grid-column: auto; }
  .gallery-card { min-height: 240px; }
}

@media (max-width: 820px) {
  .nav,
  .topbar .btn-outline {
    display: none;
  }
  .menu-toggle { display: block; }
  .topbar.menu-open .nav {
    display: flex;
    position: absolute;
    top: calc(100% + 10px);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
  }
  .cta-box,
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px) {
  .hero { padding-top: 2.5rem; }
  .topbar-inner { padding: 0.85rem 0; }
  .brand strong { font-size: 0.95rem; }
  .brand small { font-size: 0.76rem; }
  .hero-contact-card,
  .highlight-card,
  .service-card,
  .link-card,
  .cta-box { border-radius: 22px; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
