﻿:root {
      --primary: #0fa37f;
      --primary-dark: #0b7058;
      --secondary: #103730;
      --text: #1f252b;
      --muted: #66707b;
      --border: #e5e8eb;
      --border-strong: #d8dde2;
      --bg: #f7f9fb;
      --soft: #eef7f4;
      --white: #ffffff;
      --dark: #0f1514;
      --shadow: 0 14px 34px rgba(14, 39, 33, 0.08);
      --radius: 18px;
      --container: 1320px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body { font-family: "Inter", sans-serif; color: var(--text); background: #fff; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
    img { max-width: 100%; display: block; height: auto; }
    a { text-decoration: none; color: inherit; }
    button, input { font: inherit; }
    .container { width: min(var(--container), calc(100% - 32px)); margin: 0 auto; }
    .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
    .topbar { background: #0d2f28; color: #dff8f0; font-size: 0.92rem; }
    .topbar-inner { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 8px 0; }
    .topbar-group { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
    .site-header { background: rgba(255,255,255,0.96); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 50; }
    .header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
    .logo a { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--secondary); }
    .logo-mark { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), #29c79f); display: grid; place-items: center; color: #fff; font-weight: 800; box-shadow: var(--shadow); }
    .logo-text { display: flex; flex-direction: column; line-height: 1.05; }
    .logo-title { font-size: 1.16rem; letter-spacing: -0.02em; }
    .logo-sub { font-size: 0.78rem; color: var(--muted); font-weight: 600; }
    .main-nav { flex: 1; display: flex; justify-content: center; }
    .main-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
    .main-nav a { color: #49505a; font-size: 0.98rem; font-weight: 600; transition: 0.2s ease; }
    .main-nav a:hover, .main-nav a.active { color: var(--primary-dark); }
    .header-right { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; position: relative; }
    .icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border); background: #fff; display: grid; place-items: center; cursor: pointer; transition: 0.2s ease; position: relative; }
    .icon-btn:hover { background: var(--bg); }
    .cart-btn { overflow: visible; }
    .cart-count { position: absolute; top: -8px; right: -8px; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ff4d4f; color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; line-height: 1; border: 2px solid #fff; }

    .search-box { position: absolute; top: calc(100% + 12px); right: 0; width: min(360px, calc(100vw - 24px)); background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; box-shadow: var(--shadow); display: none; z-index: 2000; }
    .search-box.active { display: block; }
    .search-form { display: flex; gap: 8px; }
    .search-form input { flex: 1; min-width: 0; border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; outline: none; }
    .search-form input:focus { border-color: var(--primary); }
    .search-form button { border: none; border-radius: 10px; padding: 11px 14px; background: var(--primary); color: #fff; font-weight: 800; cursor: pointer; }
    .search-form button:hover { background: var(--primary-dark); }
    .search-message { margin-top: 10px; color: #c0392b; font-size: .9rem; display: none; }

    .phone { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.95rem; white-space: nowrap; padding: 0 4px; }
    .login-btn { padding: 11px 18px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: #4e555f; font-weight: 600; transition: 0.2s ease; }
    .login-btn:hover { background: var(--bg); }
    .hero { background: radial-gradient(circle at top left, rgba(15,163,127,.12), transparent 26%), linear-gradient(180deg, #f7fbfa 0%, #ffffff 100%); border-bottom: 1px solid var(--border); }
    .hero-inner { padding: 48px 0 54px; }
    .breadcrumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
    .breadcrumbs a:hover { color: var(--primary-dark); }
    .hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
    .hero-content h1 { font-size: clamp(2.2rem, 4vw, 3.5rem); line-height: 1.06; letter-spacing: -0.03em; color: #15251f; margin-bottom: 16px; max-width: 760px; }
    .hero-content p { max-width: 720px; color: var(--muted); font-size: 1.04rem; margin-bottom: 24px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
    .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 14px; font-weight: 700; transition: 0.2s ease; }
    .btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
    .btn-primary:hover { background: var(--primary-dark); }
    .btn-secondary { border: 1px solid var(--border); background: #fff; color: #3f4b56; }
    .btn-secondary:hover { background: var(--bg); }
    .hero-card { background: #fff; border: 1px solid var(--border); border-radius: 24px; box-shadow: var(--shadow); overflow: hidden; }
    .hero-card img { width: 100%; height: 100%; min-height: 380px; object-fit: cover; }
    .section { padding: 76px 0; }
    .section-header { text-align: center; max-width: 820px; margin: 0 auto 42px; }
    .section-header .eyebrow { display: inline-block; background: var(--soft); color: var(--primary-dark); font-weight: 800; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; margin-bottom: 14px; }
    .section-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.14; letter-spacing: -0.03em; color: #172227; margin-bottom: 14px; }
    .section-header p { color: var(--muted); font-size: 1rem; }
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
    .about-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
    .about-card h3 { font-size: 1.3rem; margin-bottom: 14px; color: #182126; }
    .about-card p { color: var(--muted); margin-bottom: 14px; }
    .values { background: var(--bg); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
    .values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
    .value-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
    .value-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, var(--primary), #24c193); color: #fff; font-size: 1.3rem; margin-bottom: 16px; }
    .value-card h3 { font-size: 1.16rem; margin-bottom: 10px; color: #182126; }
    .value-card p { color: var(--muted); }
    .why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
    .why-card, .checklist-card, .cta-card { background: #fff; border: 1px solid var(--border); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
    .why-card h3, .checklist-card h3, .cta-card h3 { font-size: 1.28rem; margin-bottom: 14px; color: #182126; }
    .why-card p, .cta-card p { color: var(--muted); margin-bottom: 14px; }
    .checklist { list-style: none; display: grid; gap: 14px; }
    .checklist li { display: flex; align-items: flex-start; gap: 12px; color: #334049; }
    .check-badge { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--soft); color: var(--primary-dark); font-size: 0.9rem; font-weight: 800; margin-top: 2px; }
    .stats { padding-top: 0; }
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
    .stat-card { border: 1px solid var(--border); border-radius: 18px; padding: 24px; background: #fff; text-align: center; box-shadow: var(--shadow); }
    .stat-number { font-size: 2rem; font-weight: 800; color: var(--primary-dark); line-height: 1; margin-bottom: 8px; }
    .stat-label { color: var(--muted); font-size: 0.95rem; }
    .cta-card { background: linear-gradient(135deg, #f7fbfa, #ffffff); }
    .site-footer { background: var(--dark); color: #d1d7d5; padding: 58px 0 28px; margin-top: 40px; }
    .footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 36px; }
    .footer-brand p { margin-top: 16px; color: #99a3a0; max-width: 320px; }
    .footer-title { color: #fff; margin-bottom: 14px; font-size: 1rem; font-weight: 700; }
    .footer-links { list-style: none; display: grid; gap: 10px; }
    .footer-links a { color: #aab4b1; }
    .footer-links a:hover { color: #fff; }
    .footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: #95a09d; font-size: .94rem; }
    .legacy-contact-float { position: fixed; right: 20px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: #45c655; color: #fff; display: grid; place-items: center; font-size: 26px; box-shadow: 0 8px 20px rgba(0,0,0,0.18); z-index: 100; }

    @media (max-width: 1100px) {
      .hero-grid, .about-grid, .why-grid, .values-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
      .main-nav { display: none; }
    }

    @media (max-width: 760px) {
      .container { width: min(var(--container), calc(100% - 20px)); }
      .hero-grid, .about-grid, .why-grid, .values-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
      .header-inner { padding: 14px 0; min-height: auto; }
      .header-right .phone, .header-right .login-btn { display: none; }
      .hero-actions { flex-direction: column; align-items: stretch; }
      .hero-card img { min-height: 280px; }
    }
/* Codigo: muestra el logo oficial de EspacioDucha en cabeceras y pies. */
.logo-image,
.brand-logo-image,
.ed-brand-logo-image,
.payment-logo-image {
  display: block;
  width: clamp(118px, 13vw, 168px);
  height: auto;
  max-height: 68px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand .logo-image {
  width: 158px;
  max-height: 72px;
}

.payment-logo-image {
  width: 150px;
  max-height: 78px;
}

.logo a,
.brand,
.ed-brand {
  min-width: 0;
}

@media (max-width: 640px) {
  .logo-image,
  .brand-logo-image,
  .ed-brand-logo-image {
    width: 122px;
    max-height: 56px;
  }
}

.brand-process{
  background:#f7fbfa;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

.brand-process-grid{
  display:grid;
  grid-template-columns:.92fr 1.08fr;
  gap:36px;
  align-items:center;
}

.brand-process-copy .eyebrow{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background:var(--soft);
  color:var(--primary-dark);
  font-size:.8rem;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.brand-process-copy h2{
  color:#0c2e27;
  font-size:clamp(2rem,3.4vw,3.2rem);
  line-height:1.06;
  letter-spacing:-.03em;
  margin:0 0 16px;
}

.brand-process-copy p{
  color:var(--muted);
  max-width:680px;
}

.process-list{
  display:grid;
  gap:12px;
  margin-top:26px;
}

.process-list div{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:14px;
  align-items:center;
  padding:16px;
  border:1px solid rgba(13,63,52,.12);
  border-radius:18px;
  background:#fff;
  box-shadow:0 12px 28px rgba(15,35,48,.05);
}

.process-list strong{
  color:var(--primary-dark);
  font-size:1.12rem;
}

.process-list span{
  color:#263b35;
  font-weight:800;
}

.brand-process-media{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.brand-process-media img{
  width:100%;
  min-height:460px;
  object-fit:cover;
  border-radius:24px;
  box-shadow:0 24px 58px rgba(15,35,48,.12);
}

.brand-process-media img:nth-child(2){
  margin-top:54px;
}

@media(max-width:900px){
  .brand-process-grid{
    grid-template-columns:1fr;
  }

  .brand-process-media img{
    min-height:320px;
  }
}

@media(max-width:640px){
  .brand-process-media{
    grid-template-columns:1fr;
  }

  .brand-process-media img:nth-child(2){
    margin-top:0;
  }
}

