<!DOCTYPE html>
<html lang="es">
<head>
    <meta charset="UTF-8">
    <title>Carátula de Matemática - Yissel Andrea Flores Jurado</title>
    <style>
        @page {
            size: letter;
            margin: 0;
        }
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f7f6;
            -webkit-print-color-adjust: exact;
            print-color-adjust: exact;
        }
        .page {
            width: 215.9mm;
            height: 279.4mm;
            box-sizing: border-box;
            padding: 15mm 20mm;
            margin: 0 auto;
            background: white;
            position: relative;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            border: 12px solid #2563eb;
            box-shadow: 0 0 20px rgba(0,0,0,0.1);
        }
        .inner-border {
            border: 2px dashed #93c5fd;
            height: 100%;
            box-sizing: border-box;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            align-items: center;
        }
        .header {
            text-align: center;
            width: 100%;
        }
        .institution {
            font-size: 1.4rem;
            font-weight: 800;
            color: #1e3a8a;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 5px;
            border-bottom: 3px solid #3b82f6;
            padding-bottom: 8px;
        }
        .sub-header {
            font-size: 1rem;
            color: #475569;
            font-weight: 600;
            margin-top: 5px;
        }
        .main-title-container {
            text-align: center;
            margin: 15px 0;
            width: 100%;
        }
        .badge {
            background: linear-gradient(135deg, #2563eb, #1d4ed8);
            color: white;
            padding: 6px 18px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 700;
            letter-spacing: 2px;
            display: inline-block;
            margin-bottom: 12px;
            box-shadow: 0 4px 6px rgba(37, 99, 235, 0.2);
        }
        .title {
            font-size: 2.2rem;
            font-weight: 900;
            color: #0f172a;
            line-height: 1.2;
            text-transform: uppercase;
            background: linear-gradient(135deg, #1e3a8a, #2563eb);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        .graphics-container {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin: 10px 0;
            width: 100%;
        }
        .venn-svg {
            width: 180px;
            height: 120px;
        }
        .math-pills {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            justify-content: center;
            margin-top: 10px;
        }
        .pill {
            background-color: #eff6ff;
            border: 1.5px solid #bfdbfe;
            color: #1e40af;
            padding: 4px 12px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 0.95rem;
        }
        .info-card {
            width: 100%;
            background: linear-gradient(135deg, #f8fafc, #f1f5f9);
            border-left: 6px solid #2563eb;
            border-radius: 8px;
            padding: 18px 25px;
            box-sizing: border-box;
            box-shadow: 0 2px 4px rgba(0,0,0,0.05);
        }
        .info-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 12px 20px;
        }
        .info-item {
            display: flex;
            flex-direction: column;
        }
        .info-label {
            font-size: 0.75rem;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }
        .info-value {
            font-size: 1rem;
            font-weight: 700;
            color: #1e293b;
            border-bottom: 1px dashed #cbd5e1;
            padding-bottom: 2px;
        }
        .full-width {
            grid-column: span 2;
        }
        .footer {
            text-align: center;
            font-size: 0.85rem;
            color: #94a3b8;
            font-weight: 600;
            width: 100%;
        }
    </style>
</head>
<body>

<div class="page">
    <div class="inner-border">
        
        <!-- ENCABEZADO -->
        <div class="header">
            <div class="institution">UNIDAD EDUCATIVA</div>
            <div class="sub-header">ÁREA DE MATEMÁTICA Y LÓGICA</div>
        </div>

        <!-- TÍTULO PRINCIPAL -->
        <div class="main-title-container">
            <span class="badge">TRABAJO PRÁCTICO</span>
            <div class="title">TEORÍA DE CONJUNTOS<br>Y RELACIONES</div>
            
            <div class="math-pills">
                <span class="pill">A ∪ B</span>
                <span class="pill">A ∩ B</span>
                <span class="pill">A × B</span>
                <span class="pill">Dom(R)</span>
                <span class="pill">Rec(R)</span>
            </div>
        </div>

        <!-- ILUSTRACIÓN MATEMÁTICA -->
        <div class="graphics-container">
            <svg class="venn-svg" viewBox="0 0 200 130">
                <!-- Conjunto A -->
                <circle cx="75" cy="65" r="45" fill="#3b82f6" fill-opacity="0.4" stroke="#2563eb" stroke-width="3" />
                <!-- Conjunto B -->
                <circle cx="125" cy="65" r="45" fill="#ef4444" fill-opacity="0.4" stroke="#dc2626" stroke-width="3" />
                <!-- Etiquetas -->
                <text x="50" y="65" font-family="sans-serif" font-size="16" font-weight="bold" fill="#1e3a8a">A</text>
                <text x="140" y="65" font-family="sans-serif" font-size="16" font-weight="bold" fill="#991b1b">B</text>
                <text x="94" y="68" font-family="sans-serif" font-size="12" font-weight="bold" fill="#0f172a">A∩B</text>
            </svg>
        </div>

        <!-- DATOS DEL ESTUDIANTE -->
        <div class="info-card">
            <div class="info-grid">
                <div class="info-item full-width">
                    <span class="info-label">ESTUDIANTE</span>
                    <span class="info-value">Yissel Andrea Flores Jurado</span>
                </div>
                <div class="info-item">
                    <span class="info-label">MAESTRA</span>
                    <span class="info-value">Antonia Martínez</span>
                </div>
                <div class="info-item">
                    <span class="info-label">MATERIA</span>
                    <span class="info-value">Matemática</span>
                </div>
                <div class="info-item">
                    <span class="info-label">CURSO</span>
                    <span class="info-value">6to de Secundaria</span>
                </div>
                <div class="info-item">
                    <span class="info-label">TEMA</span>
                    <span class="info-value">Conjuntos y Relaciones</span>
                </div>
            </div>
        </div>

        <!-- PIE DE PÁGINA -->
        <div class="footer">
            GUÍA DE EJERCICIOS RESUELTOS • GESTIÓN ACADÉMICA 2026
        </div>

    </div>
</div>

</body>
</html>
