@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&family=PT+Serif:wght@400;700&display=swap');


:root{
  --sg-ink:#3F3A60;
  --sg-primary:#714889;
  --sg-primary-800:#654583;
}


.sg-hero__logo{ display:block; max-width: 220px; height:auto; }

.sg-hero__title{
  font-family: "Poppins";
  font-weight: 700;
  line-height: 1.1;
  font-size: clamp(32px, 4.2vw, 56px);
  color: var(--sg-ink);
}
.font-serif{ font-family: "PT Serif", Georgia, serif; }

.sg-hero__lead{
  max-width: 760px;
  font-size: clamp(15px, 1.6vw, 18px);
  color: color-mix(in srgb, var(--sg-ink) 85%, white);
  font-family: "PT Serif";
}

.sg-btn-primary{
  background:#714889 !important;
  color:#fff !important;
  border:none !important;
  border-radius:9999px !important; /* píldora */
  font-family:"Poppins",sans-serif;
  font-weight:700 !important;
  font-size:20px !important;
  padding:14px 60px !important;
  display:inline-block;
  text-decoration:none;
  box-shadow:none !important;   /* sin sombra */
  transition:background-color .2s ease-in-out;
}
.sg-btn-primary:hover,
.sg-btn-primary:focus{
  background:#654583 !important;
}


.sg-hero__tagline{
  max-width: 760px;
  margin-inline: auto;
  color: #654583 !important;
}
/* Línea general */
.sg-hero__divider {
  height: 1.6px;
  background-color: #654583 !important;
  border: none;
  opacity: 1;
}

/* Línea superior */
.sg-hero__divider--top {
  width: 454px; /* ancho exacto del diseño */
  max-width: 80vw;
  margin: 22px auto 18px;
}

/* Línea inferior (más corta) */
.sg-hero__divider--bottom {
  width: 300px;
  margin: 18px auto 0;
}

.sg-hero__tag-strong{
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #654583;
  letter-spacing: .2px;
}

/* Ajustes responsive finos */
@media (max-width: 576px){
  .sg-hero{ padding: 56px 0; }
  .sg-hero__logo{ max-width: 160px; }
}


.sg-hero {
  background-image: url("../img/fondo-calaverita.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 5%;
  min-height: 100vh;
  color: var(--sg-ink);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
}

@media (min-width: 768px) {
  .sg-hero {
    padding-top: 140px;
    padding-bottom: 120px;
  }
}
.sg-hero__tagline-text {
  font-size: clamp(18px, 1.8vw, 22px); /* adaptable según pantalla */
  color: #654583;
  font-weight: 400;
  line-height: 1.4;
}


/* datos */

.sg-form .sg-input,
.sg-form .sg-textarea,
.sg-form .sg-select {
  background: #FFFFFF80;
  border: none;
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  font-size: 16px;
  color: #3F3A60;
}

.sg-form .sg-input::placeholder,
.sg-form .sg-textarea::placeholder {
  color: rgba(63,58,96,0.6);
}

.sg-form .sg-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #3F3A60 50%),
    linear-gradient(135deg, #3F3A60 50%, transparent 50%);
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 18px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

/* whatsapp */

.form-check-input {
  border: 2px solid rgba(63,58,96,0.6);
  width: 18px;
  height: 18px;
  margin-top: 3px;
}
.form-check-input:checked {
  background-color: #714889;
  border-color: #714889;
}
.form-check-label {
  font-size: 15px;
  color: #3F3A60;
}
.form-check-label a {
  color: #714889;
}

/* ====== PREVIEW / POSTAL ====== */
.sg-poster {
  max-width: 1120px;
  width: 100%;
}

.sg-poster__inner{
  background: transparent;
  border-radius: 20px;
  padding: clamp(18px, 3vw, 32px);
}

.sg-poster__poem{
  font-family: "PT Serif", Georgia, serif;
  font-size: clamp(16px, 1.8vw, 20px);
  line-height: 1;
  color: #3F3A60;
  white-space: pre-wrap;
  margin-left: 60px;
}

.sg-poster__image{
  width: 100%;
  max-width: auto;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 6px 16px rgba(0,0,0,.12);
  filter: grayscale(18%);
  margin-left: -0px;
}

.sg-poster__footer{
  border-top: 1px solid rgba(63,58,96,.12);
  padding-top: 12px;
}

.sg-poster__tagline{
  font-family: "PT Serif";
  color: #3F3A60;
  opacity: .85;
  font-size: 16px;
}
/* Layout del poster */
.sg-hero .container { max-width: 1140px; margin-top: 30px; }
@media (max-width: 991.98px) {
  .sg-poster__image { max-width: 100%; }
}

/* Títulos dentro de tarjetas */
.bg-white h5 {
  color: #3F3A60;
  font-weight: 700;
}

