/* ============================================
   ROLLERCLEAN — Estilos Principales
   ============================================ */

/* --- Variables de color --- */
:root {
  --cream: #f0f6ff;
  --dark: #0d1b2a;
  --teal: #1565c0;
  --teal-light: #1e88e5;
  --gold: #40b4e5;
  --text-soft: #4a5568;
  --white: #ffffff;
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
  background: var(--white);
  padding: 16px 60px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header img.logo {
  height: 80px;
  width: auto;
  /* Recorta el espacio blanco extra del PNG */
  object-fit: contain;
  margin: -8px 0;
}

.site-header .brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
}

.site-header .brand-tagline {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
}

/* ============================================
   PROPÓSITO (nueva sección)
   ============================================ */
.proposito-bar {
  background: var(--teal-light);
  padding: 20px 60px;
  text-align: center;
}

.proposito-bar p {
  font-size: 16px;
  color: var(--white);
  font-style: italic;
  font-weight: 300;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  background: var(--teal);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 60px;
  position: relative;
  z-index: 2;
}

.hero-left::after {
  content: '';
  position: absolute;
  right: -60px;
  top: 0;
  width: 120px;
  height: 100%;
  background: var(--teal);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
  z-index: 1;
}

.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  margin-bottom: 28px;
  width: fit-content;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--gold);
}

.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  line-height: 1.7;
  max-width: 400px;
  margin-bottom: 44px;
  font-weight: 300;
}

.cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 16px 34px;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(64,180,229,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  font-size: 15px;
  font-weight: 400;
  padding: 16px 34px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, border-color 0.2s;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.7);
}

.hero-right {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
}

.hero-illustration {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* Animated roller blinds illustration */
.blinds-wrap {
  width: 80%;
  height: 75%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.blind-rail {
  width: 100%;
  height: 18px;
  background: #7fb3d3;
  border-radius: 4px 4px 0 0;
  position: relative;
  z-index: 2;
}

.blind-panel {
  width: 100%;
  flex: 1;
  background: linear-gradient(160deg, #d6eaf8 0%, #aed6f1 100%);
  border-left: 3px solid #7fb3d3;
  border-right: 3px solid #7fb3d3;
  border-bottom: 3px solid #7fb3d3;
  border-radius: 0 0 4px 4px;
  position: relative;
  overflow: hidden;
  animation: shimmer 3s ease-in-out infinite alternate;
}

@keyframes shimmer {
  0%   { background: linear-gradient(160deg, #d6eaf8 0%, #aed6f1 100%); }
  100% { background: linear-gradient(160deg, #ebf5fb 0%, #c8e6f8 100%); }
}

.blind-stripes {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: repeating-linear-gradient(
    180deg,
    transparent 0px,
    transparent 18px,
    rgba(0,0,0,0.04) 18px,
    rgba(0,0,0,0.04) 20px
  );
}

.clean-badge-float {
  position: absolute;
  bottom: 20px;
  right: -20px;
  background: var(--teal);
  color: white;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 10px 30px rgba(21,101,192,0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

.clean-badge-float .icon { font-size: 22px; margin-bottom: 2px; }

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
  background: var(--dark);
  padding: 32px 60px;
  display: flex;
  justify-content: center;
  gap: 80px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  color: var(--white);
}

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ============================================
   SERVICIOS
   ============================================ */
.section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-tag {
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  font-weight: 500;
  margin-bottom: 16px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-soft);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 60px;
  font-weight: 300;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  border-top: 3px solid transparent;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.10);
  border-top-color: var(--teal);
}

.card-icon {
  font-size: 36px;
  margin-bottom: 20px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.card-text {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   PROCESO ARTESANAL
   ============================================ */
.proceso-section {
  background: var(--teal);
  padding: 100px 60px;
  color: var(--white);
}

.proceso-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.proceso-section .section-tag   { color: var(--gold); }
.proceso-section .section-title { color: var(--white); }
.proceso-section .section-desc  { color: rgba(255,255,255,0.7); }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  position: relative;
}

.step { position: relative; padding-top: 16px; }

.step-num {
  font-family: 'Playfair Display', serif;
  font-size: 56px;
  font-weight: 900;
  color: rgba(255,255,255,0.12);
  line-height: 1;
  margin-bottom: 8px;
}

.step-title {
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 10px;
}

.step-text {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  font-weight: 300;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact-section {
  padding: 100px 60px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

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

.field label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 500;
}

.field input,
.field textarea,
.field select {
  padding: 14px 18px;
  border: 1px solid #e0dcd4;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  background: var(--white);
  color: var(--dark);
  transition: border-color 0.2s;
  outline: none;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--teal);
}

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

/* Dimensiones desplegables */
.dimensiones-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-info { padding-top: 12px; }

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
}

.info-icon {
  width: 44px;
  height: 44px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
  color: white;
}

.info-label {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.info-value {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
  background: var(--dark);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 32px;
  font-size: 13px;
}

footer strong { color: var(--gold); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .site-header { padding: 14px 20px; }

  .proposito-bar { padding: 16px 20px; }
  .proposito-bar p { font-size: 14px; }

  .hero { grid-template-columns: 1fr; }
  .hero-left { padding: 60px 32px; }
  .hero-left::after { display: none; }
  .hero-right { display: none; }

  .stats-bar { gap: 40px; padding: 32px 20px; }

  .section { padding: 70px 24px; }

  .contact-section {
    grid-template-columns: 1fr;
    padding: 70px 24px;
    gap: 50px;
  }

  .form-row          { grid-template-columns: 1fr; }
  .dimensiones-grid  { grid-template-columns: 1fr; }
  .proceso-section   { padding: 70px 24px; }
}

/* ============================================
   CARRUSEL HERO — círculo
   ============================================ */
.hero-right {
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
}

.hero-carousel-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-carousel {
  width: 520px;
  height: 640px;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(21,101,192,0.25), 0 0 0 6px var(--gold), 0 0 0 10px rgba(64,180,229,0.2);
}

.carousel-track {
  width: 100%;
  height: 100%;
}

.carousel-img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  border-radius: 50%;
}

.carousel-img.active { opacity: 1; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(21,101,192,0.55);
  color: white;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.carousel-btn:hover { background: rgba(21,101,192,0.85); }
.carousel-btn.prev  { left: 10px; }
.carousel-btn.next  { right: 10px; }

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(21,101,192,0.25);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  border: none;
}

.carousel-dot.active {
  background: var(--teal);
  transform: scale(1.3);
}
