/* ============================================
   Blooming Lotus Counseling — Custom Styles
   ============================================ */

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

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

body {
    line-height: 1.7;
    color: #12293c;
    background-color: #fef9f0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Section --- */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 64px;
}

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

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d68c23;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #fdf8eb 0%, #f9ecce 100%);
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(214, 140, 35, 0.2);
}

.section-tag::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #d68c23;
}

.section-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 600;
    color: #091822;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #2d5a7b;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, #d68c23 0%, #c47518 100%);
    color: #091822;
    border-color: #d68c23;
    box-shadow: 0 4px 20px rgba(214, 140, 35, 0.35);
}

.btn--primary:hover {
    background: linear-gradient(135deg, #e0a43d 0%, #d68c23 100%);
    border-color: #e0a43d;
    box-shadow: 0 6px 28px rgba(214, 140, 35, 0.45);
    transform: translateY(-2px);
}

.btn--ghost {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
}

.btn--navy {
    background: linear-gradient(135deg, #1b3a51 0%, #091822 100%);
    color: #f0f4f8;
    border-color: #1b3a51;
    box-shadow: 0 4px 20px rgba(9, 24, 34, 0.3);
}

.btn--navy:hover {
    background: linear-gradient(135deg, #244a66 0%, #1b3a51 100%);
    border-color: #244a66;
    box-shadow: 0 6px 28px rgba(9, 24, 34, 0.4);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: #1b3a51;
    border-color: #1b3a51;
}

.btn--outline:hover {
    background: #1b3a51;
    color: #f0f4f8;
    transform: translateY(-2px);
}

.btn--large {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* --- Navigation --- */
.nav-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(254, 249, 240, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(27, 58, 81, 0.08);
    box-shadow: 0 2px 20px rgba(9, 24, 34, 0.06);
    transition: all 0.3s ease;
}

.nav-scrolled .nav-logo-text {
    color: #091822;
}

.nav-scrolled .nav-link {
    color: #2d5a7b;
}

.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: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo-icon {
    color: #d68c23;
}

.nav-logo-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #091822;
    transition: color 0.3s ease;
}

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

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #2d5a7b;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d68c23;
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: #d68c23;
}

.nav-link--cta {
    background: linear-gradient(135deg, #1b3a51 0%, #091822 100%);
    color: #f0f4f8 !important;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
}

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

.nav-link--cta:hover {
    background: linear-gradient(135deg, #244a66 0%, #1b3a51 100%);
    color: #f0f4f8 !important;
    transform: translateY(-1px);
}

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

.nav-toggle-line {
    width: 24px;
    height: 2px;
    background: #1b3a51;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(160deg, #091822 0%, #1b3a51 40%, #244a66 70%, #2d5a7b 100%);
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: radial-gradient(circle at 25% 25%, #eabf6a 1px, transparent 1px),
                      radial-gradient(circle at 75% 75%, #eabf6a 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(234, 191, 106, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(45, 90, 123, 0.4) 0%, transparent 60%);
}

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

.hero-content {
    max-width: 560px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(234, 191, 106, 0.15);
    color: #eabf6a;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 8px 18px;
    border-radius: 100px;
    border: 1px solid rgba(234, 191, 106, 0.25);
    margin-bottom: 28px;
}

.hero-headline {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(2rem, 4.5vw, 3.2rem);
    font-weight: 600;
    color: #f0f4f8;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subheadline {
    font-size: 1.1rem;
    color: #a8bdd4;
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 480px;
}

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

/* Hero Cards */
.hero-cards {
    position: relative;
    height: 420px;
}

.hero-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-card--main {
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.hero-card--float {
    width: 200px;
}

.hero-card--1 {
    top: 60px;
    right: 0;
    animation: float1 6s ease-in-out infinite;
}

.hero-card--2 {
    bottom: 80px;
    left: -20px;
    animation: float2 7s ease-in-out infinite;
}

.hero-card--3 {
    bottom: 0;
    right: 20px;
    animation: float3 5.5s ease-in-out infinite;
}

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

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

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

.hero-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #1b3a51 0%, #244a66 100%);
    color: #eabf6a;
    margin-bottom: 12px;
}

.hero-card-icon--gold {
    background: linear-gradient(135deg, #d68c23 0%, #c47518 100%);
    color: #091822;
}

.hero-card-stat {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #091822;
    line-height: 1.2;
}

.hero-card-label {
    font-size: 0.78rem;
    color: #2d5a7b;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 4px;
}

/* Hero Wave */
.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    color: #fef9f0;
}

/* --- Services --- */
.services {
    background: #fef9f0;
}

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

.service-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(27, 58, 81, 0.06);
    box-shadow: 0 2px 12px rgba(9, 24, 34, 0.04);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(9, 24, 34, 0.1);
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(27, 58, 81, 0.08) 0%, rgba(45, 90, 123, 0.08) 100%);
    color: #1b3a51;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #091822;
    margin-bottom: 10px;
}

.service-desc {
    font-size: 0.92rem;
    color: #2d5a7b;
    line-height: 1.7;
}

/* --- About --- */
.about {
    background: #ffffff;
}

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

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

.about-image {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 16px 50px rgba(9, 24, 34, 0.12);
}

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

.about-image-accent {
    position: absolute;
    top: -16px;
    left: -16px;
    width: 100px;
    height: 100px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(214, 140, 35, 0.2) 0%, rgba(234, 191, 106, 0.1) 100%);
    z-index: -1;
}

.about-floating-card {
    position: absolute;
    bottom: -24px;
    right: -24px;
    background: linear-gradient(135deg, #1b3a51 0%, #091822 100%);
    color: #f0f4f8;
    padding: 20px 28px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(9, 24, 34, 0.25);
}

.about-floating-stat {
    font-family: 'Lora', Georgia, serif;
    font-size: 2rem;
    font-weight: 700;
    color: #eabf6a;
    line-height: 1;
}

.about-floating-label {
    font-size: 0.8rem;
    color: #a8bdd4;
    margin-top: 4px;
}

.about-content {
    max-width: 520px;
}

.about-text {
    font-size: 1rem;
    color: #2d5a7b;
    line-height: 1.8;
    margin-bottom: 16px;
}

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

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

.about-value-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(214, 140, 35, 0.12) 0%, rgba(234, 191, 106, 0.08) 100%);
    color: #c47518;
}

.about-value-title {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: #091822;
    margin-bottom: 2px;
}

.about-value-desc {
    font-size: 0.88rem;
    color: #2d5a7b;
    line-height: 1.6;
}

/* --- Approach --- */
.approach {
    background: linear-gradient(180deg, #fef9f0 0%, #f5efe3 100%);
}

.approach-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.approach-step {
    text-align: center;
    padding: 0 16px;
    position: relative;
}

.approach-step-number {
    font-family: 'Lora', Georgia, serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(214, 140, 35, 0.2);
    line-height: 1;
    margin-bottom: 16px;
}

.approach-step-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #091822;
    margin-bottom: 8px;
}

.approach-step-desc {
    font-size: 0.88rem;
    color: #2d5a7b;
    line-height: 1.7;
}

.approach-step-connector {
    position: absolute;
    top: 36px;
    right: -12px;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, rgba(214, 140, 35, 0.4), rgba(214, 140, 35, 0.1));
}

.approach-step:last-child .approach-step-connector {
    display: none;
}

/* --- Testimonials --- */
.testimonials {
    background: #ffffff;
}

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

.testimonial-card {
    background: linear-gradient(135deg, #fef9f0 0%, #f9f3e6 100%);
    border-radius: 20px;
    padding: 36px 28px;
    border: 1px solid rgba(214, 140, 35, 0.1);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(9, 24, 34, 0.08);
}

.testimonial-quote-mark {
    font-family: 'Lora', Georgia, serif;
    font-size: 4rem;
    font-weight: 700;
    color: #eabf6a;
    line-height: 1;
    margin-bottom: -8px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #1b3a51;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #d68c23;
}

/* --- CTA --- */
.cta {
    position: relative;
    background: linear-gradient(160deg, #091822 0%, #1b3a51 60%, #244a66 100%);
    overflow: hidden;
    padding: 100px 0;
}

.cta-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: radial-gradient(circle at 20% 50%, #eabf6a 1px, transparent 1px),
                      radial-gradient(circle at 80% 50%, #eabf6a 1px, transparent 1px);
    background-size: 50px 50px;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 600;
    color: #f0f4f8;
    line-height: 1.25;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.05rem;
    color: #a8bdd4;
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.85rem;
    color: #7c9abd;
}

/* --- Contact --- */
.contact {
    background: #fef9f0;
}

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

.contact-text {
    font-size: 1rem;
    color: #2d5a7b;
    line-height: 1.8;
    margin-bottom: 32px;
}

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

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

.contact-detail-icon {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(27, 58, 81, 0.08) 0%, rgba(45, 90, 123, 0.08) 100%);
    color: #1b3a51;
}

.contact-detail-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d68c23;
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.95rem;
    color: #1b3a51;
    line-height: 1.6;
}

.contact-detail-link {
    color: #1b3a51;
    text-decoration: underline;
    text-decoration-color: rgba(214, 140, 35, 0.3);
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.contact-detail-link:hover {
    color: #d68c23;
    text-decoration-color: #d68c23;
}

/* Contact Form */
.contact-form-wrapper {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 8px 40px rgba(9, 24, 34, 0.06);
    border: 1px solid rgba(27, 58, 81, 0.06);
}

.contact-form-title {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #091822;
    margin-bottom: 28px;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #1b3a51;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid rgba(27, 58, 81, 0.12);
    border-radius: 12px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #1b3a51;
    background: #fef9f0;
    transition: all 0.3s ease;
    outline: none;
}

.form-input::placeholder {
    color: #a8bdd4;
}

.form-input:focus {
    border-color: #d68c23;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(214, 140, 35, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(27, 58, 81, 0.06) 0%, rgba(45, 90, 123, 0.06) 100%);
    border-radius: 12px;
    color: #1b3a51;
    font-weight: 500;
    margin-top: 16px;
}

.form-success svg {
    color: #d68c23;
    flex-shrink: 0;
}

/* --- Map --- */
.map-section {
    background: #1b3a51;
}

.map-container {
    border-radius: 0;
    overflow: hidden;
}

/* --- Footer --- */
.footer {
    background: #091822;
    color: #a8bdd4;
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(168, 189, 212, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-text {
    font-family: 'Lora', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #f0f4f8;
}

.footer-tagline {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #7c9abd;
    max-width: 280px;
}

.footer-heading {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #eabf6a;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: #7c9abd;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #eabf6a;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.88rem;
    line-height: 1.6;
}

.footer-contact a {
    color: #7c9abd;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: #eabf6a;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: #5077a6;
}

.footer-legal {
    font-size: 0.78rem;
    color: #5077a6;
    max-width: 500px;
    text-align: right;
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1b3a51 0%, #091822 100%);
    color: #eabf6a;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(9, 24, 34, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 28px rgba(9, 24, 34, 0.4);
}

/* --- Scroll Reveal (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fallback: always visible if JS is not available or prefers-reduced-motion */
.js-enabled .reveal {
    opacity: 1;
    transform: translateY(0);
}

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

    .hero-cards {
        height: 280px;
        max-width: 420px;
    }

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

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

    .about-content {
        max-width: 100%;
    }

    .approach-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .approach-step-connector {
        display: none;
    }

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

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

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(254, 249, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(27, 58, 81, 0.08);
        box-shadow: 0 8px 30px rgba(9, 24, 34, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-menu.open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-toggle {
        display: flex;
    }

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

    .hero-cards {
        height: auto;
        max-width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .hero-card {
        position: relative;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        animation: none !important;
    }

    .hero-card--main {
        grid-column: 1 / -1;
    }

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

    .hero-actions .btn {
        justify-content: center;
    }

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

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

    .approach-steps {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

    .footer-legal {
        text-align: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .hero {
        padding: 88px 0 64px;
    }

    .hero-cards {
        grid-template-columns: 1fr;
    }

    .hero-card--main {
        grid-column: auto;
    }

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

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