/* ===================================
   Hope Financial Group — Styles
   =================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-deep: #4A1D40;
    --plum: #6B2F5B;
    --plum-light: #8B4578;
    --plum-lighter: #B8698A;
    --plum-pale: #F3E5F0;
    --plum-bg: #FDF5FA;

    --amber: #F5A623;
    --amber-light: #FFD166;
    --amber-dark: #D4891A;
    --amber-pale: #FFF3DC;

    --white: #FFFFFF;
    --off-white: #FAFAFA;
    --gray-50: #F9F9F9;
    --gray-100: #F3F3F3;
    --gray-200: #E5E5E5;
    --gray-300: #CCCCCC;
    --gray-500: #777777;
    --gray-700: #3D3D3D;
    --gray-900: #1A1A1A;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(107, 47, 91, 0.08);
    --shadow-md: 0 4px 16px rgba(107, 47, 91, 0.10);
    --shadow-lg: 0 8px 32px rgba(107, 47, 91, 0.12);
    --shadow-xl: 0 16px 48px rgba(107, 47, 91, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

ul {
    list-style: none;
}

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

/* --- Typography --- */
.text-gradient {
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 50%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-light {
    background: linear-gradient(135deg, var(--amber-light) 0%, var(--amber) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(107, 47, 91, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(107, 47, 91, 0.4);
    background: linear-gradient(135deg, var(--plum-deep) 0%, var(--plum) 100%);
}

.btn-secondary {
    background: var(--white);
    color: var(--plum);
    border: 2px solid var(--plum);
}

.btn-secondary:hover {
    background: var(--plum-pale);
    transform: translateY(-2px);
}

.btn-light {
    background: var(--white);
    color: var(--plum);
    box-shadow: var(--shadow-md);
}

.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: 1rem;
}

/* --- Section Tags --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--amber-dark);
    background: var(--amber-pale);
    padding: 6px 14px;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-header-center {
    text-align: center;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Navigation --- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 47, 91, 0.08);
    transition: all 0.3s ease;
}

.nav.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--plum);
}

.nav-logo-icon {
    color: var(--plum);
}

.nav-logo:hover {
    color: var(--plum-deep);
}

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--amber);
    transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: var(--radius-xl);
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(107, 47, 91, 0.3);
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--plum);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
    background: linear-gradient(160deg, var(--plum-bg) 0%, var(--white) 40%, var(--amber-pale) 100%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--plum);
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
    margin-bottom: 24px;
    border: 1px solid var(--plum-pale);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--gray-900);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Floating Stat Cards */
.hero-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(107, 47, 91, 0.06);
}

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

.stat-card-1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.stat-card-2 {
    animation: floatCard2 6s ease-in-out infinite;
    animation-delay: -2s;
}

.stat-card-3 {
    animation: floatCard3 6s ease-in-out infinite;
    animation-delay: -4s;
}

.stat-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    border-radius: 4px 0 0 4px;
}

.stat-card-1 .stat-card-accent {
    background: linear-gradient(180deg, var(--plum) 0%, var(--plum-light) 100%);
}

.stat-card-2 .stat-card-accent {
    background: linear-gradient(180deg, var(--amber) 0%, var(--amber-light) 100%);
}

.stat-card-3 .stat-card-accent {
    background: linear-gradient(180deg, var(--plum-light) 0%, var(--amber) 100%);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--plum);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.4;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* Geometric Decorations */
.geo {
    position: absolute;
    pointer-events: none;
}

.geo-circle-1 {
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 47, 91, 0.06) 0%, transparent 70%);
    top: -100px;
    right: -100px;
}

.geo-square-1 {
    width: 120px;
    height: 120px;
    background: var(--amber);
    opacity: 0.08;
    border-radius: var(--radius-lg);
    top: 200px;
    right: 40px;
    transform: rotate(45deg);
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 104px solid rgba(107, 47, 91, 0.06);
    top: 350px;
    left: 50px;
    transform: rotate(-15deg);
}

.geo-circle-2 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--plum);
    opacity: 0.04;
    bottom: 100px;
    left: 30%;
}

.geo-dots {
    width: 100px;
    height: 100px;
    background-image: radial-gradient(circle, var(--plum) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: 0.15;
    bottom: 200px;
    right: 10%;
}

/* --- Services --- */
.services {
    padding: 120px 0;
    position: relative;
    background: var(--white);
}

.geo-service-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--amber) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.2;
    top: 80px;
    right: 40px;
    position: absolute;
}

.section-header {
    margin-bottom: 64px;
}

.section-header .section-subtitle {
    margin: 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--plum) 0%, var(--amber) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover {
    border-color: var(--plum-pale);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-highlight {
    background: linear-gradient(160deg, var(--plum) 0%, var(--plum-light) 100%);
    border-color: transparent;
    color: var(--white);
}

.service-card-highlight::before {
    background: linear-gradient(90deg, var(--amber) 0%, var(--amber-light) 100%);
}

.service-card-highlight:hover {
    box-shadow: 0 16px 48px rgba(107, 47, 91, 0.3);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-pale);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: var(--plum);
}

.service-card-highlight .service-icon {
    background: rgba(255, 255, 255, 0.15);
    color: var(--amber-light);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 12px;
}

.service-card-highlight h3 {
    color: var(--white);
}

.service-card p {
    font-size: 0.92rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.7;
}

.service-card-highlight p {
    color: rgba(255, 255, 255, 0.8);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--gray-500);
}

.service-card-highlight .service-features li {
    color: rgba(255, 255, 255, 0.75);
}

.service-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--amber);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- About --- */
.about {
    padding: 120px 0;
    background: var(--gray-50);
    position: relative;
    overflow: hidden;
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--amber);
    opacity: 0.15;
    border-radius: var(--radius-xl);
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    bottom: 30px;
    left: -30px;
    background: linear-gradient(135deg, var(--plum) 0%, var(--plum-light) 100%);
    color: var(--white);
    padding: 20px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.about-experience-badge .exp-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    color: var(--amber-light);
}

.about-experience-badge .exp-label {
    font-size: 0.8rem;
    opacity: 0.85;
    margin-top: 4px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-text {
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.value-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-pale);
    border-radius: var(--radius-sm);
    color: var(--plum);
    flex-shrink: 0;
}

.value-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.value-item span {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* --- Why Us --- */
.why-us {
    padding: 120px 0;
    background: linear-gradient(160deg, var(--plum) 0%, var(--plum-deep) 100%);
    position: relative;
    overflow: hidden;
}

.geo-why-circle {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    top: -200px;
    left: -200px;
    position: absolute;
}

.why-us .section-tag {
    background: rgba(255, 255, 255, 0.12);
    color: var(--amber-light);
}

.why-us .section-title {
    color: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    gap: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.why-card-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--amber);
    opacity: 0.4;
    line-height: 1;
    flex-shrink: 0;
}

.why-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.why-card-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

/* --- Testimonials --- */
.testimonials {
    padding: 120px 0;
    background: var(--white);
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    border-color: var(--plum-pale);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.testimonial-quote {
    color: var(--plum);
    opacity: 0.2;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    color: var(--plum-light);
    opacity: 0.6;
}

.author-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-900);
}

.author-detail {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* --- CTA Section --- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(160deg, var(--amber-pale) 0%, var(--plum-pale) 100%);
    position: relative;
    overflow: hidden;
}

.geo-cta-dots {
    width: 150px;
    height: 150px;
    background-image: radial-gradient(circle, var(--plum) 2px, transparent 2px);
    background-size: 24px 24px;
    opacity: 0.1;
    bottom: 40px;
    right: 60px;
}

.cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 64px 56px;
    box-shadow: var(--shadow-xl);
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.05rem;
    color: var(--gray-500);
    line-height: 1.7;
    max-width: 500px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* --- Contact --- */
.contact {
    padding: 120px 0;
    background: var(--gray-50);
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 36px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--plum-pale);
    border-radius: var(--radius-sm);
    color: var(--plum);
    flex-shrink: 0;
}

.contact-detail strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gray-900);
    margin-bottom: 2px;
}

.contact-detail span {
    font-size: 0.88rem;
    color: var(--gray-500);
    line-height: 1.5;
}

.contact-detail a {
    color: var(--plum);
}

.contact-detail a:hover {
    color: var(--plum-light);
    text-decoration: underline;
}

.contact-form-wrap {
    position: relative;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
}

.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 6px;
}

.form-subtitle {
    font-size: 0.88rem;
    color: var(--gray-500);
    margin-bottom: 28px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--gray-700);
    background: var(--white);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--plum);
    box-shadow: 0 0 0 3px rgba(107, 47, 91, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-300);
}

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

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.show {
    display: block;
}

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background: var(--plum-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--plum);
}

.form-success h4 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.9rem;
    color: var(--gray-500);
}

/* --- Footer --- */
.footer {
    background: var(--gray-900);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-logo-icon {
    color: var(--amber);
}

.footer-desc {
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul,
.footer-contact ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    transition: color 0.3s ease;
}

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

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
}

.footer-contact a:hover {
    color: var(--amber);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    font-size: 0.82rem;
}

.footer-disclaimer {
    font-size: 0.78rem;
    opacity: 0.6;
}

/* --- Animations --- */
[data-aos] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-cards {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-card {
        flex: 1;
        min-width: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .about-experience-badge {
        left: 20px;
    }

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

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        grid-template-columns: 1fr;
        padding: 48px 36px;
        text-align: center;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    .contact-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        border-top: 1px solid var(--gray-200);
    }

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

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
        min-height: auto;
    }

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

    .stat-card {
        min-width: 100%;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 2rem;
    }

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

    .btn {
        justify-content: center;
    }

    .contact-form-card {
        padding: 24px;
    }

    .cta-card {
        padding: 32px 24px;
    }
}
