/* Cienty Records LLC — estilos del sitio */

:root {
  --bg: #ffffff;
  --bg-soft: #f6f7f5;
  --text: #16201b;
  --text-muted: #55605a;
  --border: #e3e7e4;
  --accent: #0f6b4f;
  --accent-hover: #0b5640;
  --accent-soft: #e7f2ed;
  --radius: 12px;
  --max: 1080px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 8px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Encabezado ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand:hover {
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.site-nav ul {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}

.site-nav a:hover {
  color: var(--text);
  background: var(--bg-soft);
}

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: #c8cfca;
  color: var(--text);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* ---------- Secciones ---------- */

section {
  padding: 88px 0;
  scroll-margin-top: 68px;
}

.section-soft {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
}

.section-lead {
  max-width: 620px;
  color: var(--text-muted);
  font-size: 1.075rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 96px 0 88px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.2vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  max-width: 520px;
  color: var(--text-muted);
  font-size: 1.15rem;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
}

.hero-visual svg {
  width: 100%;
  height: auto;
}

/* ---------- Producto ---------- */

.product-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.product-body {
  padding: 40px;
}

.product-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
}

.product-body h3 {
  font-size: 1.75rem;
  font-weight: 700;
}

.product-body > p {
  color: var(--text-muted);
}

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

.feature-list li {
  position: relative;
  padding-left: 30px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent-soft)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230f6b4f' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10.5l3.2 3L15 7'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

.product-meta {
  padding: 40px;
  background: var(--bg-soft);
  border-left: 1px solid var(--border);
}

.product-meta dl {
  margin: 0;
  display: grid;
  gap: 24px;
}

.product-meta dt {
  margin-bottom: 4px;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-meta dd {
  margin: 0;
  font-weight: 500;
}

/* ---------- Nosotros ---------- */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.about-grid .about-text p {
  color: var(--text-muted);
  font-size: 1.075rem;
}

.facts {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.fact {
  padding: 18px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.fact strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.fact span {
  font-weight: 600;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-item {
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
}

.contact-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
}

.contact-icon svg {
  width: 20px;
  height: 20px;
}

.contact-item h3 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.contact-item p,
.contact-item address {
  margin: 0;
  font-style: normal;
  font-weight: 500;
  font-size: 1.05rem;
}

.contact-item a {
  color: var(--text);
  text-decoration: none;
  word-break: break-word;
}

.contact-item a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Pie de página ---------- */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.site-footer p {
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ---------- Páginas legales ---------- */

.legal {
  padding: 64px 0 88px;
}

.legal .container {
  max-width: 760px;
}

.legal h1 {
  font-size: clamp(2rem, 4.5vw, 2.6rem);
  font-weight: 800;
}

.legal .updated {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 2.2em;
}

.legal h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 1.5em;
}

.legal ul {
  padding-left: 1.25em;
  margin: 0 0 1em;
}

.legal li {
  margin-bottom: 0.4em;
}

.legal .toc {
  padding: 20px 24px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 8px;
}

.legal .toc strong {
  display: block;
  margin-bottom: 8px;
}

.legal .toc ol {
  margin: 0;
  padding-left: 1.25em;
  columns: 2;
  column-gap: 32px;
  font-size: 0.95rem;
}

.legal address {
  font-style: normal;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-weight: 500;
  text-decoration: none;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero .container,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-meta {
    border-left: 0;
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  .site-header .container {
    height: 60px;
  }

  section {
    padding: 64px 0;
    scroll-margin-top: 60px;
  }

  .hero {
    padding: 56px 0 64px;
  }

  .brand {
    font-size: 1rem;
    gap: 8px;
  }

  .brand-mark {
    width: 26px;
    height: 26px;
  }

  .site-nav a {
    padding: 8px 7px;
    font-size: 0.875rem;
  }

  .product-body,
  .product-meta {
    padding: 28px 22px;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .facts {
    grid-template-columns: 1fr;
  }

  .legal .toc ol {
    columns: 1;
  }
}

@media (max-width: 520px) {
  .site-header .container {
    flex-wrap: wrap;
    height: auto;
    gap: 0;
    padding-top: 12px;
  }

  .site-nav {
    width: 100%;
    margin-top: 10px;
    border-top: 1px solid var(--border);
  }

  .site-nav ul {
    justify-content: space-between;
  }

  .site-nav a {
    padding: 10px 4px;
    font-size: 0.9rem;
  }

  section {
    scroll-margin-top: 104px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
