/* ============================================
   DATES METRON LLP — Clean Corporate
   ============================================ */

:root {
    --black: #0a0a0a;
    --dark: #1a1a1a;
    --gray: #6b6b6b;
    --light-gray: #e8e8e8;
    --bg-light: #f5f5f3;
    --white: #ffffff;
    --accent: #2a2a2a;
    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }

/* ---- Button ---- */
.btn {
    display: inline-block;
    padding: 14px 36px;
    background: var(--black);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--black);
    border-radius: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

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

/* ---- Labels ---- */
.label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 20px;
}

.label.light {
    color: rgba(255,255,255,0.5);
}

/* ---- Nav ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--light-gray);
}

.nav-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo img {
    height: 40px;
    width: 40px;
}

.nav-logo-text {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: 0.02em;
}

.nav-logo-text small {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.12em;
    margin-left: 2px;
    vertical-align: middle;
}

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

.nav-links a {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--gray);
    transition: color 0.2s;
}

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

.nav-india {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--dark);
    border-left: 1px solid var(--light-gray);
    padding-left: 24px;
    margin-left: 16px;
}

.india-tri {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 20px;
}

.india-tri span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 1px;
}

.tri-saffron { background: #FF9933; }
.tri-white { background: #FFFFFF; border: 0.5px solid #ddd; }
.tri-green { background: #138808; }

.nav-burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 0;
}

.nav-burger span {
    width: 22px;
    height: 1.5px;
    background: var(--black);
    transition: all 0.3s;
}

/* ---- Hero ---- */
.hero {
    padding: 180px 0 120px;
    border-bottom: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

#lidarCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

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

.hero-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--black);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 44px;
}

/* ---- Sections ---- */
.section {
    padding: 100px 0;
    border-bottom: 1px solid var(--light-gray);
}

.section h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section p {
    color: var(--gray);
    font-size: 1rem;
    line-height: 1.7;
}

.bg-dark {
    background: var(--black);
    border-bottom-color: transparent;
}

.bg-dark h2,
.bg-dark h3 { color: var(--white); }
.bg-dark p { color: rgba(255,255,255,0.6); }

.bg-light {
    background: var(--bg-light);
}

.light { color: var(--white); }

/* ---- Two Col ---- */
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

/* ---- Word Wall (About right side) ---- */
.col-wordwall {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 360px;
}

.wordwall {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.ww-word {
    position: absolute;
    text-align: center;
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
    pointer-events: none;
}

.ww-word.active {
    opacity: 1;
    transform: scale(1);
}

.ww-word.exit {
    opacity: 0;
    transform: scale(1.05);
}

.ww-hero {
    font-size: clamp(2rem, 3.5vw, 3.2rem);
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

/* Floating tags */
.ww-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ww-tags span {
    padding: 6px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    background: var(--white);
    transition: all 0.4s ease;
}

.ww-tags span.glow {
    border-color: var(--black);
    color: var(--black);
    background: var(--bg-light);
}

/* ---- Journey Timeline ---- */
.section-journey {
    padding-bottom: 0;
}

.journey {
    position: relative;
    margin-top: 56px;
    padding-bottom: 80px;
}

/* SVG Path */
.journey-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.journey-path {
    stroke-dasharray: 0;
    stroke-dashoffset: 0;
}

/* Nodes container */
.journey-nodes {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Node positioning */
.j-node {
    width: 45%;
    padding: 32px 0;
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.j-left {
    margin-right: auto;
    transform: translateX(-40px);
}

.j-right {
    margin-left: auto;
    transform: translateX(40px);
}

.j-center {
    width: 50%;
    margin: 0 auto;
    transform: translateY(30px);
}

.j-node.visible {
    opacity: 1;
    transform: translate(0);
}

/* Card */
.j-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 36px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    transition: border-color 0.4s, background 0.4s;
}

.j-node.visible .j-card {
    border-color: rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06);
}

.j-card-next {
    text-align: center;
    border-style: dashed;
}

/* SVG Icons */
.j-icon {
    width: 56px;
    height: 56px;
    color: rgba(255,255,255,0.25);
    margin-bottom: 20px;
    transition: color 0.6s;
}

.j-node.visible .j-icon {
    color: rgba(255,255,255,0.7);
}

.j-card-next .j-icon {
    margin: 0 auto 20px;
}

/* SVG draw-in animation */
.j-draw {
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    transition: stroke-dashoffset 1.2s ease;
}

.j-node.visible .j-draw {
    stroke-dashoffset: 0;
}

/* Pulse icon for last node */
.j-icon-pulse {
    animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.08); }
}

.j-node.visible .j-icon-pulse {
    animation: iconPulseVisible 3s ease-in-out infinite;
}

@keyframes iconPulseVisible {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Year badge */
.j-year {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.3);
    margin-bottom: 10px;
    padding: 4px 14px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transition: all 0.5s;
}

.j-node.visible .j-year {
    color: rgba(255,255,255,0.7);
    border-color: rgba(255,255,255,0.3);
}

.j-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.j-card-next h3 {
    font-style: italic;
    color: rgba(255,255,255,0.6);
}

.j-card p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.65;
}

.j-node.visible .j-card p {
    color: rgba(255,255,255,0.55);
}

/* Responsive */
@media (max-width: 900px) {
    .journey-nodes { padding: 0 24px; }
    .j-node { width: 75%; }
    .j-left { margin-right: auto; margin-left: 0; }
    .j-right { margin-left: auto; margin-right: 0; }
    .j-center { width: 80%; }
    .journey-svg { display: none; }
    .j-left, .j-right, .j-center {
        transform: translateY(30px);
    }
}

@media (max-width: 540px) {
    .j-node { width: 100%; }
    .j-center { width: 100%; }
    .j-card { padding: 28px; }
    .j-card h3 { font-size: 1.1rem; }
}

/* ---- Division Cards ---- */
.div-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.div-card {
    background: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 16px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.div-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--black);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.div-card:hover::before,
a.div-card:hover::before {
    transform: scaleX(1);
}

a.div-card {
    cursor: pointer;
}

.div-card:hover {
    border-color: var(--dark);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.div-card-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.div-icon {
    width: 48px;
    height: 48px;
    color: var(--black);
}

.div-num {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--light-gray);
    letter-spacing: 0.1em;
}

.div-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 10px;
}

.div-card p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.65;
    margin-bottom: 20px;
    flex: 1;
}

.div-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.div-tags span {
    padding: 4px 12px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    border: 1px solid var(--light-gray);
    color: var(--gray);
    border-radius: 20px;
    transition: all 0.3s;
}

.div-card:hover .div-tags span {
    border-color: var(--dark);
    color: var(--dark);
}

.div-url {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray);
    margin-top: auto;
}

.arrow {
    display: inline-block;
    transition: transform 0.2s;
    margin-left: 4px;
}

.div-card:hover .arrow {
    transform: translateX(4px);
}

/* ---- Contact ---- */
.contact-details {
    margin-top: 32px;
}

.contact-details p {
    font-size: 1rem;
    color: var(--dark);
    margin-bottom: 8px;
    font-weight: 500;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font);
    font-size: 0.9rem;
    border: 1px solid var(--light-gray);
    border-radius: 0;
    background: var(--white);
    color: var(--dark);
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--black);
}

.contact-form textarea {
    resize: vertical;
}

.form-consent {
    font-size: 0.78rem;
    color: var(--gray);
    line-height: 1.5;
}

.form-consent a {
    color: var(--dark);
    text-decoration: underline;
}

.form-status {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0;
    transition: all 0.3s;
}

.form-status.success {
    color: #16a34a;
    padding-top: 8px;
}

.form-status.error {
    color: #dc2626;
    padding-top: 8px;
}

.contact-form .btn {
    align-self: flex-start;
    border: none;
}

.contact-form .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ---- Footer ---- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--light-gray);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    height: 32px;
    width: 32px;
}

.footer-logo-text {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.footer-logo-text small {
    font-size: 0.55rem;
    font-weight: 600;
    color: var(--gray);
    letter-spacing: 0.12em;
    margin-left: 2px;
    vertical-align: middle;
}

.footer-left p {
    font-size: 0.82rem;
    color: var(--gray);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    font-size: 0.82rem;
    color: var(--gray);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--black);
}

/* ---- WhatsApp Button ---- */
.whatsapp-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    z-index: 90;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-btn svg {
    width: 28px;
    height: 28px;
}

/* Hide reCAPTCHA badge - disclosed in privacy policy */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* ---- Responsive ---- */

/* Tablet */
@media (max-width: 900px) {
    .wrap { padding: 0 24px; }

    /* Nav */
    .nav-burger { display: flex; }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 32px 24px;
        gap: 20px;
        border-bottom: 1px solid var(--light-gray);
        transform: translateY(-120%);
        transition: transform 0.3s;
        z-index: 99;
    }

    .nav-links.open {
        transform: translateY(0);
    }

    .nav-india {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        padding-top: 12px;
        border-top: 1px solid var(--light-gray);
    }

    .nav-logo-text {
        font-size: 0.95rem;
    }

    /* Hero */
    .hero { padding: 140px 0 80px; }
    #lidarCanvas { opacity: 0.5; }

    /* Sections */
    .section { padding: 72px 0; }
    .section-journey { padding-bottom: 0; }

    .two-col {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    /* Wordwall */
    .col-wordwall { min-height: 280px; }
    .ww-hero { font-size: 2rem; }
    .ww-tags { gap: 6px; }

    /* Journey */
    .journey-nodes { padding: 0 24px; }
    .j-node { width: 75%; }
    .j-left { margin-right: auto; margin-left: 0; }
    .j-right { margin-left: auto; margin-right: 0; }
    .j-center { width: 80%; }
    .journey-svg { display: none; }
    .j-left, .j-right, .j-center { transform: translateY(30px); }

    /* Divisions */
    .div-grid { grid-template-columns: 1fr; }

    /* Contact */
    .contact-form { padding: 0; }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
    .footer-left { align-items: center; }
    .footer-brand { flex-direction: column; gap: 8px; }
}

/* Mobile */
@media (max-width: 540px) {
    /* Nav */
    .nav-logo-text { font-size: 0.85rem; }
    .nav-logo-text small { display: none; }

    /* Hero */
    .hero { padding: 120px 0 60px; }
    .hero h1 { font-size: 1.8rem; }
    .hero-sub { font-size: 1rem; }
    #lidarCanvas { opacity: 0.3; }

    /* Sections */
    .section { padding: 56px 0; }
    .section h2 { font-size: 1.4rem; }

    /* About */
    .col-wordwall { min-height: 240px; }
    .ww-hero { font-size: 1.6rem; }
    .wordwall { height: 140px; margin-bottom: 28px; }
    .ww-tags span { padding: 5px 10px; font-size: 0.68rem; }

    /* Journey */
    .j-node { width: 100%; padding: 24px 0; }
    .j-center { width: 100%; }
    .j-card { padding: 24px; }
    .j-card h3 { font-size: 1.05rem; }
    .j-icon { width: 44px; height: 44px; }
    .journey { margin-top: 36px; }

    /* Division cards */
    .div-card { padding: 28px; }
    .div-card h3 { font-size: 1.05rem; }
    .div-tags span { font-size: 0.65rem; padding: 3px 10px; }

    /* Contact */
    .two-col { gap: 36px; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea { padding: 12px 14px; font-size: 0.88rem; }

    /* Footer */
    .footer-links {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .footer-logo-text { font-size: 0.9rem; }
}
