:root {
	--primary: #2b4bf2;
	--accent: #ff7a00;
	--ink: #0f172a;
	--text: #475569;
	--muted: #64748b;
	--line: #e2e8f0;
	--bg: #ffffff;
	--bg-alt: #f5f7fb;
	--dark: #0b1230;
	--radius: 14px;
	--shadow: 0 10px 30px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font-family: "Poppins", system-ui, sans-serif; font-size: 16px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 30%, transparent); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-ghost { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-white { background: #fff; color: var(--primary); }
.btn-outline-white { border-color: #fff; color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); transition: box-shadow .2s; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, .08); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 1rem; }
.brand-text { font-size: 1.4rem; font-weight: 800; color: var(--ink); }
.brand-text:hover { text-decoration: none; }
.custom-logo { max-height: 52px; width: auto; }

.primary-nav { display: flex; align-items: center; gap: 1.2rem; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; }
.primary-nav > ul { display: flex; gap: 1.3rem; }
.primary-nav li { position: relative; }
.primary-nav a { color: var(--ink); font-weight: 500; font-size: .95rem; }
.primary-nav .menu-item-has-children > a::after { content: " ▾"; font-size: .7em; }
.primary-nav .sub-menu { position: absolute; top: 100%; left: -1rem; min-width: 240px; background: #fff; border-radius: 10px; box-shadow: var(--shadow); padding: .6rem 0; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .2s; }
.primary-nav .sub-menu a { display: block; padding: .45rem 1.2rem; font-size: .9rem; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.header-phone { padding: .6rem 1.1rem; font-size: .88rem; white-space: nowrap; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

@media (max-width: 1023px) {
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: 76px 0 0 0; flex-direction: column; align-items: stretch; background: #fff; padding: 1rem 16px 2rem; overflow-y: auto; transform: translateX(100%); transition: transform .25s; }
	.primary-nav.is-open { transform: none; }
	.primary-nav > ul { flex-direction: column; gap: 0; }
	.primary-nav > ul > li > a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line); }
	.primary-nav .sub-menu { position: static; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; padding: 0 0 0 1rem; }
	.primary-nav .sub-open > .sub-menu { display: block; }
	.nav-open { overflow: hidden; }
}

/* Hero */
.hero { padding: 70px 0 90px; background: radial-gradient(circle at 85% 20%, color-mix(in srgb, var(--primary) 12%, transparent), transparent 50%), linear-gradient(180deg, #f8faff, #fff); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 2rem; }
.ratings { display: flex; flex-wrap: wrap; gap: 1rem; }
.rating { display: grid; grid-template-columns: auto auto; column-gap: .5rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: .7rem 1rem; box-shadow: var(--shadow); }
.rating strong { font-size: 1.5rem; color: var(--ink); grid-row: span 2; }
.rating small { color: var(--muted); }
.stars { color: #f5b301; letter-spacing: 2px; }
.hero-media img { border-radius: 20px; box-shadow: var(--shadow); }
.hero-placeholder { aspect-ratio: 1 / .85; border-radius: 24px; background: linear-gradient(135deg, var(--primary), color-mix(in srgb, var(--primary) 60%, var(--accent))); display: flex; align-items: flex-end; justify-content: center; gap: 6%; padding: 12%; box-shadow: var(--shadow); }
.chart-bar { width: 12%; height: var(--h); background: rgba(255, 255, 255, .85); border-radius: 8px 8px 0 0; }

/* Stats */
.stats { margin-top: -50px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.8rem 1rem; }
.stat { text-align: center; padding: .5rem; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat span { font-size: .9rem; }

/* Sections */
.section { padding: 90px 0; }
.section-tight { padding: 56px 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); color: #cbd5e1; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 3rem; }
.section-tight .section-head { margin-bottom: 1.6rem; }
.section-tight h2 { font-size: 1.5rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media img { border-radius: 20px; }
.media-placeholder { aspect-ratio: 4 / 3; border-radius: 20px; background: var(--bg-alt); border: 2px dashed var(--line); display: grid; place-items: center; color: var(--muted); }

.check-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 1.8rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: .1em; width: 1.25rem; height: 1.25rem; border-radius: 50%; background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); font-size: .75rem; font-weight: 700; display: grid; place-items: center; }
#about .check-list { grid-template-columns: 1fr 1fr; }

.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { font-size: 2rem; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 14px; background: color-mix(in srgb, var(--primary) 10%, transparent); margin-bottom: 1rem; }
.card p { font-size: .95rem; margin: 0; }

.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .8rem; }
.logo-pill { padding: .65rem 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; font-weight: 600; color: var(--ink); font-size: .92rem; }
.logo-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.logo-box { background: #fff; border-radius: 12px; height: 90px; display: grid; place-items: center; padding: 1rem; font-weight: 600; color: var(--muted); border: 1px solid var(--line); text-align: center; }
.logo-box img { max-height: 50px; width: auto; filter: grayscale(1); opacity: .75; transition: .2s; }
.logo-box:hover img { filter: none; opacity: 1; }

.case-card .metric { display: block; font-size: 2.4rem; font-weight: 800; color: var(--accent); line-height: 1.1; margin-bottom: .6rem; }
.case-card p { margin-bottom: 1rem; }
.link-arrow { font-weight: 600; font-size: .92rem; }

.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
.team-card { width: 200px; text-align: center; }
.team-card img { width: 140px; height: 140px; object-fit: cover; border-radius: 50%; margin: 0 auto 1rem; border: 4px solid #fff; box-shadow: var(--shadow); }
.team-card h3 { margin-bottom: .1rem; font-size: 1.05rem; }
.team-card span { font-size: .88rem; color: var(--muted); }

.why-card { text-align: center; }
.why-card .icon { margin: 0 auto 1rem; }

.testimonial { margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: var(--radius); padding: 1.8rem; display: flex; flex-direction: column; }
.testimonial blockquote { margin: .8rem 0 1.4rem; font-size: 1rem; color: #e2e8f0; flex: 1; }
.testimonial figcaption { display: flex; align-items: center; gap: .8rem; font-size: .88rem; }
.testimonial figcaption img { width: 46px; height: 46px; border-radius: 50%; }
.testimonial figcaption strong { display: block; color: #fff; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: none; }
.process li { position: relative; padding: 1.8rem; border-radius: var(--radius); background: var(--bg-alt); }
.process .step { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 700; margin-bottom: 1rem; }
.process p { font-size: .95rem; margin: 0; }

.pricing { align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; text-align: center; }
.price-card .check-list { text-align: left; margin: 1rem 0 1.8rem; flex: 1; }
.price-card .price { font-size: 2.8rem; font-weight: 800; color: var(--ink); margin: 0; }
.price-card .price small { font-size: 1rem; font-weight: 500; color: var(--muted); }
.price-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow); transform: scale(1.03); }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: .75rem; font-weight: 600; padding: .3rem .9rem; border-radius: 999px; }

.post-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.post-thumb { display: block; aspect-ratio: 16 / 9; background: var(--bg-alt); overflow: hidden; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb-placeholder { display: grid; place-items: center; height: 100%; font-size: 2.5rem; }
.post-body { padding: 1.4rem; display: flex; flex-direction: column; flex: 1; }
.post-body p { flex: 1; margin-bottom: 1rem; }
.post-body h3 a { color: var(--ink); }
.post-meta { font-size: .8rem; color: var(--muted); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.contact-list.big { font-size: 1.05rem; margin-top: 1.5rem; }
.contact-card h3 { font-size: 1.4rem; }
.contact-card input, .contact-card textarea, .contact-card select { width: 100%; padding: .75rem 1rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; margin-bottom: .8rem; }
.contact-card input[type="submit"], .contact-card button[type="submit"] { background: var(--primary); color: #fff; border: 0; border-radius: 999px; font-weight: 600; cursor: pointer; }

/* CTA + Footer */
.cta-banner { background: linear-gradient(120deg, var(--primary), color-mix(in srgb, var(--primary) 55%, var(--accent))); color: #fff; padding: 60px 0; }
.cta-banner h2 { color: #fff; margin-bottom: .3rem; }
.cta-banner p { margin: 0; opacity: .9; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-buttons { display: flex; gap: .8rem; flex-wrap: wrap; }

.site-footer { background: var(--dark); color: #94a3b8; padding-top: 70px; font-size: .93rem; }
.site-footer a { color: #cbd5e1; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer-brand { color: #fff; font-size: 1.4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.1fr 1fr; gap: 2.5rem; padding-bottom: 50px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.cities { grid-template-columns: 1fr 1fr; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.socials a { padding: .35rem .8rem; border: 1px solid rgba(255, 255, 255, .15); border-radius: 999px; font-size: .82rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.3rem 0; text-align: center; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.footer-menu { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1.2rem; }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 8px 20px rgba(0, 0, 0, .2); z-index: 90; }
.whatsapp-float:hover { text-decoration: none; }

/* Inner pages */
.page-hero { background: var(--bg-alt); padding: 60px 0; text-align: center; }
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: .3rem 0 0; }
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 3rem; }
.content-layout:not(:has(.sidebar)) { grid-template-columns: minmax(0, 820px); justify-content: center; }
.entry-thumb img { border-radius: var(--radius); margin-bottom: 2rem; }
.entry-content { font-size: 1.05rem; }
.entry-content h2 { margin-top: 1.8em; font-size: 1.7rem; }
.entry-content h3 { margin-top: 1.5em; }
.entry-content img { border-radius: 10px; }
.entry-content blockquote { border-left: 4px solid var(--primary); margin: 1.5em 0; padding: .5em 1.2em; background: var(--bg-alt); }
.widget { margin-bottom: 2rem; }
.pagination { margin-top: 3rem; text-align: center; }
.pagination .page-numbers { display: inline-block; padding: .4rem .85rem; border: 1px solid var(--line); border-radius: 8px; margin: 0 .15rem; }
.pagination .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.nav-links { display: flex; justify-content: space-between; gap: 1rem; margin-top: 2.5rem; }

/* Responsive */
@media (max-width: 1023px) {
	.grid-4 { grid-template-columns: repeat(2, 1fr); }
	.grid-3, .process { grid-template-columns: repeat(2, 1fr); }
	.logo-grid { grid-template-columns: repeat(4, 1fr); }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.content-layout { grid-template-columns: 1fr; }
	.price-card.featured { transform: none; }
}

@media (max-width: 782px) {
	.admin-bar .site-header { top: 46px; }
}

@media (max-width: 767px) {
	.section { padding: 64px 0; }
	.hero { padding: 40px 0 80px; }
	.hero-grid, .split { grid-template-columns: 1fr; gap: 2rem; }
	.hero-media { order: -1; }
	.stats-grid { grid-template-columns: 1fr 1fr; row-gap: 1rem; }
	.stat:nth-child(2) { border-right: 0; }
	.grid-3, .grid-4, .process { grid-template-columns: 1fr; }
	#about .check-list { grid-template-columns: 1fr; }
	.logo-grid { grid-template-columns: repeat(2, 1fr); }
	.team-card { width: calc(50% - .75rem); }
	.team-card img { width: 110px; height: 110px; }
	.footer-grid { grid-template-columns: 1fr; }
	.cta-inner { flex-direction: column; align-items: flex-start; }
}
