:root {
  --brand-primary: #0A0A0A;
  --brand-navy: #1B2A4E;
  --brand-gold: #D4AF7A;
  --brand-gold-soft: #E8D4B0;
  --brand-cream: #FAF7F2;
}

* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  scroll-padding-top: 80px;
  scroll-behavior: smooth;
}

body {
  font-feature-settings: "kern" 1, "liga" 1;
}

h1, h2, h3, h4, h5, h6 {
  font-feature-settings: "kern" 1, "liga" 1;
  letter-spacing: -0.02em;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--brand-gold);
  color: var(--brand-primary);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 600;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--brand-primary);
  color: var(--brand-cream);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--brand-navy);
}

.btn-primary:active {
  transform: translateY(1px);
}

.btn-ghost {
  display: inline-block;
  border: 2px solid var(--brand-primary);
  color: var(--brand-primary);
  padding: calc(1rem - 2px) calc(2rem - 2px);
  border-radius: 9999px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
}

.btn-ghost:hover {
  background-color: var(--brand-primary);
  color: var(--brand-cream);
}

.btn-gold {
  display: inline-block;
  background-color: var(--brand-gold);
  color: var(--brand-primary);
  padding: 1rem 2rem;
  border-radius: 9999px;
  font-weight: 500;
  text-align: center;
  transition: background-color 0.2s ease, transform 0.1s ease;
  text-decoration: none;
}

.btn-gold:hover {
  background-color: var(--brand-gold-soft);
}

.btn-full {
  width: 100%;
}

/* Links con flecha */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--brand-primary);
  font-weight: 500;
  border-bottom: 2px solid var(--brand-gold);
  padding-bottom: 2px;
  transition: gap 0.2s ease;
  text-decoration: none;
}

.link-arrow:hover {
  gap: 1rem;
}

.link-arrow-sm {
  font-size: 0.875rem;
}

/* Service cards */
.service-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.125rem;
  transition: box-shadow 0.3s ease;
}

.service-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(212, 175, 122, 0.2);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: background-color 0.3s ease;
  color: var(--brand-primary);
}

.service-card:hover .service-icon {
  background-color: var(--brand-gold);
}

/* Event cards */
.event-card {
  cursor: pointer;
}

.event-card-featured {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.125rem;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.event-card-featured:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.event-detail-card {
  padding: 1.5rem;
  background-color: var(--brand-cream);
  border-left: 4px solid var(--brand-gold);
  border-radius: 0.125rem;
}

/* Testimonial cards */
.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 0.125rem;
}

/* FAQ items */
.faq-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.125rem;
}

.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 1.125rem;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  color: var(--brand-gold);
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

/* Service detail */
.service-detail {
  padding: 3rem 0;
  border-bottom: 1px solid rgba(10, 10, 10, 0.1);
}

.service-detail:last-child {
  border-bottom: none;
}

/* Includes card */
.includes-card {
  padding: 1.5rem;
  background-color: var(--brand-cream);
  border-radius: 0.125rem;
}

/* Process step */
.process-step {
  text-align: center;
  padding: 1.5rem;
  background-color: var(--brand-cream);
  border-radius: 0.125rem;
  position: relative;
}

.step-number {
  display: inline-block;
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--brand-gold);
  margin-bottom: 0.75rem;
}

/* Module card */
.module-card {
  padding: 1.5rem;
  background-color: var(--brand-cream);
  border-radius: 0.125rem;
  border-top: 3px solid var(--brand-gold);
}

/* Topic card */
.topic-card {
  padding: 2rem;
  background-color: white;
  border-radius: 0.125rem;
  border-left: 4px solid var(--brand-gold);
}

/* Credential card */
.credential-card {
  padding: 2rem;
  background-color: var(--brand-cream);
  border-radius: 0.125rem;
}

/* Placeholder images */
.placeholder-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(10, 10, 10, 0.3);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  background-color: rgba(10, 10, 10, 0.05);
}

.placeholder-image-sm {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
}

.placeholder-image-xs {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
}

/* Agenda */
.agenda-item {
  background-color: var(--brand-cream);
  padding: 1rem 1.5rem;
  border-radius: 0.125rem;
  border-left: 4px solid var(--brand-gold);
}

.agenda-item summary {
  cursor: pointer;
  font-weight: 500;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.agenda-item summary::-webkit-details-marker {
  display: none;
}

/* Form */
.contact-form {
  background-color: white;
  padding: 2.5rem;
  border-radius: 0.125rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--brand-primary);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(10, 10, 10, 0.15);
  border-radius: 0.125rem;
  background-color: white;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.form-input:focus {
  outline: none;
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 122, 0.15);
}

.form-input:required:invalid {
  border-color: rgba(10, 10, 10, 0.15);
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}

/* Social icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 1px solid rgba(245, 241, 234, 0.3);
  color: var(--brand-cream);
  transition: all 0.2s ease;
  text-decoration: none;
}

.social-icon:hover {
  border-color: var(--brand-gold);
  color: var(--brand-gold);
}

/* Selection */
::selection {
  background-color: var(--brand-gold);
  color: var(--brand-primary);
}

/* Print */
@media print {
  header, footer, .no-print {
    display: none !important;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Focus visible */
:focus-visible {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}