/* ==========================================================================
   Kalarti Bio-Construction Landing Page Stylesheet
   Theme: Canva Organic Design (Cream / Deep Green / Warm Gold / Charcoal)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,700;0,800;1,400;1,700&display=swap');

:root {
  --bio-bg-page: #f6f3eb; /* Warm cream page background */
  --bio-bg-card: #ffffff; /* White cards */
  --bio-text-title: #2b221a; /* Deep organic brown/charcoal */
  --bio-text-body: #4a3e35; /* Dark brown-grey body text */
  --bio-text-secondary: #7a6e62; /* Soft clay-grey */
  
  --bio-accent-green: #1b3d1b; /* Deep forest green */
  --bio-accent-gold: #b68f3a; /* Guadua gold */
  --bio-accent-earth: #a95328; /* Terra-cotta */
  
  --bio-bg-teoria: #f0fbf0; /* Light green for Theory block */
  --bio-border-teoria: #3a753a;
  
  --bio-bg-practica: #fef9eb; /* Light yellow/ochre for Practice block */
  --bio-border-practica: #b68f3a;
  
  --bio-border: #e6e2d8;
  
  --bio-font-title: 'Playfair Display', Georgia, serif;
  --bio-font-body: 'Inter', sans-serif;
  
  --bio-transition: 0.25s ease;
  --bio-shadow: 0 4px 12px rgba(43, 34, 26, 0.05);
}

.bio-landing-page {
  font-family: var(--bio-font-body);
  background-color: var(--bio-bg-page);
  color: var(--bio-text-body);
  line-height: 1.6;
}

/* Container */
.bio-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.bio-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--bio-transition);
  border: 1px solid transparent;
  font-family: var(--bio-font-body);
}

.bio-btn-primary {
  background-color: var(--bio-accent-green);
  color: #fff;
}

.bio-btn-primary:hover {
  transform: translateY(-2px);
  background-color: #275227;
  box-shadow: 0 4px 12px rgba(27, 61, 27, 0.2);
}

.bio-btn-whatsapp {
  background-color: #25d366;
  color: #fff;
}

.bio-btn-whatsapp:hover {
  transform: translateY(-2px);
  background-color: #20ba5a;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.bio-btn-lg {
  padding: 0.9rem 2rem;
  font-size: 1.05rem;
}

.bio-btn-full {
  width: 100%;
  justify-content: center;
}

/* Navbar */
.bio-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all 0.3s ease;
  background: transparent;
}

.bio-navbar--scrolled {
  background: rgba(246, 243, 235, 0.95);
  backdrop-filter: blur(8px);
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--bio-border);
}

.bio-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bio-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bio-logo-text {
  font-family: var(--bio-font-body);
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
  color: var(--bio-text-title);
}

.bio-logo-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--bio-accent-green);
  border-left: 1px solid var(--bio-border);
  padding-left: 0.6rem;
  display: block;
}

.bio-nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.bio-nav-links a {
  color: var(--bio-text-body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--bio-transition);
}

.bio-nav-links a:hover {
  color: var(--bio-accent-green);
}

.bio-nav-links a.bio-nav-cta {
  background-color: var(--bio-accent-green);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  transition: all var(--bio-transition);
}

.bio-nav-links a.bio-nav-cta:hover {
  background-color: #275227;
}

.bio-mobile-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.bio-mobile-menu span {
  width: 24px;
  height: 2.5px;
  background-color: var(--bio-text-title);
}

@media (max-width: 768px) {
  .bio-nav-links {
    display: none;
  }
  .bio-mobile-menu {
    display: flex;
  }
}

/* Hero Section (Bamboo roof image bg, centered title) */
.bio-hero {
  position: relative;
  padding: 12rem 0 8rem 0;
  background: linear-gradient(rgba(30, 63, 32, 0.55), rgba(18, 20, 18, 0.75)), 
              url('/images/portada_pabellon.png') center/cover;
  text-align: center;
  color: #ffffff;
  margin-bottom: 3rem;
}

.bio-hero-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bio-hero-title {
  font-family: var(--bio-font-title);
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.bio-hero-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.bio-hero-badge-container {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.bio-badge-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

@media (max-width: 768px) {
  .bio-hero-title {
    font-size: 2.5rem;
  }
}

/* Questions Section (Preguntas Abiertas) */
.bio-questions {
  margin-bottom: 4rem;
}

.bio-questions-card {
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-border);
  border-top: 4px solid var(--bio-accent-gold);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--bio-shadow);
}

.bio-questions-card h3 {
  font-family: var(--bio-font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bio-accent-earth);
  margin-bottom: 0.5rem;
}

.bio-questions-intro {
  font-size: 0.9rem;
  color: var(--bio-text-secondary);
  margin-bottom: 2rem;
}

.bio-questions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.bio-q-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bio-q-icon {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.bio-q-item h4 {
  font-family: var(--bio-font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bio-text-title);
}

.bio-q-item p {
  font-size: 0.85rem;
  color: var(--bio-text-secondary);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .bio-questions-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Schedule / Timeline Section */
.bio-schedule {
  margin-bottom: 5rem;
}

.bio-section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.bio-section-title {
  font-family: var(--bio-font-title);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--bio-text-title);
  margin-bottom: 0.5rem;
}

.bio-section-desc {
  font-size: 1rem;
  color: var(--bio-text-secondary);
}

/* Category Filters */
.bio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.bio-filter-pill {
  background: transparent;
  color: var(--bio-text-title);
  border: 1px solid var(--bio-accent-gold);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  font-family: var(--bio-font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--bio-transition);
}

.bio-filter-pill:hover {
  background: rgba(182, 143, 58, 0.05);
}

.bio-filter-pill.active {
  background-color: var(--bio-text-title);
  border-color: var(--bio-text-title);
  color: #ffffff;
}

/* Timeline Cards */
.bio-timeline {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.bio-timeline-card {
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-border);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  transition: all var(--bio-transition);
  box-shadow: var(--bio-shadow);
  position: relative;
  border-left: 4px solid var(--bio-accent-green);
}

.bio-timeline-card:hover {
  transform: translateY(-2px);
  border-color: var(--bio-accent-gold);
}

.bio-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bio-week-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bio-accent-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.bio-timeline-card h4 {
  font-family: var(--bio-font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bio-text-title);
}

.bio-week-phase-label {
  font-size: 0.75rem;
  color: var(--bio-text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.bio-arrow-icon {
  font-size: 0.8rem;
  color: var(--bio-text-secondary);
  transition: transform var(--bio-transition);
}

/* Expansion Details */
.bio-card-details {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--bio-border);
  animation: fadeIn 0.3s ease;
}

.bio-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .bio-details-grid {
    grid-template-columns: 1fr;
  }
}

.bio-detail-box {
  padding: 1.2rem;
  border-radius: 8px;
}

.bio-detail-box h5 {
  font-family: var(--bio-font-title);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.bio-detail-box p {
  font-size: 0.85rem;
  line-height: 1.5;
}

.bio-detail-box--teoria {
  background-color: var(--bio-bg-teoria);
  border-left: 4px solid var(--bio-border-teoria);
  color: #1e3c1e;
}

.bio-detail-box--teoria h5 {
  color: var(--bio-border-teoria);
}

.bio-detail-box--practica {
  background-color: var(--bio-bg-practica);
  border-left: 4px solid var(--bio-border-practica);
  color: #4b3b18;
}

.bio-detail-box--practica h5 {
  color: var(--bio-border-practica);
}

/* Gallery Section */
.bio-gallery {
  margin-bottom: 5rem;
}

.bio-gallery-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bio-references-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .bio-gallery-row,
  .bio-references-row {
    grid-template-columns: 1fr;
  }
}

.bio-gallery-card,
.bio-reference-card {
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--bio-shadow);
  transition: transform var(--bio-transition);
}

.bio-gallery-card:hover,
.bio-reference-card:hover {
  transform: translateY(-4px);
}

.bio-gallery-card img,
.bio-reference-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.bio-gallery-card-label,
.bio-reference-card-label {
  padding: 1rem;
  text-align: center;
  font-family: var(--bio-font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bio-text-title);
}

/* Contact Form Section */
.bio-contact-section {
  padding: 5rem 0;
  background-color: #efece3;
  border-top: 1px solid var(--bio-border);
}

.bio-contact-grid-layout {
  max-width: 700px;
  margin: 0 auto;
}

.bio-form-wrapper-card {
  background: var(--bio-bg-card);
  border: 1px solid var(--bio-border);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(43, 34, 26, 0.08);
}

.bio-registration-form-box h3 {
  font-family: var(--bio-font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--bio-text-title);
  margin-bottom: 0.5rem;
}

.bio-input-group {
  margin-bottom: 1.2rem;
}

.bio-input-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

@media (max-width: 576px) {
  .bio-input-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.bio-input-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--bio-text-title);
}

.bio-input-group input,
.bio-input-group select,
.bio-input-group textarea {
  width: 100%;
  background-color: var(--bio-bg-page);
  border: 1px solid var(--bio-border);
  color: var(--bio-text-body);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-family: var(--bio-font-body);
  font-size: 0.9rem;
  transition: all var(--bio-transition);
}

.bio-input-group input:focus,
.bio-input-group select:focus,
.bio-input-group textarea:focus {
  outline: none;
  border-color: var(--bio-accent-green);
  box-shadow: 0 0 0 3px rgba(27, 61, 27, 0.1);
}

.bio-input-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%234a3e35' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.bio-form-checkbox-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

@media (max-width: 576px) {
  .bio-form-checkbox-row {
    grid-template-columns: 1fr;
  }
}

.bio-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
  color: var(--bio-text-body);
}

.bio-checkbox-label input {
  width: 16px;
  height: 16px;
  accent-color: var(--bio-accent-green);
}

.bio-form-success-box {
  text-align: center;
  padding: 2rem 0;
  animation: fadeIn 0.5s ease;
}

.bio-form-success-box h3 {
  font-family: var(--bio-font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bio-text-title);
  margin-bottom: 0.5rem;
}

.bio-form-success-box p {
  color: var(--bio-text-secondary);
}

/* Footer */
.bio-footer {
  background-color: #231c16;
  border-top: 1px solid var(--bio-border);
  padding: 4rem 0 2rem 0;
  color: #efece3;
}

.bio-footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3rem;
  margin-bottom: 3rem;
}

.bio-footer-brand {
  max-width: 400px;
}

.bio-footer-brand p {
  color: #a6988c;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.bio-footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-width: 200px;
}

.bio-footer-links h4 {
  font-family: var(--bio-font-title);
  font-size: 1.15rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.bio-footer-links a {
  color: #a6988c;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--bio-transition);
}

.bio-footer-links a:hover {
  color: var(--bio-accent-gold);
}

.bio-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.15);
}

/* Floating WhatsApp Button */
.bio-whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 56px;
  height: 56px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 99;
  transition: transform var(--bio-transition);
}

.bio-whatsapp-float:hover {
  transform: scale(1.1);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Phase Summary Grid */
.bio-phases-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1.5rem;
  background-color: var(--bio-bg-card);
  border-radius: 12px;
  border: 1px solid var(--bio-border);
  box-shadow: var(--bio-shadow);
}

.bio-phase-summary-item {
  text-align: center;
  position: relative;
}

.bio-phase-summary-item:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -0.75rem;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--bio-border);
}

@media (max-width: 992px) {
  .bio-phase-summary-item:not(:first-child)::before {
    display: none;
  }
  .bio-phases-summary-grid {
    gap: 1rem;
  }
}

