/* ===========================
   TIPOGRAFÍAS
=========================== */
@import url('https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;500;600&family=Playfair+Display:wght@500;600&display=swap');

/* ===========================
   RESET
=========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ===========================
   BASE
=========================== */
body {
  font-family: 'Dosis', sans-serif;
  background: radial-gradient(circle at top, #fffdf7 0%, #fff8ec 40%, #fbeedc 100%);
  color: #6b5532;
  line-height: 1.6;
}

a {
  color: #a87a28;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* ===========================
   LAYOUT GENERAL
=========================== */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

/* ===========================
   HEADER
=========================== */
.site-header {
  background: rgba(255, 253, 247, 0.96);
  border-bottom: 1px solid rgba(168,122,40,0.18);
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-logo img {
  width: 56px;
  height: 56px;
}

.header-title {
  display: flex;
  flex-direction: column;
}

.header-title span:first-child {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: #a87a28;
  font-weight: 600;
}

.header-title span:last-child {
  font-size: 0.85rem;
  color: #8b7045;
}

/* NAV */
.site-nav {
  display: flex;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.site-nav a {
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  color: #7b6238;
}

.site-nav a:hover {
  background: #fff8ec;
  border-color: rgba(168,122,40,0.35);
}

.site-nav a.active {
  background: #a87a28;
  color: #fffdf7;
}

/* ===========================
   HERO INICIO
=========================== */
.hero {
  padding: 2.5rem 1.5rem 2rem;
}

.hero-inner {
  max-width: 1040px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.4fr);
  gap: 2rem;
  align-items: center;
}

.hero-text {
  max-width: 600px;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  color: #8b7045;
  margin-bottom: 0.5rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: #a87a28;
  margin: 0 0 0.7rem;
}

.hero-subtitle {
  font-size: 1rem;
  color: #7b6238;
  max-width: 480px;
  margin-bottom: 0.8rem;
}

.hero-phrase {
  font-style: italic;
  font-size: 0.98rem;
  color: #6b5532;
  background: rgba(255, 248, 236, 0.85);
  border-left: 3px solid #a87a28;
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-conversion .hero-subtitle {
  font-size: 1.08rem;
  max-width: 560px;
}

.btn-cta {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 10px 20px rgba(168,122,40,0.25);
}

.btn-panel {
  width: 100%;
  margin-top: 0.8rem;
}

/* Hero panel */
.hero-panel {
  display: flex;
  justify-content: center;
}

.hero-panel-inner {
  background: rgba(255, 253, 247, 0.98);
  border-radius: 18px;
  border: 1px solid rgba(168,122,40,0.25);
  padding: 1.5rem 1.6rem;
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
  max-width: 360px;
}

.hero-panel-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #a87a28;
  margin: 0 0 0.4rem;
}

.section-title {
  font-family: 'Playfair Display';
  font-size: 1.8rem;
  color: #a87a28;
  margin: 0 0 0.9rem;
}

.services-section,
.how-it-works,
.final-cta {
  padding-top: 1rem;
}

.services-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 1rem;
}

.service-card {
  background: #fffdf7;
  border-radius: 1rem;
  border: 1px solid rgba(168,122,40,0.2);
  padding: 1.2rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-family: 'Playfair Display', serif;
  color: #7b6238;
}

.service-card p {
  margin: 0;
}

.service-card-featured {
  border: 2px solid #a87a28;
  background: linear-gradient(160deg, #fffdf7 10%, #fff5e4 100%);
}

.service-tag {
  display: inline-block;
  margin: 0 0 0.6rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #fff0d7;
  color: #8b6c1f;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.steps-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.7rem;
}

.steps-list li {
  background: rgba(255, 248, 236, 0.6);
  border: 1px solid rgba(168,122,40,0.15);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
}

.final-cta-box {
  background: #fffdf7;
  border: 1px solid rgba(168,122,40,0.25);
  border-radius: 1rem;
  text-align: center;
  padding: 1.4rem;
}

.final-cta-box p {
  margin: 0 0 1rem;
  color: #7b6238;
}

.hero-panel-text {
  font-size: 0.93rem;
  color: #7b6238;
  margin-bottom: 0.8rem;
}

.hero-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
  font-size: 0.9rem;
  color: #6b5532;
}

.hero-list li {
  padding-left: 1.1rem;
  position: relative;
  margin-bottom: 0.3rem;
}
.hero-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #a87a28;
}

/* ===========================
   CONTENIDO BASE
=========================== */
.page-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 2.8rem;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: #a87a28;
  margin-bottom: 0.75rem;
}

.page-subtitle {
  font-size: 1rem;
  color: #8b7045;
  max-width: 640px;
}

.block {
  margin-top: 1.6rem;
}

.block p {
  font-size: 0.98rem;
}

/* Sección introducción */
.section-intro .section-title {
  font-family: 'Playfair Display';
  font-size: 1.6rem;
  color: #a87a28;
  margin-top: 0;
}
.section-intro .section-text {
  max-width: 640px;
}

/* BADGE */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: #fff0d7;
  color: #8b6c1f;
  font-size: 0.82rem;
}

/* ===========================
   TARJETAS (ESPACIOS)
=========================== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 1.3rem;
  margin-top: 1.4rem;
}

.card {
  background: #fffdf7;
  border-radius: 1.1rem;
  border: 1px solid rgba(168,122,40,0.18);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 10px 24px rgba(0,0,0,0.04);
}

.card-featured {
  border: 2px solid #a87a28;
  background: linear-gradient(160deg, #fffdf7 5%, #fff3de 100%);
}

.card h3 {
  margin-top: 0;
  font-family: 'Playfair Display';
}

.card ul {
  margin: 0.6rem 0 0.9rem 1rem;
  padding: 0;
}

/* ===========================
   BOTONES
=========================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.6rem 1.3rem;
  background: #a87a28;
  color: #fffdf7;
  border: 1px solid #a87a28;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn-primary:hover {
  background: #8b6c1f;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.55rem 1.2rem;
  background: transparent;
  color: #a87a28;
  border: 1px solid rgba(168,122,40,0.5);
  cursor: pointer;
  font-size: 0.93rem;
}

.btn-secondary:hover {
  background: #fff8ec;
}

/* ===========================
   FOOTER
=========================== */
.site-footer {
  background: #fffdf7;
  border-top: 1px solid rgba(168,122,40,0.18);
  padding: 0.9rem 1.5rem;
  text-align: center;
  color: #8b7045;
  font-size: 0.85rem;
}

/* ===========================
   BLOCKQUOTE CEREMONIAL
=========================== */
blockquote {
  background: #fffdf5;
  border-left: 4px solid #a87a28;
  padding: 1.2rem 1.4rem 1.8rem;
  margin: 1.8rem 0;
  border-radius: 8px;
  position: relative;
  line-height: 1.65;
  font-family: 'Playfair Display', serif;
  font-size: 1.12rem;
  color: #6b5532;
}

blockquote::before {
  content: "“";
  position: absolute;
  top: -6px;
  left: 10px;
  font-size: 3rem;
  color: rgba(168,122,40,0.22);
  font-family: 'Playfair Display';
}

/* ==========================================================
   AUTOR FUERA DEL BLOCKQUOTE (ESTILO LIBRO)
========================================================== */

.quote-author {
  text-align: right;
  font-size: 0.95rem;
  font-style: italic;
  color: #8b7045;
  margin-top: -0.5rem;  /* sube un poco para que quede cerca del bloque */
  margin-bottom: 1.8rem; 
  padding-right: 0.4rem;
}

/* Ajuste de comilla de cierre */
blockquote::after {
  content: "”";
  position: absolute;
  bottom: 8px;
  right: 20px;
  font-size: 2.5rem;
  color: rgba(168,122,40,0.22);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}


/* ===========================
   PIE DE NAVEGACIÓN "EXPLORAR MÁS"
=========================== */
.co-explorar {
  margin-top: 3rem;
  padding: 1.5rem;
  background: #fffdf7;
  border-radius: 12px;
  border: 1px solid rgba(168,122,40,0.25);
  text-align: center;
}

.co-explorar-title {
  font-family: 'Playfair Display';
  font-size: 1.2rem;
  color: #a87a28;
  margin-bottom: 1rem;
}

.co-explorar-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 0.8rem;
}

.co-explorar-grid a {
  background: #fff8ec;
  padding: 0.7rem;
  border-radius: 10px;
  border: 1px solid rgba(168,122,40,0.25);
  color: #6b5532;
}

.co-explorar-grid a:hover {
  background: #fff3d9;
  border-color: #a87a28;
}

/* ===========================
   BURBUJA + ALTAR
=========================== */

/* Por defecto, la burbuja está oculta en desktop */
.co-bubble {
  display: none;
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 56px;
  height: 56px;
  background: #a87a28;
  color: #fffdf7;
  font-size: 1.6rem;
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 9999;
  transition: transform .25s ease, background .3s ease;
}

.co-bubble:hover {
  background: #8b6c1f;
  transform: scale(1.08);
}

.co-altar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(3px);
  display: none;
  z-index: 9998;
}

.co-altar {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background: #fffdf7;
  border: 2px solid #a87a28;
  border-radius: 14px;
  padding: 1.8rem 2.2rem;
  width: 85%;
  max-width: 380px;
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
  display: none;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 10000;
}

.co-altar.co-open {
  display: block;
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.co-altar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  color: #a87a28;
  text-align: center;
  margin-top: 0;
  margin-bottom: 1rem;
}

.co-altar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.co-altar-nav a {
  display: block;
  background: #fff8ec;
  color: #6b5532;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(168,122,40,0.25);
  border-radius: 10px;
  text-align: center;
  font-size: 1rem;
}

.co-altar-nav a:hover {
  background: #fff3d9;
  border-color: #a87a28;
}

/* ===========================
   RESPONSIVE
=========================== */

/* Header & nav móvil */
@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.6rem;
  }

  .site-nav {
    display: none !important; /* solo burbuja en móvil */
  }

  .hero {
    padding-top: 1.6rem;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-panel {
    margin-top: 1.2rem;
  }

  .page-section {
    padding: 1.8rem 1.2rem 2.4rem;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .co-explorar-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Burbuja solo visible en móvil */
  .co-bubble {
    display: flex;
  }
}

/* Tarjetas una columna en pantallas menores a 900px */
@media (max-width: 900px) {
  .cards-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .cards-grid .card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }
}

/* CIERRE DE COMILLA PARA BLOCKQUOTE */
blockquote::after {
  content: "”";
  position: absolute;
  bottom: 10px;
  right: 18px;
  font-size: 2.8rem;
  color: rgba(168,122,40,0.25);
  font-family: 'Playfair Display', serif;
  line-height: 1;
  pointer-events: none;
}


/* ===========================
   WHATSAPP BASE
=========================== */

.whatsapp-base{
  display:flex;
  align-items:center;

  background:#f6e8d7;
  border-radius:40px;

  padding:12px 16px 12px 20px;

  text-decoration:none;

  box-shadow:
    0 14px 32px rgba(0,0,0,0.22),
    0 6px 14px rgba(0,0,0,0.15),
    0 0 0 1px rgba(168,122,40,0.18);

  transition:transform .25s ease, box-shadow .25s ease;

  z-index:9999;
}

.whatsapp-base:hover{
  transform:translateY(-2px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.28),
    0 10px 18px rgba(0,0,0,0.18);
}

.whatsapp-contact{
  position:fixed;
  bottom:32px;
  right:40px;
  z-index:9999;
}

/* efecto hover (solo desktop) */

.whatsapp-contact:hover{
  transform: translateY(-2px);

  box-shadow:
    0 18px 40px rgba(0,0,0,0.28),
    0 10px 18px rgba(0,0,0,0.18);
}


.whatsapp-highlight{
  justify-content:space-between;
  max-width:420px;
  margin-top:10px;
}


/* ===========================
   TEXTO
=========================== */

.whatsapp-text-base{
  font-family:'Playfair Display', serif;
  color:#6b5532;
  font-size:18px;
  line-height:1.1;
  margin-right:14px;
}

/* ===========================
   ICONO
=========================== */

.whatsapp-icon{
  width: 60px;
  height: 60px;

  background: #a87a28;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow:
    inset 0 2px 4px rgba(255,255,255,0.25),
    0 4px 10px rgba(0,0,0,0.25);
}

.whatsapp-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ===========================
   MOBILE
=========================== */

@media (max-width:768px){

  .whatsapp-contact{
    right: 90px;
    bottom: 20px;
    padding:0;
    background:none;
    box-shadow:none;
  }

  .whatsapp-contact-text{
    display:none;
  }

  .whatsapp-icon{
    width:58px;
    height:58px;
  }

}
