/* Cristina Rodó Llorach — web professional
   Estil: càlid, natural i acollidor.
*/

:root {
  --ink: #35433d;
  --muted: #68736d;
  --cream: #f7f3ec;
  --paper: #fffdf9;
  --sage: #a9b8aa;
  --sage-dark: #687d70;
  --clay: #c98f72;
  --line: #e6e0d6;
  --serif: "Libre Baskerville", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.7;
}

a { color: inherit; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 253, 249, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 224, 214, .8);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  font-family: var(--serif);
  text-decoration: none;
  font-size: 17px;
  display: flex;
  flex-direction: column;
}

.brand small {
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 3px;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
}

nav a { text-decoration: none; color: var(--muted); }
nav a:hover { color: var(--ink); }

.hero {
  background:
    radial-gradient(circle at 82% 25%, rgba(201,143,114,.14), transparent 28%),
    radial-gradient(circle at 8% 80%, rgba(169,184,170,.22), transparent 32%),
    var(--cream);
}

.hero-inner {
  min-height: 700px;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 80px;
  align-items: center;
  padding: 90px 0;
}

.hero-copy {
  position: relative;
  top: -120px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px;
  font-weight: 600;
  color: var(--sage-dark);
  margin: 0 0 18px;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.25;
}

h1 {
  font-size: clamp(32px, 3vw, 32px);
  max-width: 760px;
  margin: 0 0 28px;
  letter-spacing: -.025em;
}

h2 {
  font-size: clamp(31px, 3.2vw, 45px);
  margin: 0 0 24px;
  letter-spacing: -.02em;
}

h3 {
  font-size: 22px;
  margin: 10px 0 10px;
}

.lead {
  max-width: 650px;
  font-size: 18px;
  color: var(--muted);
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: transform .2s ease, background .2s ease;
}

.button:hover { transform: translateY(-2px); background: var(--sage-dark); }

.text-link { text-decoration: none; font-size: 14px; }

.hero-card { text-align: center; color: var(--muted); font-size: 13px; }

.photo-frame {
  width: min(400px, 100%);
  aspect-ratio: 4 / 5;
  margin: 20 0 20px 0;
  overflow: hidden;
  border-radius: 180px 180px 22px 22px;
  background: var(--sage);
  box-shadow: 0 18px 45px rgba(53,67,61,.12);
  
}

.photo-frame img {
  width: 100%;
  height: 100%;
  display: flex;
  object-fit: cover;
  object-position: center 32%;
}

.sobre-mi-foto {
    width: 400px;
    height: 400px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin-top: 20px;
    margin-left: 20px;
    border-radius: 8px;
}

.hero-card p { margin: 3px 0; }

.section { padding: 110px 0; }
.soft { background: var(--cream); }

.two-col {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: .8fr 1.2fr;
  gap: 10px;
  
}

.body-copy { color: var(--muted); flex: 1; max-width: 780px; }
.body-copy p { margin: 20 0 20px; }

.section-heading {
  max-width: 760px;
  margin-bottom: 55px;
}

.section-heading > p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.card {
  background: rgba(255,253,249,.72);
  border: 1px solid var(--line);
  padding: 34px;
  min-height: 260px;
}

.card-number {
  color: var(--clay);
  font-size: 13px;
  letter-spacing: .12em;
}

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

.method {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
  align-items: center;
}

.method-quote {
  padding: 50px;
  background: var(--cream);
  border-radius: 8px;
}

.quote-mark {
  font-family: var(--serif);
  color: var(--clay);
  font-size: 60px;
  line-height: .7;
}

.method-quote p {
  font-family: var(--serif);
  font-size: 25px;
  line-height: 1.5;
  margin: 22px 0 0;
}

.location {
  padding-top: 0;
}

.location-box {
  background: var(--sage);
  color: white;
  padding: 55px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  border-radius: 8px;
}

.location-box .eyebrow { color: rgba(255,255,255,.8); }
.location-box h2 { margin-bottom: 10px; }
.location-box p { max-width: 650px; margin: 0; color: rgba(255,255,255,.9); }

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: flex-end;
  min-width: 240px;
}

.pill-list span {
  border: 1px solid rgba(255,255,255,.5);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px;
}

.contact { background: var(--cream); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr .75fr;
  gap: 90px;
  align-items: center;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 30px;
}

.contact-label {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 8px;
  color: var(--muted);
}

.email {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  text-decoration: none;
  margin: 8px 0 28px;
  overflow-wrap: anywhere;
}

.full { width: 100%; }

footer {
  background: var(--ink);
  color: white;
  padding: 35px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
}

footer p { margin: 4px 0 0; color: rgba(255,255,255,.7); }

@media (max-width: 800px) {
  .container { width: min(100% - 32px, 1120px); }
  nav { display: none; }
  .hero-inner, .two-col, .method, .contact-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero-inner { padding: 70px 0; min-height: auto; }
  .hero-card { order: -1; }
  .photo-frame { max-width: 280px; }
  .section { padding: 78px 0; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: auto; }
  .location-box { padding: 38px 30px; flex-direction: column; align-items: flex-start; }
  .pill-list { justify-content: flex-start; min-width: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
