:root {
  --gold: #d6a94b;
  --gold-dark: #b98b31;
  --dark: #111418;
  --white: #ffffff;
  --cream: #f7f3ee;
  --text-dark: #171717;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
}

h1,
h2,
h3,
.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

a {
  text-decoration: none;
}

/* HERO */

.hero {
  min-height: 680px;
  position: relative;
  padding: 26px 64px 40px;
  background:
    linear-gradient(90deg, rgba(10,12,15,.60) 0%, rgba(10,12,15,.30) 38%, rgba(10,12,15,.02) 70%),
    linear-gradient(180deg, rgba(10,12,15,.05), rgba(10,12,15,.22)),
    url("../img/fondo-funeraria-bravo.webp") center -350px / cover no-repeat;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 5;
}

.logo-box {
  position: relative;
  padding: 18px 24px;
}

.logo-box::before,
.logo-box::after {
  content: "";
  position: absolute;
  left: 0;
  width: 118px;
  height: 1px;
  background: var(--gold);
}

.logo-box::before {
  top: 0;
}

.logo-box::after {
  bottom: 0;
}

.logo-box span.line {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 100%;
  background: var(--gold);
}

.logo {
  font-size: 40px;
  color: var(--white);
  white-space: nowrap;
}

.logo strong {
  color: var(--gold);
  font-weight: 500;
}

.hero-content {
  margin-top: 90px;
  max-width: 620px;
  position: relative;
  z-index: 4;
}

h1 {
  font-size: 64px;
  line-height: 1.08;
  margin-bottom: 24px;
}

.gold-line {
  width: 345px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 10px;
}

.eyebrow {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .5px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.actions {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 90px;
}

.btn {
  height: 58px;
  padding: 0 32px;
  border-radius: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  border: 1px solid var(--gold);
}

.btn-primary {
  background: linear-gradient(135deg, #e9be62, #c99639);
  color: #111;
}

.btn-outline {
  background: rgba(10,12,15,.4);
  color: var(--white);
}

/* SERVICIOS */

.services {
  background: var(--cream);
  color: var(--text-dark);
  padding: 48px 64px 78px;
  text-align: center;
}

.section-label {
  color: var(--gold-dark);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.services h2 {
  font-size: 43px;
  margin-bottom: 14px;
}

.subtitle,
.section-desc {
  font-size: 17px;
  color: #272727;
  margin-bottom: 34px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1120px;
  margin: auto;
}

.card {
  border: 1px solid #ded5ca;
  border-radius: 10px;
  padding: 42px 26px 32px;
  min-height: 250px;
  background: rgba(255,255,255,.32);
}

.card-icon {
  color: var(--gold);
  font-size: 48px;
  margin-bottom: 24px;
}

.card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.card p {
  font-size: 15px;
  line-height: 1.65;
  color: #333;
}

/* PLANES */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 50px;
}

.price-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  padding: 36px 28px;
  text-align: left;
  border: 1px solid rgba(200,160,77,.25);
  transition: .3s ease;
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.price-card h3 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.price {
  font-size: 2.2rem;
  color: var(--gold);
  font-weight: bold;
  margin-bottom: 10px;
}

.urn {
  font-weight: bold;
  margin-bottom: 20px;
}

.price-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
  font-size: .95rem;
  margin-bottom: 25px;
  flex: 1;
}

.price-card li::before {
  content: "✓";
  color: var(--gold);
  margin-right: 8px;
}

.price-card li.no-check::before {
  content: none;
}

.price-card li.no-check {
  margin-top: 10px;
  color: var(--gold-dark);
}

.plan-image {
  width: 100%;
  height: 210px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 22px;
  background: var(--cream);
  border: 1px solid rgba(200,160,77,.25);
}

.plan-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.btn-card {
  display: block;
  text-align: center;
  padding: 12px;
  border-radius: 30px;
  font-weight: bold;
  color: var(--white);
  background: #25D366;
  transition: .2s;
  margin-top: auto;
}

.btn-card:hover {
  background: #1ebe5d;
}

.featured {
  border: 2px solid var(--gold);
}

.premium {
  border: 2px solid #000;
}

.badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: #111;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: bold;
}

/* ABOUT / CONTACTO */

.about {
  background: radial-gradient(circle at 50% 20%, #20252b, #101317 70%);
  padding: 46px 70px 34px;
}

.about-grid {
  max-width: 1140px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 48px;
  align-items: start;
}

.divider {
  width: 1px;
  height: 260px;
  background: rgba(255,255,255,.22);
}

.about h2 {
  font-size: 40px;
  line-height: 1.22;
  margin-bottom: 20px;
}

.about p {
  color: #e0e0e0;
  line-height: 1.65;
  font-size: 16px;
  max-width: 500px;
  text-align: justify;
  hyphens: auto;
}

.why ul {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 20px;
}

.why li {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 16px;
  color: var(--white);
  font-weight: 600;
}

.check {
  width: 28px;
  height: 28px;
  border: 1px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.cta-box {
  max-width: 1140px;
  margin: 42px auto 28px;
  border: 1px solid var(--gold);
  border-radius: 16px;
  padding: 26px 34px;
  display: grid;
  grid-template-columns: 90px 1fr auto auto;
  gap: 24px;
  align-items: center;
}

.cta-icon {
  width: 76px;
  height: 76px;
  border: 3px solid var(--gold);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.cta-small {
  color: var(--gold);
  font-weight: 900;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.cta-phone {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 40px;
  color: var(--white);
}

.cta-desc {
  color: var(--white);
  font-size: 15px;
  margin-top: 6px;
}

footer {
  max-width: 1140px;
  margin: auto;
  padding-top: 10px;
  display: flex;
  justify-content: space-between;
  color: #c9c9c9;
  font-size: 14px;
  gap: 30px;
  flex-wrap: wrap;
}

/* RESPONSIVE */

@media (max-width: 980px) {
  .cards,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid,
  .cta-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .divider {
    display: none;
  }

  .cta-icon {
    margin: auto;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 750px;
    padding: 22px;
    background-image:
      linear-gradient(90deg, rgba(10,12,15,.55) 0%, rgba(10,12,15,.28) 38%, rgba(10,12,15,.05) 70%),
      linear-gradient(180deg, rgba(10,12,15,.05), rgba(10,12,15,.20)),
      url("../img/fondo-funeraria-bravo-mobile.webp");
    background-position: center center, center -50px;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
  }

  header {
    justify-content: center;
  }

  .logo {
    font-size: 32px;
  }

  .hero-content {
    margin: 10px auto 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  h1 {
    font-size: 25px;
    line-height: 1.2;
  }

  .gold-line {
    width: 240px;
    margin: 0 auto 10px;
  }

  .eyebrow {
    justify-content: center;
    margin-bottom: 8px;
  }

  .actions {
    justify-content: center;
    margin-top: 260px;
  }

  .services {
    padding: 44px 20px;
  }

  .services h2 {
    font-size: 34px;
  }

  .about {
    padding: 44px 22px 28px;
  }

  .cta-phone {
    font-size: 32px;
  }

  .why {
    align-items: flex-start;
  }

  .why .section-label {
    text-align: left;
    width: 100%;
  }

  .why ul {
    width: 100%;
    justify-items: start;
  }

  .why li {
    justify-content: flex-start;
    text-align: left;
  }

  .why {
    width: 100%;
    text-align: left;
  }

  .why ul {
    width: 100%;
  }

  .why li {
    text-align: left;
    justify-content: flex-start;
  }
}

@media (max-width: 600px) {
  .cards,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    width: auto;
    padding: 14px 20px;
  }
}

.btn-card.whatsapp{
  background:#25D366;
  color:white;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.wa-icon{
  width:32px;
  height:32px;
  object-fit:contain;
}

.whatsapp-float{
  position:fixed;
  bottom:20px;
  right:20px;
  z-index:999;
  width:65px;
  height:65px;
  border-radius:50%;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:.3s ease;
}

.whatsapp-float img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.whatsapp-float:hover{
  transform:scale(1.1);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.whatsapp-float{
  animation: pulse 2s infinite;
}
