/* Agencia Barter · hoja de estilos única (sin frameworks) */
:root {
	--navy: #0A192F;
	--navy-2: #112240;
	--navy-3: #1B2D4F;
	--gold: #C5A059;
	--gold-2: #E3C27E;
	--ink: #0A192F;
	--text: #2B3446;
	--muted: #5C6678;
	--line: #E4E7EC;
	--bg: #FFFFFF;
	--bg-soft: #F6F4EF;
	--green: #1FAF5A;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(10, 25, 47, .10);
	--serif: "Playfair Display", Georgia, "Times New Roman", serif;
	--sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: #1D5FBF; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
p { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1.2em; }
li { margin-bottom: .4em; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Cabecera */
.top { background: var(--navy); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.logo img { width: 170px; height: auto; }
.menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.menu > li { list-style: none; position: relative; margin: 0; }
.menu a, .menu summary { color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 10px 12px; border-radius: 8px; display: block; cursor: pointer; }
.menu a:hover, .menu summary:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.menu summary { list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary::after { content: "▾"; font-size: 11px; margin-left: 6px; opacity: .7; }
.menu .sub { position: absolute; top: 100%; left: 0; background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 8px; min-width: 260px; margin: 6px 0 0; }
.menu .sub a { color: var(--ink); font-weight: 500; padding: 8px 12px; }
.menu .sub a:hover { background: var(--bg-soft); color: var(--ink); }
.menu .sub.cols { display: grid; grid-template-columns: 1fr 1fr; min-width: 440px; }
.menu .sub .label { font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 8px 12px 2px; font-weight: 700; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--sans); font-weight: 700; font-size: 16px; text-decoration: none; padding: 14px 26px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; line-height: 1.2; transition: transform .15s ease, box-shadow .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-wa { background: var(--green); color: #fff !important; }
.btn-wa:hover { box-shadow: 0 8px 22px rgba(31, 175, 90, .35); }
.btn-gold { background: var(--gold); color: var(--navy) !important; }
.btn-gold:hover { box-shadow: 0 8px 22px rgba(197, 160, 89, .35); }
.btn-line { border-color: rgba(255, 255, 255, .35); color: #fff !important; }
.btn-line-dark { border-color: var(--navy); color: var(--navy) !important; }
.btn svg { width: 20px; height: 20px; flex: none; }
.top .btn { padding: 10px 18px; font-size: 15px; }
.burger { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.burger svg { width: 28px; height: 28px; }

/* Héroe */
.hero { background: radial-gradient(1200px 500px at 80% -10%, rgba(197, 160, 89, .18), transparent 60%), linear-gradient(180deg, var(--navy) 0%, #07142A 100%); color: #DCE3EE; padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero h1 { color: #fff; max-width: 900px; }
.hero h1 em { font-style: normal; color: var(--gold-2); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 760px; color: #C9D3E2; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 10px; }
.hero .note { font-size: 14px; color: #93A2BA; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-2); border: 1px solid rgba(197, 160, 89, .45); border-radius: 999px; padding: 6px 14px; margin-bottom: 18px; }
.hero.center { text-align: center; }
.hero.center h1, .hero.center .lead { margin-left: auto; margin-right: auto; }
.hero.center .ctas { justify-content: center; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 48px; align-items: center; }
.hero-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--radius); padding: 26px; }
.hero-card h2 { color: #fff; font-size: 1.3rem; }
.hero-card ul { list-style: none; padding: 0; margin: 0; }
.hero-card li { padding-left: 28px; position: relative; color: #DCE3EE; }
.hero-card li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-2); font-weight: 700; }
.crumbs { font-size: 14px; color: #93A2BA; margin-bottom: 22px; }
.crumbs a { color: #C9D3E2; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs span[aria-hidden] { margin: 0 8px; opacity: .6; }

/* Secciones */
.sec { padding: 72px 0; }
.sec.soft { background: var(--bg-soft); }
.sec.dark { background: var(--navy); color: #C9D3E2; }
.sec.dark h2, .sec.dark h3 { color: #fff; }
.sec.dark a:not(.btn) { color: var(--gold-2); }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; display: block; }
.grid { display: grid; gap: 22px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: 0 2px 0 rgba(10, 25, 47, .02); }
.sec.dark .card { background: var(--navy-2); border-color: rgba(255, 255, 255, .08); }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
a.card { text-decoration: none; color: inherit; display: block; transition: transform .15s ease, box-shadow .15s ease, border-color .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--gold); }
a.card .more { color: #1D5FBF; font-weight: 700; font-size: 15px; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: rgba(197, 160, 89, .15); color: var(--gold); display: grid; place-items: center; margin-bottom: 14px; font-size: 22px; }
.num { font-family: var(--serif); font-size: 2.6rem; color: var(--gold); line-height: 1; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px; }
.stat { text-align: center; padding: 22px 12px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.stat .num { font-size: 2.3rem; }
.stat p { margin: 6px 0 0; font-size: 14px; color: #A8B5C8; }
.sec:not(.dark) .stat { background: #fff; border-color: var(--line); }
.sec:not(.dark) .stat p { color: var(--muted); }
.check { list-style: none; padding: 0; }
.check li { padding-left: 30px; position: relative; }
.check li::before { content: ""; position: absolute; left: 0; top: .45em; width: 18px; height: 18px; border-radius: 50%; background: rgba(31, 175, 90, .15) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231FAF5A' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.steps { counter-reset: s; display: grid; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 54px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font-family: var(--serif); font-size: 2.2rem; color: var(--gold); font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.top-align { align-items: start; }
.rounded { border-radius: var(--radius); box-shadow: var(--shadow); }
.pill { display: inline-block; font-size: 13px; font-weight: 700; color: var(--navy); background: rgba(197, 160, 89, .18); padding: 4px 12px; border-radius: 999px; margin: 0 6px 6px 0; }
.links-cloud { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.links-cloud li { margin: 0; }
.links-cloud a { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 15px; background: #fff; }
.links-cloud a:hover { border-color: var(--gold); }
.sec.dark .links-cloud a { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .2); }

/* Casos */
.case-card { overflow: hidden; padding: 0; }
.case-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.case-card .body { padding: 22px; }
.case-card .badge { display: inline-block; background: var(--navy); color: var(--gold-2); font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 8px; margin-bottom: 10px; }
.case-card .where { font-size: 14px; color: var(--muted); }

/* Precios */
.price { display: flex; flex-direction: column; }
.price .amount { font-family: var(--serif); font-size: 2.4rem; color: var(--ink); font-weight: 700; line-height: 1.1; }
.price .amount small { font-family: var(--sans); font-size: 15px; color: var(--muted); font-weight: 500; }
.price ul { flex: 1; }
.price.featured { border: 2px solid var(--gold); box-shadow: var(--shadow); position: relative; }
.price.featured::before { content: attr(data-tag); position: absolute; top: -13px; left: 22px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.price .btn { margin-top: 10px; }

/* FAQ */
.faq details { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; }
.faq summary { cursor: pointer; padding: 18px 52px 18px 20px; font-weight: 700; color: var(--ink); position: relative; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--gold); }
.faq details[open] summary::after { content: "–"; }
.faq .ans { padding: 0 20px 6px; }

/* Artículo */
.article { padding: 56px 0 72px; }
.article h2 { margin-top: 1.6em; }
.article h3 { margin-top: 1.3em; }
.article figure { margin: 28px 0; }
.article figure img { border-radius: 12px; border: 1px solid var(--line); }
.article figcaption { font-size: 14px; color: var(--muted); text-align: center; margin-top: 8px; font-style: italic; }
.article blockquote { margin: 26px 0; padding: 18px 24px; border-left: 4px solid var(--gold); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-style: italic; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px; text-align: left; vertical-align: top; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 32px; padding: 0; list-style: none; }
.facts li { background: var(--bg-soft); border-radius: 12px; padding: 14px 16px; margin: 0; font-size: 15px; }
.facts b { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.meta { font-size: 14px; color: #93A2BA; }

/* Llamada final */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%); color: #DCE3EE; border-radius: 22px; padding: 48px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 30px; align-items: center; }
.cta-band h2 { color: #fff; }
.cta-band .actions { display: flex; flex-direction: column; gap: 12px; }
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; }
.founder img { border-radius: 18px; }

/* Pie */
.foot { background: #061022; color: #93A2BA; padding: 56px 0 26px; font-size: 15px; }
.foot h2 { color: #fff; font-family: var(--sans); font-size: 14px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 14px; }
.foot a { color: #C9D3E2; text-decoration: none; }
.foot a:hover { color: #fff; text-decoration: underline; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 8px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .08); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.foot .logo img { width: 190px; margin-bottom: 14px; }

/* WhatsApp flotante */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; align-items: center; gap: 10px; background: var(--green); color: #fff; text-decoration: none; font-weight: 700; padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 10px 25px rgba(0, 0, 0, .25); font-size: 15px; }
.wa-float:hover { color: #fff; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; }

@media (max-width: 1020px) {
	.burger { display: block; }
	.menu { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 10px 16px 20px; max-height: calc(100vh - 72px); overflow: auto; }
	.menu.open { display: flex; }
	.menu .sub, .menu .sub.cols { position: static; box-shadow: none; min-width: 0; background: var(--navy-2); display: block; }
	.menu .sub a { color: #DCE3EE; }
	.menu .sub a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
	.top .btn.desk { display: none; }
	.hero-grid, .split, .founder, .cta-band { grid-template-columns: 1fr; }
	.g3, .g4, .steps { grid-template-columns: 1fr 1fr; }
	.stats { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
	.foot .cols { grid-template-columns: 1fr 1fr; }
	.founder img { max-width: 320px; }
}
@media (max-width: 640px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.sec { padding: 52px 0; }
	.hero { padding: 48px 0 56px; }
	.g2, .g3, .g4, .steps { grid-template-columns: 1fr; }
	.facts { grid-template-columns: 1fr 1fr; }
	.cta-band { padding: 30px 22px; }
	.hero .ctas .btn { width: 100%; }
	.foot .cols { grid-template-columns: 1fr; }
	.wa-float span { display: none; }
	.wa-float { padding: 14px; }
	.logo img { width: 140px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* Paquetes SEO de enlaces */
.paquetes { background: linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 100%); }
.paquetes .price .amount { color: #fff; }
.paquetes .price .amount small, .paquetes .price .check li { color: #C9D3E2; }
.paquetes .price.featured { border-color: var(--gold); }
.paquetes .save { display: inline-block; align-self: flex-start; margin: 6px 0 10px; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: 3px 10px; border-radius: 999px; }
.paquetes .center { text-align: center; }
.menu a.hl { color: var(--navy); background: var(--gold); padding: 6px 14px; border-radius: 999px; font-weight: 800; }
@media (min-width: 1021px) {
	.menu > li > a, .menu > li > details > summary { white-space: nowrap; font-size: 14px; padding: 10px 9px; }
	.menu > li > a.hl { padding: 8px 14px; margin-left: 4px; }
}
@media (min-width: 1021px) and (max-width: 1260px) { .top .btn-wa.desk { display: none; } }
