/* =========================================================
   Pebbles Technologies – theme
   Light, airy sections by default; add .theme-dark to a section
   (hero, stats, projects, footer) for the charcoal + gold look.
   ========================================================= */
:root {
    --bg: #ffffff;
    --bg-alt: #f7f6f2;
    --surface: #ffffff;
    --surface-2: #f3f3f6;
    --line: rgba(20, 22, 28, .09);
    --text: #15171d;
    --text-2: #5d6271;
    --text-lead: #343844;
    --gold-ink: #b07a0c;                 /* gold that stays readable on white */
    --grad-text: linear-gradient(120deg, #d99a12 0%, #c08a12 50%, #9c6a08 100%);
    --ghost-line: rgba(20, 22, 28, .2);
    --ghost-num: rgba(20, 22, 28, .05);
    --card-shadow: 0 18px 40px -26px rgba(20, 22, 28, .28);
    --pattern-op: .14;
    --orb-op: .16;
    --gold: #e0a526;
    --gold-2: #f6cf6a;
    --gold-dark: #a8740f;
    --grad: linear-gradient(120deg, #f6cf6a 0%, #e0a526 45%, #b9800f 100%);
    --radius: 18px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    --font-head: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;
}
.theme-dark {
    --bg: #1c1e25;
    --bg-alt: #23262f;
    --surface: #2a2e38;
    --surface-2: #333845;
    --line: rgba(255, 255, 255, .1);
    --text: #f4f4f6;
    --text-2: #bfc1cc;
    --text-lead: #e2e3e8;
    --gold-ink: #e0a526;
    --grad-text: linear-gradient(120deg, #f6cf6a 0%, #e0a526 45%, #b9800f 100%);
    --ghost-line: rgba(255, 255, 255, .25);
    --ghost-num: rgba(255, 255, 255, .04);
    --card-shadow: 0 20px 40px -24px rgba(0, 0, 0, .5);
    --pattern-op: .09;
    --orb-op: .35;
    background-color: var(--bg);
    color: var(--text);
}

html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
html:has(.solutions-nav) { scroll-padding-top: 150px; }
body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--text); letter-spacing: -.02em; }
a { color: var(--gold-ink); text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--gold); color: #000; }

.text-gold { color: var(--gold) !important; }
.text-secondary-2 { color: var(--text-2) !important; }
.text-gradient {
    background: var(--grad-text);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Preloader ---------- */
#preloader {
    position: fixed; inset: 0; z-index: 9999;
    background: var(--bg);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24px;
    transition: opacity .6s var(--ease), visibility .6s;
}
#preloader.done { opacity: 0; visibility: hidden; }
.preloader-logo { height: 54px; animation: breathe 1.6s ease-in-out infinite; }
.preloader-bar { width: 160px; height: 2px; background: var(--line); overflow: hidden; border-radius: 2px; }
.preloader-bar span { display: block; height: 100%; width: 40%; background: var(--grad); animation: load 1.1s ease-in-out infinite; }
@keyframes load { 0% { transform: translateX(-100%); } 100% { transform: translateX(260%); } }
@keyframes breathe { 50% { opacity: .55; transform: scale(.97); } }

/* ---------- Cursor glow ---------- */
.cursor-glow {
    position: fixed; top: 0; left: 0; z-index: 0; pointer-events: none;
    width: 480px; height: 480px; margin: -240px 0 0 -240px; border-radius: 50%;
    background: radial-gradient(circle, rgba(224, 165, 38, .09), transparent 65%);
    transition: transform .25s ease-out;
}
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- Buttons ---------- */
.btn { font-family: var(--font-head); font-weight: 600; border-radius: 50px; padding: .75rem 1.6rem; transition: all .35s var(--ease); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-gold {
    position: relative; overflow: hidden; isolation: isolate;
    background: var(--grad); color: #111; border: 0;
    box-shadow: 0 10px 30px -10px rgba(224, 165, 38, .6);
}
.btn-gold::before {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: #fff; transform: translateX(-101%); transition: transform .45s var(--ease);
}
.btn-gold:hover { color: #111; transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(224, 165, 38, .8); }
.btn-gold:hover::before { transform: translateX(0); }
.btn-gold i { transition: transform .35s var(--ease); }
.btn-gold:hover i { transform: translateX(4px) rotate(0deg); }
.btn-ghost { color: var(--text); border: 1px solid var(--ghost-line); background: transparent; backdrop-filter: blur(6px); }
.btn-ghost:hover { color: var(--bg); background: var(--text); border-color: var(--text); }

/* ---------- Navbar ---------- */
.site-nav { padding: 1.1rem 0; transition: all .4s var(--ease); z-index: 1030; }
.site-nav.scrolled {
    padding: .6rem 0;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px -20px rgba(20, 22, 28, .35);
}
.site-nav .logo-dark { display: none; }
.site-nav.scrolled .logo-light { display: none; }
.site-nav.scrolled .logo-dark { display: inline-block; }
.nav-toggle-icon { color: #fff; }
.site-nav.scrolled .nav-toggle-icon { color: var(--text); }
.site-nav.scrolled .nav-link { color: #3a3e49; }
.site-nav.scrolled .nav-link:hover, .site-nav.scrolled .nav-link.active { color: var(--text); }
.site-nav.nav-hidden { transform: translateY(-100%); }
.site-nav .nav-link {
    position: relative; color: rgba(255, 255, 255, .82); font-family: var(--font-head); font-weight: 500; padding: .5rem 1rem !important;
}
.site-nav .nav-link::after {
    content: ''; position: absolute; left: 1rem; right: 1rem; bottom: 2px; height: 2px;
    background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); transform-origin: left; }
.dropdown-toggle::after { display: none; }

.mega-menu {
    min-width: 520px; padding: 1rem; margin-top: .75rem !important;
    background: rgba(255, 255, 255, .98); backdrop-filter: blur(16px);
    border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 30px 60px -25px rgba(20, 22, 28, .35);
}
@media (min-width: 992px) {
    .mega:hover .mega-menu { display: block; animation: dropIn .3s var(--ease); }
    .mega .mega-menu { left: 50%; transform: translateX(-50%); }
}
@keyframes dropIn { from { opacity: 0; translate: 0 10px; } }
.mega-link { display: flex; align-items: center; gap: .75rem; padding: .7rem .9rem; border-radius: 12px; color: var(--text); font-size: .92rem; transition: background .25s; }
.mega-link i { color: var(--gold-ink); font-size: 1.2rem; }
.mega-link:hover { background: var(--surface-2); color: var(--text); }

.mobile-nav { background: var(--bg-alt); color: var(--text); }
.mobile-link { font-family: var(--font-head); font-size: 1.6rem; font-weight: 600; color: var(--text); padding: .6rem 0; border-bottom: 1px solid var(--line); }
.mobile-link.active, .mobile-link:hover { color: var(--gold-ink); }

/* ---------- Common sections ---------- */
main { position: relative; z-index: 1; }
.section { position: relative; padding: 110px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow {
    display: inline-flex; align-items: center; gap: .5rem;
    font-family: var(--font-head); font-size: .8rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
    color: var(--gold-ink); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.section-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; line-height: 1.15; margin-bottom: 1.2rem; }
.section-lead { font-size: 1.12rem; color: var(--text-lead); max-width: 640px; }

.glow-orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: var(--orb-op); pointer-events: none; }
.orb-1 { width: 420px; height: 420px; background: var(--gold-dark); top: -80px; right: -120px; animation: float 12s ease-in-out infinite; }
@keyframes float { 50% { transform: translate(-40px, 40px); } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; }
.hero-swiper { height: 100%; }
.hero-bg {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: scale(1.15); transition: transform 7s linear;
}
.swiper-slide-active .hero-bg { transform: scale(1); }
.hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg, rgba(28, 30, 37, .88) 0%, rgba(28, 30, 37, .6) 45%, rgba(28, 30, 37, .25) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 80px; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.6rem); font-weight: 800; line-height: 1.05; margin-bottom: 1.4rem; }
.hero-lead { font-size: 1.15rem; color: #e4e5ea; max-width: 620px; margin-bottom: 2.2rem; }
.hero-anim { opacity: 0; transform: translateY(40px); }
.swiper-slide-active .hero-anim, .page-hero .hero-anim { animation: rise 1s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes rise { to { opacity: 1; transform: none; } }
.pulse-dot { font-size: .5rem; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .2; } }

.hero-controls {
    position: absolute; left: 0; right: 0; bottom: 60px; z-index: 5;
    display: flex; justify-content: space-between; align-items: center;
}
.hero-pagination { position: static !important; width: auto !important; display: flex; gap: 8px; }
.hero-pagination .swiper-pagination-bullet { width: 36px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); opacity: 1; margin: 0 !important; transition: all .4s; }
.hero-pagination .swiper-pagination-bullet-active { width: 64px; background: var(--gold); }
.hero-nav {
    width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25);
    background: rgba(255, 255, 255, .05); color: #fff; backdrop-filter: blur(6px); transition: all .3s;
}
.hero-nav:hover { background: var(--gold); border-color: var(--gold); color: #111; }

.scroll-down { position: absolute; left: 50%; bottom: 28px; z-index: 5; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .4); border-radius: 20px; }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: var(--gold); border-radius: 2px; animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(16px); } }
@media (max-width: 767px) { .scroll-down { display: none; } .hero-controls { bottom: 30px; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--grad); overflow: hidden; padding: 1rem 0; transform: rotate(-1.2deg); margin: -10px -20px 0; position: relative; z-index: 3; }
.ticker-track { display: flex; width: max-content; animation: scroll 40s linear infinite; }
.ticker span { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: #111; white-space: nowrap; padding: 0 1.5rem; text-transform: uppercase; letter-spacing: .03em; }
.ticker span i { margin-right: 1.5rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about-visual { position: relative; padding: 0 60px 70px 0; }
.about-main { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: var(--radius); }
.about-sub {
    position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
    border-radius: var(--radius); border: 6px solid var(--bg); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5);
    animation: float 8s ease-in-out infinite;
}
.section-alt .about-sub { border-color: var(--bg-alt); }
.exp-badge {
    position: absolute; left: -20px; bottom: 40px;
    background: var(--grad); color: #111; border-radius: var(--radius); padding: 1.2rem 1.5rem;
    font-family: var(--font-head); font-weight: 800; font-size: 2.6rem; line-height: 1;
    box-shadow: 0 20px 40px -15px rgba(224, 165, 38, .6);
}
.exp-badge small { display: block; font-size: .8rem; font-weight: 600; line-height: 1.3; margin-top: .4rem; }
@media (max-width: 575px) { .about-visual { padding: 0 30px 50px 0; } .exp-badge { left: 10px; font-size: 2rem; } }
.check-item { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 500; box-shadow: var(--card-shadow); transition: border-color .3s, transform .3s; }
.check-item:hover { border-color: rgba(224, 165, 38, .5); transform: translateY(-3px); }
.check-item i { color: var(--gold-ink); font-size: 1.3rem; }

/* ---------- Service cards ---------- */
.service-card {
    display: block; height: 100%; position: relative; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); color: var(--text);
    box-shadow: var(--card-shadow);
    transition: border-color .4s, box-shadow .4s; transform-style: preserve-3d;
}
.service-card:hover { color: var(--text); border-color: rgba(224, 165, 38, .45); box-shadow: 0 30px 60px -25px rgba(224, 165, 38, .35); }
.service-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.service-img { height: 170px; overflow: hidden; transition: transform .8s var(--ease); position: relative; }
.service-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, var(--surface), transparent 70%); }
.service-card:hover .service-img { transform: scale(1.08); }
.service-body { position: relative; padding: 0 1.6rem 1.8rem; margin-top: -32px; }
.service-icon {
    width: 60px; height: 60px; display: grid; place-items: center; border-radius: 16px;
    background: var(--grad); color: #111; font-size: 1.6rem; margin-bottom: 1.2rem;
    box-shadow: 0 12px 25px -10px rgba(224, 165, 38, .7); transition: transform .5s var(--ease);
}
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.08); }
.service-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: .6rem; }
.service-card p { color: var(--text-2); font-size: .94rem; margin-bottom: 1.2rem; }
.service-more { font-family: var(--font-head); font-weight: 600; font-size: .9rem; color: var(--gold-ink); }
.service-more i { display: inline-block; transition: transform .3s; }
.service-card:hover .service-more i { transform: translate(3px, -3px); }

/* ---------- Stats ---------- */
.stats-section {
    position: relative; isolation: isolate; overflow: hidden; padding: 100px 0;
    background: url('../img/gallery/ert.webp') center / cover;
}
.stats-section::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(28, 30, 37, .55) 30%, rgba(28, 30, 37, .55) 70%, var(--bg) 100%); }
.stats-panel {
    position: relative; overflow: hidden; border-radius: 28px;
    background: linear-gradient(135deg, rgba(224, 165, 38, .12), rgba(255, 255, 255, .03) 40%, rgba(255, 255, 255, .02));
    border: 1px solid rgba(224, 165, 38, .28);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.stats-panel::before {   /* faint pebble pattern inside the glass */
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: url('../img/pebble-pattern.svg') 0 0 / 140px 120px repeat; opacity: .07;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
}
.stat-card { position: relative; height: 100%; padding: 2.6rem 2rem 2.4rem; transition: background .4s; }
.stat-card:hover { background: rgba(255, 255, 255, .03); }
.col-lg-3 + .col-lg-3 > .stat-card::before {
    content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 1px;
    background: linear-gradient(180deg, transparent, rgba(224, 165, 38, .45), transparent);
}
.stat-icon {
    position: relative; isolation: isolate; width: 54px; height: 54px; display: grid; place-items: center;
    padding-bottom: 8px; margin-bottom: 1.4rem; color: var(--gold); font-size: 1.35rem;
    transition: color .4s, transform .5s var(--ease);
}
.stat-icon::after {
    content: ''; position: absolute; inset: 0; z-index: -1; background: var(--gold);
    -webkit-mask: var(--pebble-line) center / contain no-repeat; mask: var(--pebble-line) center / contain no-repeat;
    transition: opacity .4s;
}
.stat-icon::before { position: relative; }
.stat-icon > i { position: relative; z-index: 1; }
.stat-card:hover .stat-icon { color: #111; transform: translateY(-4px); }
.stat-card:hover .stat-icon::after { background: var(--grad); -webkit-mask-image: var(--pebble); mask-image: var(--pebble); }
.stat-num {
    font-family: var(--font-head); font-size: clamp(2.6rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1;
    color: #fff; letter-spacing: -.03em;
}
.stat-num em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-left: 2px; }
.stat-label { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--text); margin-top: .8rem; }
.stat-desc { color: var(--text-2); font-size: .9rem; margin: .5rem 0 0; }
.stat-line { position: absolute; left: 2rem; bottom: 1.4rem; height: 2px; width: 0; background: var(--grad); border-radius: 2px; transition: width 1.2s var(--ease) .3s; }
.stat-card.aos-animate .stat-line { width: 48px; }
.stat-card:hover .stat-line { width: calc(100% - 4rem); transition-delay: 0s; }
@media (max-width: 991px) {
    .stat-card { padding: 2rem 1.4rem; }
    .stat-card::before { display: none; }
    .col-6:nth-child(-n+2) > .stat-card { border-bottom: 1px solid var(--line); }
    .col-6:nth-child(odd) > .stat-card { border-right: 1px solid var(--line); }
    .stat-line { left: 1.4rem; }
    .stat-desc { font-size: .82rem; }
}

/* ---------- Process ---------- */
.process-step {
    position: relative; height: 100%; padding: 2.2rem 1.8rem; border-radius: var(--radius);
    background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: all .4s var(--ease);
    box-shadow: var(--card-shadow);
}
.process-step::before { content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0; background: var(--grad); transition: width .6s var(--ease); }
.process-step:hover { transform: translateY(-8px); border-color: rgba(224, 165, 38, .35); }
.process-step:hover::before { width: 100%; }
.process-num { position: absolute; right: 1.2rem; top: .6rem; font-family: var(--font-head); font-size: 4rem; font-weight: 800; color: var(--ghost-num); }
.process-icon { font-size: 2.2rem; color: var(--gold-ink); margin-bottom: 1rem; }
.process-step h4 { font-weight: 700; }
.process-step p { color: var(--text-2); margin: 0; }

/* ---------- Projects ---------- */
.project-card {
    position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); background: var(--surface);
}
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 1s var(--ease); }
.project-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 22, 28, .92) 0%, rgba(20, 22, 28, .35) 40%, transparent 65%); transition: background .5s; }
.project-card:hover::after { background: linear-gradient(0deg, rgba(20, 22, 28, .95) 0%, rgba(20, 22, 28, .55) 55%, rgba(20, 22, 28, .1) 100%); }
.project-card:hover img { transform: scale(1.07); }
.project-info { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 2; }
.project-info h4 { font-size: 1.3rem; margin: .6rem 0 0; }
.project-link {
    display: inline-flex; align-items: center; gap: .4rem; margin-top: .2rem;
    font-family: var(--font-head); font-size: .88rem; font-weight: 600; color: var(--gold);
    max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s, margin .4s;
}
.project-card:hover .project-link { max-height: 30px; opacity: 1; margin-top: .7rem; }
@media (hover: none) { .project-link { max-height: 30px; opacity: 1; margin-top: .7rem; } }
@media (max-width: 767px) { .project-card { aspect-ratio: 4 / 3.6; } }
.tag { display: inline-block; padding: .25rem .8rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #111; background: var(--gold); border-radius: 50px; }

/* ---------- Industries ---------- */
.industry-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .6rem;
    aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow);
    font-family: var(--font-head); font-weight: 600; font-size: .92rem; text-align: center; transition: all .4s var(--ease);
}
.industry-card i { font-size: 2rem; color: var(--gold-ink); transition: transform .4s var(--ease); }
.industry-card:hover { background: var(--grad); color: #111; transform: translateY(-6px); }
.industry-card:hover i { color: #111; transform: scale(1.15); }

/* ---------- Brands marquee ---------- */
.brands-section { overflow: hidden; }
.marquee {
    overflow: hidden; padding: 10px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee + .marquee { margin-top: 18px; }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: scroll 45s linear infinite; }
.marquee-reverse .marquee-track { animation-direction: reverse; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.brand-tile {
    flex: 0 0 auto; width: 190px; height: 96px; display: grid; place-items: center; padding: 14px 22px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--card-shadow); transition: transform .4s var(--ease), box-shadow .4s;
}
.brand-tile img { max-width: 100%; max-height: 62px; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter .4s, opacity .4s; }
.brand-tile:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 18px 35px -12px rgba(224, 165, 38, .55); }
.brand-tile:hover img { filter: none; opacity: 1; }
@media (max-width: 575px) { .brand-tile { width: 150px; height: 80px; } }

/* ---------- FAQ ---------- */
.faq .accordion-item { background: var(--surface); border: 1px solid var(--line); border-radius: 14px !important; margin-bottom: 14px; overflow: hidden; box-shadow: var(--card-shadow); }
.faq .accordion-button { background: transparent; color: var(--text); font-family: var(--font-head); font-weight: 600; padding: 1.25rem 1.5rem; box-shadow: none; }
.faq .accordion-button:not(.collapsed) { color: var(--gold-ink); }
.faq .accordion-button::after, .faq .accordion-button:not(.collapsed)::after { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b07a0c' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
.faq .accordion-body { color: var(--text-2); padding: 0 1.5rem 1.4rem; }
.faq-visual img { width: 100%; height: 280px; object-fit: cover; border-radius: var(--radius); }

/* ---------- Inner pages ---------- */
.page-hero { position: relative; padding: 200px 0 110px; overflow: hidden; }
.page-hero .hero-bg { transform: scale(1.05); animation: slowZoom 18s ease-in-out infinite alternate; }
@keyframes slowZoom { to { transform: scale(1.18); } }
.page-hero .hero-title { font-size: clamp(2.4rem, 6vw, 4.2rem); }
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb-item, .breadcrumb-item a { color: var(--text-2); font-size: .9rem; }
.breadcrumb-item.active { color: var(--gold); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-2); }

.value-card, .feature-card { height: 100%; padding: 2.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--card-shadow); transition: border-color .4s, transform .4s var(--ease); }
.value-card:hover, .feature-card:hover { border-color: rgba(224, 165, 38, .4); }
.value-card p, .feature-card p { color: var(--text-2); margin: 0; }
.feature-card { padding: 1.8rem; }
.feature-card i { font-size: 2rem; color: var(--gold-ink); display: block; margin-bottom: .8rem; }
.feature-card h4 { font-size: 1.15rem; font-weight: 700; }
.feature-card:hover { transform: translateY(-6px); }

.solutions-nav {
    position: sticky; top: var(--nav-h, 66px); z-index: 1020;
    background: rgba(255, 255, 255, .94); backdrop-filter: blur(14px); border-block: 1px solid var(--line);
    box-shadow: 0 10px 30px -22px rgba(20, 22, 28, .35);
    transition: top .4s var(--ease);
}
.nav-up .solutions-nav { top: 0; }
.solutions-nav-inner { position: relative; display: flex; gap: .5rem; overflow-x: auto; padding: .8rem 0; scrollbar-width: none; }
.solutions-nav-inner::-webkit-scrollbar { display: none; }
.solutions-nav a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1rem; border-radius: 50px; color: var(--text-2); font-size: .88rem; font-weight: 500; border: 1px solid transparent; transition: all .3s; }
.solutions-nav a:hover, .solutions-nav a.active { color: var(--gold-ink); border-color: rgba(224, 165, 38, .5); background: rgba(224, 165, 38, .1); }
.solution-img { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }
.solution-img img { width: 100%; height: 115%; object-fit: cover; }
.solution-num { position: absolute; left: 1.2rem; top: .6rem; font-family: var(--font-head); font-size: 4.5rem; font-weight: 800; color: rgba(255, 255, 255, .85); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.tick-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .6rem 1rem; margin: 1.5rem 0 0; }
.tick-list li { display: flex; gap: .6rem; align-items: center; }
.tick-list i { color: var(--gold-ink); font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact-cards { display: grid; gap: 14px; margin-top: 2rem; }
.contact-card { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; color: var(--text); box-shadow: var(--card-shadow); transition: all .35s var(--ease); }
a.contact-card:hover { color: var(--text); border-color: rgba(224, 165, 38, .5); transform: translateX(6px); }
.contact-card i { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; border-radius: 12px; background: var(--grad); color: #111; font-size: 1.3rem; }
.contact-card small { display: block; color: var(--text-2); font-size: .8rem; }
.contact-card strong { font-family: var(--font-head); font-weight: 600; }
.form-card { padding: 2.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 40px 80px -40px rgba(20, 22, 28, .35); }
@media (max-width: 575px) { .form-card { padding: 1.5rem; } }
.form-card .form-control, .form-card .form-select { background-color: var(--surface-2); border: 1px solid var(--line); color: var(--text); border-radius: 12px; }
.form-card .form-control:focus, .form-card .form-select:focus { background-color: var(--surface-2); color: var(--text); border-color: var(--gold); box-shadow: 0 0 0 .2rem rgba(224, 165, 38, .15); }
.form-card .form-floating > label { color: var(--text-2); padding-left: calc(var(--bs-gutter-x) * .5 + .75rem); }
.form-card .form-floating > .form-control:focus ~ label,
.form-card .form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-card .form-floating > .form-select ~ label { color: var(--gold-ink); }
.form-card .form-floating > label::after { background: transparent !important; }
.form-card .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23e0a526' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat; background-position: right 1.1rem center; background-size: 14px 10px;
    padding-right: 2.8rem; cursor: pointer;
}
.form-card .form-select option { background-color: var(--surface); color: var(--text); }
.hp { position: absolute; left: -9999px; }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.85) contrast(1.05); }

/* ---------- Footer ---------- */
.site-footer { position: relative; z-index: 1; background: #17191f; border-top: 1px solid var(--line); padding-top: 80px; }
.footer-cta {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
    padding: 2.5rem 3rem; border-radius: 24px; position: relative; overflow: hidden;
    background: linear-gradient(120deg, rgba(224, 165, 38, .16), rgba(224, 165, 38, .03)), var(--surface);
    border: 1px solid rgba(224, 165, 38, .25);
}
.footer-cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 700; }
@media (max-width: 575px) { .footer-cta { padding: 2rem 1.5rem; } }
.footer-title { font-size: 1rem; font-weight: 700; margin-bottom: 1.3rem; }
.footer-links, .footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .7rem; }
.footer-links a { color: var(--text-2); transition: color .3s, padding .3s; }
.footer-links a:hover { color: var(--gold); padding-left: 6px; }
.footer-contact li { display: flex; gap: .8rem; color: var(--text-2); margin-bottom: 1rem; }
.footer-contact i { color: var(--gold); }
.footer-contact a { color: var(--text-2); }
.footer-contact a:hover { color: var(--gold); }
.social { display: flex; gap: .6rem; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); color: var(--text); transition: all .3s; }
.social a:hover { background: var(--gold); border-color: var(--gold); color: #111; transform: translateY(-4px); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); color: var(--text-2); font-size: .9rem; }

/* ---------- Floating buttons ---------- */
.whatsapp-float {
    position: fixed; left: 22px; bottom: 22px; z-index: 1040;
    width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
    background: #25d366; color: #fff; font-size: 1.7rem; box-shadow: 0 10px 25px -5px rgba(37, 211, 102, .6);
    animation: ring 2.5s infinite;
}
.whatsapp-float:hover { color: #fff; transform: scale(1.08); }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: 0 0 0 18px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }
.back-to-top {
    position: fixed; right: 22px; bottom: 22px; z-index: 1040;
    width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--grad); color: #111; font-size: 1.2rem;
    opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .4s var(--ease);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Mobile ---------- */
@media (max-width: 991px) {
    .section { padding: 80px 0; }
    .site-nav { background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); padding: .6rem 0; border-bottom: 1px solid var(--line); }
    .site-nav .logo-light { display: none; }
    .site-nav .logo-dark { display: inline-block; }
    .nav-toggle-icon { color: var(--text); }
    .hero-title { font-size: clamp(2rem, 5.5vw, 3rem); }
    .page-hero { padding: 150px 0 80px; }
}

@media (max-width: 575px) {
    .section { padding: 64px 0; }
    .section-title { font-size: 1.75rem; }
    .section-lead { font-size: 1rem; }

    .hero { min-height: 560px; }
    .hero-content { justify-content: flex-end; padding-top: 0; padding-bottom: 120px; }
    .hero-content, .page-hero > .container, .hero-controls { padding-left: 22px; padding-right: 22px; }
    .hero-controls { padding-left: 84px; bottom: 34px; }   /* clear the WhatsApp button */
    .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; left: 16px; bottom: 16px; }
    .back-to-top { width: 44px; height: 44px; right: 16px; bottom: 16px; }
    .hero-overlay { background: linear-gradient(0deg, rgba(28, 30, 37, .92) 0%, rgba(28, 30, 37, .8) 45%, rgba(28, 30, 37, .35) 100%); }
    .hero .eyebrow { font-size: .7rem; margin-bottom: .7rem; }
    .hero-title { font-size: 1.85rem; line-height: 1.15; margin-bottom: .9rem; }
    .hero-lead {
        font-size: .93rem; line-height: 1.6; margin-bottom: 1.4rem;
        display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
    }
    .hero .btn-lg { padding: .75rem 1.3rem; font-size: .9rem; }
    .hero-nav { width: 42px; height: 42px; }
    .hero-pagination .swiper-pagination-bullet { width: 22px; }
    .hero-pagination .swiper-pagination-bullet-active { width: 40px; }

    .page-hero { padding: 120px 0 56px; }
    .page-hero .hero-title { font-size: 2rem; }
    .page-hero .hero-lead { font-size: .95rem; -webkit-line-clamp: unset; display: block; }

    .ticker span { font-size: .9rem; padding: 0 1rem; }
    .stats-section { padding: 64px 0; background-image: url('../img/gallery/ert-sm.webp'); }
    .stat-num { font-size: 2.2rem; }
    .stat-desc { display: none; }
    .cursor-glow, .glow-orb { display: none; }
}

/* =========================================================
   Pebbles brand pattern – the rounded triangle from the logo mark
   ========================================================= */
:root {
    --pebble: url('../img/pebble.svg');
    --pebble-line: url('../img/pebble-outline.svg');
}

/* --- Solid pebble behind icons (gold shape, dark glyph) --- */
.service-icon,
.contact-card i {
    position: relative; isolation: isolate;
    background: none; border-radius: 0; box-shadow: none;
    filter: drop-shadow(0 10px 18px rgba(224, 165, 38, .35));
}
.service-icon { width: 68px; height: 68px; }
.service-icon::before,
.contact-card i::after {
    content: ''; position: absolute; inset: 0; z-index: -1;
    background: var(--grad);
    -webkit-mask: var(--pebble) center / contain no-repeat;
    mask: var(--pebble) center / contain no-repeat;
}
/* outline echo of the pebble, offset behind the solid one */
.service-icon::after {
    content: ''; position: absolute; inset: -9px -12px -3px -4px; z-index: -2;
    background: var(--gold);
    -webkit-mask: var(--pebble-line) center / contain no-repeat;
    mask: var(--pebble-line) center / contain no-repeat;
    opacity: .45; transform: rotate(-10deg);
    transition: transform .6s var(--ease), opacity .4s;
}
.service-card:hover .service-icon::after,
.value-card:hover .service-icon::after { transform: rotate(14deg) scale(1.08); opacity: .8; }
.service-icon > i { position: relative; }
.service-icon { padding-bottom: 10px; }          /* sit glyph in the wide upper part */
.contact-card i { padding-bottom: 6px; border-radius: 0; }

/* --- Outlined pebble behind plain gold icons --- */
.process-icon,
.feature-card i,
.industry-card i,
.check-item i {
    position: relative; isolation: isolate;
    display: inline-grid; place-items: center; padding-bottom: .18em;
    width: 1.9em; height: 1.9em;
}
.process-icon::before,
.feature-card i::before,
.industry-card i::before,
.check-item i::before { position: relative; z-index: 1; }
.process-icon::after,
.feature-card i::after,
.industry-card i::after,
.check-item i::after {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: currentColor;
    -webkit-mask: var(--pebble-line) center / contain no-repeat;
    mask: var(--pebble-line) center / contain no-repeat;
    opacity: .5; transition: transform .6s var(--ease), opacity .4s;
}
.process-step:hover .process-icon::after,
.feature-card:hover i::after,
.industry-card:hover i::after { transform: rotate(180deg); opacity: .9; }
.process-icon { font-size: 1.8rem; }
.feature-card i { font-size: 1.6rem; }
.check-item i { font-size: 1.05rem; flex: 0 0 auto; }
.industry-card i { font-size: 1.6rem; }

/* --- Subtle repeating pebble pattern on sections --- */
.section-alt, .pebble-bg, .site-footer, .page-hero, .brands-section { isolation: isolate; }
.section-alt, .pebble-bg { overflow: hidden; }
.section-alt::before,
.pebble-bg::before,
.site-footer::before,
.brands-section::before,
.page-hero::after {
    content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background: url('../img/pebble-pattern.svg') 0 0 / 140px 120px repeat;
    opacity: var(--pattern-op);
    animation: patternDrift 60s linear infinite;
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 100% 0%, #000 0%, transparent 70%);
}
.pebble-bg.pattern-left::before,
.brands-section::before {
    -webkit-mask-image: radial-gradient(ellipse 70% 80% at 0% 100%, #000 0%, transparent 70%);
    mask-image: radial-gradient(ellipse 70% 80% at 0% 100%, #000 0%, transparent 70%);
}
.site-footer::before { opacity: .06; -webkit-mask-image: linear-gradient(180deg, #000, transparent 60%); mask-image: linear-gradient(180deg, #000, transparent 60%); }
.page-hero::after { z-index: 1; opacity: .14; }
.page-hero > .container { z-index: 2; }
@keyframes patternDrift { to { background-position: 140px 120px; } }

/* --- Large floating pebble outlines as section accents --- */
.section-alt::after,
.pebble-bg::after {
    content: ''; position: absolute; z-index: -1; pointer-events: none;
    width: 340px; height: 340px; right: -90px; bottom: -60px;
    background: linear-gradient(140deg, var(--gold-2), transparent 75%);
    -webkit-mask: var(--pebble-line) center / contain no-repeat;
    mask: var(--pebble-line) center / contain no-repeat;
    opacity: .22;
    animation: pebbleFloat 16s ease-in-out infinite;
}
.pebble-bg.pattern-left::after { right: auto; left: -110px; bottom: auto; top: 40px; animation-duration: 20s; }
@keyframes pebbleFloat {
    0%, 100% { transform: translateY(0) rotate(-8deg); }
    50%      { transform: translateY(-30px) rotate(8deg); }
}
.section-alt > .container, .pebble-bg > .container, .brands-section > * { position: relative; z-index: 1; }

/* --- Pebble-shaped bullets & badges --- */
.eyebrow::before {
    width: 12px; height: 12px; background: var(--gold);
    -webkit-mask: var(--pebble) center / contain no-repeat;
    mask: var(--pebble) center / contain no-repeat;
}
.ticker span i::before { content: ''; display: inline-block; width: .8em; height: .8em; background: #111;
    -webkit-mask: var(--pebble) center / contain no-repeat; mask: var(--pebble) center / contain no-repeat; }
.exp-badge::after {
    content: ''; position: absolute; right: -14px; top: -14px; width: 34px; height: 34px;
    background: var(--text); opacity: .9;
    -webkit-mask: var(--pebble) center / contain no-repeat; mask: var(--pebble) center / contain no-repeat;
    animation: pebbleFloat 6s ease-in-out infinite;
}

/* =========================================================
   Home – "Our Solutions" integrated ecosystem orbit
   ========================================================= */
.eco-section { overflow: hidden; }

/* --- orbit stage --- */
.eco-orbit {
    position: relative; width: min(100%, 620px); aspect-ratio: 1; margin: 0 auto;
    --node: 66px;
}
.eco-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.eco-track { fill: none; stroke: var(--line); stroke-width: .25; stroke-dasharray: .6 1.2; }
.eco-line {
    stroke: rgba(20, 22, 28, .12); stroke-width: .22; stroke-linecap: round;
    transition: stroke .5s, stroke-width .5s;
}
.eco-line.active {
    stroke: var(--gold); stroke-width: .5;
    stroke-dasharray: 1.6 1.4; animation: ecoFlow 1.2s linear infinite;   /* data flowing to the core */
}
@keyframes ecoFlow { to { stroke-dashoffset: -3; } }

/* decorative rotating rings with a gold satellite */
.eco-ring { position: absolute; border-radius: 50%; border: 1px dashed rgba(176, 122, 12, .25); pointer-events: none; }
.eco-ring::before {
    content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px;
    border-radius: 50%; background: var(--grad); box-shadow: 0 0 14px rgba(224, 165, 38, .8);
}
.eco-ring-1 { inset: 21%; animation: spin 38s linear infinite; }
.eco-ring-2 { inset: 3%; border-style: dotted; border-color: rgba(20, 22, 28, .1); animation: spin 70s linear infinite reverse; }
.eco-ring-2::before { width: 7px; height: 7px; margin-left: -3.5px; top: -3.5px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* --- pebble-shaped image core --- */
.eco-core {
    position: absolute; left: 50%; top: 50%; width: 42%; aspect-ratio: 1;
    transform: translate(-50%, -50%); z-index: 2;
}
.eco-core-outline {
    position: absolute; inset: -9%; background: var(--grad); opacity: .55;
    -webkit-mask: var(--pebble-line) center / contain no-repeat; mask: var(--pebble-line) center / contain no-repeat;
    animation: ecoWobble 9s ease-in-out infinite;
}
@keyframes ecoWobble { 0%, 100% { transform: rotate(-9deg) scale(1); } 50% { transform: rotate(9deg) scale(1.04); } }
.eco-core-img {
    position: absolute; inset: 0; background: linear-gradient(140deg, #f6e2b0, #e8c06a 55%, #c9952a); /* placeholder while the photo loads */
    -webkit-mask: var(--pebble) center / contain no-repeat; mask: var(--pebble) center / contain no-repeat;
    filter: drop-shadow(0 20px 30px rgba(20, 22, 28, .35));
}
.eco-core-img img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform: scale(1.18); transition: opacity .7s var(--ease), transform 1.2s var(--ease);
}
.eco-core-img img.active { opacity: 1; transform: scale(1); }

/* --- nodes --- */
.eco-node {
    position: absolute; left: var(--x); top: var(--y); z-index: 3;
    width: var(--node); height: var(--node); margin: calc(var(--node) / -2) 0 0 calc(var(--node) / -2);
    padding: 0; border: 0; background: none; cursor: pointer;
}
.eco-dot {
    position: relative; display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%;
    background: var(--surface); color: var(--gold-ink); font-size: 1.45rem;
    border: 1px solid var(--line); box-shadow: 0 14px 30px -14px rgba(20, 22, 28, .4);
    transition: transform .45s var(--ease), background .4s, color .4s, box-shadow .4s;
}
.eco-node:hover .eco-dot { transform: translateY(-4px) scale(1.06); color: var(--text); }
.eco-node.active .eco-dot {
    background: var(--grad); color: #111; border-color: transparent; transform: scale(1.14);
    box-shadow: 0 16px 34px -10px rgba(224, 165, 38, .75);
}
.eco-node.active .eco-dot::before,
.eco-node.active .eco-dot::after {     /* sonar pulse */
    content: ''; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--gold);
    animation: ecoPulse 2.2s ease-out infinite;
}
.eco-node.active .eco-dot::after { animation-delay: 1.1s; }
@keyframes ecoPulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.9); opacity: 0; } }
.eco-node:focus-visible .eco-dot { outline: 3px solid var(--gold); outline-offset: 4px; }
.eco-label {
    position: absolute; left: 50%; top: calc(100% + 10px); transform: translateX(-50%);
    width: 128px; text-align: center; font-family: var(--font-head); font-size: .78rem; font-weight: 600; line-height: 1.25;
    color: var(--text-2); transition: color .3s;
}
.eco-node.active .eco-label, .eco-node:hover .eco-label { color: var(--text); }
.eco-node.up .eco-label { top: auto; bottom: calc(100% + 10px); }   /* top half: label sits outside the ring */

/* --- details panel --- */
.eco-details { display: grid; }
.eco-detail {
    grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(18px);
    transition: opacity .5s var(--ease), transform .6s var(--ease), visibility .5s;
}
.eco-detail.active { opacity: 1; visibility: visible; transform: none; transition-delay: .1s; }
.eco-num {
    display: inline-flex; align-items: baseline; gap: .4rem; margin-bottom: .6rem;
    font-family: var(--font-head); font-weight: 800; font-size: 3.4rem; line-height: 1;
    color: transparent; -webkit-text-stroke: 1.5px var(--gold-ink);
}
.eco-num small { font-size: 1rem; font-weight: 600; color: var(--text-2); -webkit-text-stroke: 0; }
.eco-detail h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 700; margin-bottom: .8rem; }
.eco-detail p { color: var(--text-2); margin-bottom: 0; }
.eco-points { grid-template-columns: 1fr 1fr; font-size: .94rem; }

.eco-controls { display: flex; align-items: center; gap: 14px; margin-top: 2rem; }
.eco-arrow {
    flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--ghost-line); background: var(--surface); color: var(--text);
    transition: all .3s;
}
.eco-arrow:hover { background: var(--gold); border-color: var(--gold); color: #111; }
.eco-progress { flex: 1; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.eco-progress span { display: block; height: 100%; width: 0; background: var(--grad); }
.eco.autoplay .eco-progress span.run { animation: solProgress 6s linear forwards; }
.eco:hover .eco-progress span { animation-play-state: paused; }
@keyframes solProgress { to { width: 100%; } }

/* --- tablet / phone --- */
@media (max-width: 991px) {
    .eco-orbit { width: min(100%, 520px); }
}
@media (max-width: 575px) {
    .eco-orbit { --node: 46px; width: min(100%, 360px); }
    .eco-dot { font-size: 1.1rem; }
    .eco-label { display: none; }
    .eco-num { font-size: 2.6rem; }
    .eco-points { grid-template-columns: 1fr; }
    .eco-ring-2 { inset: 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .hero-anim { opacity: 1; transform: none; }
}
