/*
Theme Name: AsaTechno Consulting
Theme URI: https://asatechno.com
Description: Thème WordPress professionnel pour AsaTechno Consulting - Agence de développement logiciel et génie informatique
Author: AsaTechno Team
Author URI: https://asatechno.com
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: asatechno
Domain Path: /languages
Requires at least: 5.9
Requires PHP: 7.4
Tags: business, consulting, development, responsive, modern
*/

/* 
 * NOTE: Le CSS principal est géré par Tailwind CSS et se trouve dans assets/css/main.css
 * Ce fichier contient uniquement les styles spécifiques au thème et le CSS custom de AsaTechno
 */

:root {
    --red:    #2E5BFF;
    --red-dk: #1A3DCC;
    --navy:   #0D1B2A;
    --steel:  #1C3250;
    --light:  #F2F5FA;
    --white:  #FFFFFF;
    --muted:  #6B7B8E;
    --card-bg:#FFFFFF;
    --radius: 16px;
    --font-head: 'Roboto', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--light);
    color: var(--navy);
    font-size: 17px;
}

/* Empêcher le débordement horizontal global qui crée un scroll indésirable */
html, body {
    overflow-x: hidden;
}

/* ─── TOPBAR ─────────────────────────────────────── */
.topbar {
    background: var(--navy);
    color: rgba(255,255,255,0.7);
    font-size: 0.8rem;
    padding: 8px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    letter-spacing: 0.02em;
}

.topbar span strong {
    color: var(--white);
}

.topbar a {
    color: var(--red);
    text-decoration: none;
    font-weight: 500;
}

/* ─── NAVBAR ─────────────────────────────────────── */
nav {
    background: var(--white);
    padding: 0 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    box-shadow: 0 1px 0 rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    animation: slideDown 0.5s ease both;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 36px;
    list-style: none;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    transition: width 0.25s ease;
}

.nav-links a:hover {
    color: var(--red);
}

.nav-links a.active {
    color: var(--red);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active::after {
    width: 100%;
}

.nav-links .menu-item-has-children {
    position: relative;
}

.nav-links .menu-item-has-children > a {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.chevron-down {
    transition: transform 0.2s;
}

.menu-item-has-children:hover .chevron-down {
    transform: rotate(180deg);
    color: var(--red);
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--white);
    border-radius: 12px;
    padding: 8px;
    min-width: 160px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    list-style: none;
    z-index: 200;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sub-menu li a:hover {
    background: rgba(46,91,255,0.08);
    color: var(--red);
}

.sub-menu li a::after {
    display: none;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 102;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-outline {
    border: 1.5px solid var(--navy);
    border-radius: 8px;
    padding: 8px 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--navy);
    text-decoration: none;
    transition: all 0.2s;
}

.btn-outline:hover {
    background: var(--navy);
    color: white;
}

.btn-primary {
    background: var(--red);
    color: white;
    border-radius: 8px;
    padding: 10px 24px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
    background: var(--red-dk);
    transform: translateY(-1px);
}

/* ─── HERO SECTION ───────────────────────────────────────── */
.hero {
    min-height: calc(100vh - 108px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 60px 60px;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -120px; right: -120px;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(46,91,255,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -60px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(13,27,42,0.05) 0%, transparent 70%);
    pointer-events: none;
}

.hero-left {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(46,91,255,0.08);
    border: 1px solid rgba(46,91,255,0.2);
    border-radius: 100px;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 28px;
    opacity: 0;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-badge::before {
    content: '';
    width: 7px; height: 7px;
    background: var(--red);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.4); }
}

.hero-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--navy);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.7s 0.35s ease both;
}

.hero-title em {
    font-style: normal;
    color: var(--red);
    position: relative;
}

.hero-title em::after {
    content: '';
    position: absolute;
    bottom: 4px; left: 0;
    width: 100%; height: 3px;
    background: var(--red);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-desc {
    font-size: 1rem;
    line-height: 30.24px;
    color: #666666;
    max-width: 480px;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeUp 0.7s 0.5s ease both;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
    opacity: 0;
    animation: fadeUp 0.7s 0.65s ease both;
}

.cta-main {
    background: var(--red);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 30px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 4px 20px rgba(46,91,255,0.25);
}

.cta-main:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46,91,255,0.35);
}

.cta-main svg {
    width: 16px;
    fill: none;
    stroke: white;
    stroke-width: 2;
}

.cta-ghost {
    background: transparent;
    color: var(--navy);
    border: 1.5px solid rgba(13,27,42,0.25);
    border-radius: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.cta-ghost:hover {
    border-color: var(--navy);
    background: var(--navy);
    color: white;
}

/* Certif badges */
.certif-row {
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    animation: fadeUp 0.7s 0.8s ease both;
}

.certif-label {
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.certif-badges {
    display: flex;
    gap: 10px;
}

.certif-badge {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: 0.05em;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ─── RIGHT COLUMN ───────────────────────────────── */
.hero-right {
    position: relative;
    z-index: 2;
    height: 520px;
}

.hero-img-wrap {
    position: absolute;
    top: 0; right: 0;
    width: 85%;
    height: 460px;
    border-radius: 24px;
    overflow: hidden;
    opacity: 0;
    animation: fadeLeft 0.8s 0.3s ease both;
}

.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(13,27,42,0.35) 0%, transparent 60%);
}

/* Floating service cards */
.s-card {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    min-width: 200px;
    opacity: 0;
    cursor: default;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.s-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.s-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(46,91,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.s-card-icon svg {
    width: 20px;
}

.s-card-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--navy);
}

.s-card-sub {
    font-size: 0.72rem;
    color: var(--muted);
    margin-top: 1px;
}

.s-card:nth-child(2) { top: 10px;  left: -20px; animation: floatIn 0.6s 0.7s ease both, bob1 5s 1.4s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(3) { top: 150px; right: -10px; animation: floatIn 0.6s 0.9s ease both, bob2 5.5s 1.6s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(4) { bottom: 110px; left: 0px; animation: floatIn 0.6s 1.1s ease both, bob3 6s 1.8s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(5) { bottom: 65px; right: 0px; animation: floatIn 0.6s 1.3s ease both, bob4 4.8s 2s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(6) { top: 55px; right: 50px; animation: floatIn 0.6s 0.6s ease both, bob2 5.2s 1.2s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }
.s-card:nth-child(7) { bottom: 160px; left: -10px; animation: floatIn 0.6s 0.8s ease both, bob1 5.8s 1.5s cubic-bezier(0.45, 0.15, 0.55, 0.85) infinite; }

@keyframes bob1 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-12px) translateX(4px); } }
@keyframes bob2 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(12px) translateX(-4px); } }
@keyframes bob3 { 0%,100% { transform: translateY(0) translateX(0); } 33% { transform: translateY(-10px); } 66% { transform: translateX(8px); } }
@keyframes bob4 { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(-6px) translateX(-8px); } }

.dot-cluster {
    position: absolute;
    top: -20px;
    left: 40px;
    width: 80px;
    height: 80px;
    opacity: 0;
    animation: fadeIn 1s 1s ease both;
}

.dot-cluster span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--red);
    border-radius: 50%;
    opacity: 0.4;
}

.dot-cluster span:nth-child(5) {
    opacity: 0.8;
    background: var(--red);
}

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeLeft { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes floatIn { from { opacity: 0; transform: scale(0.85) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ─── TECH STRIP ─────────────────────────── */
.tech-strip {
    background: white;
    padding: 28px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    margin-top: 60px;
    overflow: hidden;
}

.tech-label {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
    margin-bottom: 24px;
}

.tech-track {
    display: flex;
    gap: 48px;
    align-items: center;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    transform: scale(var(--z, 1));
    transform-origin: center center;
    will-change: transform, filter;
}

.tech-item:hover {
    transform: scale(calc(var(--z, 1) * 1.05)) translateY(-4px);
}

.tech-item img {
    height: 55px;
    width: auto;
    max-width: 90px;
    object-fit: contain;
    filter: grayscale(var(--g, 0.95));
    transition: filter 0.18s ease-out;
    transform-origin: center center;
    backface-visibility: hidden;
}

.tech-item span {
    transition: opacity 0.2s ease-out;
}

.tech-item span {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 500;
    transition: opacity 0.2s;
}

/* ─── SECTIONS ───────────────────────────────── */
.about,
.services,
.offers,
.faq {
    padding: 100px 60px;
}

.section-tag {
    display: block;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    max-width: 620px;
    line-height: 1.15;
    margin: 0 auto 16px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-desc {
    font-size: 16.8px;
    color: #666666;
    max-width: 560px;
    line-height: 30.24px;
    margin: 0 auto 56px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ─── ABOUT ─────────────────────────────────── */
.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-image,
.offers-image,
.ontis-image {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
}

.about-image img,
.offers-image img,
.ontis-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
    border-radius: 20px;
}

.about-image::after,
.offers-image::after,
.ontis-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(46,91,255,0.08), transparent 50%);
    pointer-events: none;
}

.about-text {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
    margin-bottom: 32px;
}

.about-text p + p {
    margin-top: 16px;
}

.btn-about,
.ontis-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-about:hover,
.ontis-link:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
}

.btn-about svg,
.ontis-link svg {
    width: 16px;
    transition: transform 0.2s;
}

.btn-about:hover svg,
.ontis-link:hover svg {
    transform: translateX(3px);
}

/* ─── SERVICES ───────────────────────────────── */
.services {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: 18px;
    padding: 30px 24px;
    border: 1px solid rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s;
    cursor: default;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    border-color: rgba(46,91,255,0.15);
}

.service-card:hover .svc-num {
    color: var(--red);
}

.svc-num {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 800;
    color: rgba(13,27,42,0.08);
    transition: color 0.25s;
    margin-bottom: 16px;
}

.svc-icon {
    width: 48px;
    height: 48px;
    background: rgba(46,91,255,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.svc-icon svg {
    width: 24px;
}

.svc-title {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--navy);
    margin-bottom: 8px;
}

.svc-desc {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--red);
    margin-top: 16px;
    text-decoration: none;
}

.svc-link svg {
    width: 14px;
    transition: transform 0.2s;
}

.svc-link:hover svg {
    transform: translateX(3px);
}

/* ─── ONTIS ─────────────────────────────────── */
.ontis-section {
    padding: 100px 60px;
    background: var(--white);
}

.ontis-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.ontis-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.15;
    text-align: center;
    margin-bottom: 56px;
    position: relative;
    z-index: 1;
}

.ontis-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.ontis-text {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ─── OFFERS ─────────────────────────────────── */
.offers {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.offers-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.offers-list-item svg {
    width: 22px;
    height: 22px;
    stroke: var(--red);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    margin-top: 2px;
}

.offers-list-item div {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
}

.offers-list-item strong {
    color: var(--navy);
    font-weight: 600;
}

/* ─── FAQ ───────────────────────────────────── */
.faq {
    max-width: 1100px;
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    overflow: hidden;
    transition: box-shadow 0.25s;
}

.faq-item:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    text-align: left;
    transition: color 0.2s;
}

.faq-question:hover {
    color: var(--red);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    stroke: var(--muted);
    fill: none;
    stroke-width: 2;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.faq-item.open .faq-question svg {
    transform: rotate(45deg);
    stroke: var(--red);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 300px;
    padding: 0 28px 24px;
}

.faq-answer div {
    font-size: 16.8px;
    color: #666666;
    line-height: 30.24px;
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 16px;
}

/* ─── CTA BAND ───────────────────────────────── */
.cta-band {
    margin: 0 60px 80px;
    background: var(--navy);
    border-radius: 24px;
    padding: 72px 72px 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(46,91,255,0.2), transparent 65%);
}

.cta-band-title {
    font-family: var(--font-head);
    font-size: 2.2rem;
    font-weight: 800;
    color: white;
    max-width: 600px;
    line-height: 1.15;
}

.cta-band-title span {
    color: var(--red);
}

.cta-band-desc {
    color: rgba(255,255,255,0.65);
    font-size: 16.8px;
    line-height: 30.24px;
    max-width: 540px;
}

.cta-band-right {
    display: flex;
    gap: 20px;
    margin-top: 12px;
}

.btn-band-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid rgba(255,255,255,0.25);
    color: white;
    background: transparent;
    border-radius: 12px;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-band-ghost:hover {
    background: rgba(255,255,255,0.1);
}

.btn-band-red {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 16px 34px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
}

.btn-band-red:hover {
    background: var(--red-dk);
    transform: translateY(-2px);
}

/* ─── FOOTER ─────────────────────────────────── */
footer {
    background: var(--navy);
    color: rgba(255,255,255,0.78);
    padding: 60px 60px 28px;
    font-size: 0.92rem;
}

.footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.72);
    max-width: 320px;
}

.footer-brand .socials {
    display: flex;
    gap: 12px;
    margin-top: 22px;
}

.footer-brand .social-link {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-brand .social-link:hover {
    background: var(--red);
    border-color: var(--red);
    color: white;
}

.footer h4 {
    font-family: var(--font-head);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
}

.footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer ul a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer ul a:hover {
    color: var(--red);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.8;
    color: rgba(255,255,255,0.75);
}

.footer-contact svg {
    width: 18px;
    height: 18px;
    stroke: rgba(255,255,255,0.45);
    fill: none;
    stroke-width: 1.8;
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-contact a {
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--red);
}

.footer-newsletter p {
    margin-bottom: 18px;
    color: rgba(255,255,255,0.68);
    line-height: 1.8;
    max-width: 320px;
}

.footer-newsletter-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-newsletter-form input {
    flex: 1 1 160px;
    min-width: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 999px;
    padding: 14px 18px;
    color: white;
    outline: none;
    font-size: 0.9rem;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.52);
}

.footer-newsletter-form button {
    background: linear-gradient(135deg, var(--red), var(--red-dk));
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 26px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.footer-newsletter-form button:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.footer-bottom {
    padding: 24px 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
}

.footer-bottom a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--red);
}

.footer-tagline {
    color: rgba(255,255,255,0.55);
}

/* ─── REVEAL ANIMATIONS ──────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 960px) {
    nav, .topbar {
        padding: 10px 24px;
    }

    .topbar {
        display: none;
    }

    .menu-toggle {
        display: block !important;
        z-index: 102 !important;
        position: relative !important;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: -300px !important;
        bottom: 0 !important;
        width: 300px !important;
        height: 100vh !important;
        background: #ffffff !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 108px 24px 40px !important;
        box-shadow: -4px 0 20px rgba(0,0,0,0.15) !important;
        z-index: 101 !important;
        overflow-y: auto !important;
        display: flex !important;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }

    .nav-links.open {
        right: 0 !important;
    }

    .menu-backdrop {
        display: none !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important; /* full width when closed (invisible) */
        bottom: 0 !important;
        background: rgba(0,0,0,0.35) !important;
        z-index: 100 !important;
        opacity: 0 !important;
        transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        pointer-events: none !important;
    }

    /* When open, constrain the backdrop to the area left of the menu panel
       so the menu panel on the right stays fully visible (no dim over it). */
    .menu-backdrop.open {
        display: block !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        /* leave room for the 300px menu on the right */
        right: 300px !important;
    }

    /* Only lock body scroll on mobile where the slide-out menu is used */
    @media (max-width: 960px) {
        body.menu-open {
            overflow: hidden !important;
        }
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 14px 0;
        border-bottom: 1px solid rgba(0,0,0,0.06);
    }

    .nav-links .menu-item-has-children > a {
        justify-content: space-between;
    }

    .sub-menu {
        position: static;
        transform: none;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        padding: 0 0 8px 16px;
        display: none;
    }

    .menu-item-has-children:hover .sub-menu {
        transform: none;
    }

    .menu-item-has-children.open .sub-menu {
        display: block;
    }

    .sub-menu li a {
        padding: 10px 0;
    }

    .hero {
        grid-template-columns: 1fr;
        padding: 48px 24px;
        min-height: auto;
        overflow: visible;
    }

    .hero-right {
        height: auto;
        margin-top: 40px;
        display: flex;
        flex-direction: column;
    }

    .hero-img-wrap {
        position: relative;
        width: 100%;
        height: 320px;
    }

    .s-card {
        position: relative;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        margin-top: 12px;
        min-width: 0;
        width: 100%;
        opacity: 1;
        animation: none;
        transform: none !important;
    }

    .hero-right > .s-card:nth-of-type(1) {
        margin-top: -30px;
    }

    .dot-cluster {
        display: none;
    }

    .services {
        padding: 60px 24px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about,
    .offers {
        padding: 60px 24px;
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img,
    .offers-image img {
        height: 280px;
    }

    .faq {
        padding: 60px 24px;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 18px 20px;
    }

    .cta-band {
        margin: 0 24px 60px;
        flex-direction: column;
        padding: 40px 32px;
    }

    .cta-band-right {
        flex-direction: column;
        width: 100%;
    }

    .cta-band-right .btn-band-ghost,
    .cta-band-right .btn-band-red {
        width: 100%;
        justify-content: center;
    }

    footer {
        padding: 40px 24px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .footer-brand p {
        max-width: 100%;
    }

    .ontis-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ontis-image img {
        height: 280px;
    }

    .ontis-section {
        padding: 60px 24px;
    }
}