:root {
  --bg: #fff8f7;
  --surface: #ffffff;
  --ink: #2d2327;
  --muted: #6f6267;
  --accent: #c84f6a;
  --accent-dark: #973650;
  --sage: #6b8f71;
  --peach: #f3c0aa;
  --line: #eadad7;
  --shadow: 0 18px 55px rgba(87, 49, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 74px;
  padding: 16px clamp(18px, 5vw, 72px);
  background: rgba(255, 248, 247, 0.92);
  border-bottom: 1px solid rgba(234, 218, 215, 0.9);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 0.88rem;
}

.main-nav,
.footer-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-weight: 650;
}

.main-nav a:hover,
.footer-links a:hover {
  color: var(--accent-dark);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: grid;
  align-items: end;
  padding: clamp(120px, 14vw, 180px) clamp(18px, 5vw, 72px) clamp(42px, 8vw, 78px);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 35, 39, 0.74), rgba(45, 35, 39, 0.34) 45%, rgba(45, 35, 39, 0.08));
}

.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("hero-femenina.png");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffd6df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(2.45rem, 7vw, 5.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  line-height: 1.24;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 590px;
  margin-bottom: 28px;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
}

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

.button.primary:hover {
  background: var(--accent-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

.featured,
.blog-section,
.about,
.newsletter {
  padding: clamp(56px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto 28px;
}

.topic-grid,
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1180px;
  margin: 0 auto;
}

.topic,
.article-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.topic {
  display: grid;
  gap: 12px;
  min-height: 170px;
  padding: 24px;
}

.topic span,
.category {
  color: var(--sage);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic strong {
  font-size: 1.25rem;
  line-height: 1.25;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.article-body {
  padding: 22px;
}

.article-body p:last-child,
.about p:last-child,
.newsletter p:last-child,
.site-footer p:last-child {
  margin-bottom: 0;
}

.category {
  margin-bottom: 8px;
}

.about {
  display: grid;
  grid-template-columns: minmax(240px, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 78px);
  align-items: start;
  background: #fff;
}

.about > * {
  max-width: 1180px;
}

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

.newsletter {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
  background: #f8e8e2;
}

.newsletter > * {
  max-width: 640px;
}

.signup label {
  display: block;
  margin-bottom: 8px;
  font-weight: 800;
}

.signup input {
  flex: 1 1 240px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #d8c5c1;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.signup button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.signup-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.signup-status {
  min-height: 24px;
  margin: 10px 0 0;
  color: var(--muted);
  font-weight: 750;
}

.signup-status[data-state="success"] {
  color: #2f6d3f;
}

.signup-status[data-state="error"] {
  color: var(--accent-dark);
}

.legal-page,
.post-page {
  background: #fff;
}

.legal-hero,
.post-hero {
  padding: clamp(72px, 10vw, 120px) clamp(18px, 5vw, 72px) clamp(36px, 6vw, 64px);
  background: #f8e8e2;
}

.legal-hero h1,
.post-hero h1 {
  max-width: 900px;
  margin-bottom: 14px;
  color: var(--ink);
}

.legal-hero p:last-child,
.post-hero p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 700;
}

.legal-content,
.post-content {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(44px, 7vw, 78px) clamp(18px, 5vw, 42px);
  color: var(--muted);
}

.legal-content h2,
.post-content h2 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.18;
}

.legal-content a,
.post-content a {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-content ul,
.post-content ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.legal-note,
.post-note {
  margin-top: 34px;
  padding: 18px;
  border-left: 4px solid var(--accent);
  background: #fff8f7;
  color: var(--ink);
  font-weight: 650;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.post-image {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
}

.site-footer {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(18px, 5vw, 72px);
  background: #2d2327;
  color: #fff;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.social-link img {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.header-social {
  padding: 6px 10px;
  border: 1px solid rgba(24, 119, 242, 0.24);
  border-radius: 8px;
  background: rgba(24, 119, 242, 0.08);
  color: var(--ink);
}

.header-social:hover {
  border-color: rgba(24, 119, 242, 0.42);
  background: rgba(24, 119, 242, 0.14);
}

.footer-brand,
.footer-brand span {
  color: #fff;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer,
  .section-heading,
  .newsletter {
    align-items: stretch;
    flex-direction: column;
  }

  .site-header {
    position: static;
  }

  .main-nav {
    justify-content: space-between;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero {
    min-height: 78svh;
  }

  .topic-grid,
  .article-grid,
  .about,
  .newsletter {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero::after {
    background: linear-gradient(180deg, rgba(45, 35, 39, 0.42), rgba(45, 35, 39, 0.76));
  }

  .hero-actions .button,
  .signup-row .button {
    width: 100%;
  }
}
