/* ==========================================================================
   Rubicon Group - Builders & Developers
   Brand colours taken from the corporate profile: royal purple + amber.
   ========================================================================== */

:root {
    --primary: #5a2a8c;
    --primary-600: #4a2175;
    --primary-800: #2e1449;
    --primary-50: #f5f0fb;
    --primary-100: #ebe1f6;
    --accent: #f0a830;
    --accent-600: #d98f14;
    --ink: #1d1a24;
    --body: #4b4756;
    --muted: #7a7585;
    --line: #e7e3ee;
    --bg: #ffffff;
    --bg-soft: #faf8fd;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow-sm: 0 2px 8px rgba(46, 20, 73, .06);
    --shadow: 0 12px 32px -12px rgba(46, 20, 73, .18);
    --shadow-lg: 0 24px 60px -20px rgba(46, 20, 73, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--body);
    background: var(--bg);
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-600); }
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 1000; background: var(--accent); color: var(--ink); padding: 8px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: 14px 26px; border-radius: 999px; border: 2px solid transparent;
    font-weight: 600; font-size: .95rem; line-height: 1; white-space: nowrap;
    transition: transform .25s var(--ease), box-shadow .25s, background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .25s; }
.btn:hover .icon { transform: translateX(3px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(90, 42, 140, .6); }
.btn-primary:hover { background: var(--primary-600); color: #fff; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(240, 168, 48, .7); }
.btn-accent:hover { background: var(--accent-600); color: var(--ink); }
.btn-outline { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost-light { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--primary); border-color: #fff; }
.btn-sm { padding: 8px 14px; font-size: .8rem; }
.btn-block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--primary-800); color: rgba(255, 255, 255, .8); font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; gap: 16px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; color: inherit; }
.topbar a { margin-left: 22px; }
.topbar a:hover { color: var(--accent); }
.topbar .icon { width: 14px; height: 14px; color: var(--accent); }

.site-header {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: box-shadow .3s, border-color .3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.brand { display: flex; align-items: center; gap: 12px; color: var(--primary); }
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.2rem; letter-spacing: .02em; color: var(--primary); }
.brand-tag { font-size: .72rem; letter-spacing: .14em; color: var(--ink); margin-top: 3px; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav ul { display: flex; gap: 6px; }
.main-nav ul a {
    position: relative; display: block; padding: 8px 14px;
    color: var(--ink); font-weight: 500; font-size: .95rem;
}
.main-nav ul a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
    background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav ul a:hover, .main-nav ul a.active { color: var(--primary); }
.main-nav ul a:hover::after, .main-nav ul a.active::after { transform: scaleX(1); }
.nav-cta { padding: 11px 22px; }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: var(--primary-50); border-radius: 12px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--primary); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero, .page-banner { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero { padding: 80px 0 0; }
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(900px 500px at 85% 20%, rgba(240, 168, 48, .22), transparent 60%),
        radial-gradient(700px 500px at 0% 100%, rgba(255, 255, 255, .08), transparent 60%),
        linear-gradient(135deg, var(--primary-800) 0%, var(--primary) 60%, #7440ad 100%);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, #000, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
}
.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent); }
.hero-lead { font-size: 1.1rem; color: rgba(255, 255, 255, .85); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 28px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: .9rem; color: rgba(255, 255, 255, .85); }
.hero-badges li { display: flex; align-items: center; gap: 8px; }
.hero-badges .icon { color: var(--accent); }

.hero-visual { position: relative; padding-top: 40px; }
.skyline { width: 100%; max-width: 520px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .3)); }
.skyline .crane { transform-origin: 326px 66px; animation: crane 8s ease-in-out infinite; }
@keyframes crane { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg); } }
.bubble {
    position: absolute; left: 0; top: 30px; z-index: 2;
    background: #fff; color: var(--primary); font-weight: 700; font-size: 1.05rem;
    padding: 18px 24px; border-radius: 24px 24px 24px 4px; max-width: 220px; line-height: 1.35;
    box-shadow: var(--shadow-lg);
    animation: float 5s ease-in-out infinite;
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
    color: var(--accent-600); margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--accent); }

/* ---------- Stats ---------- */
.stats {
    display: grid; grid-template-columns: repeat(4, 1fr);
    background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    margin: 70px 0 -60px; position: relative; z-index: 2;
}
.hero { margin-bottom: 60px; overflow: visible; }
.hero .hero-bg { overflow: hidden; }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: var(--primary); line-height: 1.1; }
.stat-label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.stats-light { margin: 0; grid-template-columns: repeat(2, 1fr); box-shadow: var(--shadow); }
.stats-light .stat:nth-child(2) { border-right: 0; }
.stats-light .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.page-home .welcome { padding-top: 140px; }
.tinted { background: var(--bg-soft); }
.section-head { margin-bottom: 48px; }
.section-head.center { text-align: center; }
.section-head h2, .vm-card h2, .contact-info h2, .form-card h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 300; letter-spacing: -.01em; }
.section-head strong, .vm-card h2 strong, .contact-info h2 strong, .form-card h2 strong { color: var(--primary); font-weight: 800; }
.section-head h2 { margin: 0; }
.section-sub { text-align: center; color: var(--muted); font-style: italic; margin: -32px 0 40px; }
.lead { font-size: 1.08rem; text-align: justify; hyphens: auto; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
.head-row .section-head { margin: 0; }

.check-list { margin: 8px 0 32px; display: grid; gap: 10px; }
.check-list li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--ink); }
.check-list .icon { color: #fff; background: var(--accent); border-radius: 50%; padding: 4px; width: 26px; height: 26px; }

/* Welcome visual */
.welcome-visual { position: relative; }
.welcome-card {
    background: linear-gradient(160deg, var(--primary-50), #fff);
    border: 1px solid var(--primary-100);
    border-radius: 28px; aspect-ratio: 5 / 4;
    display: grid; place-items: center; padding: 40px;
    box-shadow: var(--shadow);
}
.welcome-card img { width: 75%; }
.exp-badge {
    position: absolute; right: -16px; bottom: -24px;
    background: var(--accent); color: var(--ink); border-radius: 20px;
    padding: 20px 24px; display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-lg);
}
.exp-badge strong { font-size: 2.4rem; font-weight: 800; line-height: 1; }
.exp-badge span { font-weight: 600; font-size: .85rem; line-height: 1.3; }

/* ---------- Services ---------- */
.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; }
.service-grid > .service-card { flex: 1 1 260px; max-width: calc((100% - 72px) / 4); }
@media (max-width: 1100px) { .service-grid > .service-card { max-width: calc((100% - 48px) / 3); } }
@media (max-width: 860px) { .service-grid > .service-card { max-width: calc((100% - 24px) / 2); } }
@media (max-width: 580px) { .service-grid > .service-card { max-width: 100%; } }
.service-card {
    position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    padding: 32px 28px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s;
    overflow: hidden;
}
.service-card::before {
    content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 100%;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-card h3 { font-size: 1.12rem; font-weight: 700; margin: 20px 0 8px; }
.service-card p { font-size: .93rem; margin: 0; }
.service-num { position: absolute; right: 24px; top: 20px; font-size: 2.4rem; font-weight: 800; color: var(--primary-50); line-height: 1; }
.badge { display: inline-block; font-size: .72rem; font-weight: 600; font-style: italic; background: #fff4e0; color: var(--accent-600); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; }
.link-arrow .icon { width: 1em; transition: transform .25s; }
.link-arrow:hover .icon { transform: translateX(4px); }

.icon-wrap {
    width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center;
    background: var(--primary-50); color: var(--primary); transition: background .3s, color .3s, transform .3s;
}
.icon-wrap .icon { width: 28px; height: 28px; }
.icon-wrap.accent { background: #fff4e0; color: var(--accent-600); }
.service-card:hover .icon-wrap { background: var(--primary); color: #fff; transform: rotate(-6deg); }

/* ---------- Projects ---------- */
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.project-card {
    background: #fff; border-radius: 20px; overflow: hidden; border: 1px solid var(--line);
    display: flex; flex-direction: column;
    transition: transform .35s var(--ease), box-shadow .35s;
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card.is-hidden { display: none; }
.project-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-100); }
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.project-card:hover .project-media img, .project-card:hover .project-illustration .icon { transform: scale(1.06); }
.project-illustration {
    width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
    color: #fff; position: relative;
    background: linear-gradient(135deg, var(--primary-800), var(--primary));
}
.project-illustration.v1 { background: linear-gradient(135deg, var(--primary), #8a55c4); }
.project-illustration.v2 { background: linear-gradient(135deg, #3d1a63, #6b3fa0 60%, var(--accent) 140%); }
.project-illustration::before {
    content: ''; position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 28px 28px;
}
.project-illustration .icon { width: 72px; height: 72px; stroke-width: 1.2; opacity: .9; transition: transform .6s var(--ease); }
.project-illustration span { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1.25rem; letter-spacing: .02em; position: relative; }
.status, .category {
    position: absolute; top: 16px; padding: 5px 12px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
}
.status { left: 16px; background: #fff; color: var(--primary); }
.status.ongoing { background: var(--accent); color: var(--ink); }
.category { right: 16px; background: rgba(0, 0, 0, .35); color: #fff; backdrop-filter: blur(6px); }
.project-body { padding: 26px 26px 22px; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.3rem; color: var(--primary); margin-bottom: 4px; }
.project-loc { display: flex; align-items: center; gap: 6px; font-size: .88rem; font-weight: 600; color: var(--accent-600); margin-bottom: 16px; }
.project-loc .icon { width: 16px; height: 16px; }
.project-points { display: grid; gap: 7px; margin-bottom: 18px; flex: 1; }
.project-points li { position: relative; padding-left: 18px; font-size: .92rem; line-height: 1.5; }
.project-points li::before { content: ''; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); }
.project-foot { border-top: 1px dashed var(--line); padding-top: 14px; font-size: .88rem; font-weight: 600; color: var(--ink); }
.project-foot span { display: inline-flex; align-items: center; gap: 6px; }
.project-foot .icon { color: var(--primary); width: 16px; }

@media (min-width: 1000px) {
    .page-projects .project-card.is-featured { grid-column: span 2; flex-direction: row; }
    .page-projects .project-card.is-featured .project-media { flex: 1.1; aspect-ratio: auto; min-height: 340px; }
    .page-projects .project-card.is-featured .project-body { flex: 1; padding: 34px; }
}

.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter {
    border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 10px 22px; border-radius: 999px;
    font-weight: 600; font-size: .9rem; transition: all .25s;
}
.filter:hover { border-color: var(--primary); color: var(--primary); }
.filter.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-grid.four { grid-template-columns: repeat(4, 1fr); }
.why-card { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card h3 { font-size: 1.08rem; margin: 18px 0 6px; }
.why-card p { font-size: .9rem; margin: 0; }
.why-grid:not(.four) .why-card:nth-child(even) { transform: translateY(28px); }
.why-grid:not(.four) .why-card:nth-child(even):hover { transform: translateY(22px); }

.vision-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.vision-chips span {
    display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
    background: var(--primary-50); color: var(--primary); font-weight: 600; font-size: .85rem;
}
.vision-chips .icon { width: 16px; height: 16px; color: var(--accent-600); }

/* ---------- Partners ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 980px; margin: 0 auto; }
.partner-card {
    background: #fff; border-radius: 20px; padding: 40px 24px 32px; text-align: center;
    border: 1px solid var(--line); box-shadow: var(--shadow-sm);
    transition: transform .35s var(--ease), box-shadow .35s;
}
.partner-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.avatar {
    width: 96px; height: 96px; margin: 0 auto 20px; border-radius: 50%;
    display: grid; place-items: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.8rem; color: #fff;
    background: linear-gradient(135deg, var(--primary), #8a55c4);
    box-shadow: 0 0 0 6px var(--primary-50), 0 0 0 8px var(--accent);
}
.partner-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.partner-card .qual { color: var(--muted); font-size: .9rem; margin-bottom: 12px; }
.partner-card .role { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--primary); background: var(--primary-50); padding: 4px 12px; border-radius: 999px; }

/* ---------- About: timeline, vision/mission, profile ---------- */
.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 900px; position: relative; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--primary), var(--accent)); transform: translateX(-50%); }
.timeline li { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; margin-bottom: 28px; }
.timeline li:last-child { margin-bottom: 0; }
.tl-dot {
    grid-column: 2; justify-self: center; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--primary);
    box-shadow: 0 0 0 6px var(--bg-soft), 0 0 0 8px var(--primary-100); z-index: 1;
}
.tl-card { background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.tl-card h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 6px; }
.tl-card p { margin: 0; font-size: .95rem; }
.timeline li:nth-child(odd) .tl-card { grid-column: 1; grid-row: 1; }
.timeline li:nth-child(even) .tl-card { grid-column: 3; grid-row: 1; }
.timeline li .tl-dot { grid-row: 1; }

.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { border-radius: 24px; padding: 44px 40px; }
.vision-card { background: var(--accent); color: var(--ink); }
.vision-card h2 .light { color: var(--ink); }
.mission-card { background: linear-gradient(145deg, var(--primary-800), var(--primary)); color: rgba(255, 255, 255, .9); }
.mission-card h2, .mission-card h2 .light { color: #fff; }
.mission-card h2 strong { color: var(--accent); }
.icon-list { display: grid; gap: 14px; margin-top: 24px; }
.icon-list li { display: flex; gap: 14px; align-items: flex-start; font-weight: 500; line-height: 1.5; }
.icon-list .icon { width: 22px; height: 22px; margin-top: 1px; }
.vision-card .icon { color: var(--primary); }
.mission-card .icon { color: var(--accent); }

.profile-table { max-width: 900px; margin: 0 auto; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.profile-table dl { margin: 0; }
.profile-table dl > div { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid var(--line); }
.profile-table dl > div:last-child { border-bottom: 0; }
.profile-table dt { display: flex; align-items: center; gap: 12px; padding: 18px 24px; background: var(--primary-50); color: var(--primary); font-weight: 600; font-size: .92rem; }
.profile-table dt .icon { color: var(--accent-600); }
.profile-table dd { margin: 0; padding: 18px 24px; color: var(--ink); font-weight: 500; }
.profile-table dd ul li { position: relative; padding-left: 16px; }
.profile-table dd ul li::before { content: ''; position: absolute; left: 0; top: .65em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }

.reg-list { display: grid; gap: 14px; }
.reg-list li { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--primary-50); border-left: 4px solid var(--accent); border-radius: var(--radius-sm); font-weight: 600; color: var(--ink); }
.reg-list .icon { color: var(--primary); width: 28px; height: 28px; }

/* ---------- Page banner ---------- */
.page-banner { padding: 90px 0 80px; text-align: center; }
.page-banner h1 { color: #fff; font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; margin-bottom: 12px; }
.page-banner p { color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0 auto; font-size: 1.05rem; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .7); margin-bottom: 14px; }
.crumbs a { color: var(--accent); }
.crumbs span { margin: 0 6px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
.contact-info ul { display: grid; gap: 18px; margin-top: 28px; }
.contact-info li { display: flex; gap: 16px; align-items: flex-start; }
.contact-info li strong { display: block; color: var(--ink); font-size: .95rem; }
.contact-info li div { line-height: 1.55; }
.contact-info li a { display: block; }
.form-card { background: #fff; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.form-card h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .88rem; color: var(--ink); margin-bottom: 6px; }
.field input, .field select, .field textarea {
    width: 100%; padding: 13px 16px; font: inherit; font-size: .95rem; color: var(--ink);
    border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-soft);
    transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 4px var(--primary-100); }
.field .err { display: block; color: #c0392b; font-size: .8rem; min-height: 0; margin-top: 4px; }
.field.has-error input, .field.has-error textarea { border-color: #c0392b; }
.form-note { font-size: .9rem; color: var(--muted); margin: -4px 0 22px; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.2); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--accent) 0%, #f6c25f 100%); padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--primary-800); margin-bottom: 6px; }
.cta-band p { margin: 0; color: var(--primary-800); font-weight: 500; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-band .btn-accent { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(46, 20, 73, .6); }
.cta-band .btn-accent:hover { background: var(--primary-800); }
.cta-band .btn-ghost-light { border-color: var(--primary-800); color: var(--primary-800); }
.cta-band .btn-ghost-light:hover { background: var(--primary-800); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--primary-800); color: rgba(255, 255, 255, .72); padding-top: 80px; overflow: hidden; font-size: .93rem; }
.footer-skyline {
    position: absolute; left: 0; right: 0; bottom: 0; height: 220px; opacity: .07; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 200'%3E%3Cpath fill='%23fff' d='M0 200V120h30V80h25v40h20V40h40v160h10V100h30v-30h20v130h15V60h12V30h6v30h12v140h20V110h40V70h25v130h15V90h30v110h20V50h35v150h15V130h25V85h20v115h20V60h30v140h15V120h30v80z'/%3E%3C/svg%3E") repeat-x bottom / 600px 200px;
}
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1.3fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer-logo { width: 170px; margin-bottom: 20px; }
.site-footer h3 { color: #fff; font-size: 1.05rem; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.site-footer h3::after { content: ''; position: absolute; left: 0; bottom: 0; width: 36px; height: 3px; border-radius: 2px; background: var(--accent); }
.footer-meta { font-size: .85rem; }
.footer-meta strong { color: #fff; }
.footer-links { display: grid; gap: 8px; }
.footer-links a { color: rgba(255, 255, 255, .72); transition: color .2s, padding .2s; }
.footer-links a:hover { color: var(--accent); padding-left: 6px; }
.footer-contact { display: grid; gap: 16px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.55; }
.footer-contact .icon { color: var(--accent); margin-top: 3px; }
.footer-contact a { color: rgba(255, 255, 255, .85); word-break: break-word; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { position: relative; border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .82rem; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating buttons ---------- */
.whatsapp-float, .back-to-top {
    position: fixed; right: 22px; z-index: 90; width: 52px; height: 52px; border-radius: 50%;
    display: grid; place-items: center; border: 0; box-shadow: var(--shadow-lg);
    transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.whatsapp-float { bottom: 22px; background: #25d366; color: #fff; }
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
.whatsapp-float .icon { width: 28px; height: 28px; }
.back-to-top { bottom: 86px; background: var(--primary); color: #fff; opacity: 0; visibility: hidden; transform: translateY(10px); }
.back-to-top .icon { transform: rotate(-90deg); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: var(--ink); }

/* ---------- Reveal animations ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js [data-reveal] { opacity: 1; transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .why-grid.four { grid-template-columns: repeat(2, 1fr); }
    .main-nav { gap: 14px; }
    .main-nav ul a { padding: 8px 10px; }
}

@media (max-width: 960px) {
    :root { --header-h: 68px; }
    .nav-toggle { display: block; z-index: 2; }
    .main-nav {
        position: fixed; inset: 0 0 0 auto; width: min(320px, 85vw);
        flex-direction: column; align-items: stretch; gap: 24px;
        background: #fff; padding: calc(var(--header-h) + 24px) 24px 24px;
        box-shadow: var(--shadow-lg); transform: translateX(100%); visibility: hidden;
        transition: transform .4s var(--ease), visibility .4s;
    }
    .nav-open .main-nav { transform: none; visibility: visible; }
    .main-nav ul { flex-direction: column; gap: 4px; }
    .main-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-radius: 10px; }
    .main-nav ul a::after { display: none; }
    .main-nav ul a.active { background: var(--primary-50); }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(29, 26, 36, .45); z-index: 99; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
    .nav-open .nav-backdrop { opacity: 1; visibility: visible; }
    body.nav-open { overflow: hidden; }

    .hero-inner, .split, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero { padding-top: 56px; }
    .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; }
    .stats { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: 0; }
    .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
    .section { padding: 76px 0; }
    .page-home .welcome { padding-top: 120px; }
    .welcome-visual { max-width: 520px; margin: 0 auto; width: 100%; }
    .why-grid:not(.four) .why-card:nth-child(even) { transform: none; }
    .why-grid:not(.four) .why-card:nth-child(even):hover { transform: translateY(-4px); }
    .partner-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
    .vm-grid { grid-template-columns: 1fr; }

    .timeline::before { left: 26px; }
    .timeline li { grid-template-columns: 52px 1fr; gap: 18px; }
    .timeline li .tl-dot { grid-column: 1; }
    .timeline li:nth-child(odd) .tl-card, .timeline li:nth-child(even) .tl-card { grid-column: 2; }
}

@media (max-width: 640px) {
    .container { padding: 0 16px; }
    .topbar-inner > span, .topbar a:last-child { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar a { margin: 0; }
    .brand img { width: 42px; height: 42px; }
    .brand-name { font-size: 1.05rem; }
    .brand-tag { font-size: .64rem; }
    .hero-actions .btn { flex: 1 1 100%; }
    .bubble { font-size: .9rem; padding: 12px 16px; max-width: 170px; top: 0; }
    .stats { margin-top: 48px; }
    .stat { padding: 20px 12px; }
    .section { padding: 64px 0; }
    .section-head { margin-bottom: 36px; }
    .lead { text-align: left; }
    .project-grid { grid-template-columns: 1fr; }
    .why-grid, .why-grid.four { grid-template-columns: 1fr; }
    .field-row { grid-template-columns: 1fr; gap: 0; }
    .form-card { padding: 28px 20px; }
    .vm-card { padding: 32px 24px; }
    .profile-table dl > div { grid-template-columns: 1fr; }
    .profile-table dt { padding: 14px 18px 10px; }
    .profile-table dd { padding: 12px 18px 16px; }
    .exp-badge { right: 8px; bottom: -20px; padding: 14px 18px; }
    .exp-badge strong { font-size: 1.9rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .cta-actions, .cta-actions .btn { width: 100%; }
    .map-wrap iframe { height: 320px; }
    .head-row { align-items: flex-start; }

}
