:root {
    --navy: #0f2238;
    --navy-2: #18314f;
    --blue: #ff009d;
    --blue-dark: #0f5289;
    --orange: #e8833a;
    --wa: #25d366;
    --wa-dark: #1ebe5a;
    --ink: #1a2636;
    --muted: #5d6b7b;
    --line: #e3e9f0;
    --soft: #f5f8fb;
    --white: #ffffff;
    --radius: 14px;
    --container: 1160px;
    --shadow: 0 10px 30px rgba(15, 34, 56, .08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
    font-family: 'Poppins', system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
p { color: var(--muted); }
ul { list-style: none; }

.container { width: min(100% - 40px, var(--container)); margin: 0 auto; }
.section { padding: 80px 0; }

.skip-link {
    position: fixed; left: 16px; top: -60px; z-index: 3000;
    padding: 10px 16px; color: #fff; background: var(--navy);
    border-radius: 8px; text-decoration: none;
}
.skip-link:focus { top: 16px; }

/* Shared headings */
.section-head { max-width: 720px; margin: 0 auto 44px; }
.section-head.center { text-align: center; }
.section-head p { margin-top: 12px; font-size: 15px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; }
.section-head h2 span, .about h2 span { color: var(--blue); }
.kicker {
    display: inline-block; margin-bottom: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--orange);
}

/* Buttons */
.btn {
    min-height: 48px; padding: 12px 22px;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    font-size: 14px; font-weight: 600; text-decoration: none;
    border-radius: 10px; border: 1px solid transparent; cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible,
.contact-form input:focus-visible, .contact-form textarea:focus-visible {
    outline: 3px solid rgba(23, 105, 170, .35); outline-offset: 2px;
}
.btn-primary { color: #fff; background: var(--blue); box-shadow: 0 8px 20px rgba(23, 105, 170, .25); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { color: #fff; border-color: rgba(255, 255, 255, .45); background: transparent; }
.btn-outline:hover { background: rgba(255, 255, 255, .1); }
.btn-submit { width: 100%; }
.btn-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

/* Header */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand img { width: 96px; height: 64px; object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
    padding: 9px 13px; font-size: 14px; font-weight: 500;
    color: var(--navy-2); text-decoration: none; border-radius: 8px;
    transition: color .2s ease, background .2s ease;
}
.nav-links a:hover { color: var(--blue); background: #eef5fb; }
.nav-links .nav-wa { color: #fff; background: var(--wa); margin-left: 6px; }
.nav-links .nav-wa:hover { background: var(--wa-dark); color: #fff; }
.menu-toggle {
    display: none; width: 44px; height: 44px;
    align-items: center; justify-content: center;
    color: var(--navy); background: #fff; border: 1px solid var(--line);
    border-radius: 10px; font-size: 18px; cursor: pointer;
}

/* Hero */
.hero {
    min-height: 92vh; padding: 140px 0 90px;
    display: flex; align-items: center; text-align: center;
    color: #fff;
    background:
        linear-gradient(135deg, rgba(15, 34, 56, .88), rgba(23, 105, 170, .55)),
        url("images/yajat bg.png") center / cover no-repeat;
}
.hero-content { max-width: 860px; }
.eyebrow {
    display: inline-block; padding: 7px 16px; margin-bottom: 20px;
    font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px;
}
.hero h1 {
    color: #fff; font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700; letter-spacing: -.03em; margin-bottom: 10px;
}
.hero-subtitle { font-size: clamp(1.05rem, 2.2vw, 1.4rem); font-weight: 500; color: #ffd9b3; }
.hero-description { max-width: 640px; margin: 16px auto 32px; color: rgba(255, 255, 255, .85); font-size: 15px; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

/* About */
.about { background: #fff; }
.about-grid { max-width: 820px; }
.about h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -.02em; margin-bottom: 18px; }
.about p + p { margin-top: 14px; }
.about strong { color: var(--navy); }
.highlights { margin-top: 26px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.highlights li {
    display: flex; align-items: center; gap: 10px;
    padding: 14px 16px; font-size: 14px; font-weight: 500; color: var(--navy-2);
    background: var(--soft); border: 1px solid var(--line); border-radius: 10px;
}
.highlights i { color: var(--blue); }

/* Gallery */
.gallery-section { background: var(--soft); }
.gallery {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.gallery-item {
    aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius);
    background: #dfe6ee; box-shadow: var(--shadow);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.05); }

/* Services */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card {
    padding: 28px; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: #c9dcee; box-shadow: 0 16px 36px rgba(15, 34, 56, .12); }
.service-icon {
    width: 52px; height: 52px; margin-bottom: 18px;
    display: grid; place-items: center;
    color: var(--blue); background: #eaf3fa; border-radius: 12px; font-size: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.service-card > p { font-size: 14px; }
.service-card ul { margin: 16px 0 20px; }
.service-card li {
    position: relative; padding-left: 22px; margin-bottom: 8px;
    font-size: 14px; color: #3f4f60;
}
.service-card li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.text-link {
    margin-top: auto; font-size: 14px; font-weight: 600;
    color: var(--blue); text-decoration: none;
}
.text-link i { margin-left: 4px; transition: transform .2s ease; }
.text-link:hover i { transform: translateX(4px); }

/* Location */
.location { background: var(--soft); }
.map-wrap { overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }

/* Contact */
.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: stretch; }
.contact-info {
    padding: 34px; color: #fff; background: var(--navy); border-radius: var(--radius);
}
.contact-info h3 { color: #fff; font-size: 22px; font-weight: 600; margin-bottom: 8px; }
.contact-info > p { color: rgba(255, 255, 255, .75); font-size: 14px; }
.info-item {
    margin-top: 18px; display: flex; align-items: flex-start; gap: 14px;
    color: rgba(255, 255, 255, .85); text-decoration: none; font-size: 14px;
}
.info-item strong { display: block; color: #fff; font-size: 13px; font-weight: 600; }
.info-icon {
    width: 40px; height: 40px; flex: 0 0 40px;
    display: grid; place-items: center;
    background: rgba(255, 255, 255, .1); border-radius: 10px; color: #ffc48a;
}
.info-item:hover strong { color: #ffc48a; }
.social { margin-top: 26px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .15); }
.social > span { font-size: 13px; font-weight: 600; color: #fff; }
.social-icons { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 10px; }
.social-icons a {
    display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
    font-size: 13px; color: #fff; text-decoration: none;
    background: rgba(255, 255, 255, .1); border-radius: 8px; transition: background .2s ease;
}
.social-icons a:hover { background: var(--orange); }

.contact-form-box {
    padding: 34px; background: #fff; border: 1px solid var(--line);
    border-radius: var(--radius); box-shadow: var(--shadow);
}
.contact-form-box h3 { font-size: 22px; font-weight: 600; margin-bottom: 20px; }
.contact-form { display: grid; gap: 16px; }
.field label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 500; color: var(--navy-2); }
.contact-form input, .contact-form textarea {
    width: 100%; padding: 12px 14px;
    font-family: inherit; font-size: 14px; color: var(--ink);
    background: #f9fbfd; border: 1px solid #d5dee8; border-radius: 10px;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #9aa6b3; }
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; background: #fff; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(23, 105, 170, .12);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.form-message { min-height: 22px; text-align: center; font-size: 14px; font-weight: 500; }
.form-message.success { color: #12834b; }
.form-message.error { color: #c62828; }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); font-size: 14px; }
.footer-inner {
    padding: 28px 0; display: flex; flex-wrap: wrap;
    align-items: center; justify-content: space-between; gap: 18px;
}
.footer-brand { color: #fff; font-size: 16px; font-weight: 600; }
.site-footer p { margin: 0; color: rgba(255, 255, 255, .6); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-links a:hover { color: #ffc48a; text-decoration: underline; }
.copy { font-size: 13px; }

/* Scroll reveal */
.js-motion .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js-motion .reveal.is-visible { opacity: 1; transform: none; }

/* Responsive: tablet */
@media (max-width: 1000px) {
    .section { padding: 70px 0; }
    .gallery { grid-template-columns: repeat(2, 1fr); }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card:last-child { grid-column: 1 / -1; max-width: 560px; margin: 0 auto; width: 100%; }
}

/* Responsive: mobile */
@media (max-width: 800px) {
    .menu-toggle { display: inline-flex; }
    .nav-links {
        position: absolute; top: calc(100% + 6px); left: 20px; right: 20px;
        display: none; flex-direction: column; align-items: stretch; gap: 2px;
        padding: 10px; background: #fff; border: 1px solid var(--line);
        border-radius: 12px; box-shadow: var(--shadow);
    }
    .nav-links.is-open { display: flex; }
    .nav-links a { padding: 12px 14px; }
    .nav-links .nav-wa { margin: 6px 0 0; justify-content: center; }
    .contact-grid { grid-template-columns: 1fr; }
    .highlights { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .container { width: min(100% - 30px, var(--container)); }
    .section { padding: 60px 0; }
    .section-head { margin-bottom: 30px; }
    .hero { min-height: auto; padding: 120px 0 70px; }
    .hero-actions { flex-direction: column; width: min(100%, 320px); margin: 0 auto; }
    .hero-actions .btn { width: 100%; }
    .gallery { grid-template-columns: 1fr; gap: 14px; }
    .gallery-item { aspect-ratio: 16 / 10; }
    .service-grid { grid-template-columns: 1fr; }
    .service-card:last-child { max-width: none; }
    .map-wrap iframe { height: 300px; }
    .contact-info, .contact-form-box { padding: 24px; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

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

/* Mobile navigation and floating WhatsApp */
.nav-wrap { position: relative; }
.menu-toggle {
    position: relative;
    z-index: 2002;
    flex: 0 0 44px;
    padding: 0;
    line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
.menu-toggle:focus-visible {
    outline: 3px solid rgba(23, 105, 170, .35);
    outline-offset: 3px;
}
.floating-whatsapp {
    display: none;
}

@media (max-width: 800px) {
    .nav-wrap { gap: 12px; }
    .brand { flex: 0 1 auto; min-width: 0; }
    .brand img { width: 88px; height: 60px; }
    .menu-toggle { display: inline-flex; margin-left: auto; }

    .nav-links {
        z-index: 2001;
        max-height: calc(100vh - 90px);
        overflow-y: auto;
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    }
    .nav-links.is-open {
        display: flex;
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .floating-whatsapp {
        position: fixed;
        right: 18px;
        bottom: 18px;
        z-index: 1999;
        display: grid;
        place-items: center;
        width: 54px;
        height: 54px;
        color: #fff;
        background: #25d366;
        border: 2px solid #fff;
        border-radius: 50%;
        box-shadow: 0 6px 20px rgba(0, 0, 0, .22);
        font-size: 29px;
        text-decoration: none;
        transition: transform .2s ease, background .2s ease;
        -webkit-tap-highlight-color: transparent;
    }
    .floating-whatsapp:hover {
        background: #1ebe5a;
        transform: translateY(-3px);
    }
    .floating-whatsapp:focus-visible {
        outline: 3px solid rgba(37, 211, 102, .35);
        outline-offset: 3px;
    }
}

@media (max-width: 380px) {
    .container { width: calc(100% - 24px); }
    .brand img { width: 78px; }
    .menu-toggle { width: 42px; height: 42px; flex-basis: 42px; }
    .nav-links { left: 12px; right: 12px; }
    .floating-whatsapp { right: 14px; bottom: 14px; width: 50px; height: 50px; }
}

@media (prefers-reduced-motion: reduce) {
    .nav-links, .floating-whatsapp { transition: none; }
}
