:root {
  --bg: #f5f2ec;
  --card: #ffffff;

  --primary: #111111;
  --primary-text: #ffffff;
  --primary-muted: rgba(255, 255, 255, 0.64);

  --text: #111111;
  --muted: #5f5f5f;

  --soft: #eee9e2;
  --soft-hover: #e6dfd5;

  --hero-title: #ffffff;
  --hero-text: rgba(255, 255, 255, 0.86);
  --hero-muted: rgba(255, 255, 255, 0.74);

  --hero-overlay-top: rgba(0, 0, 0, 0.72);
  --hero-overlay-middle: rgba(0, 0, 0, 0.58);
  --hero-overlay-bottom: #f5f2ec;

  --button-light-bg: #ffffff;
  --button-light-text: #111111;

  --button-dark-bg: rgba(0, 0, 0, 0.58);
  --button-dark-text: #ffffff;
  --button-dark-border: rgba(255, 255, 255, 0.85);

  --focus-ring: rgba(17, 17, 17, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  cursor: pointer;
  text-decoration: none;
}

/* HERO */
.hero-overlay {
  background: linear-gradient(
    to bottom,
    var(--hero-overlay-top),
    var(--hero-overlay-middle) 45%,
    var(--hero-overlay-bottom) 100%
  );
}

.hero-badge {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  padding: 0.55rem 1rem;
  color: var(--hero-muted);
  font-size: 0.78rem;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

/* BUTTONS */
.btn-hero-primary,
.btn-hero-secondary,
.btn-soft,
.btn-contact-primary,
.btn-contact-secondary,
.floating-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.btn-hero-primary {
  background: var(--button-light-bg);
  color: var(--button-light-text);
  padding: 0.9rem 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.16);
}

.btn-hero-secondary {
  background: var(--button-dark-bg);
  color: var(--button-dark-text);
  border: 1px solid var(--button-dark-border);
  padding: 0.9rem 1.75rem;
  backdrop-filter: blur(14px);
}

.btn-soft {
  width: fit-content;
  background: var(--soft);
  color: var(--text);
  padding: 0.85rem 1.5rem;
}

.btn-contact-primary {
  background: var(--button-light-bg);
  color: var(--button-light-text);
  padding: 0.95rem 1.25rem;
  border-radius: 1rem;
}

.btn-contact-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--primary-text);
  padding: 0.95rem 1.25rem;
  border-radius: 1rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 50;
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.85rem 1.25rem;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.24);
}

.btn-hero-primary:hover,
.btn-hero-secondary:hover,
.btn-soft:hover,
.btn-contact-primary:hover,
.btn-contact-secondary:hover,
.floating-whatsapp:hover {
  transform: translateY(-3px);
}

.btn-soft:hover {
  background: var(--soft-hover);
}

/* SECTIONS */
.section-label {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.section-label-dark {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.location-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--primary);
  color: var(--primary-text);
}

.location-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.18)
  );
  pointer-events: none;
}

.location-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 320px;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--primary-text);
  padding: 1.5rem;
}

.location-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ACCESSIBILITY */
a:focus-visible {
  outline: 4px solid var(--focus-ring);
  outline-offset: 4px;
}

/* ANIMATIONS */
.fade-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 1s ease;
}

.fade-in.show {
  opacity: 1;
}

/* MOBILE FIXES */
@media (max-width: 640px) {
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }

  .floating-whatsapp {
    right: 1rem;
    bottom: 1rem;
  }

  .btn-soft {
    width: 100%;
  }
}