﻿:root {
      --primary: #18b394;
      --primary-dark: #0d3b35;
      --accent: #ef4444;
      --bg: #f5f6f4;
      --card: #ffffff;
      --text: #12211d;
      --muted: #667085;
      --border: #dfe4df;
      --soft: #eef5f2;
      --shadow: 0 10px 24px rgba(18, 33, 29, 0.05);
      --radius: 22px;
      --container: 1360px;
    }

    * { box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
      color: var(--text);
      background: var(--bg);
      line-height: 1.5;
    }

    img { max-width: 100%; display: block; }
    a { color: inherit; text-decoration: none; }
    input, select, textarea, button { font: inherit; }
    .container { width: min(100% - 32px, var(--container)); margin: 0 auto; }

    .topline {
      background: #063c34;
      color: rgba(255,255,255,.92);
      font-size: 14px;
    }

    .topline-inner {
      min-height: 46px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
      flex-wrap: wrap;
    }

    .topline-left,
    .topline-right {
      display: flex;
      align-items: center;
      gap: 18px;
      flex-wrap: wrap;
    }

    .topbar {
      background: rgba(255,255,255,.96);
      border-bottom: 1px solid rgba(0,0,0,0.04);
      position: sticky;
      top: 0;
      z-index: 50;
      backdrop-filter: blur(10px);
    }

    .topbar-inner {
      display: grid;
      grid-template-columns: auto 1fr auto;
      align-items: center;
      gap: 28px;
      min-height: 96px;
    }

    .brand {
      display: flex;
      align-items: center;
      gap: 14px;
      white-space: nowrap;
    }

    .brand-mark {
      width: 52px;
      height: 52px;
      border-radius: 18px;
      background: linear-gradient(180deg, #22c7a6, #11a98d);
      color: #fff;
      display: grid;
      place-items: center;
      font-weight: 800;
      font-size: 1.3rem;
      box-shadow: var(--shadow);
    }

    .brand-text strong {
      display: block;
      font-size: 1.1rem;
      line-height: 1.1;
    }

    .brand-text span {
      display: block;
      color: var(--muted);
      font-size: .9rem;
      font-weight: 600;
    }

    .nav {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 34px;
      flex-wrap: wrap;
    }

    .nav a {
      color: #3a4353;
      font-weight: 700;
      position: relative;
    }

    .nav a.active,
    .nav a:hover { color: #148b75; }

    .header-actions {
      display: flex;
      align-items: center;
      gap: 12px;
      color: var(--muted);
      flex-wrap: wrap;
      justify-content: flex-end;
      position: relative;
    }

    .icon-btn,
    .btn,
    .step,
    .benefit,
    .contact-card,
    .faq-item,
    .form-panel,
    .info-panel {
      transition: .25s ease;
    }

    .icon-btn {
      width: 48px;
      height: 48px;
      border-radius: 999px;
      background: #fff;
      border: 1px solid var(--border);
      display: grid;
      place-items: center;
      box-shadow: 0 6px 15px rgba(17, 24, 39, 0.03);
      position: relative;
      cursor: pointer;
    }

    .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;
      text-align: left;
    }

    .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;
      background: #fff;
    }

    .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: 10px 0 0;
      color: #c0392b;
      font-size: .9rem;
      display: none;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 14px 22px;
      border-radius: 18px;
      border: 1px solid transparent;
      font-weight: 700;
      cursor: pointer;
    }

    .btn-primary {
      background: linear-gradient(180deg, var(--primary), #10a789);
      color: #fff;
      box-shadow: 0 12px 24px rgba(24,179,148,0.2);
    }

    .btn-secondary {
      background: #fff;
      border-color: var(--border);
      color: #4b5563;
    }

    .hero {
      padding: 10px 0 34px;
      background: linear-gradient(90deg, #e7efec 0%, #f7f8f7 22%, #f6f7f5 100%);
      border-bottom: 1px solid #dde4df;
    }

    .breadcrumbs {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      font-size: 14px;
      color: #64748b;
      margin-bottom: 22px;
      padding-top: 44px;
    }

    .hero-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr) minmax(360px, .74fr);
      gap: clamp(22px, 3vw, 44px);
      align-items: center;
    }

    .eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(24,179,148,0.10);
      color: #117f6b;
      padding: 8px 14px;
      border-radius: 999px;
      font-weight: 700;
      margin-bottom: 18px;
    }

    h1, h2, h3 { margin: 0 0 14px; line-height: 1.08; }
    h1 { font-size: clamp(2.25rem, 4.2vw, 4.35rem); letter-spacing: 0; }
    h2 { font-size: clamp(1.65rem, 2.2vw, 2.45rem); letter-spacing: 0; }
    h3 { font-size: 1.15rem; }

    .hero p,
    .section-intro,
    .faq-answer,
    .mini-copy,
    .field-help,
    .list-note,
    .contact-copy {
      color: var(--muted);
      font-size: 1.02rem;
    }

    .hero p { max-width: 820px; font-size: 1.08rem; }

    .hero-actions {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-top: 28px;
    }

    .hero-points {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 14px;
      margin-top: 28px;
    }

    .point {
      background: rgba(255,255,255,0.82);
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 18px;
      box-shadow: var(--shadow);
    }

    .point strong { display: block; margin-bottom: 6px; }

    .hero-side {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 26px;
      padding: 20px;
      box-shadow: var(--shadow);
      overflow: hidden;
    }

    .hero-visual {
      min-height: clamp(260px, 31vw, 420px);
      border-radius: 22px;
      background: linear-gradient(180deg, rgba(24,179,148,0.1), rgba(255,255,255,0.1)), url('assets/premium/service-installation.jpg') center/cover;
    }

    .hero-side-copy { padding: 18px 6px 4px; }
    .section { padding: 34px 0 0; }

    .form-layout {
      display: grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 28px;
      align-items: start;
    }

    .form-panel,
    .info-panel,
    .steps-panel,
    .faq-panel,
    .contact-panel {
      background: #fff;
      border: 1px solid var(--border);
      border-radius: 24px;
      box-shadow: var(--shadow);
      padding: 30px;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin-top: 24px;
    }

    .field { display: grid; gap: 8px; }
    .field.full { grid-column: 1 / -1; }

    .field label {
      font-weight: 700;
      color: #26313d;
    }

    .field input,
    .field select,
    .field textarea {
      width: 100%;
      min-height: 56px;
      border: 1px solid var(--border);
      border-radius: 16px;
      background: #f8faf9;
      padding: 14px 16px;
      color: var(--text);
      outline: none;
    }

    .field textarea { min-height: 160px; resize: vertical; }

    .field input:focus,
    .field select:focus,
    .field textarea:focus {
      border-color: rgba(24,179,148,.45);
      box-shadow: 0 0 0 4px rgba(24,179,148,.10);
      background: #fff;
    }

    .check-row { display: flex; align-items: flex-start; gap: 12px; margin-top: 8px; }
    .check-row input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--primary); }

    .submit-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap;
      margin-top: 12px;
    }

    .info-list,
    .faq-list,
    .mini-list {
      list-style: none;
      padding: 0;
      margin: 0;
    }

    .info-list li,
    .mini-list li {
      position: relative;
      padding-left: 28px;
      color: #475467;
    }

    .info-list li + li,
    .mini-list li + li { margin-top: 12px; }

    .info-list li::before,
    .mini-list li::before {
      content: "✓";
      position: absolute;
      left: 0;
      top: 0;
      color: #148b75;
      font-weight: 800;
    }

    .contact-cards,
    .steps-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
      margin-top: 22px;
    }

    .contact-card,
    .step,
    .benefit {
      border: 1px solid var(--border);
      border-radius: 20px;
      padding: 22px;
      background: linear-gradient(180deg, #ffffff, #fafbfa);
    }

    .step-number {
      width: 42px;
      height: 42px;
      border-radius: 999px;
      display: grid;
      place-items: center;
      background: rgba(24,179,148,.10);
      color: #148b75;
      font-weight: 800;
      margin-bottom: 14px;
    }

    .faq-item + .faq-item {
      border-top: 1px solid var(--border);
      margin-top: 18px;
      padding-top: 18px;
    }

    .advice-form-message {
      grid-column: 1 / -1;
      border: 1px solid var(--border);
      border-radius: 16px;
      padding: 14px 16px;
      background: #f8faf9;
      color: #334155;
      font-weight: 800;
    }

    .advice-form-message:empty {
      display: none;
    }

    .advice-form-message[data-type="success"] {
      border-color: rgba(22, 163, 74, .35);
      background: #ecfdf3;
      color: #15803d;
    }

    .advice-form-message[data-type="error"] {
      border-color: rgba(220, 38, 38, .32);
      background: #fef2f2;
      color: #b91c1c;
    }

    .advice-form-message[data-type="info"] {
      border-color: rgba(20, 184, 166, .34);
      background: #ecfeff;
      color: #0f766e;
    }

    .faq-question { font-weight: 800; margin-bottom: 8px; font-size: 1.05rem; }

    .cta-band {
      margin: 34px 0 10px;
      border-radius: 24px;
      overflow: hidden;
      background: linear-gradient(135deg, #0f2e28 0%, #18453d 100%);
      color: #fff;
      box-shadow: var(--shadow);
    }

    .cta-band-inner {
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 20px;
      padding: 28px 32px;
    }

    .footer {
      margin-top: 48px;
      padding: 44px 0;
      background: #0f172a;
      color: rgba(255,255,255,0.82);
    }

    .footer-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr .8fr .8fr;
      gap: 24px;
    }

    .footer a:hover { color: #fff; }
    .footer h3 { color: #fff; margin-bottom: 14px; }
    .footer p, .footer li { color: rgba(255,255,255,0.72); }
    .footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }

    @media (max-width: 1250px) {
      .topbar-inner,
      .hero-grid,
      .form-layout,
      .cta-band-inner,
      .footer-grid { grid-template-columns: 1fr; }

      .contact-cards,
      .steps-grid,
      .hero-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 840px) {
      .topline-inner,
      .topbar-inner,
      .nav,
      .header-actions { justify-content: center; text-align: center; }

      .form-grid,
      .contact-cards,
      .steps-grid,
      .hero-points { grid-template-columns: 1fr; }
      h1 { font-size: 2.4rem; }
    }

    @media (max-width: 640px) {
      .breadcrumbs { padding-top: 26px; }
      .form-panel,
      .info-panel,
      .steps-panel,
      .faq-panel,
      .contact-panel { padding: 22px; }
      .submit-row { align-items: stretch; }
      .submit-row .btn { width: 100%; }
    }
/* 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;
  }
}

