:root {
    --navy: #0b1f3a;
    --navy-light: #152c4f;
    --lexmat-blue: #1f4b99;
    --lexmat-red: #d12c2c;
    --white: #ffffff;
    --off-white: #f4f7f9;
    --text-dark: #2d3748;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

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

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--navy);
    line-height: 1.2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Refined Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.25s ease, color 0.25s ease,
                transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-main);
    letter-spacing: 0.4px;
}

.btn-primary {
    background-color: var(--lexmat-blue);
    color: var(--white);
    border-color: var(--lexmat-blue);
    box-shadow: 0 5px 14px rgba(31, 75, 153, 0.18);
}

.btn-primary:hover {
    background-color: var(--navy);
    border-color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(11, 31, 58, 0.22);
}

.btn-outline {
    background-color: transparent;
    color: var(--navy);
    border-color: var(--navy);
}

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

.w-100 {
    width: 100%;
}

/* Header */
.site-header {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 3px 18px rgba(11, 31, 58, 0.07);
    backdrop-filter: blur(12px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.client-logo {
    display: block;
    height: 62px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    color: var(--navy);
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    transition: color 0.25s ease;
    position: relative;
}

.main-nav a:hover {
    color: var(--lexmat-blue);
}

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

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    isolation: isolate;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 22, 43, 0.94) 0%,
            rgba(11, 31, 58, 0.82) 42%,
            rgba(11, 31, 58, 0.32) 100%
        );
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 760px;
    padding-top: 45px;
    padding-bottom: 65px;
}

.hero .subtitle {
    color: #a9c7ff;
    font-weight: 700;
    letter-spacing: 3.5px;
    font-size: 12px;
    display: block;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(44px, 5.5vw, 70px);
    color: var(--white);
    line-height: 1.08;
    letter-spacing: -1.5px;
    margin-bottom: 25px;
    max-width: 720px;
}

.hero p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 36px;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 400;
    max-width: 570px;
}

.hero-buttons {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.hero .btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.8);
}

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

/* Hero Badge */
.hero-badge {
    position: absolute;
    bottom: 38px;
    right: 45px;
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    padding: 18px 30px;
    transform: rotate(-2deg);
    z-index: 2;
    text-align: center;
    border-radius: 5px;
}

.hero-badge span {
    display: block;
    color: var(--white);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2.5px;
}

.hero-badge .script-text {
    font-family: var(--font-heading);
    font-size: 27px;
    color: #a9c7ff;
    text-transform: none;
    font-style: italic;
}
/* Sections */
.section { padding: 100px 0; }
.bg-light { background-color: var(--off-white); }
.bg-navy { 
    background-color: var(--navy); 
    color: var(--white); 
    background-image: radial-gradient(circle at 10% 20%, rgba(31, 75, 153, 0.3) 0%, transparent 40%);
}
.bg-navy h2 { color: var(--white); }
.text-center { text-align: center; }

.section-label {
    display: block;
    color: var(--lexmat-blue);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 3px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 42px;
    margin-bottom: 16px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 18px;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    align-items: stretch;
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 260px;
    padding: 34px 28px;
    background: linear-gradient(145deg, #ffffff 0%, #f8faff 100%);
    border: 1px solid rgba(31, 75, 153, 0.08);
    border-bottom: 4px solid transparent;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(11, 31, 58, 0.06);
    text-align: left;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(31, 75, 153, 0.045), transparent 65%);
    pointer-events: none;
}

.service-card > * {
    position: relative;
    z-index: 1;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(11, 31, 58, 0.12);
    border-bottom-color: var(--lexmat-blue);
}

.service-card .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 66px;
    height: 66px;
    margin-bottom: 24px;
    border-radius: 12px;
    background: rgba(31, 75, 153, 0.08);
    font-size: 36px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .icon {
    transform: scale(1.06);
    background: rgba(31, 75, 153, 0.13);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-family: var(--font-main);
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
}

.service-card p {
    margin-top: auto;
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
}

/* About */
.about-section {
    background: linear-gradient(180deg, #f4f7f9 0%, #ffffff 100%);
}

.about-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr 1.2fr;
    gap: 38px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    display: block;
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.16);
}

.about-content {
    min-width: 0;
}

.about-content .section-title {
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
}

.about-content .btn {
    margin-top: 24px;
}

.advantages-box {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
    padding: 36px 26px;
    background-color: var(--navy);
    background-image: radial-gradient(circle at 90% 90%, rgba(31, 75, 153, 0.45) 0%, transparent 55%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(11, 31, 58, 0.18);
}

.adv-item {
    text-align: center;
    color: var(--white);
}

.adv-icon {
    margin-bottom: 14px;
    font-size: 34px;
    line-height: 1;
}

.adv-item h4 {
    margin-bottom: 8px;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.adv-item p {
    color: #b7c4d5;
    font-size: 13px;
    line-height: 1.6;
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 64px;
    align-items: center;
}

.contact-text {
    max-width: 540px;
}

.contact-text .section-label {
    color: #a9c5f5;
}

.contact-text .section-title {
    color: var(--white);
    margin-bottom: 22px;
    line-height: 1.2;
}

.contact-text p {
    color: #cbd5e0;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 28px;
}

.contact-details {
    margin-top: 30px;
}

.contact-details p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 12px;
    overflow-wrap: anywhere;
}

.contact-details a:not(.btn) {
    color: var(--white);
    text-decoration: none;
    transition: color 0.25s ease;
}

.contact-details a:not(.btn):hover {
    color: #a9c5f5;
}

.contact-form-area {
    width: 100%;
}

.contact-form {
    width: 100%;
    background: var(--white);
    padding: 42px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
}

.form-group {
    margin-bottom: 22px;
}

.form-group label {
    display: block;
    margin-bottom: 9px;
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
    display: block;
    width: 100%;
    min-height: 50px;
    padding: 13px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 14px;
    color: var(--text-dark);
    background: #f8fafc;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-group textarea {
    min-height: 110px;
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #94a3b8;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--lexmat-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(31, 75, 153, 0.12);
}

.contact-form .btn {
    min-height: 52px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .contact-text {
        max-width: 680px;
    }

    .contact-form {
        padding: 36px;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        gap: 32px;
    }

    .contact-form {
        padding: 26px 22px;
        border-radius: 12px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .contact-details p {
        font-size: 14px;
    }
}
/* Footer */
.site-footer {
    background-color: #061428;
    color: #a0aec0;
    padding: 30px 0;
    font-size: 14px;
}

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

.footer-links a {
    color: #a0aec0;
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}

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

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.floating-whatsapp:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive */
@media (max-width: 1100px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .about-image {
        grid-column: 1;
    }

    .about-content {
        grid-column: 2;
    }

    .advantages-box {
        grid-column: 1 / -1;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 48px;
    }

    .about-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }

    .about-image {
        grid-column: 1;
    }

    .about-content {
        grid-column: 2;
    }

    .about-image img {
        height: 360px;
    }

    .advantages-box {
        grid-column: 1 / -1;
    }

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

    .hero-badge {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 14px 22px;
        width: 100%;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-title {
        font-size: 32px;
    }

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

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-image,
    .about-content,
    .advantages-box {
        grid-column: 1;
    }

    .about-image img {
        height: 340px;
    }

    .advantages-box {
        padding: 30px 22px;
        gap: 26px 16px;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links a {
        margin: 0 10px;
    }

    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
}
/* Contact directions button */
.directions-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    gap: 8px;
}

/* Accessibility: visible keyboard focus indicators */
:focus-visible {
    outline: 3px solid var(--lexmat-blue);
    outline-offset: 3px;
}

/* Preserve a clear focus outline on form controls */
.form-group input:focus-visible,
.form-group select:focus-visible,
.form-group textarea:focus-visible {
    outline: 3px solid var(--lexmat-blue);
    outline-offset: 2px;
}
