/*
Theme Name: Dentika Landing Theme
Theme URI: https://dentika.app
Author: Dentika
Description: Tema mínimo de una sola página para la landing de Dentika.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.7
Text Domain: dentika-landing-theme
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #0f172a;
    background-color: #f8fafc;
}

/* ===== Dentika Landing – estilos base ===== */

.dentika-landing {
    min-height: 100vh;
}

/* Rejilla principal de secciones */
.dentika-section {
    padding: 4rem 1.5rem;
}

@media (min-width: 768px) {
    .dentika-section {
        padding: 5rem 2rem;
    }
}

.dentika-section-inner {
    max-width: 1120px;
    margin: 0 auto;
}

/* HERO */

.dentika-hero {
    padding: 5rem 1.5rem 3.5rem;
    background: radial-gradient(circle at top left, #e0f2fe 0, #f8fafc 35%, #ffffff 100%);
}

@media (min-width: 1024px) {
    .dentika-hero {
        padding: 6rem 2rem 4rem;
    }
}

.dentika-hero-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 900px) {
    .dentika-hero-inner {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }
}

.dentika-hero-copy h1 {
    font-size: clamp(2.1rem, 3.2vw + 1.4rem, 3rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    color: #020617;
}

.dentika-hero-subtitle {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.dentika-hero-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #64748b;
}

.dentika-hero-visual {
    display: flex;
    justify-content: center;
}

.dentika-hero-mockup {
    width: 100%;
    max-width: 420px;
    border-radius: 1.5rem;
    background: #0f172a;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.4);
    overflow: hidden;
}

.dentika-hero-mockup-header {
    height: 46px;
    background: linear-gradient(90deg, #0ea5e9, #22c55e);
}

.dentika-hero-mockup-body {
    padding: 1.25rem 1.5rem 1.5rem;
    background: #020617;
}

.dentika-hero-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.65rem;
    border-radius: 999px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    background: rgba(15, 23, 42, 0.8);
    color: #e5f2ff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    margin-bottom: 0.75rem;
}

.dentika-hero-mockup-grid {
    height: 220px;
    border-radius: 1.1rem;
    background-image: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 25%, transparent 25%, transparent 50%, rgba(56, 189, 248, 0.08) 50%, rgba(56, 189, 248, 0.08) 75%, transparent 75%, transparent);
    background-size: 32px 32px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: inset 0 0 40px rgba(15, 23, 42, 0.9);
}

/* Botones */

.dentika-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.98rem;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 150ms ease, box-shadow 150ms ease, transform 100ms ease;
}

.dentika-btn-primary {
    background: linear-gradient(135deg, #0ea5e9, #22c55e);
    color: #f9fafb;
    box-shadow: 0 14px 30px rgba(56, 189, 248, 0.35);
}

.dentika-btn-primary:hover,
.dentika-btn-primary:focus-visible {
    background: linear-gradient(135deg, #0284c7, #16a34a);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.45);
    transform: translateY(-1px);
}

.dentika-btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 10px 24px rgba(56, 189, 248, 0.3);
}

/* Beneficios */

.dentika-benefits {
    background-color: #ffffff;
}

.dentika-section h2 {
    font-size: 1.7rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.03em;
}

.dentika-section-intro {
    color: #475569;
    max-width: 38rem;
    margin-bottom: 2rem;
}

.dentika-benefits-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .dentika-benefits-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dentika-benefit-card {
    background-color: #0f172a;
    color: #e5e7eb;
    border-radius: 1.1rem;
    padding: 1.4rem 1.3rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.3);
}

.dentika-benefit-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: #e0f2fe;
}

/* Formulario */

.dentika-form-section {
    background: #f1f5f9;
}

.dentika-form-layout {
    display: grid;
    gap: 2.5rem;
}

@media (min-width: 900px) {
    .dentika-form-layout {
        grid-template-columns: 1.1fr 1fr;
        align-items: flex-start;
    }
}

.dentika-form-copy {
    max-width: 32rem;
}

.dentika-form-bullets {
    margin: 1rem 0 0;
    padding-left: 1.1rem;
    color: #475569;
}

.dentika-form-bullets li {
    margin-bottom: 0.25rem;
}

.dentika-form-wrapper {
    background-color: #ffffff;
    border-radius: 1.1rem;
    padding: 1.8rem 1.5rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
}

@media (min-width: 768px) {
    .dentika-form-wrapper {
        padding: 2rem 1.8rem;
    }
}

.dentika-field-group {
    margin-bottom: 1rem;
}

.dentika-field-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1f2933;
    margin-bottom: 0.35rem;
}

.dentika-field-group input,
.dentika-field-group select {
    width: 100%;
    border-radius: 0.6rem;
    border: 1px solid #cbd5e1;
    padding: 0.6rem 0.7rem;
    font-size: 0.95rem;
    background-color: #f9fafb;
    transition: border-color 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.dentika-field-group input:focus,
.dentika-field-group select:focus {
    outline: none;
    border-color: #0ea5e9;
    box-shadow: 0 0 0 1px rgba(14, 165, 233, 0.2);
    background-color: #ffffff;
}

.dentika-field-pair {
    display: grid;
    gap: 0.85rem;
}

@media (min-width: 640px) {
    .dentika-field-pair {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Checkbox */

.dentika-field-group--checkbox {
    margin-top: 0.5rem;
}

.dentika-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: 0.88rem;
    color: #4b5563;
}

.dentika-checkbox input[type="checkbox"] {
    margin-top: 0.15rem;
    width: 1rem;
    height: 1rem;
}

.dentika-form-help {
    font-size: 0.78rem;
    color: #6b7280;
    margin: 0.75rem 0 1.3rem;
}

/* Mensajes del formulario */

.dentika-form-message {
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.dentika-form-message--success {
    background-color: #ecfdf3;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.dentika-form-message--error {
    background-color: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.dentika-form-message ul {
    margin: 0;
    padding-left: 1.1rem;
}

/* Mensaje cliente (validación JS) */

.dentika-form-client-message {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: #b91c1c;
}

/* Para quién es */

.dentika-whofor {
    background-color: #ffffff;
}

.dentika-whofor-grid {
    display: grid;
    gap: 1.4rem;
    margin-top: 1.5rem;
}

@media (min-width: 768px) {
    .dentika-whofor-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.dentika-whofor-card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 1.25rem 1.2rem;
}

.dentika-whofor-card h3 {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

/* Confianza / testimonios */

.dentika-trust {
    background: #0b1220;
    color: #e5e7eb;
}

.dentika-trust h2 {
    color: #e0f2fe;
}

.dentika-trust-text {
    max-width: 44rem;
    color: #cbd5f5;
    margin-bottom: 2.2rem;
}

.dentika-testimonials-title {
    font-size: 0.92rem;
    color: #a5b4fc;
    margin-bottom: 0.9rem;
}

.dentika-testimonials-grid {
    display: grid;
    gap: 0.8rem;
}

@media (min-width: 768px) {
    .dentika-testimonials-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.dentika-testimonial-card {
    border-radius: 0.9rem;
    padding: 0.9rem 1rem;
    font-size: 0.88rem;
}

.dentika-testimonial-card--placeholder {
    border: 1px dashed rgba(148, 163, 184, 0.8);
    color: #9ca3af;
}

/* Footer mínimo del tema */

.dentika-footer {
    background-color: #020617;
    color: #9ca3af;
    padding: 2.2rem 1.5rem 2rem;
}

.dentika-footer-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    gap: 1.2rem;
}

@media (min-width: 768px) {
    .dentika-footer-inner {
        grid-template-columns: 2fr 1fr 1.5fr;
        align-items: center;
    }
}

.dentika-footer-logo {
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #e5e7eb;
    font-size: 0.95rem;
}

.dentika-footer-text {
    font-size: 0.85rem;
    margin-top: 0.3rem;
}

.dentika-footer-nav a {
    display: inline-flex;
    margin-right: 1.1rem;
    font-size: 0.86rem;
    color: #9ca3af;
    text-decoration: none;
}

.dentika-footer-nav a:hover,
.dentika-footer-nav a:focus-visible {
    color: #e5e7eb;
    text-decoration: underline;
}

.dentika-footer-copy p {
    font-size: 0.78rem;
}

/* Responsividad básica */

@media (max-width: 480px) {
    .dentika-form-wrapper {
        padding: 1.4rem 1.1rem;
    }
}