:root {
    --primary: #1f4ed8;
    --secondary: #6d28d9;
    --text: #1f2937;
    --muted: #52607a;
    --bg: #ffffff;
    --bg-light: #f5f7ff;
    --border: #d9e0f0;
    --dark: #0f172a;
}

* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
}

img {
    max-width: 100%;
    border-radius: 14px;
    display: block;
}

a { color: inherit; text-decoration: none; }

.container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.93);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(9px);
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
}

.logo {
    font-family: 'DM Serif Display', serif;
    font-weight: 400;
    font-size: 1.4rem;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 48px;
    width: 300px;
    border-radius: 0;
}

.menu-toggle {
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    display: grid;
    gap: 4px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text);
    display: block;
}

.main-nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 4%;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.main-nav.is-open { display: flex; }
.main-nav a { padding: 8px 20px; font-weight: 500; }
.main-nav a.active { color: var(--secondary); }

.btn {
    display: inline-block;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
    color: #fff;
    border: 0;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover,
.btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(31, 78, 216, 0.26);
}

.btn-small { padding: 10px 14px; text-align: center; }
.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.hero {
    background: radial-gradient(circle at 12% 20%, rgba(96, 165, 250, 0.34), rgba(96, 165, 250, 0) 40%),
                radial-gradient(circle at 85% 25%, rgba(167, 139, 250, 0.34), rgba(167, 139, 250, 0) 34%),
                linear-gradient(125deg, #1f4ed8, #6d28d9);
    color: #fff;
    padding: 104px 0 96px;
}

.hero-home {
    min-height: min(88vh, 780px);
    display: grid;
    align-items: center;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.62), rgba(30, 58, 138, 0.36)),
                url('/assets/img/home/DSC03263.jpg');
    background-size: cover;
    background-position: center;
}

.hero-kicker {
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    color: #dbeafe;
}

.hero .btn-outline {
    color: #fff;
    border-color: #fff;
}

.hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); line-height: 1.2; margin: 0 0 14px; }
.hero p { max-width: 700px; margin: 0 0 24px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.section { padding: 64px 0; }
.section-light { background: var(--bg-light); }

.js .reveal-on-scroll {
    opacity: 0;
    transform: translateY(34px);
    filter: blur(2px);
    transition: opacity 0.72s ease, transform 0.72s ease, filter 0.72s ease;
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.js .reveal-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.split {
    display: grid;
    gap: 24px;
}

.split-highlight img {
    min-height: 300px;
    object-fit: cover;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.07);
}

.card h2,
.card h3 { margin-top: 0; }

.why-us p { margin-bottom: 12px; }
.icon-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.icon-list li {
    padding: 18px;
    border: 1px solid var(--border);
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.06);
    text-align: center;
}

.icon-list li p {
    margin: 0;
    font-weight: 600;
}

.feature-desc {
    margin-top: 10px !important;
    font-weight: 500 !important;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    margin: 0 auto 12px;
    color: #fff;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}

.why-us-cta {
    margin-top: 40px;
    justify-content: center;
}

.visit-us-grid {
    align-items: stretch;
}

.visit-us-grid .card,
.visit-us-grid .map-wrap {
    height: 100%;
}

.visit-us-grid .map-wrap iframe {
    height: 100%;
    min-height: 420px;
}

.feature-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.section-link {
    color: var(--primary);
    font-weight: 700;
}

.category-carousel {
    position: relative;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 14px;
    scrollbar-width: thin;
}

.carousel-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid #cbd5f4;
    background: rgba(255, 255, 255, 0.96);
    color: #1e3a8a;
    font-size: 1.2rem;
    font-weight: 700;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.14);
    z-index: 3;
}

.carousel-prev {
    left: 10px;
}

.carousel-next {
    right: 10px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    padding: 0;
    background: #c7d2fe;
    cursor: pointer;
}

.carousel-dot.is-active {
    width: 24px;
    background: linear-gradient(120deg, var(--primary), var(--secondary));
}

.category-card {
    min-width: min(290px, 82vw);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid #cfd7ef;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(31, 78, 216, 0.14);
}

.category-media {
    position: relative;
    min-height: 230px;
}

.category-media img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 0;
}

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: linear-gradient(120deg, #3b82f6, #7c3aed);
    color: #fff;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 700;
    padding: 7px 12px;
    border-radius: 999px;
}

.card-pill {
    position: absolute;
    left: 14px;
    bottom: 14px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e3a8a;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 999px;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.category-body {
    padding: 22px;
}

.category-body h3 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-family: 'DM Serif Display', serif;
    line-height: 1.06;
    color: #1e3a8a;
}

.category-body p {
    margin: 0;
    color: var(--muted);
}

.card-actions-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
}

.card-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 128px;
    min-height: 52px;
    border-radius: 999px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(120deg, #ff6a3d, #ffb100);
    color: #1f2937;
    box-shadow: 0 12px 20px rgba(245, 158, 11, 0.25);
}

.card-btn-secondary {
    margin-top: 14px;
    display: flex;
    width: 100%;
    justify-content: center;
    border: 1px solid #b4c6ec;
    color: #164e8a;
    border-radius: 14px;
    padding: 12px 14px;
    font-weight: 700;
}

.parallax-panel {
    position: relative;
    min-height: min(92vh, 820px);
    color: #fff;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 23, 42, 0.78), rgba(30, 58, 138, 0.38));
    display: grid;
    align-items: center;
}

.panel-content {
    max-width: 720px;
}

.panel-content h2 {
    margin: 0 0 12px;
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    line-height: 1.2;
}

.panel-content p {
    margin: 0 0 22px;
    font-size: 1.06rem;
}

.parallax-panel .btn-outline {
    color: #fff;
    border-color: #fff;
}

.parallax-panel-cta .parallax-overlay {
    background: linear-gradient(120deg, rgba(30, 58, 138, 0.82), rgba(109, 40, 217, 0.42));
}

.faq-list { display: grid; gap: 12px; }
.faq-item { border: 1px solid var(--border); border-radius: 12px; background: #fff; overflow: hidden; }
.faq-question {
    width: 100%;
    text-align: left;
    border: 0;
    background: #fff;
    color: var(--text);
    font-weight: 600;
    padding: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.faq-question::after {
    content: '+';
    color: var(--primary);
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 700;
    flex: 0 0 auto;
}

.faq-item.is-open .faq-question::after {
    content: '−';
}
.faq-answer { display: none; padding: 0 16px 16px; color: var(--muted); }
.faq-item.is-open .faq-answer { display: block; }

.page-intro p { max-width: 880px; }

.inner-hero {
    padding-top: 84px;
    padding-bottom: 70px;
}

.inner-hero h1 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: clamp(2rem, 4vw, 3rem);
}

.inner-hero p {
    max-width: 760px;
}

.inner-hero-services {
    background: linear-gradient(120deg, #f1f5ff, #eef2ff);
}

.inner-hero-contacts {
    background: linear-gradient(120deg, #f3f4ff, #ecfeff);
}

.service-grid {
    display: grid;
    gap: 18px;
}

.service-tile {
    position: relative;
    overflow: hidden;
}

.service-icon {
    font-size: 1.45rem;
    display: inline-block;
    width: 48px;
    height: 48px;
    text-align: center;
    line-height: 48px;
    border-radius: 12px;
    background: #eef3ff;
    margin-bottom: 10px;
}

.service-label {
    margin: 0 0 8px;
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: #4f5f8b;
}

.service-tile h3 {
    margin: 0 0 8px;
}

.steps-grid {
    display: grid;
    gap: 18px;
}

.step-box {
    border-radius: 18px;
}

.step-number {
    margin: 0 0 10px;
    color: #5b63db;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.step-box h3 {
    margin: 0 0 8px;
}

.cta-box-strong {
    background: linear-gradient(145deg, #ffffff, #f2f5ff);
    box-shadow: 0 16px 34px rgba(59, 91, 219, 0.12);
}

.cta-center {
    justify-content: center;
}

.service-strip {
    padding-top: 34px;
    padding-bottom: 40px;
}

.service-strip-inner {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px 16px;
    background: #fff;
}

.service-strip-inner p {
    margin: 0;
    color: var(--muted);
}

.quick-contact-grid {
    display: grid;
    gap: 18px;
}

.quick-contact-item h2 {
    margin-top: 0;
    margin-bottom: 8px;
}

.quick-contact-item p {
    margin-top: 0;
}

.quick-contact-item .section-link {
    display: inline-block;
    margin-top: 8px;
}

.contact-main-grid .card {
    border-radius: 18px;
}

.contact-main-grid {
    align-items: stretch;
}

.contact-main-grid .card {
    height: 100%;
}

.contact-main-grid .contact-form {
    height: 100%;
}

.map-grid {
    display: grid;
    gap: 18px;
    align-items: center;
}

.contacts-grid {
    display: grid;
    gap: 18px;
}

.contact-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.contact-form {
    display: grid;
    gap: 10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus,
.faq-question:focus,
.menu-toggle:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.checkbox-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.45;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.honeypot {
    position: absolute;
    left: -9999px;
}

.form-status {
    border-radius: 10px;
    padding: 10px 12px;
    margin-top: 0;
}

.is-success {
    background: #dcfce7;
    color: #166534;
}

.is-error {
    background: #fee2e2;
    color: #991b1b;
}

.map-wrap iframe {
    width: 100%;
    min-height: 280px;
    border: 0;
    border-radius: 14px;
}

.contact-image {
    margin-top: 16px;
    max-height: 240px;
    object-fit: cover;
    width: 100%;
}

.cta-box {
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 30px;
    background: #fff;
}

.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 52px 0 24px;
}

.site-footer h2 {
    font-size: 1rem;
    margin-top: 0;
}

.site-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
}

.footer-grid {
    display: grid;
    gap: 18px;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 16px;
    margin-top: 20px;
    text-align: center;
}

.whatsapp-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: #22c55e;
    color: #fff;
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
    z-index: 200;
}

.site-footer a {
    color: #d9e5ea;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #bfdbfe;
}

@media (min-width: 768px) {
    .main-nav {
        position: static;
        padding: 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        border: 0;
        gap: 20px;
        background: transparent;
    }

    .menu-toggle { display: none; }
    .split { grid-template-columns: 1.15fr .85fr; align-items: center; }
    .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
    .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .icon-list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .steps-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .quick-contact-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .map-grid { grid-template-columns: 0.9fr 1.1fr; }

    .category-card {
        min-width: calc((100% - 32px) / 3);
    }
}

@media (max-width: 900px) {
    .parallax-panel {
        min-height: 74vh;
        background-attachment: scroll;
    }

    .section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .carousel-arrow {
        width: 38px;
        height: 38px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .js .reveal-on-scroll {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }
}
