/* eSalona — introductory marketing site */
:root {
  --color-bg: #faf8f6;
  --color-surface: #ffffff;
  --color-text: #1c1917;
  --color-muted: #57534e;
  --color-accent: #9f1239;
  --color-accent-soft: #fce7f3;
  --color-accent-dark: #881337;
  --color-border: #e7e5e4;
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Fraunces", Georgia, serif;
  --max-width: 72rem;
  --radius: 0.75rem;
  --shadow: 0 4px 24px rgba(28, 25, 23, 0.06);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

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

a {
  color: var(--color-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-accent);
}

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

.nav-toggle {
  display: none;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
  font: inherit;
  cursor: pointer;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--color-muted);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-text);
}

.site-nav .btn {
  margin-left: 0.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

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

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

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

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

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  padding-inline: 0.5rem;
}

.btn--ghost:hover {
  color: var(--color-accent-dark);
}

/* Hero */
.hero {
  padding: 4rem 0 5rem;
}

.hero__grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    padding: 5rem 0 6rem;
  }
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 32rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 1.25rem;
  background: linear-gradient(145deg, #fce7f3 0%, #fdf2f8 40%, #faf8f6 100%);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(159, 18, 57, 0.12), transparent 55%);
}

.hero__card {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
}

.hero__card strong {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 0.25rem;
}

.hero__card span {
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Sections */
.section {
  padding: 4rem 0;
}

.section--alt {
  background: var(--color-surface);
  border-block: 1px solid var(--color-border);
}

.section__header {
  max-width: 40rem;
  margin-bottom: 2.5rem;
}

.section__header h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section__header p {
  margin: 0;
  color: var(--color-muted);
}

/* Feature grid */
.features-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .features-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  padding: 1.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: box-shadow 0.15s;
}

.section--alt .feature-card {
  background: var(--color-bg);
}

.feature-card:hover {
  box-shadow: var(--shadow);
}

.feature-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  background: var(--color-accent-soft);
  border-radius: 0.5rem;
}

.feature-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.feature-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* Steps */
.steps {
  display: grid;
  gap: 2rem;
  counter-reset: step;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  position: relative;
  padding-top: 0.5rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 50%;
}

.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
}

.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* CTA band */
.cta-band {
  margin: 2rem 0 0;
  padding: 3rem 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  border-radius: 1.25rem;
  color: #fff;
}

.cta-band h2 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  opacity: 0.9;
}

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

.cta-band .btn--primary:hover {
  background: var(--color-accent-soft);
}

/* Page banner (inner pages) */
.page-banner {
  padding: 3rem 0 2rem;
  text-align: center;
}

.page-banner h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.page-banner p {
  margin: 0 auto;
  max-width: 36rem;
  color: var(--color-muted);
}

/* About */
.prose {
  max-width: 42rem;
  margin-inline: auto;
}

.prose p {
  margin: 0 0 1.25rem;
  color: var(--color-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.values-list {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .values-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.values-list li {
  padding: 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.values-list strong {
  display: block;
  margin-bottom: 0.35rem;
}

.values-list span {
  font-size: 0.9375rem;
  color: var(--color-muted);
}

/* Contact */
.contact-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 48rem;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.contact-info p {
  margin: 0 0 1.5rem;
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.contact-info dl {
  margin: 0;
}

.contact-info dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 0.25rem;
}

.contact-info dd {
  margin: 0 0 1rem;
}

.contact-form {
  padding: 1.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.625rem 0.75rem;
  font: inherit;
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  background: var(--color-bg);
}

.form-group textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  margin-top: 1rem;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Footer */
.site-footer {
  margin-top: 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-surface);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.site-footer .logo {
  margin-bottom: 0.75rem;
}

.site-footer p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--color-muted);
  max-width: 22rem;
}

.footer-nav h3 {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin-bottom: 0.5rem;
}

.footer-nav a {
  color: var(--color-text);
  font-size: 0.9375rem;
  text-decoration: none;
}

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

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav .btn {
    margin: 0.5rem 0 0;
    text-align: center;
  }

  .site-header__inner {
    position: relative;
    flex-wrap: wrap;
  }
}
