/* ============================================
   EVANT — Clean Premium Consultancy
   ============================================ */

:root {
    --navy: #0c1f3f;
    --navy-deep: #071529;
    --navy-90: rgba(12, 31, 63, 0.92);
    --blue: #1d4ed8;
    --slate: #475569;
    --slate-light: #64748b;
    --gray-100: #f7f8fa;
    --gray-200: #eef0f4;
    --gray-300: #dde1e8;
    --white: #ffffff;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', -apple-system, sans-serif;

    --max-w: 1140px;
    --nav-h: 72px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--white); color: var(--slate); line-height: 1.65; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ---- NAV ---- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    height: var(--nav-h);
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
}
.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img {
    height: 24px; width: auto;
}
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 14px; font-weight: 400; color: var(--slate-light);
    transition: color 0.2s; letter-spacing: 0.3px;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 22px; height: 1.5px; background: var(--navy); transition: all 0.3s; }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(4px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(4px, -5px); }

/* ---- HERO ---- */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    background: var(--navy); color: var(--white);
    overflow: hidden;
}
.hero-video-wrap {
    position: absolute; inset: 0; z-index: 0;
}
.hero-video {
    width: 100%; height: 100%; object-fit: cover;
    opacity: 0.35;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7,21,41,0.5) 0%, rgba(7,21,41,0.7) 100%);
}
.hero-content {
    position: relative; z-index: 2;
    text-align: center; padding: 120px 24px 80px;
    max-width: 720px;
}
.hero-logo {
    height: clamp(36px, 5vw, 56px); width: auto;
    margin: 0 auto 28px;
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.7s 0.1s ease forwards;
}
.hero-divider {
    width: 48px; height: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 auto 24px;
    opacity: 0;
    animation: fadeUp 0.7s 0.25s ease forwards;
}
.hero-tagline {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400; line-height: 1.2;
    font-style: italic;
    color: var(--white);
    margin-bottom: 12px;
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.7s 0.35s ease forwards;
}
.hero-descriptor {
    font-size: clamp(14px, 1.4vw, 17px);
    color: rgba(255,255,255,0.55);
    font-weight: 300; letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 44px;
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.7s 0.5s ease forwards;
}
.hero-actions {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
    opacity: 0; transform: translateY(16px);
    animation: fadeUp 0.7s 0.65s ease forwards;
}

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    font-family: var(--font-body); font-size: 14px; font-weight: 500;
    padding: 14px 32px; border: none; cursor: pointer;
    transition: all 0.25s ease; letter-spacing: 0.3px;
}
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover { background: var(--gray-100); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,0,0,0.12); }
.btn-ghost { border: 1px solid rgba(255,255,255,0.3); background: transparent; color: var(--white); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.05); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-deep); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(12,31,63,0.25); }
.btn-outline-navy { border: 1px solid var(--gray-300); background: transparent; color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); }

/* ---- INTRO ---- */
.intro { padding: 80px 0; border-bottom: 1px solid var(--gray-200); }
.intro-inner { max-width: 740px; }
.intro-text {
    font-family: var(--font-heading);
    font-size: clamp(20px, 2.2vw, 26px);
    line-height: 1.55; color: var(--navy);
    font-weight: 400;
}

/* ---- SERVICES ---- */
.services { padding: 80px 0; }
.services-heading {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400; color: var(--navy);
    margin-bottom: 48px;
}
.services-list { display: flex; flex-direction: column; }
.service-item {
    display: flex; gap: 32px; align-items: flex-start;
    padding: 32px 0; border-top: 1px solid var(--gray-200);
}
.service-item:last-child { border-bottom: 1px solid var(--gray-200); }
.service-num {
    font-size: 13px; color: var(--slate-light);
    font-weight: 500; flex-shrink: 0;
    padding-top: 2px; min-width: 28px;
}
.service-name {
    font-family: var(--font-heading);
    font-size: 20px; font-weight: 400; color: var(--navy);
    margin-bottom: 8px; line-height: 1.3;
}
.service-text { font-size: 15px; color: var(--slate-light); line-height: 1.65; }

/* ---- SECTORS STRIP ---- */
.sectors-strip { padding: 80px 0; background: var(--gray-100); }
.sectors-strip-inner { display: grid; grid-template-columns: 200px 1fr; gap: 48px; align-items: start; }
.sectors-strip-heading {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400; color: var(--navy);
}
.sectors-strip-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sector-link {
    font-size: 14px; color: var(--navy);
    border: 1px solid var(--gray-300); padding: 10px 20px;
    transition: all 0.2s; background: var(--white);
}
.sector-link:hover { border-color: var(--navy); background: var(--navy); color: var(--white); }

/* ---- CTA ---- */
.cta { padding: 100px 0; }
.cta-inner {
    background: var(--navy); padding: 64px 48px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 32px;
}
.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400; color: var(--white); line-height: 1.3;
}

/* ---- FOOTER ---- */
.footer { background: var(--navy-deep); padding: 64px 0 32px; color: rgba(255,255,255,0.4); }
.footer-top { display: flex; justify-content: space-between; gap: 48px; margin-bottom: 48px; }
.footer-logo img {
    height: 20px; width: auto;
}
.footer-tagline { margin-top: 12px; font-size: 14px; }
.footer-links { display: flex; gap: 64px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col a, .footer-col span { font-size: 14px; transition: color 0.2s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding-top: 24px; font-size: 13px; }

/* ============================================
   SECTORS PAGE
   ============================================ */
.page-banner {
    background: var(--navy); padding-top: 120px; padding-bottom: 48px;
}
.page-banner .container h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400; color: var(--white); margin-bottom: 12px;
}
.page-banner .container p { font-size: 16px; color: rgba(255,255,255,0.6); max-width: 560px; }

.page-header {
    padding: 140px 24px 60px;
    max-width: var(--max-w); margin: 0 auto;
}
.page-header h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 400; color: var(--navy); margin-bottom: 12px;
}
.page-header p { font-size: 16px; color: var(--slate-light); max-width: 560px; }

.sector-grid { padding: 48px 0 80px; }
.sector-card {
    display: grid; grid-template-columns: 1fr 1fr;
    border-top: 1px solid var(--gray-200);
    transition: background 0.3s;
}
.sector-card:last-child { border-bottom: 1px solid var(--gray-200); }
.sector-card:hover { background: var(--gray-100); }
.sector-card-visual {
    background: var(--gray-100);
    min-height: 280px;
    background-size: cover;
    background-position: center;
}
.sector-icon {
    width: 64px; height: 64px; stroke: var(--navy);
    fill: none; stroke-width: 1; opacity: 0.5;
}
.sector-card-info { padding: 48px; display: flex; flex-direction: column; justify-content: center; }
.sector-card-name {
    font-family: var(--font-heading);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 400; color: var(--navy);
    margin-bottom: 12px;
}
.sector-card-desc { font-size: 15px; color: var(--slate-light); line-height: 1.65; margin-bottom: 20px; }
.sector-card-services {
    display: flex; flex-wrap: wrap; gap: 6px;
}
.sector-card-tag {
    font-size: 12px; color: var(--slate-light);
    border: 1px solid var(--gray-200); padding: 5px 12px;
    letter-spacing: 0.3px;
}
.sector-card:nth-child(even) { direction: rtl; }
.sector-card:nth-child(even) > * { direction: ltr; }

/* ============================================
   WHY EVANT PAGE
   ============================================ */
.diff-list { padding: 48px 0 80px; }
.diff-item {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; padding: 48px 32px;
    align-items: start; transition: background 0.3s;
    border-bottom: 1px solid var(--gray-200);
}
.diff-item:nth-child(even) { background: var(--gray-100); }
.diff-label {
    font-family: var(--font-heading);
    font-size: 24px; font-weight: 400; color: var(--navy);
    line-height: 1.3;
}
.diff-counter {
    display: inline-flex; width: 36px; height: 36px;
    background: var(--navy); color: var(--white);
    font-size: 14px; font-weight: 600; border-radius: 50%;
    align-items: center; justify-content: center; margin-bottom: 16px;
}
.diff-text { font-size: 15px; color: var(--slate); line-height: 1.7; }

/* Navy page banners handled by .page-banner */

.approach-section { padding: 80px 0; background: var(--gray-100); }
.approach-heading {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400; color: var(--navy); margin-bottom: 48px;
}
.approach-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.approach-step {}
.approach-step-num { font-size: 32px; font-family: var(--font-heading); color: var(--navy); margin-bottom: 12px; opacity: 0.3; }
.approach-step-title { font-size: 16px; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.approach-step-desc { font-size: 14px; color: var(--slate-light); line-height: 1.6; }

/* ============================================
   CONTACT PAGE
   ============================================ */
/* Contact page */

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 64px 0 100px; }
.contact-block { padding: 28px 0; border-top: 1px solid var(--gray-200); }
.contact-label { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--slate-light); margin-bottom: 8px; font-weight: 500; }
.contact-value { font-size: 16px; color: var(--navy); }
.contact-value a { transition: color 0.2s; }
.contact-value a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; color: var(--slate-light); font-weight: 500; }
.form-input, .form-textarea, .form-select {
    background: var(--gray-100); border: 1px solid var(--gray-200);
    color: var(--navy); font-family: var(--font-body); font-size: 15px;
    padding: 14px 16px; outline: none; transition: border-color 0.2s;
    width: 100%; border-radius: 0; -webkit-appearance: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus { border-color: var(--navy); background: var(--white); }
.form-textarea { min-height: 140px; resize: vertical; }
.form-select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ============================================
   TECHNOLOGY PAGE
   ============================================ */
.tech-intro {
    max-width: 740px;
    font-size: 16px; color: var(--slate); line-height: 1.7;
}
.product-section { padding: 48px 0; }
.product-section-alt { background: var(--gray-100); }
.product-card { padding: 48px 0; }
.product-header {
    display: flex; align-items: center; gap: 20px;
    margin-bottom: 40px;
}
.product-logo {
    width: 56px; height: 56px; border-radius: 12px;
    object-fit: cover;
}
.product-name {
    font-family: var(--font-heading);
    font-size: 28px; font-weight: 400; color: var(--navy);
    line-height: 1.2;
}
.product-type {
    font-size: 14px; color: var(--slate-light); margin-top: 2px;
}
.product-body {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 48px; align-items: start;
}
.product-body-reverse { direction: rtl; }
.product-body-reverse > * { direction: ltr; }
.product-description p {
    font-size: 15px; color: var(--slate); line-height: 1.7;
    margin-bottom: 28px;
}
.product-features {
    display: flex; flex-direction: column; gap: 20px;
    margin-bottom: 32px;
}
.product-feature h4 {
    font-size: 15px; font-weight: 600; color: var(--navy);
    margin-bottom: 4px;
}
.product-feature p {
    font-size: 14px; color: var(--slate-light); line-height: 1.6;
    margin-bottom: 0;
}
.product-visual {
    background: var(--gray-100); border: 1px solid var(--gray-200);
    padding: 24px; display: flex; align-items: center; justify-content: center;
}
.product-section-alt .product-visual {
    background: var(--white);
}
.product-screenshot {
    width: 100%; height: auto; border-radius: 4px;
}

@media (max-width: 768px) {
    .product-body, .product-body-reverse { grid-template-columns: 1fr; direction: ltr; }
    .product-body-reverse > * { direction: ltr; }
    .product-header { flex-wrap: wrap; }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
[data-animate] { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
[data-animate].visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .hide-mobile { display: none; }
    .nav-links {
        display: none; position: fixed; top: var(--nav-h);
        left: 0; right: 0; bottom: 0; background: var(--white);
        flex-direction: column; justify-content: center;
        align-items: center; gap: 28px;
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
    .hero-content { padding: 100px 24px 60px; }
    .sectors-strip-inner { grid-template-columns: 1fr; gap: 24px; }
    .cta-inner { flex-direction: column; text-align: center; padding: 48px 24px; }
    .footer-top { flex-direction: column; }
    .footer-links { flex-wrap: wrap; gap: 32px; }
    .sector-card { grid-template-columns: 1fr; }
    .sector-card:nth-child(even) { direction: ltr; }
    .sector-card-visual { min-height: 160px; }
    .sector-card-info { padding: 32px 24px; }
    .diff-item { grid-template-columns: 1fr; gap: 12px; }
    .approach-steps { grid-template-columns: 1fr 1fr; }
    .contact-layout { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-actions { flex-direction: column; width: 100%; align-items: center; }
    .btn { width: 100%; max-width: 260px; text-align: center; }
    .approach-steps { grid-template-columns: 1fr; }
}
