@font-face {
  font-family: "DM Sans";
  src: url("./brand/dm-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("./brand/dm-sans-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Montserrat;
  src: url("./brand/montserrat-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --violet: #6342f0;
  --deep: #3c14cf;
  --ink: #170749;
  --slate: #5d596c;
  --muted: #625c73;
  --line: #ded8eb;
  --body: "DM Sans", system-ui, sans-serif;
  --display: "Montserrat", system-ui, sans-serif;
  --gutter: max(clamp(1rem, 4vw, 2.5rem), env(safe-area-inset-left), env(safe-area-inset-right));
  --soft: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 6px 14px #3c14cf1f;
  --soft-hover: inset 0 1px 0 #fff, inset 0 -1px 0 #ffffff80, 0 8px 22px #3c14cf38;
  --lavender: linear-gradient(155deg, #f5f3fd 0%, #e8e3f9 48%, #d4cbf4 100%);
  --lavender-hover: linear-gradient(155deg, #f9f8fe 0%, #edeafb 48%, #dcd5f6 100%);
  --card-shadow: inset 0 1px 0 white, 0 12px 32px #3c14cf12;
  --lift-shadow: inset 0 1px 0 white, 0 18px 45px #3c14cf30, 0 4px 12px #3c14cf12;
  --site-background: url("./brand/amarquez-sculpted-folds-desktop.webp");
  background: #f3edff;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  background: transparent;
  isolation: isolate;
  font: 400 1.125rem/1.5 var(--body);
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  pointer-events: none;
  background: #f3edff var(--site-background) center center / cover no-repeat;
}
figure, h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
p { overflow-wrap: break-word; }
img, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
::selection { background: #ded6fe; color: var(--ink); }
[hidden] { display: none !important; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1200px); margin-inline: auto; }
.skip-link { position: absolute; top: .5rem; left: 1rem; z-index: 30; transform: translateY(-170%); padding: .6rem 1rem; border-radius: 12px; background: white; color: var(--deep); }
.skip-link:focus { transform: translateY(0); }
section[id] { scroll-margin-top: 1.5rem; }

.site-header { position: relative; z-index: 10; padding-top: 12px; }
.nav-inner { position: relative; height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0 1.25rem; border-radius: 22px; background: #ffffffe0; box-shadow: var(--card-shadow); }
.brand { display: inline-flex; align-items: center; flex: none; padding-block: 12px; }
.brand img { width: clamp(120px, 11vw, 160px); height: auto; }
.nav-actions { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.5rem); }
.nav-phone { display: inline-flex; align-items: center; padding: .6rem 0; font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav-phone svg { display: none; }
.explore-menu { position: relative; }
.explore-menu[open] { z-index: 1; }
.nav-toggle, .header-cta, .button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: .6rem;
  min-height: 46px;
  border: 0;
  border-radius: 14px;
  padding: 0 1.1rem 0 1.25rem;
  color: var(--ink);
  background: var(--lavender);
  box-shadow: var(--soft);
  font: 500 1rem/1.2 var(--body);
  text-decoration: none;
  transition: box-shadow 200ms ease, background 200ms ease, transform 200ms ease;
}
.nav-toggle, .header-cta { white-space: nowrap; }
.nav-toggle { list-style: none; }
.nav-toggle::-webkit-details-marker, .faq-item summary::-webkit-details-marker { display: none; }
.nav-toggle svg { display: block; width: 18px; height: 18px; transition: transform .2s; }
.explore-menu[open] .nav-toggle svg { transform: rotate(180deg); }
.nav-links { position: absolute; right: 0; top: calc(100% + .9rem); width: min(320px, calc(100vw - 2 * var(--gutter))); padding: 1rem; display: grid; border-radius: 22px; background: white; box-shadow: var(--lift-shadow); }
.nav-links a { display: block; padding: .6rem; border-radius: 10px; font-size: 1rem; font-weight: 500; text-decoration: none; }
.nav-links a:hover { background: #f0edfb; }
.nav-links .menu-phone { display: none; }
.button { min-height: 48px; width: fit-content; padding: .65rem 1.35rem; border-radius: 999px; border: 1px solid var(--deep); color: var(--deep); }
.button.primary { border-radius: 12px; color: white; background: var(--deep); box-shadow: inset 0 1px 0 #ffffff33, 0 8px 22px #3c14cf40; }
.arrow { display: inline-block; width: 1.05em; height: 1.05em; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.round-arrow { display: inline-grid; place-items: center; width: 1.65em; height: 1.65em; border: 1px solid currentColor; border-radius: 50%; }
.text-link { display: inline-flex; align-items: center; gap: .4em; min-height: 44px; color: var(--deep); font-size: 1rem; font-weight: 500; text-decoration: underline; text-decoration-color: #b6a7d8; }
.text-link:hover, .footer-links a:hover, .nav-phone:hover { color: var(--deep); text-decoration: underline; }
@media (hover: hover) {
  .nav-toggle:hover, .header-cta:hover, .button:hover { background: var(--lavender-hover); box-shadow: var(--soft-hover); }
  .button.primary:hover { background: #5128dd; }
}

.hero-chip { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 7px 13px; border-radius: 999px; background: #ffffffcc; box-shadow: var(--soft); color: var(--slate); font: 500 14px/1.5 var(--body); text-decoration: none; }
.hero-chip:hover { color: var(--deep); }
.hero-chip :is(svg,img) { flex: none; width: 19px; height: auto; }

.contact-section-intro { display: grid; justify-items: center; gap: .8rem; margin-bottom: clamp(1.25rem, 2.8svh, 2rem); text-align: center; }
.contact-section-intro h2 { max-width: 24ch; }
.contact-section-intro p { max-width: 46ch; color: var(--slate); font-size: clamp(1.0625rem, 1.4vw, 1.3125rem); text-wrap: pretty; }
.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; width: min(100%, 44rem); margin-inline: auto; padding: clamp(1.25rem, 2.4vw, 2rem); font-size: 1rem; }
.contact-form > * { grid-column: 1 / -1; }
.contact-form > label:has(input[name="name"], input[name="email"]) { grid-column: auto; }
.contact-form label { display: grid; gap: .4rem; min-width: 0; font-weight: 500; }
.contact-form input:not([type="checkbox"],[type="radio"]), .contact-form textarea, .contact-form select { width: 100%; min-height: 50px; border: 1.5px solid #d4cbf4; border-radius: 12px; padding: .7rem .9rem; color: var(--ink); background: white; box-shadow: inset 2px 2px 5px #3c14cf12, inset -2px -2px 5px #fff; font-size: 1.0625rem; }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form label:has(input[type="checkbox"]) { display: block; }
.contact-form input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: 0 .2rem 0 0; accent-color: var(--deep); vertical-align: text-bottom; }
.contact-form p { color: var(--slate); }
.contact-form .form-note { font-size: .9375rem; }
.contact-form button[type="submit"] { min-height: 56px; border-radius: 14px; }
.contact-form button:disabled { cursor: wait; opacity: .7; }
.contact-form [role="status"] { color: var(--deep); }
.contact-form [role="status"]:empty { display: none; }
.contact-form [data-state="error"], .contact-form [data-state="verification"] { color: #703325; }
.contact-form a { color: var(--deep); }

.analytics-consent { position: fixed; right: 16px; bottom: 16px; z-index: 20; width: min(360px, calc(100% - 32px)); padding: 16px; border-radius: 18px; background: #fbf9ff; border: 1px solid var(--line); box-shadow: var(--card-shadow); }
.analytics-consent h2 { font: 700 1rem/1.3 var(--display); letter-spacing: normal; }
.analytics-consent p { margin: 7px 0 14px; font-size: .875rem; }
.analytics-consent div { display: flex; gap: 8px; flex-wrap: wrap; }
.analytics-consent button { flex: 1 1 120px; min-height: 44px; border: 1px solid var(--violet); border-radius: 999px; color: var(--ink); background: var(--lavender); font-size: .875rem; }
#analytics-settings { border: 0; padding: 0; min-height: 44px; background: transparent; color: var(--slate); text-decoration: underline; font-size: 1rem; }

.faq-section { max-width: 920px; }
.faq-title { margin-bottom: clamp(1.4rem, 3svh, 2.4rem); text-align: center; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 18px; background: #ffffffdf; box-shadow: var(--card-shadow); }
.faq-item summary { position: relative; display: block; list-style: none; padding: 1.18rem 3.75rem 1.18rem 1.5rem; border-radius: inherit; }
.faq-item summary h2 { font: 700 clamp(1.05rem, 1.6vw, 1.25rem)/1.35 var(--display); letter-spacing: -.02em; text-wrap: initial; }
.faq-item summary::after { content: ""; position: absolute; top: calc(50% - 6px); right: 1.6rem; width: 9px; height: 9px; border-right: 2px solid var(--deep); border-bottom: 2px solid var(--deep); transform: rotate(45deg); }
.faq-item[open] summary::after { top: calc(50% - 1px); transform: rotate(225deg); }
.faq-item[open] summary { padding-bottom: .7rem; }
.faq-item > p { max-width: 77ch; padding: 0 1.5rem 1.35rem; color: var(--slate); font-size: 1.0625rem; line-height: 1.55; }
.faq-item a { color: var(--deep); }
.faq-item:has(.faq-follow-up) > p { padding-bottom: .45rem; }
.faq-follow-up { max-width: 77ch; padding: 0 1.5rem 1.35rem; font-size: 1.0625rem; line-height: 1.55; }

.site-footer { padding: clamp(2.5rem, 6svh, 4.5rem) 0 calc(2rem + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; max-width: 1120px; }
.footer-inner .brand { margin-bottom: .65rem; }
.footer-links, .socials { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.footer-links { justify-content: flex-end; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--slate); font-size: 1rem; }
.socials a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; border: 1px solid var(--deep); border-radius: 999px; color: var(--deep); background: #f5f3fd; }
.socials a:hover { background: #e8e3f9; }
.socials svg { display: block; width: 18px; height: 18px; fill: currentColor; }
.hero {
  max-width: 1120px;
  padding-block: clamp(2.15rem, 5vw, 4.5rem) clamp(.8rem, 2.5vw, 2rem);
}
.hero-intro {
  display: grid;
  justify-items: center;
  gap: .8rem;
  margin-inline: auto;
  text-align: center;
}
.hero-intro h1 {
  max-width: 23ch;
  font-size: clamp(2.55rem, 5.6vw, 4.75rem);
  line-height: 1.03;
  letter-spacing: -.055em;
}
.hero-lead {
  max-width: 44ch;
  color: var(--violet);
  font: italic 700 clamp(1.25rem, 2.15vw, 1.8rem)/1.19 var(--display);
  letter-spacing: -.035em;
  text-wrap: balance;
}
.hero-deck {
  max-width: 60ch;
  color: var(--slate);
  font-size: clamp(1.0625rem, 1.5vw, 1.2rem);
  line-height: 1.48;
  text-wrap: pretty;
}
.hero-actions { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: .35rem 1.4rem; margin-top: .45rem; }
.hero-actions .primary { border-radius: 999px; }
.hero-actions .text-link { gap: .55rem; }
.hero-proof, .article-content, .contact-form {
  border: 1px solid #fffffff2;
  border-radius: 26px;
  background: #ffffffd9;
  box-shadow: var(--card-shadow);
}
.hero-proof {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.3rem, 3.5vw, 3.5rem);
  margin: clamp(1.8rem, 4.2vw, 3.6rem) auto 0;
  padding: clamp(.55rem, 1.1vw, .85rem);
  color: inherit;
  text-decoration: none;
}
.hero-proof > :is(img, picture, a:first-child), .hero-proof picture img {
  width: 100%; border-radius: 17px;
}
.hero-proof figcaption { min-width: 0; padding: .9rem clamp(1rem, 3.25vw, 3.3rem) .9rem 0; color: var(--slate); font-size: clamp(1.0625rem, 1.5vw, 1.2rem); line-height: 1.49; }
.hero-proof figcaption > * + * { margin-top: .8rem; }
.hero-proof figcaption :is(strong, h2, h3) {
  display: block; color: var(--ink); font: 700 clamp(1.55rem, 2.65vw, 2.5rem)/1.1 var(--display);
  letter-spacing: -.04em; text-wrap: balance;
}
.section, .faq-section, .contact-section { padding-block: clamp(2.3rem, 5vw, 4.2rem); }
.section { max-width: 1120px; }
.section-head { display: grid; gap: .85rem; margin-bottom: clamp(1.25rem, 2.6vw, 2rem); }
.section-head h2, .faq-title, .contact-section-intro h2 { max-width: 28ch; font-size: clamp(1.85rem, 3.6vw, 3.2rem); line-height: 1.1; letter-spacing: -.04em; }
.section-head p { max-width: 65ch; color: var(--slate); }
.service-grid, .case-grid, .resource-list {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(245px, 100%), 1fr)); gap: 1rem;
}
.service-card, .case-card, .resource-list > :is(a,li,article) {
  min-width: 0; padding: clamp(1.2rem, 2.1vw, 1.7rem);
  border: 1px solid #fffffff2; border-radius: 20px; background: #ffffffd9; box-shadow: var(--card-shadow);
}
.service-card { position: relative; display: grid; align-content: start; row-gap: .8rem; text-decoration: none; transition: transform .18s, box-shadow .18s; }
.service-card :is(h2,h3) { margin-right: 1.8rem; font-size: clamp(1.2rem, 1.8vw, 1.52rem); line-height: 1.2; }
.service-card p, .case-card p, .resource-list p { color: var(--slate); font-size: 1.035rem; line-height: 1.5; }
.service-card .round-arrow { position: absolute; top: clamp(1.2rem, 2.1vw, 1.7rem); right: clamp(1rem, 1.6vw, 1.45rem); width: 26px; height: 26px; color: var(--deep); }
.round-arrow .arrow { width: .86em; height: .86em; }
.case-card { display: flex; flex-direction: column; align-items: flex-start; gap: .8rem; }
.case-card .case-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin-bottom: .35rem;
  padding: .5rem;
  border: 1px solid #e6e0ee;
  border-radius: 11px;
  background: #f4f1f8;
  object-fit: contain;
}
.case-card h3, .resource-list h3 { font-size: clamp(1.25rem, 1.85vw, 1.6rem); line-height: 1.16; }
.case-market { color: var(--deep); font: 500 .88rem/1.35 var(--body); }
.case-card .case-metric { color: var(--deep); font: 700 clamp(1.3rem, 2vw, 1.65rem)/1.13 var(--display); letter-spacing: -.045em; }
.case-card .text-link { margin-top: auto; }
.resource-list { list-style-type: none; margin: 0; padding: 0; }
.resource-list > a { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: start; gap: .65rem; color: var(--ink); text-decoration: none; }
.resource-list p { grid-column: 1 / -1; }
.resource-list .arrow { grid-column: 2; grid-row: 1; color: var(--deep); margin-top: .15rem; }
.resource-list a:hover h3 { color: var(--deep); text-decoration: underline; }

.article-shell { max-width: 960px; padding-block: clamp(2.65rem, 6vw, 5rem) clamp(1.8rem, 4vw, 3rem); }
.article-intro { display: grid; justify-items: center; gap: .95rem; margin: 0 auto clamp(1.6rem, 3.5vw, 2.8rem); text-align: center; }
.article-intro h1 { max-width: 24ch; font-size: clamp(2.25rem, 4.7vw, 3.9rem); line-height: 1.07; letter-spacing: -.05em; }
.article-intro p { max-width: 58ch; color: var(--slate); font-size: clamp(1.0625rem, 1.4vw, 1.2rem); }
.back-link { display: inline-flex; align-items: center; gap: .4rem; min-height: 40px; padding: .4rem .95rem; border-radius: 999px; background: #ffffffd9; color: var(--deep); box-shadow: var(--soft); font-size: .95rem; font-weight: 500; text-decoration: none; }
.back-link:hover { text-decoration: underline; }
.article-content { min-width: 0; padding: clamp(1.2rem, 4.2vw, 3.75rem); }
.article-section + .article-section { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.article-section h2 { max-width: 38ch; font-size: clamp(1.55rem, 2.5vw, 2.15rem); }
.article-section h3 { margin-top: 1.35rem; font-size: 1.3rem; }
.article-section :is(p,ol,ul) { max-width: 72ch; margin: .85rem 0 0; color: var(--slate); }
.article-section :is(ol,ul) { padding-left: 1.4rem; }
.article-section li { padding-left: .18rem; margin-block: .45rem; }
.article-section li::marker, .article-section a { color: var(--deep); }
.faq-title { margin-inline: auto; }
.contact-section-intro { max-width: 52rem; margin-inline: auto; }
.footer-inner { padding-top: 1.6rem; border-top: 1px solid #cebedf; }
.footer-inner :is(p,address) { margin: .25rem 0 .6rem; color: var(--slate); font: normal 1rem/1.45 var(--body); }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-3px); box-shadow: var(--lift-shadow); }
  .service-card:hover h3 { color: var(--deep); }
}
@media (max-width: 860px) {
  .explore-menu { position: static; }
  .nav-links { left: 0; right: 0; width: auto; top: calc(100% + .6rem); }
}
@media (max-width: 760px), (orientation: portrait) {
  :root { --site-background: url("./brand/amarquez-sculpted-folds-mobile.webp"); }
}
@media (max-width: 760px) {
  .site-header { padding-top: 10px; }
  .nav-inner { width: calc(100% - 32px); height: 58px; gap: 10px; padding: 0 13px; border-radius: 18px; }
  .brand img { width: 122px; }
  .nav-actions { gap: 9px; }
  .nav-toggle, .header-cta { min-height: 42px; padding: 0 10px; font-size: .8rem; }
  .nav-toggle svg { width: 14px; height: 14px; }
  .nav-phone { display: none; }
  .nav-links .menu-phone { display: block; }
  .hero-proof { grid-template-columns: 1fr; gap: 0; max-width: 35rem; border-radius: 22px; }
  .hero-proof figcaption { padding: 1.15rem .75rem .75rem; }
  .footer-inner { flex-direction: column; align-items: start; gap: 1rem; }
  .footer-links { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .hero-intro { gap: .65rem; }
  .hero-chip { font-size: .78rem; }
  .hero-intro h1 { font-size: clamp(2.3rem, 9.2vw, 3.3rem); }
  .section-head, .faq-title { text-wrap: pretty; }
  .service-grid, .case-grid, .resource-list { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: minmax(0, 1fr); padding: 1.25rem 1rem; }
  .contact-form button[type="submit"] { width: 100%; }
  .faq-item summary { padding-left: 1.1rem; }
  .faq-item > p, .faq-follow-up { padding-left: 1.1rem; padding-right: 1.1rem; }
}
@media (max-width: 360px) {
  .nav-inner { width: calc(100% - 24px); gap: 6px; padding: 0 9px; }
  .nav-actions { gap: 6px; }
  .brand img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  :root { background: white; }
  body::before, .site-header, .hero-actions, .site-footer { display: none; }
  .article-content, .faq-item, .hero-proof, .case-card { box-shadow: none; }
}
