/* Variables */
:root {
    --color-navy: #0A1A3A;
    --color-white: #FFFFFF;
    --color-gold: #C4A267;
    --color-gray: #F5F5F7;
    --color-dark-gray: #1A1A1A;
    --color-teal: #1B4B66;
    --color-accent: #2E4A7D;

    --font-stack: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

    --padding-section: 120px 0;
    --max-width-container: 1320px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --radius: 12px;
}

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

body {
    font-family: var(--font-stack);
    line-height: 1.8;
    color: var(--color-dark-gray);
    background-color: var(--color-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--color-navy);
    transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

/* Utility Classes */
.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--padding-section);
}

.section__title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--color-navy);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.03em;
}

.text-gold {
    color: var(--color-gold);
}

.font-bold {
    font-weight: 600;
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

[data-animate] {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
    will-change: transform, opacity;
}

[data-animate="scale"] {
    animation: scaleIn 0.6s ease-out forwards;
}

.section__title { animation-delay: 0.1s; }
.service__item:nth-child(1) { animation-delay: 0.2s; }
.service__item:nth-child(2) { animation-delay: 0.3s; }
.service__item:nth-child(3) { animation-delay: 0.4s; }
.testimonial__item:nth-child(1) { animation-delay: 0.2s; }
.testimonial__item:nth-child(2) { animation-delay: 0.3s; }
.contact__text { animation-delay: 0.2s; }
.contact__link { animation-delay: 0.3s; }

/* Header */
.header {
    background: linear-gradient(180deg, var(--color-navy) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    padding: 24px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.header__logo {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--color-white);
}

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

.header__nav-link {
    color: var(--color-white);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    display: inline-block;
}

.header__nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.4s ease;
}

.header__nav-link:hover::after,
.header__nav-link:focus::after {
    width: 100%;
}

.header__nav-link:hover,
.header__nav-link:focus {
    color: var(--color-gold);
    transform: translateY(-2px);
    outline: none;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-teal) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 160px 24px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,224L80,213.3C160,203,320,181,480,181.3C640,181,800,203,960,224C1120,245,1280,267,1360,277.3L1440,288L1440,320L1360,320C1280,320,1120,320,960,320C800,320,640,320,480,320C320,320,160,320,80,320L0,320Z"></path></svg>') bottom center no-repeat;
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.hero__title {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    max-width: 1000px;
    margin: 0 auto 24px;
    line-height: 1.2;
}

.hero__subtitle {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 32px;
    opacity: 0.9;
}

.hero__cta {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-white);
    background: var(--color-gold);
    padding: 12px 32px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta:hover,
.hero__cta:focus {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    outline: none;
}

/* About Section */
.about {
    background-color: var(--color-gray);
    text-align: center;
    position: relative;
}

.about__text {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.9;
}

/* Services Section */
.services {
    background-color: var(--color-white);
}

.services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.service__item {
    background: var(--color-white);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
}

.service__item:hover,
.service__item:focus-within {
    transform: translateY(-12px);
    box-shadow: var(--shadow-hover);
}

.service__icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 24px;
}

.service__icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--color-gold);
    transition: stroke 0.3s ease, transform 0.3s ease;
}

.service__item:hover .service__icon svg,
.service__item:focus-within .service__icon svg {
    stroke: var(--color-teal);
    transform: scale(1.15);
}

.service__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.service__intro {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 12px;
}

.service__text {
    font-size: 1rem;
    color: var(--color-dark-gray);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--color-gray);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.testimonial__item {
    background: var(--color-white);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.4s ease;
}

.testimonial__item:hover,
.testimonial__item:focus-within {
    transform: translateY(-8px);
}

.testimonial__quote {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--color-dark-gray);
}

.testimonial__author {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-navy);
}

/* Contact Section */
.contact {
    background-color: var(--color-white);
    text-align: center;
}

.contact__text {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 24px;
}

.contact__link {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    background: linear-gradient(90deg, var(--color-teal) 0%, var(--color-navy) 100%);
    padding: 16px 40px;
    border-radius: var(--radius);
    display: inline-block;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact__link:hover,
.contact__link:focus {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    outline: none;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--color-teal) 0%, var(--color-navy) 100%);
    color: var(--color-white);
    text-align: center;
    padding: 48px 24px;
    font-size: 0.9rem;
}

.footer__container {
    max-width: 600px;
    margin: 0 auto;
}

.footer__text {
    margin-bottom: 12px;
}

.footer__link {
    color: var(--color-white);
    font-weight: 500;
}

.footer__link:hover,
.footer__link:focus {
    color: var(--color-gold);
    transform: translateY(-2px);
    outline: none;
}

/* Media Queries */
@media (min-width: 768px) {
    .hero__title {
        font-size: 4rem;
    }

    .services__grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    }

    .testimonials__grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (min-width: 992px) {
    .hero {
        padding: 200px 24px;
    }

    .hero__title {
        font-size: 4.5rem;
    }

    .services__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .section__title {
        font-size: 3rem;
    }
}

@media (min-width: 1440px) {
    .container {
        max-width: 1400px;
    }
}