/**
 * AGH Authority Page Styles
 * /academia-ingenieria-aeroespacial-madrid/
 */

/* Hero */
.agh-auth-hero {
  background: linear-gradient(135deg, #0d3a7a 0%, #1453a7 50%, #1684d6 100%);
  padding: 5rem 20px 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.agh-auth-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.agh-auth-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.agh-auth-hero h1 {
  font-size: 2.8rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin: 0 0 20px 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.agh-auth-hero .agh-auth-lead {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.9);
  margin: 0 0 32px 0;
  line-height: 1.6;
}

.agh-auth-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.agh-auth-stat {
  text-align: center;
}

.agh-auth-stat-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  color: #ffe000;
  line-height: 1;
}

.agh-auth-stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Content wrapper */
.agh-auth-content {
  max-width: 860px;
  margin: 0 auto;
  padding: 50px 20px 60px;
}

.agh-auth-content h2 {
  font-size: 1.8rem;
  font-weight: 900;
  color: #0d3a7a;
  margin: 2.5rem 0 1rem;
  padding-bottom: 10px;
  border-bottom: 3px solid #1684d6;
}

.agh-auth-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #1453a7;
  margin: 1.5rem 0 0.75rem;
}

.agh-auth-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.2rem;
}

.agh-auth-content ul, .agh-auth-content ol {
  margin: 0 0 1.5rem 0;
  padding-left: 1.5rem;
}

.agh-auth-content li {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 0.5rem;
}

.agh-auth-content strong {
  color: #0d3a7a;
}

/* Highlight box */
.agh-auth-highlight {
  background: linear-gradient(135deg, #eef6ff 0%, #dbeafe 100%);
  border-left: 4px solid #1684d6;
  border-radius: 0 12px 12px 0;
  padding: 24px 28px;
  margin: 2rem 0;
}

.agh-auth-highlight p {
  margin: 0;
  color: #1e3a5f;
}

/* Subject grid */
.agh-auth-subjects {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 1.5rem 0 2rem;
}

.agh-auth-subject {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 14px 18px;
  font-weight: 600;
  color: #1453a7;
  font-size: 0.95rem;
  text-align: center;
  transition: all 0.2s;
}

.agh-auth-subject:hover {
  border-color: #1684d6;
  box-shadow: 0 4px 12px rgba(20,83,167,0.1);
  transform: translateY(-2px);
}

/* Comparison table */
.agh-auth-comparison {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
  font-size: 0.95rem;
}

.agh-auth-comparison th {
  background: linear-gradient(135deg, #1453a7, #1684d6);
  color: #fff;
  padding: 14px 16px;
  text-align: left;
  font-weight: 700;
}

.agh-auth-comparison td {
  padding: 12px 16px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
}

.agh-auth-comparison tr:nth-child(even) td {
  background: #f8fafc;
}

.agh-auth-comparison .agh-check {
  color: #059669;
  font-weight: 700;
}

.agh-auth-comparison .agh-x {
  color: #dc2626;
  font-weight: 700;
}

/* CTA box */
.agh-auth-cta {
  background: linear-gradient(135deg, #1684d6 0%, #1453a7 100%);
  border-radius: 20px;
  padding: 48px 36px;
  text-align: center;
  margin: 3rem 0 0;
}

.agh-auth-cta h2 {
  color: #fff !important;
  border: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.agh-auth-cta p {
  color: rgba(255,255,255,0.9) !important;
  margin-bottom: 24px !important;
}

.agh-auth-cta-btn {
  display: inline-block;
  background: #ffe000;
  color: #0d3a7a !important;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 16px 36px;
  border-radius: 12px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 24px rgba(255,224,0,0.3);
  transition: transform 0.25s, box-shadow 0.25s;
}

.agh-auth-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255,224,0,0.4);
}

/* Responsive */
@media (max-width: 768px) {
  .agh-auth-hero { padding: 3rem 16px 2.5rem; }
  .agh-auth-hero h1 { font-size: 2rem; }
  .agh-auth-hero .agh-auth-lead { font-size: 1.05rem; }
  .agh-auth-stats { gap: 20px; }
  .agh-auth-stat-num { font-size: 2rem; }
  .agh-auth-content { padding: 30px 16px 40px; }
  .agh-auth-content h2 { font-size: 1.5rem; }
  .agh-auth-subjects { grid-template-columns: repeat(2, 1fr); }
  .agh-auth-comparison { font-size: 0.85rem; }
  .agh-auth-comparison th, .agh-auth-comparison td { padding: 10px 10px; }
}
