/* ══════════════════════════════════════
   CÍRCLÉ — Style (unified typography)
   ══════════════════════════════════════ */

/* ─── FONT ─── */
@font-face { font-family:"Arboria"; src:url("https://db.onlinewebfonts.com/t/bf7395f715c4c074d2a39e1c273afbaa.woff2") format("woff2"); font-weight:300; font-style:normal; font-display:swap; }
@font-face { font-family:"Arboria"; src:url("https://db.onlinewebfonts.com/t/1c7f14203d028f1c6f8914508f469cb9.woff2") format("woff2"); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:"Arboria"; src:url("https://db.onlinewebfonts.com/t/dda65d7f418f4ab23abf484c807c9f17.woff2") format("woff2"); font-weight:500; font-style:normal; font-display:swap; }

/* ─── VARS ─── */
:root {
  --bg:      #F7EEE7;
  --cream:   #F7EEE7;
  --white:   #FFFFFF;
  --text:    #8D6458;
  --text-50: rgba(141,100,88,.5);
  --text-30: rgba(141,100,88,.3);
  --text-15: rgba(141,100,88,.15);
  --dark:    #3D2E28;
  --dark-w:  #5A3D35;
  --font:    "Arboria", system-ui, -apple-system, sans-serif;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  /* 3-level type scale */
  --fs-s:    13px;   /* labels, meta, captions */
  --fs-m:    16px;   /* body, descriptions, prices */
  --fs-l:    clamp(1.6rem, 4vw, 2.4rem); /* headings */
  --lh-tight: 1.15;
  --lh-body:  1.6;
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; -webkit-font-smoothing:antialiased; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-weight: 400;
  font-size: var(--fs-m);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

::selection { background: rgba(141,100,88,.15); }
img { display:block; max-width:100%; height:auto; }
a { color:inherit; text-decoration:none; }

/* ─── LAYOUT ─── */
.container        { max-width:1140px; margin:0 auto; padding:0 24px; }
.container--narrow { max-width:780px; margin:0 auto; padding:0 24px; }

.section       { padding: 100px 0; }
.section--cream { background: var(--cream); }
.section--dark  { background: var(--dark-w); }
.section--quote { padding: 120px 0; }
.section--flush { padding: 40px 0; }
.section--claim { padding: 100px 0; }

@media (min-width:768px) {
  .container       { padding:0 48px; }
  .container--narrow { padding:0 48px; }
  .section       { padding:140px 0; }
  .section--quote { padding:160px 0; }
  .section--claim { padding:140px 0; }
  .section--flush { padding:60px 0; }
}

/* ─── TYPOGRAPHY (3 levels: S, M, L) ─── */
.label {
  display:block;
  font-size: var(--fs-s); font-weight:500;
  letter-spacing:.3em;
  text-transform:uppercase;
  color: var(--text-30);
  margin-bottom:16px;
}
.label--center { text-align:center; }
.label--light  { color: rgba(245,242,237,.35); }
.label--small  { letter-spacing:.2em; color:var(--text-50); margin-bottom:8px; }

.heading-2 {
  font-size: var(--fs-l);
  font-weight: 500;
  line-height: var(--lh-tight);
  margin-bottom:24px;
  color: var(--text);
}

.body-text {
  font-size: var(--fs-m);
  font-weight:400;
  color: var(--text);
  line-height: var(--lh-body);
  max-width:560px;
  opacity:.7;
}
.body-text--intro { max-width:640px; margin-bottom:48px; }

.divider-line {
  width:48px; height:1px;
  background: var(--text-15);
  margin:20px 0;
}

/* ─── CTA BUTTON ─── */
.btn {
  display:inline-block;
  font-size: var(--fs-s); font-weight:500;
  letter-spacing:.2em; text-transform:uppercase;
  color:var(--white);
  background:var(--text);
  padding:14px 36px;
  border-radius:40px;
  transition: background .3s, transform .3s;
}
.btn:hover { background:var(--dark-w); transform:translateY(-2px); }

/* ─── NAV ─── */
.nav {
  position:fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(247,238,231,.6);
  backdrop-filter: blur(8px);
  transition: background .3s, box-shadow .3s;
}
.nav--scrolled {
  background: rgba(247,238,231,.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,.04);
}
.nav__inner {
  max-width:1140px; margin:0 auto;
  padding:16px 24px;
  display:flex; justify-content:space-between; align-items:center;
}
.nav__logo img { height:44px; width:auto; }
.nav__links { display:none; gap:32px; align-items:center; }
.nav__link {
  font-size: var(--fs-s); font-weight:500;
  letter-spacing:.18em; text-transform:uppercase;
  color: var(--text-50);
  transition: color .25s;
}
.nav__link:hover { color:var(--text); }
.nav__link--accent { color:var(--text); }

/* Hamburger */
.nav__burger {
  display:flex; flex-direction:column; gap:5px;
  cursor:pointer; padding:8px; background:none; border:none; z-index:200;
}
.nav__burger span {
  display:block; width:24px; height:2px;
  background:var(--text); transition: transform .3s, opacity .3s;
}
.nav__burger.is-open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.nav__burger.is-open span:nth-child(2) { opacity:0; }
.nav__burger.is-open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }

/* Mobile overlay */
.nav__overlay {
  display:none; position:fixed; inset:0; z-index:150;
  background:var(--bg);
  flex-direction:column; align-items:center; justify-content:center;
  gap:28px;
}
.nav__overlay.is-open { display:flex; }
.nav__overlay a {
  font-size: var(--fs-l); font-weight:400;
  color:var(--text); line-height: var(--lh-tight);
  transition: opacity .25s;
}
.nav__overlay a:hover { opacity:.5; }

@media (min-width:768px) {
  .nav__inner { padding:20px 48px; }
  .nav__logo img { height:52px; }
  .nav__links { display:flex; }
  .nav__burger { display:none; }
  .nav__overlay { display:none !important; }
}

/* ─── HERO ─── */
.hero {
  position:relative;
  height:100vh; min-height:600px;
  display:flex; align-items:center; justify-content:center;
  overflow:hidden;
  background: var(--bg);
}

/* Animated gradient bg */
.hero__gradient {
  position:absolute; inset:-15%;
  width:130%; height:130%;
  background:
    radial-gradient(ellipse 55% 50% at 30% 35%, #c4a68e 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 70% 60%, #d4bfae 0%, transparent 50%),
    radial-gradient(ellipse 50% 45% at 50% 50%, #AA9283 0%, transparent 48%),
    radial-gradient(ellipse 65% 55% at 45% 60%, #E3D2C3 0%, transparent 55%),
    var(--bg);
  animation: gradientFlow 14s ease-in-out infinite alternate;
}
.hero__gradient::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 55% 50% at 60% 40%, rgba(170,146,131,.65) 0%, transparent 50%),
    radial-gradient(ellipse 50% 55% at 35% 60%, rgba(196,166,142,.6) 0%, transparent 55%);
  animation: gradientFlow2 18s ease-in-out infinite alternate-reverse;
}
.hero__gradient::after {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse 45% 45% at 55% 35%, rgba(212,191,174,.55) 0%, transparent 45%),
    radial-gradient(ellipse 40% 40% at 40% 65%, rgba(170,146,131,.45) 0%, transparent 42%);
  animation: gradientFlow3 22s ease-in-out infinite alternate;
}
@keyframes gradientFlow {
  0%   { transform: translate(0,0) rotate(0) scale(1); }
  50%  { transform: translate(2%,-1.5%) rotate(1deg) scale(1.02); }
  100% { transform: translate(-1%,1%) rotate(-.5deg) scale(1.01); }
}
@keyframes gradientFlow2 {
  0%   { transform: translate(0,0) rotate(0); opacity:.8; }
  50%  { transform: translate(-2%,1.5%) rotate(-1.5deg); opacity:1; }
  100% { transform: translate(1.5%,-1%) rotate(.5deg); opacity:.85; }
}
@keyframes gradientFlow3 {
  0%   { transform: translate(0,0) scale(1); opacity:.6; }
  50%  { transform: translate(1.5%,1%) scale(1.03); opacity:.9; }
  100% { transform: translate(-1%,-.5%) scale(1.01); opacity:.7; }
}

.hero__content { position:relative; z-index:2; text-align:center; }

.hero__circle { position:relative; width:340px; height:340px; margin:0 auto 28px; }
.hero__emblem-bg { width:100%; height:100%; filter: drop-shadow(0 8px 40px rgba(185,151,123,.2)); }
.hero__logo-inside { position:absolute; top:52%; left:50%; transform:translate(-50%,-50%); width:62%; height:auto; }

.hero__tagline {
  font-size: var(--fs-l);
  font-weight:300;
  line-height: var(--lh-tight);
  color: var(--text);
}
.hero__scroll {
  position:absolute; bottom:32px; left:50%; transform:translateX(-50%); z-index:2;
  width:42px; height:42px; border-radius:50%;
  border:1px solid var(--text-15);
  display:flex; align-items:center; justify-content:center;
  color:var(--text); transition: background .3s;
  animation: float 3s ease-in-out infinite;
}
.hero__scroll:hover { background:rgba(141,100,88,.08); }

@media (min-width:768px) { .hero__circle { width:420px; height:420px; } }
@media (min-width:1024px) { .hero__circle { width:480px; height:480px; } }

/* ─── CLAIM ─── */
.claim__heading {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-weight:500;
  line-height: var(--lh-tight);
  text-align:center;
  color:var(--text);
  margin-bottom:20px;
}
.claim__sub {
  font-size: var(--fs-m); font-weight:400;
  text-align:center;
  color: var(--text); opacity:.55;
  max-width:560px; margin:0 auto;
}
.claim__cta {
  text-align:center;
  margin-top:40px;
}

/* ─── SPLIT ─── */
.split { display:grid; grid-template-columns:1fr; gap:40px; align-items:center; }
@media (min-width:768px) { .split { grid-template-columns:1fr 1fr; gap:64px; } }
.split--contact .split__text { order:1; }
.split--contact .split__media { order:2; }

/* ─── IMAGE FRAME ─── */
.img-frame { border-radius:16px; overflow:hidden; }
.img-frame img { width:100%; height:360px; object-fit:cover; transition: transform .7s var(--ease); }
.img-frame:hover img { transform:scale(1.03); }
.img-frame--tall img { height:440px; }
@media (min-width:768px) { .img-frame img { height:480px; } .img-frame--tall img { height:540px; } }

/* ─── WIDE IMAGE ─── */
.wide-image { border-radius:16px; overflow:hidden; }
.wide-image img { width:100%; height:280px; object-fit:cover; transition: transform .7s var(--ease); }
.wide-image:hover img { transform:scale(1.02); }
@media (min-width:768px) { .wide-image img { height:480px; } }

/* ─── QUOTE ─── */
.quote {
  font-size: var(--fs-l);
  font-weight:300; font-style:italic;
  line-height:1.3;
  text-align:center;
  color:var(--text);
}

/* ─── PILLARS (3 cols) ─── */
.pillars-grid { display:grid; grid-template-columns:1fr; gap:16px; margin-top:40px; }
@media (min-width:768px) { .pillars-grid { grid-template-columns:repeat(2,1fr); gap:20px; } }

.pillar-card {
  background:var(--white); border-radius:16px; overflow:hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.pillar-card:hover { transform:translateY(-4px); box-shadow:0 20px 60px rgba(141,100,88,.08); }
.pillar-card__img { overflow:hidden; }
.pillar-card__img img { width:100%; height:200px; object-fit:cover; transition: transform .6s var(--ease); }
.pillar-card:hover .pillar-card__img img { transform:scale(1.04); }
.pillar-card__body { padding:24px; }
.pillar-card__title { font-size: var(--fs-m); font-weight:500; margin-bottom:4px; line-height: var(--lh-tight); }
.pillar-card__desc { font-size: var(--fs-m); color:var(--text); opacity:.6; margin:8px 0 14px; }
.pillar-card--muted { opacity:.7; }

.badge {
  font-size:10px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase;
  background: var(--text-15); color: var(--text-50);
  padding:3px 10px; border-radius:20px; vertical-align:middle; margin-left:6px;
}

.link-arrow {
  font-size: var(--fs-s); font-weight:500;
  letter-spacing:.15em; text-transform:uppercase;
  color:var(--text); transition: opacity .25s;
}
.link-arrow:hover { opacity:.5; }

@media (min-width:768px) { .pillar-card__img img { height:220px; } }

/* ─── TEAM ─── */
.team-grid { display:grid; grid-template-columns:1fr; gap:16px; }
@media (min-width:768px) { .team-grid { grid-template-columns:repeat(3,1fr); gap:20px; } }

.team-card {
  background:var(--white); border-radius:16px; overflow:hidden;
  transition: transform .4s var(--ease), box-shadow .4s;
}
.team-card:hover { transform:translateY(-4px); box-shadow:0 16px 48px rgba(141,100,88,.07); }
.team-card__img { height:300px; overflow:hidden; }
.team-card__img img { width:100%; height:100%; object-fit:cover; object-position:top; transition: transform .6s var(--ease); }
.team-card:hover .team-card__img img { transform:scale(1.04); }
.team-card__img--placeholder { background: var(--text-15); display:flex; align-items:center; justify-content:center; }
.team-card__icon { width:48px; height:48px; opacity:.2; }
.team-card__body { padding:24px; }
.team-card__name { font-size: var(--fs-m); font-weight:500; margin-bottom:4px; line-height: var(--lh-tight); }
.team-card__bio  { font-size: var(--fs-m); color:var(--text); opacity:.6; margin:10px 0; }
.team-card__quote { font-size: var(--fs-s); font-style:italic; color:var(--text); opacity:.7; }

/* ─── VALUES ─── */
.values-grid { display:grid; grid-template-columns:1fr; gap:32px; margin-top:40px; }
@media (min-width:768px) { .values-grid { grid-template-columns:repeat(3,1fr); gap:48px; } }
.value__title { font-size: clamp(1.3rem, 2.5vw, 1.6rem); font-weight:500; color:rgba(245,242,237,.9); margin-bottom:12px; line-height: var(--lh-tight); }
.value__desc  { font-size: var(--fs-m); font-weight:400; color:rgba(245,242,237,.45); line-height: var(--lh-body); }

/* ─── CONTACT ─── */
.contact-list { margin-top:32px; }
.contact-item { margin-bottom:24px; }
.contact-item p, .contact-item a {
  font-size: var(--fs-m); font-weight:400;
  color:var(--text); transition: opacity .25s;
}
.contact-item a:hover { opacity:.6; }

/* ─── PRE-FOOTER CTA ─── */
.section--cta {
  padding:80px 0;
  text-align:center;
}
.section--cta .heading-2 { margin-bottom:20px; }

/* ─── FOOTER ─── */
.footer {
  background:var(--dark);
  padding:64px 0 48px;
  color: rgba(245,242,237,.5);
  font-size: var(--fs-m); font-weight:400;
}
.footer__inner { display:flex; flex-direction:column; gap:40px; }
@media (min-width:768px) { .footer__inner { flex-direction:row; justify-content:space-between; align-items:flex-start; } }
.footer__logo { height:56px; width:auto; margin-bottom:8px; }
.footer__cols { display:flex; gap:56px; }
.footer__cols p { margin-top:6px; font-size: var(--fs-m); }
.footer__social { display:flex; gap:20px; margin-top:8px; align-items:center; }
.footer__social a { transition:color .25s; display:flex; align-items:center; gap:6px; font-size: var(--fs-m); }
.footer__social a:hover { color:rgba(245,242,237,.85); }
.footer__social svg { width:18px; height:18px; }
.footer__bottom {
  margin-top:40px; padding-top:24px;
  border-top:1px solid rgba(245,242,237,.08);
  font-size: var(--fs-s); color:rgba(245,242,237,.25);
}

/* ─── ANIMATIONS ─── */
@keyframes float {
  0%,100% { transform:translateX(-50%) translateY(0); }
  50%     { transform:translateX(-50%) translateY(6px); }
}

/* Fade up */
[data-anim] {
  opacity:0; transform:translateY(24px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
[data-anim].is-visible { opacity:1; transform:translateY(0); }

/* Parallax images need overflow hidden and scale */
.img-frame img, .wide-image img, .pillar-card__img img, .team-card__img img {
  will-change: transform;
  transform: scale(1.05);
}

/* Card tilt transition */
.pillar-card, .team-card {
  transition: transform .35s var(--ease), box-shadow .35s;
}

/* ─── SCROLLBAR ─── */
::-webkit-scrollbar { width:4px; }
::-webkit-scrollbar-track { background:transparent; }
::-webkit-scrollbar-thumb { background:rgba(141,100,88,.3); border-radius:2px; }
