/* EL AJO NEGRO CLUB - Mobile-First Responsive CSS (ajogymclub.com) */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-var.woff2') format('woff2');
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  min-height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: rgba(0, 0, 0, 0.85);
  font-size: 14px;
  line-height: 1.5715;
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* =========================================================
   1. HEADER & NAVIGATION (MOBILE-FIRST: HAMBURGER BY DEFAULT)
   ========================================================= */
.ant-layout-header {
  height: 60px;
  line-height: 60px;
  background: #ffffff;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
  width: 100%;
}

.center-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: rgba(0, 0, 0, 0.85);
  white-space: nowrap;
}

/* POR DEFECTO: Menú horizontal oculto en móvil/tablet/pantalla pequeña */
.ant-menu {
  display: none !important;
}

/* POR DEFECTO: Botón hamburguesa visible */
.mobile-toggle {
  display: flex !important;
  background: none;
  border: none;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.85);
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* Mobile Drawer */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: -100%;
  left: 0;
  right: 0;
  background: #ffffff;
  z-index: 2000;
  padding: 20px 20px 32px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: top 0.35s cubic-bezier(0.23, 1, 0.32, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  top: 0;
}

.drawer-close-btn {
  align-self: flex-start;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: rgba(0, 0, 0, 0.65);
  padding: 4px 8px;
  margin-bottom: 16px;
}

.drawer-menu-list {
  list-style: none;
  text-align: center;
  margin: 0;
  padding: 0;
}

.drawer-menu-item {
  padding: 14px 0;
  font-size: 17px;
  font-weight: 500;
  color: #000000;
  border-bottom: 1px solid #f5f5f5;
}

.drawer-menu-item:last-child {
  border-bottom: none;
}

.drawer-menu-item a {
  display: block;
}

/* =========================================================
   2. HERO BANNERS (MOBILE-FIRST)
   ========================================================= */
.hero-cream-banner {
  width: 100%;
  background-color: #e6e1d8;
  padding: 40px 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-cream-banner img, .hero-cream-banner svg {
  max-width: 320px;
  max-height: 150px;
  width: 100%;
  height: auto;
}

.hero-sage-banner {
  width: 100%;
  background-color: #98aa8e;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

/* Marca de agua oculta por defecto para evitar colisiones */
.sage-watermark {
  display: none !important;
}

.sage-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.sage-title {
  font-size: 17px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
  text-align: center;
}

.sage-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.sage-btn {
  background-color: #000000;
  color: #ffffff;
  border-radius: 24px;
  height: 44px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

/* =========================================================
   3. SECTIONS COMMON (MOBILE-FIRST)
   ========================================================= */
.section-wrapper {
  padding: 56px 16px;
  width: 100%;
}

.section-wrapper.white-bg {
  background-color: #ffffff;
}

.section-wrapper.gray-bg {
  background-color: #f5f5f5;
}

.section-title {
  font-size: 26px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-align: center;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ant-divider-black {
  width: 48px;
  height: 2px;
  background-color: #000000;
  margin: 16px auto 24px;
}

.section-paragraph {
  max-width: 720px;
  margin: 0 auto 16px;
  font-size: 14px;
  line-height: 1.75;
  color: #262626;
  text-align: center;
}

/* Section 2: Gallery Cards (Mobile-first: vertical) */
.gallery-container {
  max-width: 340px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-card {
  width: 100%;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  height: 220px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.65);
  color: #ffffff;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

/* =========================================================
   4. PRICING CARDS (MOBILE-FIRST: 1 COLUMNA)
   ========================================================= */
.section-subtitle {
  font-size: 13.5px;
  color: #595959;
  text-align: center;
  margin-top: -8px;
  margin-bottom: 36px;
  padding: 0 16px;
}

.pricing-grid {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ant-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-subtitle {
  font-size: 13px;
  color: #8c8c8c;
  margin-bottom: 14px;
}

.card-price {
  font-size: 24px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 14px;
}

.card-price small {
  font-size: 13px;
  font-weight: 400;
  color: rgba(0, 0, 0, 0.45);
}

.card-description {
  font-size: 13px;
  color: rgba(0, 0, 0, 0.65);
  line-height: 1.6;
  margin-bottom: 16px;
}

.card-more-link {
  font-size: 13px;
  color: #262626;
  font-weight: 600;
  text-decoration: underline;
  margin-bottom: 18px;
  display: inline-block;
}

.ant-btn-loquiero {
  background-color: #000000;
  color: #DCC1A7;
  border-radius: 24px;
  height: 44px;
  width: 100%;
  border: 1px solid #000000;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* =========================================================
   5. FOOTER (MOBILE-FIRST: 1 COLUMNA)
   ========================================================= */
.ant-layout-footer {
  background-color: #f8f8f8;
  border-top: 1px solid #e8e8e8;
  padding: 40px 20px 24px;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  width: 100%;
}

.footer-columns {
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}

.footer-col-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: rgba(0, 0, 0, 0.85);
}

.footer-text {
  font-size: 13.5px;
  line-height: 1.7;
  color: rgba(0, 0, 0, 0.75);
}

.schedule-table {
  width: 100%;
  max-width: 240px;
  margin: 0 auto;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.schedule-table td {
  padding: 3px 0;
  color: rgba(0, 0, 0, 0.75);
}

.schedule-table td.day {
  width: 28px;
  font-weight: 600;
}

.footer-links-list {
  list-style: none;
}

.footer-links-list li {
  margin-bottom: 6px;
}

.footer-links-list a {
  color: rgba(0, 0, 0, 0.75);
  font-size: 13px;
}

.footer-sub {
  margin: 32px auto 0;
  padding-top: 16px;
  border-top: 1px solid #e8e8e8;
  text-align: center;
  font-size: 12.5px;
  color: rgba(0, 0, 0, 0.45);
}

/* =========================================================
   6. REGISTER PAGE (/register) MOBILE-FIRST
   ========================================================= */
.register-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
}

.register-card-container {
  width: 100%;
  max-width: 520px;
  margin: 24px auto 40px;
  padding: 0 16px;
  flex: 1;
}

.register-ant-card {
  background: #ffffff;
  border: 1px solid #f0f0f0;
  border-radius: 8px;
  padding: 24px 18px;
}

.register-header-title {
  font-size: 22px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
}

.register-header-subtitle {
  font-size: 13.5px;
  color: #595959;
  margin-bottom: 24px;
}

.register-notice {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #389e0d;
  margin-bottom: 20px;
}

.form-item {
  margin-bottom: 18px;
}

.form-item-label {
  display: block;
  font-size: 14px;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 6px;
  font-weight: 500;
}

.form-item-label .req {
  color: #ff4d4f;
  margin-right: 4px;
}

.ant-input {
  width: 100%;
  height: 44px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 16px; /* Evita zoom en Safari iOS */
  font-family: inherit;
  color: rgba(0, 0, 0, 0.85);
  background-color: #ffffff;
}

.ant-input:focus {
  border-color: #FF6319;
  box-shadow: 0 0 0 2px rgba(255, 99, 25, 0.2);
  outline: 0;
}

.ant-checkbox-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(0, 0, 0, 0.85);
  margin-bottom: 20px;
  line-height: 1.5;
}

.ant-btn-register {
  width: 100%;
  height: 48px;
  border-radius: 100px;
  background-color: #000000;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.register-bottom-login {
  text-align: center;
  margin-top: 20px;
  font-size: 13.5px;
  font-weight: 600;
}

.register-success-box {
  display: none;
  text-align: center;
  padding: 20px 0;
}

.success-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #52c41a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
}

/* =========================================================
   7. DESKTOP ADAPTATION (EXACTO AJOGYMCLUB: >= 1280px)
   ========================================================= */
@media (min-width: 1280px) {
  .ant-layout-header {
    height: 64px;
    line-height: 64px;
    padding: 0 50px;
  }

  .center-name {
    font-size: 25px;
  }

  /* Solo en escritorio amplio se muestra el menú horizontal */
  .ant-menu {
    display: flex !important;
  }

  /* Y se oculta el botón hamburguesa */
  .mobile-toggle {
    display: none !important;
  }

  .hero-cream-banner {
    padding: 80px 20px;
  }

  .hero-cream-banner img, .hero-cream-banner svg {
    max-width: 580px;
    max-height: 220px;
  }

  .hero-sage-banner {
    min-height: 200px;
    padding: 40px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
  }

  .sage-watermark {
    display: block !important;
    position: absolute;
    right: 5%;
    top: 50%;
    transform: translateY(-50%);
    font-size: clamp(48px, 6vw, 86px);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: rgba(0, 0, 0, 0.15);
    white-space: nowrap;
    pointer-events: none;
  }

  .sage-content {
    max-width: 600px;
    margin: 0;
  }

  .sage-title {
    font-size: 18px;
    margin-bottom: 16px;
    text-align: left;
  }

  .sage-buttons {
    flex-direction: row;
    max-width: none;
  }

  .sage-btn {
    width: auto;
    padding: 10px 24px;
  }

  .section-wrapper {
    padding: 80px 24px;
  }

  .section-title {
    font-size: 35px;
  }

  .ant-divider-black {
    margin: 20px auto 32px;
  }

  .section-paragraph {
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 20px;
  }

  .gallery-container {
    max-width: 760px;
    margin: 40px auto 0;
    flex-direction: row;
    gap: 16px;
  }

  .gallery-card {
    flex: 1;
    height: 320px;
  }

  .section-subtitle {
    font-size: 14px;
    margin-top: -12px;
    margin-bottom: 48px;
  }

  .pricing-grid {
    max-width: 1140px;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .ant-card {
    padding: 32px 24px;
    min-height: 390px;
  }

  .card-title {
    font-size: 16px;
  }

  .card-price {
    font-size: 26px;
  }

  .ant-layout-footer {
    padding: 48px 50px 24px;
  }

  .footer-columns {
    max-width: 1140px;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    text-align: left;
  }

  .schedule-table {
    margin: 0;
  }

  .register-card-container {
    max-width: 600px;
    margin: 48px auto 60px;
    padding: 0 20px;
  }

  .register-ant-card {
    padding: 36px 40px;
  }

  .register-header-title {
    font-size: 24px;
  }
}
