:root {
  --blue: #0f88c8;
  --blue-dark: #0c6fa3;
  --gray: #92a3b1;
  --ink: #1a2430;
  --ink-soft: #3d4a57;
  --surface: #f4f7fa;
  --surface-2: #e8eef3;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(15, 36, 56, 0.12);
  --radius: 1rem;
  --font-brand: "Outfit", sans-serif;
  --font-body: "Plus Jakarta Sans", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(15, 136, 200, 0.12), transparent 60%),
    radial-gradient(900px 400px at 100% 0%, rgba(146, 163, 177, 0.18), transparent 55%),
    var(--surface);
  line-height: 1.6;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

.brand-name {
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--blue);
  line-height: 1.1;
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  background: transparent;
}

.brand-logo-footer {
  width: 52px;
  height: 52px;
}

.site-nav {
  background: rgba(244, 247, 250, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(146, 163, 177, 0.35);
  padding-block: 0.55rem;
}

.site-nav .nav-link {
  color: var(--ink-soft);
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: var(--blue);
}

.navbar-brand .brand-name {
  font-size: 1.35rem;
}

.btn-whatsapp {
  --bs-btn-color: #fff;
  --bs-btn-bg: #25d366;
  --bs-btn-border-color: #25d366;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #1ebe57;
  --bs-btn-hover-border-color: #1ebe57;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #1aa34c;
  --bs-btn-active-border-color: #1aa34c;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-outline-primary {
  --bs-btn-color: var(--blue);
  --bs-btn-border-color: var(--blue);
  --bs-btn-hover-bg: var(--blue);
  --bs-btn-hover-border-color: var(--blue);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--blue-dark);
  --bs-btn-active-border-color: var(--blue-dark);
  font-weight: 600;
}

.btn-outline-light {
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 7.5rem 0 4.5rem;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.04);
  animation: heroZoom 18s ease-out forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 22, 34, 0.35) 0%, rgba(10, 22, 34, 0.72) 55%, rgba(10, 22, 34, 0.88) 100%),
    linear-gradient(90deg, rgba(15, 136, 200, 0.22), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content .hero-brand,
.hero-content .hero-title,
.hero-content .hero-lead {
  max-width: 38rem;
}

.hero-brand {
  font-size: clamp(2.6rem, 7vw, 4.4rem);
  margin: 0 0 0.85rem;
  color: var(--blue);
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.2vw, 1.9rem);
  line-height: 1.25;
  margin: 0 0 1rem;
  color: var(--white);
  max-width: 18ch;
}

.hero-lead {
  font-size: clamp(1rem, 2.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 1.75rem;
  max-width: 38ch;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.section {
  padding: 5rem 0;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 2.75rem;
}

.section-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  color: var(--ink);
  margin: 0 0 0.75rem;
  letter-spacing: -0.025em;
}

.section-subtitle {
  color: var(--ink-soft);
  margin: 0;
  font-size: 1.05rem;
}

.section-services {
  background: var(--white);
}

.service-item {
  height: 100%;
  padding: 0.25rem 0.25rem 0.5rem;
}

.service-icon {
  font-size: 1.75rem;
  color: var(--blue);
  display: block;
  margin-bottom: 0.85rem;
}

.service-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
}

.service-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.section-differentials {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
}

.diff-item {
  height: 100%;
  padding-right: 0.5rem;
}

.diff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.45rem;
  color: var(--blue);
  margin-bottom: 0.9rem;
  background: rgba(15, 136, 200, 0.1);
  border-radius: 0.75rem;
}

.diff-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 0 0 0.45rem;
}

.diff-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.section-gallery {
  background: var(--white);
}

.gallery-item {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--surface-2);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem 1rem 0.9rem;
  background: linear-gradient(transparent, rgba(10, 22, 34, 0.78));
  color: #fff;
  font-size: 0.92rem;
  font-weight: 500;
}

.section-area {
  padding-top: 4rem;
  padding-bottom: 2rem;
}

.area-panel {
  background: linear-gradient(135deg, rgba(15, 136, 200, 0.1), rgba(146, 163, 177, 0.18));
  border: 1px solid rgba(146, 163, 177, 0.35);
  border-radius: calc(var(--radius) + 0.25rem);
  padding: clamp(1.75rem, 4vw, 3rem);
}

.area-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.5rem;
  color: var(--ink);
  font-weight: 500;
}

.area-list i {
  color: var(--blue);
  margin-right: 0.35rem;
}

.section-contact {
  padding-top: 3rem;
}

.contact-panel {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.site-footer {
  background: #121a22;
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 2.25rem;
  margin-top: 2rem;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.footer-brand .brand-name {
  font-size: 1.5rem;
}

.footer-text {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
}

.footer-text a {
  color: #fff;
}

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

.footer-copy {
  margin: 1.25rem 0 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 1050;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.85rem;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
  animation: floatPulse 2.8s ease-in-out infinite;
}

.whatsapp-float:hover,
.whatsapp-float:focus {
  color: #fff;
  background: #1ebe57;
  transform: translateY(-3px) scale(1.04);
}

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

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

.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes floatPulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 12px 34px rgba(37, 211, 102, 0.65); }
}

@media (max-width: 767.98px) {
  .hero {
    align-items: flex-end;
    padding: 6.5rem 0 3.25rem;
    min-height: 92svh;
  }

  .hero-title { max-width: none; }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .section { padding: 3.75rem 0; }

  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 0.9rem;
    bottom: 0.9rem;
  }
}

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

  .hero-media,
  .whatsapp-float,
  .gallery-item img,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
