﻿:root {
  --primary: #0fa37f;
  --primary-dark: #0b7058;
  --secondary: #113a32;
  --text: #1f252b;
  --muted: #64707d;
  --border: #e5e8ec;
  --bg: #f5f7f8;
  --soft: #edf8f4;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(14, 39, 33, 0.08);
  --container: 1180px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  background: var(--secondary);
  color: #dff7ef;
  font-size: 0.92rem;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
}

.topbar a:hover,
.footer a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--secondary);
  font-weight: 800;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: var(--white);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #394049;
  font-size: 0.96rem;
  font-weight: 700;
}

.nav a:hover,
.nav a.active {
  color: var(--primary-dark);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  color: var(--secondary);
  font-weight: 800;
}

.cart-count {
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ff4d4f;
  color: var(--white);
  font-size: 0.78rem;
  line-height: 1;
}

.page-intro {
  position: relative;
  overflow: hidden;
  padding: 54px 0 42px;
  background:
    linear-gradient(115deg, rgba(4, 28, 24, .88), rgba(18, 86, 70, .54) 56%, rgba(245, 247, 244, .06)),
    url("assets/premium/service-detail.jpg") center / cover no-repeat;
  border-bottom: 1px solid var(--border);
  color: #fff;
}

.page-intro .container {
  position: relative;
  z-index: 1;
}

.page-intro h1,
.page-intro .lead {
  color: #fff;
}

.page-intro .lead {
  color: rgba(255, 255, 255, .86);
}

.page-intro .breadcrumbs,
.page-intro .breadcrumbs a {
  color: rgba(255, 255, 255, .82);
}

.page-intro .eyebrow {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(6px);
}

.premium-help-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.premium-help-strip div {
  min-height: 116px;
  padding: 18px;
  border: 1px solid rgba(13, 63, 52, .12);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(15, 35, 48, .08);
}

.premium-help-strip strong,
.premium-help-strip span {
  display: block;
}

.premium-help-strip strong {
  margin-bottom: 8px;
  color: #0c2e27;
  font-size: 1.35rem;
}

.premium-help-strip span {
  color: #52645e;
  line-height: 1.5;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

.breadcrumbs a {
  color: var(--primary-dark);
  font-weight: 700;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--primary-dark);
  font-size: 0.84rem;
  font-weight: 800;
}

h1 {
  max-width: 820px;
  color: var(--secondary);
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0;
  margin-bottom: 16px;
}

.lead {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 800;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--border);
  color: var(--secondary);
}

.section {
  padding: 44px 0;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.stack {
  display: grid;
  gap: 18px;
}

.panel,
.side-panel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.panel h2,
.side-panel h2 {
  color: var(--secondary);
  font-size: 1.35rem;
  line-height: 1.25;
  margin-bottom: 10px;
}

.panel h3 {
  color: var(--secondary);
  font-size: 1.05rem;
  margin: 16px 0 6px;
}

.panel p,
.side-panel p,
.panel li,
.side-panel li {
  color: var(--muted);
}

.panel ul,
.side-panel ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
}

.info-list {
  display: grid;
  gap: 12px;
  list-style: none;
  padding-left: 0;
}

.info-list li {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fbfcfc;
}

.info-list strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 3px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: var(--shadow);
}

summary {
  cursor: pointer;
  color: var(--secondary);
  font-weight: 800;
}

details p {
  color: var(--muted);
  margin-top: 10px;
}

.contact-list {
  list-style: none;
  padding-left: 0;
}

.contact-list a {
  color: var(--primary-dark);
  font-weight: 800;
}

.notice {
  border-left: 4px solid var(--primary);
  background: var(--soft);
  border-radius: 8px;
  padding: 16px 18px;
  color: var(--secondary);
  font-weight: 700;
}

.form-card {
  display: grid;
  gap: 16px;
}

.form-group {
  display: grid;
  gap: 7px;
}

.form-group label {
  color: var(--secondary);
  font-weight: 800;
}

.form-group input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--text);
  font: inherit;
  outline: none;
}

.form-group input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 163, 127, 0.12);
}

.form-help {
  color: var(--muted);
  font-size: 0.92rem;
}

.message {
  display: none;
  border-radius: 8px;
  padding: 12px 14px;
  font-weight: 700;
}

.message.success {
  display: block;
  background: var(--soft);
  color: var(--primary-dark);
}

.message.error {
  display: block;
  background: #fff0f0;
  color: #b42318;
}

.hidden {
  display: none;
}

.footer {
  background: var(--secondary);
  color: #dff7ef;
  padding: 38px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer h2,
.footer h3 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 10px;
}

.footer p,
.footer li {
  color: #cfe9e0;
}

.footer ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.contact-hero {
  padding: 70px 0 56px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.9) 48%, rgba(237,248,244,0.82) 100%),
    url("assets/premium/service-detail.jpg") right center / min(760px, 54vw) auto no-repeat;
  border-bottom: 1px solid var(--border);
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  gap: 42px;
  align-items: center;
}

.contact-hero-copy h1 {
  max-width: 900px;
}

.contact-hero-card {
  background: rgba(255,255,255,0.96);
  border: 1px solid #dce7e2;
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 24px 60px rgba(14, 39, 33, 0.12);
  display: grid;
  gap: 16px;
}

.card-kicker {
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-hero-card strong {
  color: var(--secondary);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.1;
}

.contact-hero-card a {
  color: var(--primary-dark);
  font-weight: 800;
}

.response-box {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px 16px;
  background: #fbfdfc;
}

.response-box span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.response-box p {
  color: var(--secondary);
  font-weight: 800;
  margin: 0;
}

.contact-section {
  background: linear-gradient(180deg, #f5f7f8 0%, #eef4f1 100%);
}

.contact-method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.contact-method {
  min-height: 190px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
}

.method-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--soft);
  color: var(--primary-dark);
  font-weight: 900;
}

.contact-method h2,
.contact-panel h2,
.contact-side h2 {
  color: var(--secondary);
  line-height: 1.2;
}

.contact-method h2 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.contact-method p {
  color: var(--muted);
  margin-bottom: 12px;
}

.contact-method a {
  color: var(--primary-dark);
  font-weight: 900;
}

.contact-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(300px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.contact-panel,
.contact-side {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 20px;
}

.contact-check-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-check-grid div {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  background: #fbfcfc;
}

.contact-check-grid strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 6px;
}

.contact-check-grid span {
  color: var(--muted);
}

.contact-side h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

@media (max-width: 860px) {
  .topbar-inner,
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
  }

  .content-grid,
  .footer-grid,
  .contact-hero-grid,
  .contact-method-grid,
  .contact-content-grid,
  .contact-check-grid,
  .premium-help-strip {
    grid-template-columns: 1fr;
  }

  .contact-hero {
    padding: 44px 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.96), rgba(237,248,244,0.9)),
      url("assets/premium/service-detail.jpg") center bottom / cover no-repeat;
  }

  .contact-method {
    min-height: auto;
  }
}
/* 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;
  }
}

