/* --- VARIABLES DE COLOR (Basadas en el Logo) --- */
:root {
  --primary-orange: #F36D21; /* Naranja del logo */
  --primary-orange-hover: #D95D1A;
  --dark-grey: #2C3035; /* Un gris más oscuro, casi carbón, para un aspecto más premium */
  --dark-grey-hover: #1A1C1F;
  --light-grey: #F8F9FA; /* Fondo claro general sutil */
  --light-grey-alt: #E2E8F0;
  --white: #FFFFFF;
  --text-color: #4A4A4A;
  --text-muted: #718096;
  
  --font-main: 'Inter', system-ui, sans-serif;
  --font-heading: 'Playfair Display', serif; /* Fuente con serifas para aspecto elegante y profesional */
}

/* --- RESET Y ESTILOS BASE --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  line-height: 1.6;
  background-color: var(--white);
  text-align: justify;
  hyphens: auto;
}

/* Centrar textos específicos que no deben ir justificados */
.text-center, .hero p, .hero h1, .hero h2, .footer p {
  text-align: center;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--dark-grey);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- BOTONES --- */
.btn-primary, .btn-secondary, .btn-primary-small {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-primary:hover {
  background-color: var(--primary-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 109, 33, 0.25);
  color: var(--white);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark-grey);
  border: 2px solid var(--dark-grey);
  padding: 14px 30px;
  font-size: 1.1rem;
}

.btn-secondary:hover {
  background-color: var(--dark-grey);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(83, 86, 90, 0.2);
}

.btn-primary-small {
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 10px 20px;
  font-size: 0.95rem;
}

.btn-primary-small:hover {
  background-color: var(--primary-orange-hover);
  color: var(--white);
}

/* --- HEADER --- */
.header {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-grey);
}

.logo .highlight {
  color: var(--primary-orange);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 30px;
}

.nav-menu a {
  font-weight: 500;
  color: var(--dark-grey);
  transition: color 0.3s ease;
}

.nav-menu a:hover:not(.btn-primary-small) {
  color: var(--primary-orange);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 30px;
  height: 3px;
  background-color: var(--dark-grey);
  border-radius: 2px;
  transition: 0.3s;
}

/* --- HERO SECTION --- */
.hero {
  background-color: var(--dark-grey); /* Fondo oscuro muy elegante */
  color: var(--white);
  padding: 160px 0 140px;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 0%, rgba(243, 109, 33, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  color: var(--primary-orange);
  font-family: var(--font-main);
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.hero h1 {
  font-size: 4.5rem;
  margin-bottom: 30px;
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
}

.hero p.hero-lead {
  font-size: 1.3rem;
  margin-bottom: 50px;
  color: #E2E8F0;
  font-weight: 300;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero .btn-secondary {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background-color: var(--white);
  color: var(--dark-grey);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* --- ABOUT SECTION --- */
.about {
  padding: 100px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.about-text h2 {
  font-size: 1.3rem;
  color: var(--primary-orange);
  margin-bottom: 25px;
}

.about-text h3 {
  margin-top: 30px;
  margin-bottom: 15px;
}

.about-text p {
  margin-bottom: 15px;
}

/* --- TEAM PHOTOS --- */
.team-photos {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.team-member {
  text-align: center;
  flex: 1;
}

.profile-img {
  width: 100%;
  max-width: 250px;
  height: 320px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  margin-bottom: 15px;
  border: 4px solid var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.profile-img:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.team-member h4 {
  font-family: var(--font-heading);
  color: var(--dark-grey);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.team-member p {
  color: var(--primary-orange);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}

/* --- SERVICES SECTION --- */
.services {
  padding: 100px 0;
  background-color: var(--light-grey);
}

.section-title {
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.text-center {
  text-align: center;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.service-card {
  background-color: var(--white);
  padding: 50px 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-top: 6px solid var(--primary-orange);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--dark-grey);
}

/* --- BOOKING SECTION --- */
.booking-section {
  padding: 100px 0;
}

.booking-container {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: flex-start;
}

.booking-info {
  flex: 1 1 400px;
}

.booking-info h2 {
  font-size: 2.5rem;
  color: var(--dark-grey);
  margin-bottom: 15px;
}

.booking-info p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border-left: 6px solid var(--primary-orange);
  border-top: 1px solid var(--light-grey);
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
}

.contact-card h3 {
  margin-top: 0;
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--dark-grey);
}

.contact-card p {
  margin-bottom: 12px;
}

.booking-widget {
  flex: 1 1 500px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  min-height: 650px;
}

/* --- FOOTER --- */
.footer {
  background-color: var(--dark-grey);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 30px;
}

.footer-logo .logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo p {
  color: #A0AEC0;
  margin-top: 10px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #A0AEC0;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-orange);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #A0AEC0;
  font-size: 0.9rem;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 900px) {
  .hero {
    padding: 120px 0 80px;
  }
  .hero h1 { 
    font-size: 2.8rem; 
    padding: 0 10px;
  }
  .hero p.hero-lead { 
    font-size: 1.1rem; 
    margin-bottom: 40px;
  }
  .about-grid, .services-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .booking-container {
    flex-direction: column-reverse; /* El formulario arriba, la info abajo */
    gap: 30px;
  }
  .about {
    padding: 60px 0;
  }
  .team-photos {
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 20px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 40px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-top: 1px solid var(--light-grey);
    text-align: center;
  }
  .nav-menu.active {
    display: block;
    animation: slideDown 0.3s ease-out;
  }
  @keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .booking-widget {
    width: 100%;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
  }
  .booking-steps-container {
    height: auto !important;
    overflow: visible !important;
  }
  .booking-info h2 {
    font-size: 1.8rem;
    text-align: center;
  }
  .booking-info p {
    font-size: 1rem;
    text-align: center;
    margin-bottom: 20px;
  }
  .logo-text {
    font-size: 1.3rem;
  }
  .section-title h2 {
    font-size: 2rem;
  }
  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero h1 { font-size: 2.2rem; }
  .service-card {
    padding: 30px 20px;
  }
  .booking-steps-container {
    padding: 15px; /* Más compacto */
  }
  
  /* Tarjetas de selección horizontales en móvil */
  .selection-card {
    padding: 15px;
    flex-direction: row;
    align-items: center;
    gap: 15px;
  }
  .selection-card .card-icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .selection-card .card-icon svg {
    width: 24px;
    height: 24px;
  }
  .selection-card h4 {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  .selection-card p {
    font-size: 0.85rem;
    margin-bottom: 0;
  }
  .selection-card .btn-primary-small {
    display: none; /* No hace falta el botón si toda la tarjeta es clicable */
  }
  
  .step-title {
    font-size: 1.2rem;
  }
  .step-desc {
    font-size: 0.85rem;
    color: #4A4A4A;
    margin-bottom: 15px;
  }
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  .contact-card {
    padding: 20px;
  }
  .contact-card p {
    font-size: 0.9rem;
  }
  .btn-primary, .btn-secondary {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* --- STEP-BY-STEP BOOKING UI --- */
.booking-steps-container {
    background: var(--light-grey);
    border-radius: 12px;
    padding: 30px;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.02);
}

.booking-step {
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.step-desc {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.service-selection-cards {
    display: flex;
    gap: 20px;
    flex-direction: column;
}

.selection-card {
    background: var(--white);
    border: 1px solid var(--light-grey-alt);
    border-radius: 12px;
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.selection-card:hover {
    border-color: var(--primary-orange);
    box-shadow: 0 10px 25px rgba(243, 109, 33, 0.1);
    transform: translateY(-3px);
}

.selection-card .card-icon {
    margin-bottom: 15px;
}

.selection-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    font-family: var(--font-heading);
}

.selection-card p {
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.selection-card .btn-primary-small {
    margin-top: auto;
    width: 100%;
    text-align: center;
}

.back-btn {
    background: none;
    border: none;
    color: var(--primary-orange);
    font-weight: 600;
    cursor: pointer;
    font-size: 0.95rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    padding: 0;
}

.back-btn:hover {
    color: var(--primary-orange-hover);
    text-decoration: underline;
}

.calendar-wrapper {
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--light-grey-alt);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-placeholder {
    text-align: center;
    color: var(--text-muted);
}

.mock-calendar-btn {
    margin-top: 20px;
}

.qualification-form {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--light-grey-alt);
}

.form-group {
    margin-bottom: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.qualification-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.95rem;
}

.qualification-form input[type="text"],
.qualification-form input[type="tel"],
.qualification-form input[type="email"],
.qualification-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-grey-alt);
    border-radius: 8px;
    font-family: var(--font-main);
    transition: border-color 0.3s;
}

.qualification-form input:focus,
.qualification-form textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    margin-top: 5px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.9rem;
}

.checkbox-group a {
    color: var(--primary-orange);
    text-decoration: underline;
}

.w-100 {
    width: 100%;
}


