﻿:root {
  --bg: #0d1b16;
  --panel: #f3efe6;
  --paper: #fbf8f1;
  --text: #10231d;
  --muted: #4f635d;
  --accent: #d5b16a;
  --light: #f8f1e2;
  --line: rgba(16, 35, 29, 0.08);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(13, 27, 22, 0.92), rgba(13, 27, 22, 1) 32%, #ece7dc 32%, #ece7dc 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 26px 5vw 72px;
  background:
    linear-gradient(180deg, rgba(4, 10, 8, 0.5), rgba(4, 10, 8, 0.65)),
    url("https://images.unsplash.com/photo-1460317442991-0ec209397118?auto=format&fit=crop&w=1400&q=80") center/cover;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 14, 12, 0.35), rgba(7, 14, 12, 0.7));
}

.nav,
.hero-grid,
.shell,
.footer {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: var(--light);
}

.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 30px;
  align-items: end;
  padding-top: 80px;
}

.hero-copy {
  color: white;
}

.kicker {
  margin: 0 0 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

h1,
h2,
h3,
strong {
  margin: 0;
}

h1,
h2 {
  font-family: "Marcellus", serif;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 5vw, 5rem);
  max-width: 11ch;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 3.4rem);
  max-width: 14ch;
}

.hero-copy p:last-child,
.text-grid p,
.service-list p,
.location-copy p,
.contact-block {
  line-height: 1.85;
}

.slider-card {
  overflow: hidden;
  min-height: 500px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow);
}

.slider-track {
  display: flex;
  width: 300%;
  animation: cycle 16s infinite;
}

.frame {
  width: 100%;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 34px;
  color: #fff;
}

.frame span {
  font-size: 0.84rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.frame strong {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  max-width: 13ch;
}

.frame-one {
  background:
    linear-gradient(180deg, rgba(4, 9, 8, 0.08), rgba(4, 9, 8, 0.7)),
    url("https://images.unsplash.com/photo-1628348068343-c6a848d2b6dd?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.frame-two {
  background:
    linear-gradient(180deg, rgba(4, 9, 8, 0.12), rgba(4, 9, 8, 0.74)),
    url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.frame-three {
  background:
    linear-gradient(180deg, rgba(4, 9, 8, 0.1), rgba(4, 9, 8, 0.76)),
    url("https://images.unsplash.com/photo-1454165804606-c3d57bc86b40?auto=format&fit=crop&w=1200&q=80") center/cover;
}

.shell {
  padding: 48px 5vw 0;
}

.panel {
  background: var(--panel);
  border-radius: 28px;
  padding: 34px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(16, 35, 29, 0.06);
  margin-bottom: 24px;
}

.title-block {
  margin-bottom: 24px;
}

.text-grid,
.location-layout,
.footer,
.service-list {
  display: grid;
  gap: 22px;
}

.text-grid,
.location-layout,
.footer {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

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

.service-list article,
.location-copy,
.map-box,
.footer {
  background: var(--paper);
  border-radius: 22px;
  border: 1px solid var(--line);
}

.service-list article,
.location-copy,
.footer {
  padding: 26px;
}

.service-list h3 {
  margin-bottom: 12px;
}

.map-box {
  overflow: hidden;
  min-height: 340px;
}

.map-box iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 340px;
}

.footer {
  width: min(1180px, calc(100% - 10vw));
  margin: 28px auto 40px;
  align-items: center;
}

.contact-block {
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 999px;
  background: #03a73fcc;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 16px 32px rgba(10, 28, 18, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(10, 28, 18, 0.34);
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  font-size: 0.95rem;
  line-height: 1;
}

@keyframes cycle {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.3333%); }
  66%, 94% { transform: translateX(-66.6666%); }
  100% { transform: translateX(0); }
}

@media (max-width: 920px) {
  .nav,
  .hero-grid,
  .text-grid,
  .service-list,
  .location-layout,
  .footer {
    grid-template-columns: 1fr;
  }

  .nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .slider-card,
  .frame {
    min-height: 360px;
  }

  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    padding: 12px 15px;
  }
}


#buy-now {
    position: fixed;
    bottom: 30px;      /* Distancia desde el borde inferior de la pantalla */
    left: 50%;         /* Lo posiciona al centro horizontalmente */
    transform: translateX(-50%); /* Centrado perfecto según su propio ancho */
    z-index: 10000;
}

#buy-now a {
    color: #ffffff;
    background: #007bff; /* Azul llamativo (puedes usar #1e70e6 o el que prefieras) */
    display: inline-block;
    font-size: 18px;     /* Texto más grande */
    font-weight: bold;
    padding: 15px 30px;  /* Más relleno para hacerlo más robusto */
    text-align: center;
    white-space: nowrap; /* Evita que el texto se parta en dos líneas */
    line-height: 1em;
    text-decoration: none;
    animation: shadow-pulse-blue 1.5s infinite; /* Animación suavizada con azul */
    border-radius: 50px; /* Bordes bien redondeados modernos */
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.4); /* Sombra suave azul base */
    transition: background 0.3s ease, transform 0.2s ease;
}

/* Efecto al pasar el mouse por encima (Hover) */
#buy-now a:hover {
    background: #0056b3; /* Azul un poco más oscuro al hacer hover */
    transform: scale(1.05); /* Se agranda un toque al pasar el mouse */
}

#buy-now a img {
    width: 64px;
    margin-left: 3px;
}