:root {
  --clay: #c0825f;
  --clay-dark: #a86b49;
  --clay-soft: #d6a585;
  --cream: #f1e6dd;
  --cream-deep: #e7d7cb;
  --ink: #4a3b32;
  --ink-soft: #6f5d51;
  --white: #fffaf6;
  --shadow: 0 18px 40px rgba(120, 80, 55, 0.14);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Nunito Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; line-height: 1.08; font-weight: 600; }

/* NAV */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem clamp(1.2rem, 5vw, 4rem);
  background: rgba(241, 230, 221, 0.85);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s, padding .3s;
}
.nav.scrolled { box-shadow: 0 6px 24px rgba(120, 80, 55, 0.1); padding-top: .8rem; padding-bottom: .8rem; }
.nav__brand { font-family: "Cormorant Garamond", serif; font-size: 1.6rem; font-weight: 700; color: var(--clay-dark); text-decoration: none; letter-spacing: .5px; }
.nav__brand span { color: var(--ink); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { color: var(--ink-soft); text-decoration: none; font-size: .95rem; font-weight: 600; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 2px; background: var(--clay); transition: width .25s; }
.nav__links a:hover { color: var(--clay-dark); }
.nav__links a:hover::after { width: 100%; }
.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav__toggle span { width: 26px; height: 2px; background: var(--ink); transition: .3s; }

/* HERO */
.hero {
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 3rem;
  padding: 7rem clamp(1.2rem, 5vw, 4rem) 4rem;
  background:
    radial-gradient(1200px 600px at 80% -10%, var(--cream-deep), transparent 60%),
    var(--cream);
}
.hero__eyebrow { color: var(--clay-dark); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .82rem; margin-bottom: 1rem; }
.hero__title { font-size: clamp(3.2rem, 8vw, 6rem); color: var(--clay); font-weight: 700; }
.hero__subtitle { font-size: clamp(1.1rem, 2.2vw, 1.5rem); color: var(--ink-soft); margin: 1.2rem 0 2rem; max-width: 28ch; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero__location { display: flex; align-items: center; gap: .5rem; color: var(--ink-soft); font-weight: 600; }
.hero__location svg { width: 20px; height: 20px; fill: var(--clay); }

.hero__media { position: relative; }
.hero__image {
  border-radius: 200px 200px 28px 28px;
  aspect-ratio: 3 / 4;
  background: url("assets/mano.png") center 40% / cover no-repeat, var(--clay-soft);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute; right: -10px; bottom: 40px;
  background: var(--clay); color: var(--white);
  padding: 1rem 1.6rem; border-radius: 18px;
  box-shadow: var(--shadow); text-align: center;
  text-decoration: none; transition: transform .2s, background .2s;
}
.hero__badge:hover { transform: translateY(-3px); background: var(--clay-dark); }
.hero__badge-label { display: block; font-size: .8rem; letter-spacing: 1.5px; text-transform: uppercase; opacity: .85; }
.hero__badge-phone { display: block; color: var(--white); font-size: 1.2rem; font-weight: 700; }

/* BUTTONS */
.btn { display: inline-block; padding: .85rem 1.8rem; border-radius: 100px; font-weight: 700; text-decoration: none; font-size: .95rem; transition: transform .2s, box-shadow .2s, background .2s; }
.btn--solid { background: var(--clay); color: var(--white); box-shadow: 0 10px 20px rgba(192, 130, 95, .35); }
.btn--solid:hover { transform: translateY(-2px); background: var(--clay-dark); }
.btn--ghost { border: 2px solid var(--clay); color: var(--clay-dark); }
.btn--ghost:hover { background: var(--clay); color: var(--white); transform: translateY(-2px); }

/* SECTIONS */
.section { padding: clamp(4rem, 9vw, 7rem) clamp(1.2rem, 5vw, 4rem); max-width: 1140px; margin: 0 auto; }
.section__head { max-width: 720px; margin-bottom: 3rem; }
.section__kicker { color: var(--clay-dark); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: .8rem; }
.section__title { font-size: clamp(1.9rem, 4.5vw, 3rem); color: var(--ink); margin-top: .6rem; }

/* ABOUT */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; font-size: 1.08rem; color: var(--ink-soft); }
.about__grid strong { color: var(--ink); }

/* SERVICES */
.services { background: var(--white); max-width: none; }
.services > .section__head, .services > .services__grid { max-width: 1140px; margin-left: auto; margin-right: auto; }
.services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.card { background: var(--cream); border-radius: var(--radius); padding: 2rem 1.8rem; transition: transform .25s, box-shadow .25s; border: 1px solid var(--cream-deep); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__icon { font-family: "Cormorant Garamond", serif; font-size: 2rem; color: var(--clay); font-weight: 700; margin-bottom: .6rem; }
.card h3 { font-size: 1.45rem; color: var(--ink); margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .98rem; }

/* CREDENTIALS */
.about__creds { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.about__creds li { background: var(--white); border-radius: 14px; padding: 1.2rem 1.4rem; border: 1px solid var(--cream-deep); color: var(--ink-soft); font-size: .92rem; }
.about__creds li span { display: block; font-family: "Cormorant Garamond", serif; font-size: 1.3rem; font-weight: 600; color: var(--clay-dark); margin-bottom: .2rem; line-height: 1.2; }

/* TRAYECTORIA */
.trajectory { background: var(--white); max-width: none; }
.trajectory > .section__head, .trajectory > .timeline { max-width: 1140px; margin-left: auto; margin-right: auto; }
.timeline { list-style: none; position: relative; padding-left: 1.8rem; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 2px; background: var(--cream-deep); }
.timeline__item { position: relative; padding: 0 0 2rem 1.5rem; }
.timeline__item::before { content: ""; position: absolute; left: -1.8rem; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--clay); border: 3px solid var(--white); box-shadow: 0 0 0 2px var(--clay-soft); }
.timeline__period { color: var(--clay-dark); font-weight: 700; font-size: .85rem; letter-spacing: .5px; text-transform: uppercase; }
.timeline__item h3 { font-size: 1.4rem; color: var(--ink); margin: .2rem 0 .2rem; }
.timeline__item p { color: var(--ink-soft); }

/* CONTACT */
.contact { max-width: 1140px; }
.contact__card {
  background: linear-gradient(135deg, var(--clay), var(--clay-dark));
  color: var(--white); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4rem);
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  box-shadow: var(--shadow);
}
.contact__card .section__kicker { color: rgba(255,255,255,.8); }
.contact__card .section__title { color: var(--white); }
.contact__text p { margin-top: .8rem; max-width: 40ch; opacity: .95; }
.contact__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.contact__actions .btn--solid { background: var(--white); color: var(--clay-dark); box-shadow: none; }
.contact__actions .btn--solid:hover { background: var(--cream); }
.contact__actions .btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); }
.contact__actions .btn--ghost:hover { background: rgba(255,255,255,.15); }

/* FOOTER */
.footer { text-align: center; padding: 2.5rem 1rem; background: var(--cream-deep); color: var(--ink-soft); }
.footer__small { font-size: .9rem; margin-top: .3rem; }

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 6rem; }
  .hero__subtitle { margin-left: auto; margin-right: auto; }
  .hero__cta, .hero__location { justify-content: center; }
  .hero__media { max-width: none; width: 100%; order: -1; }
  .hero__image { width: 100%; aspect-ratio: 16 / 10; border-radius: 20px; background: url("assets/mano.png") center 35% / cover no-repeat, var(--clay-soft); }
  .hero__badge { display: none; }
  .about__grid { grid-template-columns: 1fr; }
  .nav__links { position: fixed; top: 0; right: 0; bottom: 0; width: min(78vw, 300px); height: 100vh; height: 100dvh; flex-direction: column; justify-content: flex-start; align-items: flex-start; background: var(--white); padding: 5.5rem 2rem 2rem; gap: 1.6rem; transform: translateX(100%); transition: transform .3s ease; box-shadow: var(--shadow); }
  .nav__links a { font-size: 1.25rem; }
  .nav__links.open { transform: none; }
  .nav__toggle { display: flex; z-index: 60; }
  .nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
