/* =========================================
   ANGELIKWEB | INVITACIONES DIGITALES
   Identidad elegante, neutra y moderna
========================================= */

/* ---------- VARIABLES ---------- */

:root {
    --fondo: #faf8f5;
    --fondo-secundario: #f0ebe5;
    --superficie: #ffffff;

    --texto: #29252b;
    --texto-suave: #726b75;

    --violeta: #8b5ab5;
    --violeta-claro: #c084fc;
    --lavanda: #eee5f3;

    --borde: #e4dce2;

    --fuente-editorial: Georgia, "Times New Roman", serif;
    --fuente-general: Arial, Helvetica, sans-serif;
}

/* ---------- BASE ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--fondo);
    color: var(--texto);
    font-family: var(--fuente-general);
    line-height: 1.7;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--violeta);
    outline-offset: 4px;
}

/* =========================================
   ENCABEZADO
========================================= */

.header {
    min-height: 86px;
    padding: 18px 7%;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    background: rgba(250, 248, 245, 0.96);
    border-bottom: 1px solid var(--borde);
}

.logo {
    flex-shrink: 0;
    font-family: "Courier New", monospace;
    font-size: 23px;
    font-weight: bold;
    letter-spacing: 1px;
    color: var(--texto);
}

.logo span {
    color: var(--violeta);
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}

.navigation a {
    position: relative;
    font-size: 13px;
    font-weight: 500;
    color: var(--texto-suave);
    transition: color 0.3s ease;
}

.navigation a:hover {
    color: var(--violeta);
}

.navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;

    width: 0;
    height: 1px;

    background: var(--violeta);
    transition: width 0.3s ease;
}

.navigation a:hover::after {
    width: 100%;
}

.volver {
    flex-shrink: 0;
    font-size: 12px;
    color: var(--violeta);
    transition: color 0.3s ease;
}

.volver:hover {
    color: var(--texto);
}

/* Logotipo AngelikWeb Invitaciones */

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid rgba(139, 90, 181, 0.35);
    box-shadow: 0 2px 10px rgba(139, 90, 181, 0.10);
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo-text {
    font-family: "Courier New", monospace;
    font-weight: bold;
    letter-spacing: 1.5px;
    color: var(--texto);
}

.logo-text span {
    color: var(--violeta);
}

/* =========================================
   PORTADA
========================================= */

.hero {
    position: relative;
    min-height: 680px;
    padding: 100px 8%;

    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 75px;

    background:
        radial-gradient(circle at 82% 35%,
            rgba(192, 132, 252, 0.09),
            transparent 38%),
        var(--fondo);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin-bottom: 25px;
    font-family: "Courier New", monospace;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2.5px;
    color: var(--violeta);
}

.hero h1 {
    max-width: 750px;
    font-family: var(--fuente-editorial);
    font-size: clamp(43px, 5.3vw, 76px);
    font-weight: normal;
    letter-spacing: -1.8px;
    line-height: 1.13;
}

.hero h1 span {
    display: block;
    color: var(--violeta);
    font-style: italic;
}

.hero-description {
    max-width: 500px;
    margin-top: 30px;
    font-size: 16px;
    line-height: 1.9;
    color: var(--texto-suave);
}

/* ---------- BOTONES ---------- */

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 49px;
    padding: 12px 25px;

    border: 1px solid var(--texto);
    border-radius: 3px;

    font-size: 13px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        color 0.3s ease,
        transform 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--texto);
    color: #ffffff;
}

.btn-primary:hover {
    background: var(--violeta);
    border-color: var(--violeta);
}

.btn-secondary {
    background: transparent;
    color: var(--texto);
    border-color: #cfc6cc;
}

.btn-secondary:hover {
    background: var(--lavanda);
    border-color: var(--violeta);
}

/* =========================================
   ELEMENTO DECORATIVO DE PORTADA
========================================= */

.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.decorative-frame {
    position: relative;

    width: 100%;
    max-width: 400px;
    min-height: 450px;

    padding: 45px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    background:
        linear-gradient(145deg,
            #f6f0ec,
            #eae0e9);

    border: 1px solid #cfc2d0;
    outline: 1px solid rgba(139, 90, 181, 0.18);
    outline-offset: 12px;

    box-shadow: 0 25px 60px rgba(45, 32, 50, 0.08);
}

.decorative-frame::before {
    content: "";
    position: absolute;
    inset: 15px;
    border: 1px solid rgba(139, 90, 181, 0.16);
    pointer-events: none;
}

.frame-symbol {
    font-size: 33px;
    color: var(--violeta);
}

.decorative-frame p {
    margin: 30px 0 12px;
    font-family: var(--fuente-editorial);
    font-size: 17px;
    font-style: italic;
    color: var(--texto-suave);
}

.decorative-frame h2 {
    max-width: 300px;
    margin-bottom: 28px;
    font-family: var(--fuente-editorial);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: normal;
    line-height: 1.3;
    color: var(--texto);
}

/* =========================================
   ENCABEZADOS DE SECCIÓN
========================================= */

.section-heading {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
}

.section-heading h2 {
    font-family: var(--fuente-editorial);
    font-size: clamp(32px, 4vw, 49px);
    font-weight: normal;
    line-height: 1.25;
    letter-spacing: -0.6px;
}

.section-heading>p:last-child:not(.eyebrow) {
    margin-top: 17px;
    color: var(--texto-suave);
    font-size: 15px;
}

/* =========================================
   CATÁLOGO
========================================= */

.catalogo {
    padding: 105px 7%;
    background: var(--fondo-secundario);
    border-top: 1px solid var(--borde);
}

.catalogo-grid {
    max-width: 1250px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.catalogo-card {
    min-width: 0;
    overflow: hidden;

    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 4px;

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}

.catalogo-card:hover {
    transform: translateY(-7px);
    border-color: #c9b4d5;
    box-shadow: 0 16px 35px rgba(41, 37, 43, 0.09);
}

.catalogo-imagen {
    position: relative;
    height: 285px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.catalogo-imagen span {
    position: relative;
    z-index: 1;

    font-family: var(--fuente-editorial);
    font-size: 65px;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.12);
}

/* Colores propios de cada categoría */

.catalogo-imagen.xv {
    background: linear-gradient(145deg, #816479, #d5aeb9);
}

.catalogo-imagen.bodas {
    background: linear-gradient(145deg, #a58c78, #e4d1b8);
}

.catalogo-imagen.bautizos {
    background: linear-gradient(145deg, #829eaa, #c4d9df);
}

.catalogo-imagen.cumpleanos {
    background: linear-gradient(145deg, #9a799c, #dcb9cf);
}

.catalogo-info {
    padding: 25px 21px 30px;
}

.catalogo-info h3 {
    margin-bottom: 12px;
    font-family: var(--fuente-editorial);
    font-size: 25px;
    font-weight: normal;
}

.catalogo-info p {
    min-height: 75px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--texto-suave);
}

.catalogo-info a {
    display: inline-block;
    margin-top: 20px;

    font-size: 13px;
    font-weight: 600;
    color: var(--violeta);
}

.catalogo-info a:hover {
    text-decoration: underline;
}

/* =========================================
   SECCIONES TEMPORALES
========================================= */

.placeholder-section {
    padding: 105px 7%;
    text-align: center;
    background: var(--fondo);
    border-top: 1px solid var(--borde);
}

.placeholder-section:nth-of-type(even) {
    background: var(--fondo-secundario);
}

.placeholder-section h2 {
    font-family: var(--fuente-editorial);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: normal;
    line-height: 1.3;
}

.placeholder-section>p:last-child:not(.eyebrow) {
    margin-top: 18px;
    color: var(--texto-suave);
}

/* =========================================
   SERVICIOS
========================================= */

.servicios {
    padding: 105px 7%;
    background: var(--fondo);
    border-top: 1px solid var(--borde);
}

.servicios-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.servicio-card {
    min-width: 0;
    padding: 35px 25px;

    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 4px;

    transition: transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    border-color: #c9b4d5;
    box-shadow: 0 12px 30px rgba(41, 37, 43, 0.06);
}

.servicio-icono {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;
    margin-bottom: 25px;

    background: var(--lavanda);
    border-radius: 50%;

    color: var(--violeta);
    font-size: 24px;
}

.servicio-card h3 {
    margin-bottom: 15px;
    font-family: var(--fuente-editorial);
    font-size: 23px;
    font-weight: normal;
    line-height: 1.3;
}

.servicio-card p {
    color: var(--texto-suave);
    font-size: 13px;
    line-height: 1.8;
}

@media (max-width: 1050px) {
    .servicios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .servicios {
        padding: 80px 6%;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
    }
}

/* =========================================
   PRECIOS Y PAQUETES
========================================= */

.precios {
    padding: 110px 7%;
    background: var(--fondo);
    border-top: 1px solid var(--borde);
}

.precios-grid {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 25px;
}

.precio-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 38px 30px;

    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 5px;

    transition: transform .3s ease,
        box-shadow .3s ease;
}

.precio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(41, 37, 43, .07);
}

.precio-card.destacado {
    border: 2px solid var(--violeta);
    background: #fdfaff;
}

.precio-etiqueta {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);

    padding: 7px 16px;
    background: var(--violeta);
    color: white;

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
    border-radius: 3px;
}

.precio-categoria {
    font-family: "Courier New", monospace;
    font-size: 11px;
    letter-spacing: 2px;
    color: var(--violeta);
}

.precio-card h3 {
    margin-top: 12px;
    font-family: var(--fuente-editorial);
    font-size: 34px;
    font-weight: normal;
}

.precio-descripcion {
    margin-top: 10px;
    min-height: 55px;
    font-size: 13px;
    color: var(--texto-suave);
}

.precio-monto {
    margin: 30px 0;
    font-family: var(--fuente-editorial);
    font-size: 43px;
    line-height: 1.2;
    color: var(--texto);
}

.precio-monto span {
    font-family: var(--fuente-general);
    font-size: 13px;
    color: var(--texto-suave);
}

.precio-card ul {
    flex: 1;
    list-style: none;
    margin-bottom: 35px;
}

.precio-card li {
    position: relative;
    padding: 10px 0 10px 25px;
    font-size: 13px;
    color: var(--texto-suave);
    border-bottom: 1px solid var(--borde);
}

.precio-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--violeta);
    font-weight: bold;
}

.precio-boton {
    display: block;
    padding: 14px 18px;

    text-align: center;
    font-size: 13px;
    font-weight: bold;

    background: var(--texto);
    color: white;
    border-radius: 3px;

    transition: background .3s ease;
}

.precio-boton:hover,
.destacado .precio-boton {
    background: var(--violeta);
}

.destacado .precio-boton:hover {
    background: #704493;
}

.precios-nota {
    max-width: 700px;
    margin: 35px auto 0;
    text-align: center;
    font-size: 12px;
    color: var(--texto-suave);
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 950px) {
    .precios-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 650px) {
    .precios {
        padding: 85px 6%;
    }

    .precios-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        gap: 35px;
    }

    .precio-card {
        padding: 35px 25px;
    }

    .precio-descripcion {
        min-height: auto;
    }
}

/* =========================================
   CONTACTO
========================================= */

.contacto {
    padding: 115px 8%;
    background: var(--fondo-secundario);
    border-top: 1px solid var(--borde);
}

.contacto-contenido {
    max-width: 1200px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

.contacto-texto h2 {
    font-family: var(--fuente-editorial);
    font-size: clamp(35px, 4.5vw, 58px);
    font-weight: normal;
    line-height: 1.2;
    letter-spacing: -1px;
}

.contacto-texto h2 span {
    display: block;
    color: var(--violeta);
    font-style: italic;
}

.contacto-descripcion {
    max-width: 450px;
    margin-top: 25px;
    color: var(--texto-suave);
    font-size: 15px;
    line-height: 1.9;
}

.contacto-opciones {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contacto-tarjeta {
    display: flex;
    align-items: center;
    gap: 20px;

    min-width: 0;
    padding: 25px;

    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 4px;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.contacto-tarjeta:hover {
    transform: translateY(-4px);
    border-color: #c9b4d5;
    box-shadow: 0 12px 30px rgba(41, 37, 43, 0.07);
}

.contacto-icono {
    flex-shrink: 0;

    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--lavanda);

    color: var(--violeta);
    font-size: 24px;
}

.contacto-tarjeta>div {
    min-width: 0;
}

.contacto-etiqueta {
    font-family: "Courier New", monospace;
    font-size: 10px;
    letter-spacing: 1.5px;
    color: var(--violeta);
}

.contacto-tarjeta h3 {
    margin: 5px 0;
    font-family: var(--fuente-editorial);
    font-size: 23px;
    font-weight: normal;
}

.contacto-tarjeta p {
    color: var(--texto-suave);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.contacto-flecha {
    margin-left: auto;
    color: var(--violeta);
    font-size: 22px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 900px) {
    .contacto-contenido {
        grid-template-columns: 1fr;
        gap: 45px;
    }
}

@media (max-width: 700px) {
    .contacto {
        padding: 85px 6%;
    }

    .contacto-tarjeta {
        padding: 20px 16px;
        gap: 12px;
    }

    .contacto-icono {
        width: 45px;
        height: 45px;
        font-size: 21px;
    }

    .contacto-tarjeta h3 {
        font-size: 21px;
    }

    .contacto-flecha {
        font-size: 18px;
    }
}

/* =========================================
   PIE DE PÁGINA
========================================= */

.footer {
    padding: 35px 7%;
    text-align: center;

    background: var(--fondo);
    border-top: 1px solid var(--borde);

    font-family: "Courier New", monospace;
    font-size: 12px;
    color: var(--texto-suave);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 1050px) {

    .header {
        flex-wrap: wrap;
        justify-content: center;
    }

    .navigation {
        order: 3;
        width: 100%;
        gap: 18px;
    }

    .hero {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        padding: 85px 6%;
    }

    .catalogo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .catalogo-info p {
        min-height: auto;
    }
}

/* =========================================
   CELULAR
========================================= */

@media (max-width: 700px) {

    .header {
        padding: 20px 6%;
        gap: 15px;
    }

    .logo {
        font-size: 21px;
    }

    .navigation {
        gap: 12px 20px;
    }

    .navigation a {
        font-size: 12px;
    }

    .volver {
        font-size: 11px;
    }

    .hero {
        grid-template-columns: 1fr;
        min-height: auto;

        padding: 75px 7% 85px;
        gap: 70px;
        text-align: center;
    }

    .hero h1 {
        font-size: clamp(39px, 9vw, 57px);
        letter-spacing: -1px;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
        font-size: 15px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .decorative-frame {
        max-width: 360px;
        min-height: 370px;
        padding: 35px 25px;
        outline-offset: 7px;
    }

    .catalogo {
        padding: 80px 6%;
    }

    .catalogo-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        gap: 25px;
    }

    .catalogo-imagen {
        height: 310px;
    }

    .placeholder-section {
        padding: 80px 7%;
    }
}

@media (max-width: 420px) {

    .header {
        flex-direction: column;
    }

    .navigation {
        order: 0;
    }

    .hero {
        padding-top: 65px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .decorative-frame {
        min-height: 340px;
    }

    .decorative-frame h2 {
        font-size: 30px;
    }
}

/* =========================================
   ACCESIBILIDAD
========================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
    }
}

/* =========================================
   FORMULARIO DE SOLICITUD
========================================= */

.formulario-contenedor {
    max-width: 850px;
    margin: 0 auto;
    padding: 45px;
    background: var(--superficie);
    border: 1px solid var(--borde);
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(41, 37, 43, .05);
}

.formulario-fila {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.formulario-grupo {
    display: flex;
    flex-direction: column;
    gap: 9px;
    margin-bottom: 24px;
}

.formulario-grupo label {
    font-size: 13px;
    font-weight: 600;
    color: var(--texto);
}

.formulario-grupo input,
.formulario-grupo select,
.formulario-grupo textarea {
    width: 100%;
    min-width: 0;
    padding: 14px 15px;

    background: var(--fondo);
    border: 1px solid var(--borde);
    border-radius: 4px;

    font-family: var(--fuente-general);
    font-size: 14px;
    color: var(--texto);

    outline: none;
    transition: border-color .3s ease;
}

.formulario-grupo input:focus,
.formulario-grupo select:focus,
.formulario-grupo textarea:focus {
    border-color: var(--violeta);
}

.formulario-grupo textarea {
    resize: vertical;
}

.formulario-aviso {
    margin-bottom: 20px;
    font-size: 12px;
    color: var(--texto-suave);
}

.formulario-boton {
    width: 100%;
    padding: 16px 25px;

    background: var(--violeta);
    color: white;
    border: none;
    border-radius: 4px;

    font-size: 14px;
    font-weight: bold;
    cursor: pointer;

    transition: background .3s ease;
}

.formulario-boton:hover {
    background: #704493;
}

#formularioEstado {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
}

@media (max-width: 700px) {
    .formulario-contenedor {
        padding: 25px 20px;
    }

    .formulario-fila {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.cf-turnstile {
    margin: 15px 0 25px;
}

.formulario-boton:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}