/* ============================================================
   about.css — Sobre Mí / About Page Specific Styles
   Part of the Leo Bercoff modular CSS architecture
   ============================================================ */


/* ── Main Grid ──────────────────────────────────────────── */
.about-main {
  display: grid;
  gap: 18px;
  width: min(calc(100% - 36px), var(--max-width));
  margin: 0 auto;
  padding: 30px 0 60px;
}

.about-main > h1 {
  grid-column: 1 / -1;
}


/* ── Two-Column Intro (photo + bio) ─────────────────────── */
.about-intro {
  display: grid;
  grid-template-columns: minmax(200px, .8fr) 1.2fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.about-intro__image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-intro__content {
  padding: clamp(20px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 14px 40px rgba(38, 31, 21, .07);
}

.about-intro__content h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--accent);
}

.about-intro__content p {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-intro__content p:last-child {
  margin-bottom: 0;
}


/* ── Full-Width Sections ────────────────────────────────── */
.about-section {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card-bg);
  box-shadow: 0 14px 40px rgba(38, 31, 21, .07);
}

.about-section h2 {
  margin: 0 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  color: var(--accent);
}

.about-section p {
  margin: 0 0 16px;
  color: var(--muted);
}

.about-section p:last-child {
  margin-bottom: 0;
}


/* ── CTA Section (dark block) ───────────────────────────── */
.about-cta {
  padding: clamp(34px, 6vw, 72px);
  border-radius: calc(var(--radius) + 8px);
  background: #171512;
  color: #f9f5ec;
  box-shadow: var(--shadow);
}

.about-cta p {
  max-width: 760px;
  margin: 0 0 30px;
  color: #cbc5ba;
  font-size: 1.08rem;
}

.about-cta__services {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.about-cta__contact {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.about-cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 22px;
  border: 1px solid #f9f5ec;
  border-radius: 999px;
  background: #f9f5ec;
  color: #171512;
  font-weight: 750;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease;
}

.about-cta .button:hover,
.about-cta .button:focus-visible {
  transform: translateY(-2px);
  background: #fff;
  border-color: #fff;
}

.about-cta .button--contact {
  min-width: 240px;
}


/* ── Responsive: Mid-range (≤800px) ────────────────────── */
@media (max-width: 800px) {
  .about-cta__services {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ── Responsive: Narrow (≤720px) ────────────────────────── */
@media (max-width: 720px) {
  .about-intro {
    grid-template-columns: 1fr;
  }

  .about-intro__image {
    max-width: 340px;
  }
}


/* ── Responsive: Narrow screens (≤640px) ───────────────── */
@media (max-width: 640px) {
  .back-home {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .about-main {
    width: min(calc(100% - 24px), var(--max-width));
    padding-bottom: 48px;
  }

  .about-cta__services {
    grid-template-columns: 1fr;
  }

  .about-cta .button {
    width: 100%;
  }

  .about-cta .button--contact {
    width: 100%;
    min-width: unset;
  }

  .site-footer {
    width: min(calc(100% - 24px), var(--max-width));
  }
}


/* ── Page Background Texture ─────────────────────────── */
body {
  --page-bg: url("../images/arpillera-beige.png");
}
