/* ===== BASE ===== */
*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family: Futura, Arial, sans-serif;
  background:#ffffff;              /* ✅ FONDO BLANCO */
  color:#111;                      /* ✅ TEXTO OSCURO */
  overflow-x:hidden;
}

/* Scroll suave */
html{ scroll-behavior:smooth; }

/* Evita que el header tape secciones */
#top, #servicios, #portfolio, #contacto{
  scroll-margin-top:90px;
}

/* ===================== HEADER (TODO FIJO) ============================ */
.header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(247,247,247,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* ===== TOP BAR ===== */
.topbar {
  width: 100%;
  background: #0e9edc;
  border-bottom: 4px solid #e23731;
  font-size: 11px;
}

.topbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6px 20px;
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #cbd5e1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.topbar-item:hover {
  color: #0f172a;
}

.topbar-item .icon {
  font-size: 14px;
  line-height: 1;
}

/* ===== HEADER CONTENT ===== */
.header-container{
  max-width: 1200px;
  margin: 0 auto;
  padding: 3px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Logo */
.logo{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #000000;
  flex: 0 0 auto;
}

.logo-img{
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.logo-text{
  font-weight: 500;
  letter-spacing: 0.2px;
}

/* Nav */
.nav{
  flex: 1;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
}

.nav-link{
  text-decoration: none;
  color: #000000;
  font-weight: 500;
  padding: 0px 10px;
  border-radius: 10px;
  transition: 0.2s ease;
}

.nav-link:hover{
  color: #E23731;
  background: rgba(0,0,0,0.04);
}

/* ===================== GENERALS ============================ */
.container{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-heading{
  margin-bottom: 40px;
}

.section-eyebrow{
  display: inline-block;
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #e11d48;
}

.section-heading h2{
  margin: 0;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
  color: #0f172a;
}

/* ===================== FORMULARI ============================ */
.contact-main{
  padding: 100px 0;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.contact-main-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: start;
}

.contact-form-card,
.sidebar-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 28px;
  box-shadow: 0 18px 42px rgba(15,23,42,0.06);
}

.contact-form-card{
  padding: 32px;
}

.card-heading{
  margin-bottom: 28px;
}

.card-heading h2{
  margin: 0 0 14px;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.08;
  color: #0f172a;
}

.card-heading p{
  margin: 0;
  color: #64748b;
  line-height: 1.75;
}

.contact-form{
  display: grid;
  gap: 18px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group{
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(15,23,42,0.12);
  background: #ffffff;
  color: #0f172a;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
  border-color: rgba(225,29,72,0.4);
  box-shadow: 0 0 0 4px rgba(225,29,72,0.08);
}

.form-group textarea{
  resize: vertical;
  min-height: 160px;
}

.form-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #64748b;
  font-size: 14px;
  line-height: 1.5;
}

.form-check input{
  margin-top: 3px;
}

.submit-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 14px 24px;
  border: 0;
  border-radius: 12px;
  background: #e11d48;
  color: #ffffff;
  font-weight: 800;
  font-size: 15px;
  cursor: pointer;
  transition: 0.25s ease;
}

.submit-btn:hover{
  background: #be123c;
  transform: translateY(-2px);
}

/* ===================== SIDEBAR ============================ */
.contact-sidebar{
  display: grid;
  gap: 18px;
}

.sidebar-card{
  padding: 28px;
}

.sidebar-card h3{
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.15;
  color: #0f172a;
}

.contact-info-list{
  display: grid;
  gap: 14px;
}

.contact-info-item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  border-radius: 18px;
  background: rgba(248,250,252,0.9);
  border: 1px solid rgba(15,23,42,0.06);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contact-info-item:hover{
  transform: translateY(-2px);
  border-color: rgba(225,29,72,0.18);
}

.contact-info-icon{
  font-size: 20px;
  line-height: 1;
}

.contact-info-item strong{
  display: block;
  margin-bottom: 4px;
  color: #0f172a;
}

.contact-info-item span{
  color: #64748b;
  line-height: 1.6;
}

.schedule-list{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.schedule-list li{
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,0.08);
}

.schedule-list li:last-child{
  border-bottom: 0;
}

.schedule-list strong{
  color: #0f172a;
}

.schedule-list span{
  color: #64748b;
}

.emphasis-card{
  background: linear-gradient(180deg, #0f172a 0%, #111827 100%);
  color: #ffffff;
}

.emphasis-card h3{
  color: #ffffff;
}

.emphasis-card p{
  margin: 0;
  color: rgba(255,255,255,0.82);
  line-height: 1.75;
}
/* ===================== FAQ ============================ */
.faq-section{
  padding: 2px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.faq-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.faq-card{
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 42px rgba(15,23,42,0.06);
}

.faq-card h3{
  margin: 0 0 12px;
  font-size: 24px;
  color: #0f172a;
}

.faq-card p{
  margin: 0;
  color: #475569;
  line-height: 1.7;
  font-size: 15px;
}

/* ========================= FOOTER ========================= */

.site-footer{
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: #e2e8f0;
  padding: 80px 20px 30px;
  margin-top: 50px;
  position: relative;
  overflow: hidden;
}

.site-footer::before{
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #e11d48, #fb7185);
}

.footer-container{
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* TOP */
.footer-top{
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.8fr 1fr;
  gap: 34px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Marca */
.footer-brand h3{
  margin: 0 0 16px;
  font-size: 30px;
  line-height: 1.1;
  color: #ffffff;
}

.footer-brand p{
  margin: 0;
  color: #94a3b8;
  line-height: 1.8;
  font-size: 15px;
  max-width: 38ch;
}

/* Titulares columnas */
.footer-links h4,
.footer-contact h4,
.footer-cta-box h4{
  margin: 0 0 16px;
  font-size: 18px;
  color: #ffffff;
}

/* Listas */
.footer-links ul,
.footer-contact ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li{
  margin-bottom: 12px;
}

.footer-links a,
.footer-contact a{
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover{
  color: #ffffff;
}

/* CTA box */
.footer-cta-box{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
}

.footer-cta-label{
  display: inline-block;
  margin-bottom: 12px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(225,29,72,0.14);
  color: #fb7185;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-cta-box p{
  margin: 0 0 18px;
  color: #94a3b8;
  line-height: 1.7;
  font-size: 15px;
}

.footer-cta-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 12px;
  background: #e11d48;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  transition: transform 0.25s ease, background 0.25s ease;
}

.footer-cta-btn:hover{
  background: #be123c;
  transform: translateY(-2px);
}

/* BOTTOM */
.footer-bottom{
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom p{
  margin: 0;
  color: #64748b;
  font-size: 14px;
}

.footer-legal{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-legal a{
  color: #64748b;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-legal a:hover{
  color: #ffffff;
}

/* Responsive */
@media (max-width: 1100px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px){
  .site-footer{
    padding: 60px 16px 26px;
  }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .footer-brand h3{
    font-size: 26px;
  }

  .footer-cta-box{
    padding: 20px;
    border-radius: 20px;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}