:root {
  --bg: #e9e7e2;
  --card: #f6f4ef;

  --primary: #111111;
  --primary-text: #ffffff;

  --text: #111111;
  --muted: #5f5f5f;

  --line: rgba(17, 17, 17, 0.18);
  --soft: #f4f2ed;
  --soft-hover: #ebe7df;

  --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;
}

/* TEXTOS */
.kicker,
.kicker-dark {
  display: inline-flex;
  width: fit-content;
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.kicker {
  color: var(--muted);
}

.kicker-dark {
  color: rgba(255, 255, 255, 0.55);
}

/* IMAGEN */
.image-frame {
  width: 100%;
  height: min(70vh, 620px);
  min-height: 420px;
  overflow: hidden;
  background: var(--soft);
}

@media (max-width: 767px) {
  .image-frame {
    height: 420px;
    min-height: 420px;
  }
}

/* BOTONES */
.top-action,
.btn-primary,
.btn-secondary,
.floating-whatsapp {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.top-action {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.75rem 1.1rem;
  font-size: 0.9rem;
}

.btn-primary {
  border: 2px solid var(--primary);
  background: var(--primary);
  color: var(--primary-text);
  padding: 0.9rem 1.25rem;
}

.btn-secondary {
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  padding: 0.9rem 1.25rem;
}

.top-action:hover,
.btn-primary:hover,
.btn-secondary:hover,
.floating-whatsapp:hover {
  transform: translateY(-2px);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--primary-text);
}

/* INFO SUPERIOR */
.info-box {
  display: block;
  border-left: 3px solid var(--primary);
  padding: 1rem;
  transition: background 0.2s ease, transform 0.2s ease;
}

.info-box:hover {
  background: var(--soft-hover);
  transform: translateX(4px);
}

.info-box span {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.info-box strong {
  display: block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1.35;
  word-break: break-word;
}

/* SERVICIOS */
.service-item {
  display: grid;
  gap: 0.75rem;
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .service-item {
    grid-template-columns: 70px 1fr;
  }
}

.service-index {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 950;
}

.service-title {
  color: var(--text);
  font-size: 1.15rem;
  font-weight: 950;
  line-height: 1.25;
}

.service-desc {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.6;
}

/* REDES */
.social-link {
  display: inline-flex;
  border-bottom: 2px solid var(--line);
  color: var(--text);
  padding-bottom: 0.2rem;
  font-size: 0.9rem;
  font-weight: 900;
  transition: color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}

/* CONTACTO FINAL */
.contact-panel {
  border-left: 1px solid var(--line);
}

@media (max-width: 767px) {
  .contact-panel {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.5rem;
  }
}

.contact-row {
  display: grid;
  gap: 0.35rem;
  border-bottom: 1px solid var(--line);
  padding: 1.25rem 0;
}

@media (min-width: 768px) {
  .contact-row {
    padding: 1.25rem 0 1.25rem 1.5rem;
  }
}

.contact-row span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-row strong {
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
  line-height: 1.35;
  word-break: break-word;
}

.map-preview {
  position: relative;
  display: block;
  min-height: 260px;
  overflow: hidden;
  background: var(--primary);
}

@media (min-width: 768px) {
  .map-preview {
    margin-left: 1.5rem;
    margin-top: 1.5rem;
  }
}

.location-map {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.05) brightness(0.82);
}

.location-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 17, 17, 0.9),
    rgba(17, 17, 17, 0.5),
    rgba(17, 17, 17, 0.15)
  );
  pointer-events: none;
}

.map-preview-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 260px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
}

/* FLOATING */
.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.22);
}

/* ACCESSIBILIDAD */
a:focus-visible {
  outline: 4px solid var(--focus-ring);
  outline-offset: 4px;
}

/* MOBILE */
@media (max-width: 640px) {
  .top-action {
    min-height: 42px;
    padding: 0.65rem 0.9rem;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
  }

  .floating-whatsapp {
    bottom: 1rem;
  }
}