@font-face {
  font-family: "Gloock";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/gloock.woff2") format("woff2");
}
@font-face {
  font-family: "Fredoka";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/fredoka-500.woff2") format("woff2");
}

:root {
  --cream: #faf3e6;
  --cream-alt: #f3e6d2;
  --ink: #3a2a1e;
  --ink-soft: #6b5847;
  --terracotta: #c1592f;
  --terracotta-dark: #9b4423;
  --mustard: #e0a53e;
  --blue: #3a5c78;
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-weight: 500;
  line-height: 1.1;
  margin: 0 0 0.4em;
  color: var(--terracotta-dark);
}

h1 {
  font-family: "Gloock", serif;
  font-size: clamp(2.8rem, 10vw, 5rem);
  letter-spacing: 0.01em;
}
h2 {
  font-family: "Gloock", serif;
  font-size: clamp(1.7rem, 4.5vw, 2.4rem);
}

p { margin: 0 0 1em; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.6em 1em;
  border-radius: 8px;
  z-index: 10;
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 2rem 1.5rem;
  background: #8c6f5b;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-bg.webp");
  background-size: cover;
  background-position: center 30%;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 42, 30, 0.35) 0%, rgba(58, 42, 30, 0.5) 100%);
  z-index: 0;
}
.hero-inner .hero-name,
.hero-inner .hero-sub { color: rgba(255, 255, 255, 0.9); }
.hero-inner h1,
.hero-inner .hero-phrase,
.hero-inner .cta-link { color: #fff; }
.hero-inner .cta-link { border-bottom-color: rgba(255, 255, 255, 0.6); }
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin-bottom: 0.6em;
}
.hero-name {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 0.6em;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 0 1.2em;
}
.hero-phrase {
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  color: var(--terracotta-dark);
  font-size: 1.25rem;
  max-width: 30ch;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- CTA LINKS ---------- */
.cta-link {
  display: inline-block;
  color: var(--terracotta-dark);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1.5px solid var(--terracotta);
  padding-bottom: 3px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.cta-link:hover { color: var(--terracotta); border-color: var(--terracotta-dark); }

.cta-lg {
  font-family: "Gloock", serif;
  font-size: 1.3rem;
}

/* ---------- SECTIONS ---------- */
.section { padding: 5.5rem 1.5rem; }
.section.alt { background: var(--cream-alt); }

.section-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
.section-inner.narrow { max-width: 640px; }
.section-inner.center { text-align: center; }

#sobre-mi .section-inner {
  display: block;
}
#sobre-mi .section-text {
  max-width: 700px;
}

.kicker {
  font-family: "DM Sans", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  line-height: 1.6;
  color: var(--blue);
  font-weight: 500;
  margin: 0 0 0.8em;
}

.body-text { color: var(--ink-soft); font-size: 1.05rem; }

.price-list {
  margin: 1em 0 1.6em;
}
.price-item {
  padding: 1em 0;
  border-top: 1px solid #e2cfb2;
}
.price-item:last-child {
  border-bottom: 1px solid #e2cfb2;
}
.price-amount {
  font-family: "Fraunces", serif;
  font-weight: 500;
  font-size: 1.4rem;
  color: var(--terracotta-dark);
  margin: 0 0 0.2em;
}
.price-item .body-text {
  margin: 0;
}

.testimonial {
  margin: 0 0 2.4rem;
  padding: 0;
}
.testimonial p {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--ink);
  font-variation-settings: "opsz" 40;
  margin: 0 0 0.7em;
}
.testimonial cite {
  display: block;
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}
.testimonial:last-child { margin-bottom: 0; }

.photo-placeholder {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--cream-alt), #ecd8b8);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.photo-mosaic {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}
.mosaic-featured {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}
.mosaic-small {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

@media (min-width: 780px) {
  .section-inner:not(.narrow) {
    grid-template-columns: 1fr 1fr;
  }
  .section-inner.reverse .section-text { order: 2; }
}

/* ---------- FOOTER ---------- */
.site-footer {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--ink-soft);
  font-size: 0.85rem;
}
.footer-tagline {
  font-family: "Fraunces", serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--terracotta-dark);
  margin: 0 0 0.8em;
  font-variation-settings: "opsz" 40;
}
