@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(fonts/poppins-400.woff) format("woff"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(fonts/poppins-500.woff) format("woff"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(fonts/poppins-700.woff) format("woff"); }

:root {
  --blue: #4d61f4;
  --lime: #d7fe7c;
  --violet: #670799;
  --paper: #f6f5f2;
  --ice: #f0fbff;
  --ink: #000;
  --pad: clamp(1.25rem, 5vw, 5rem);
  --scallop: clamp(14px, 4vw, 56px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--ice); color: var(--ink); font: 400 1.0625rem/1.6 Poppins, system-ui, sans-serif; }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
h1, h2 { font-weight: 700; letter-spacing: -.025em; line-height: 1.08; }
h2 { font-size: clamp(2.1rem, 5.5vw, 4.25rem); }
a { color: inherit; }
img, svg { display: block; }
:focus-visible { outline: 3px solid var(--violet); outline-offset: 3px; }
.wrap { padding-inline: var(--pad); }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; z-index: 30; background: #fff; padding: .5rem 1rem; }

.btn { display: inline-block; padding: .8em 1.6em; border-radius: 99px; font-weight: 700; text-decoration: none; text-align: center; transition: transform .15s; }
.btn:hover { transform: rotate(-2deg) scale(1.03); }
.btn-small { padding: .5em 1.2em; font-size: .95rem; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-violet { background: var(--violet); color: #fff; }
.btn-lime { background: var(--lime); color: var(--ink); }
.btn-line { box-shadow: inset 0 0 0 2px var(--ink); }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 2rem; padding: .6rem var(--pad); background: var(--lime); }
.top-logo svg { width: 58px; height: 62px; color: var(--blue); }
.top nav { display: flex; gap: 1.75rem; margin-left: auto; font-weight: 500; }
.top nav a { text-decoration: none; }
.top nav a:hover { text-decoration: underline; text-underline-offset: .25em; }

/* Borde festoneado del banner de marca */
.hero, .contact { position: relative; background: var(--lime); }
.hero::before, .hero::after, .contact::before, .contact::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: var(--scallop);
  background-size: var(--scallop) calc(var(--scallop) * 2); background-repeat: repeat-y;
}
.hero::before, .contact::before { left: 0; background-image: radial-gradient(circle at 0 50%, var(--blue) 0 calc(var(--scallop) - .5px), transparent var(--scallop)); }
.hero::after, .contact::after { right: 0; background-image: radial-gradient(circle at 100% 50%, var(--blue) 0 calc(var(--scallop) - .5px), transparent var(--scallop)); }

.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 4vw, 4rem); align-items: center;
  max-width: 1500px; margin: auto;
  padding: clamp(2.5rem, 6vw, 5.5rem) calc(var(--scallop) + clamp(1rem, 4vw, 4rem));
}
h1 { font-size: clamp(2.5rem, 5.7vw, 5.5rem); letter-spacing: -.035em; line-height: 1.1; }
.pill { display: inline-block; margin-top: .08em; padding: .02em .32em .08em; border-radius: 99px; background: var(--blue); color: #fff; white-space: nowrap; transform-origin: 0 100%; animation: tilt .7s .25s cubic-bezier(.3, 1.5, .5, 1) both; }
@keyframes tilt { from { transform: rotate(-5deg) scale(.92); } to { transform: none; } }
.badge { width: clamp(130px, 17vw, 260px); height: auto; }
.hero-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: center; justify-content: space-between; }
.hero-foot p { max-width: 34rem; font-size: 1.15rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.services { padding-block: clamp(3.5rem, 8vw, 7rem) 0; }
.areas { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(2rem, 4vw, 3.5rem) clamp(2rem, 5vw, 5rem); margin-top: clamp(2rem, 5vw, 4rem); }
.area { display: flex; gap: clamp(1.25rem, 2.5vw, 2rem); align-items: center; }
.area img { flex: none; width: clamp(130px, 14vw, 210px); height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 12%; }
.area h3 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.2; letter-spacing: -.02em; color: var(--blue); margin-bottom: .5rem; }
.area li { padding: .12rem 0; }
.plans { display: flex; flex-wrap: wrap; gap: 1.25rem 3rem; align-items: center; justify-content: space-between; margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.75rem; border-top: 3px solid var(--blue); }
.plans p { flex: 1 1 24rem; max-width: 44rem; }
.plans-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

.founders { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 7vw, 7rem); align-items: center; padding-block: clamp(4rem, 9vw, 8rem) 0; }
.founders img { width: 100%; max-width: 520px; height: auto; border-radius: 999px 999px 24px 24px; }
.founders p { margin-top: 1.1rem; max-width: 36rem; }
.founders p strong { font-weight: 700; }
.founders-btn { margin-top: 1.75rem; }

.process { padding-block: clamp(4rem, 9vw, 8rem); }
.process ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: clamp(2rem, 5vw, 4rem); counter-reset: s; }
.process li { counter-increment: s; }
.process li::before { content: counter(s); display: grid; place-items: center; width: 2.4em; height: 2.4em; border: .34em solid var(--blue); border-radius: 50%; margin-bottom: 1rem; font-weight: 700; font-size: 1.5rem; color: var(--blue); }
.process h3 { font-size: 1.5rem; line-height: 1.25; margin-bottom: .4rem; }

.insta { background: var(--violet); color: #fff; padding-block: clamp(4rem, 9vw, 8rem); }
.insta-in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.insta p { margin: 1.25rem 0 2rem; max-width: 30rem; font-size: 1.15rem; }
.insta h2 { color: var(--lime); }
.feed { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(6px, .8vw, 10px); }
.feed img { width: 100%; height: auto; border-radius: 8px; }
.feed:focus-visible { outline-color: var(--lime); }

.contact-in { max-width: 1100px; margin: auto; padding: clamp(4rem, 9vw, 7.5rem) calc(var(--scallop) + clamp(1rem, 4vw, 4rem)); }
.contact h2 { font-size: clamp(2.6rem, 8vw, 6.5rem); letter-spacing: -.035em; }
.lead { margin: 1rem 0 clamp(1.75rem, 4vw, 3rem); font-size: 1.2rem; }
.line { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .1rem 2rem; padding: 1.1rem 0; border-top: 3px solid var(--ink); text-decoration: none; font-weight: 500; }
.line strong { overflow-wrap: anywhere; font-size: clamp(1.05rem, 1.6vw, 1.3rem); letter-spacing: -.02em; color: var(--violet); }
.line:hover strong { color: var(--blue); }

.foot { display: flex; justify-content: space-between; align-items: center; padding-block: 1.75rem; }
.foot-logo { width: 62px; height: 66px; color: var(--blue); }

dialog { border: 0; border-radius: 28px; padding: 2.25rem; width: min(26rem, calc(100vw - 2rem)); background: var(--paper); color: var(--ink); }
dialog::backdrop { background: rgb(103 7 153 / .72); }
dialog[open] { display: grid; gap: .75rem; animation: pop .2s ease-out; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
dialog h2 { font-size: 1.75rem; padding-right: 2rem; margin-bottom: .5rem; }
dialog p { margin-top: -.75rem; margin-bottom: .5rem; }
.close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; }

@media (max-width: 1100px) {
  .process ol { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  .top nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero-in { grid-template-columns: minmax(0, 1fr); }
  .hero-side, .d-only { display: none; }
  h1 { font-size: 7.7vw; }
  body { font-size: 1rem; }
  .hero-in, .contact-in { padding-inline: calc(var(--scallop) + 4.1vw); }
  .hero-foot p, .insta p { font-size: 1.05rem; }
  .actions, .actions .btn { width: 100%; }
  .areas, .founders, .process ol, .insta-in { grid-template-columns: minmax(0, 1fr); }
  .founders img { max-width: 420px; margin-inline: auto; }
  .process li { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; }
  .process li::before { grid-row: span 2; margin: 0; font-size: 1.15rem; }
  .btn-small { padding-block: .7em; }
  .area { align-items: flex-start; }
  .area img { width: 96px; }
  .plans-actions, .plans .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Equipo */
.team { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; padding-block: clamp(4rem, 9vw, 8rem) 0; }
.team-photos { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.75rem, 2vw, 1.5rem); align-items: start; }
.team-photos::before { content: ""; position: absolute; z-index: -1; width: 62%; aspect-ratio: 1; left: 19%; top: 18%; border-radius: 50%; background: var(--lime); }
.team-photos figure { margin: 0; }
.team-photos figure:last-child { margin-top: clamp(2.5rem, 7vw, 5rem); }
.team-photos img { width: 100%; height: auto; border-radius: 999px 999px 20px 20px; }
.team-photos figcaption { margin-top: .75rem; line-height: 1.3; }
.team-photos figcaption strong { display: block; font-size: clamp(1rem, 1.5vw, 1.2rem); }
.team-photos figcaption span { font-size: .95rem; color: var(--blue); font-weight: 500; }
.team-text > p { margin-top: 1.1rem; max-width: 36rem; }
.team blockquote { margin: 1.75rem 0; padding-left: 1.25rem; border-left: 6px solid var(--blue); max-width: 36rem; }
.meaning { margin: 0; font-weight: 700; font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.35; letter-spacing: -.02em; color: var(--blue); }
.team-actions { margin-top: 1.75rem; }
@media (max-width: 820px) {
  .team { grid-template-columns: minmax(0, 1fr); }
  .team-photos { max-width: 460px; }
}
