/* ========================================
   Fannin Bill Fencing — Custom Styles
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: #3d2c4a;
    background: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #7b4397;
    background: linear-gradient(135deg, #f7f3fa 0%, #fff4e0 100%);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: #3d2c4a;
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.1rem;
    color: #6b5a78;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.text-gradient {
    background: linear-gradient(135deg, #7b4397 0%, #d4880a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-white {
    background: linear-gradient(135deg, #ffffff 0%, #ffe9c0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(123, 67, 151, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 30px rgba(123, 67, 151, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    z-index: 1001;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #3d2c4a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

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

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: #512c63;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, #7b4397, #d4880a);
    border-radius: 2px;
    transition: width 0.3s ease;
}

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

.btn-nav {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    background: linear-gradient(135deg, #7b4397 0%, #8b5cb0 100%);
    padding: 10px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(123, 67, 151, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.btn-nav::after {
    display: none !important;
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(123, 67, 151, 0.4) !important;
}

/* Logo */
.logo-mark {
    color: #7b4397;
    transition: color 0.3s ease;
}

.logo-mark:hover {
    color: #d4880a;
}

.logo-name {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #3d2c4a;
    line-height: 1.1;
}

.logo-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4880a;
    line-height: 1.1;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(160deg, #f7f3fa 0%, #ece4f3 25%, #fff4e0 55%, #ffe9c0 80%, #ffd896 100%);
    padding: 120px 0 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 40%, rgba(123, 67, 151, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 30%, rgba(212, 136, 10, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 80%, rgba(123, 67, 151, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%237b4397' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #63357a;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    padding: 8px 20px;
    border-radius: 50px;
    border: 1px solid rgba(123, 67, 151, 0.15);
    margin-bottom: 32px;
}

.hero-headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.15;
    color: #3d2c4a;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.hero-headline em {
    font-style: italic;
    background: linear-gradient(135deg, #7b4397 0%, #d4880a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #6b5a78;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #7b4397 0%, #8b5cb0 100%);
    padding: 16px 32px;
    border-radius: 50px;
    box-shadow: 0 8px 30px rgba(123, 67, 151, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(123, 67, 151, 0.45);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #63357a;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    padding: 16px 32px;
    border-radius: 50px;
    border: 1px solid rgba(123, 67, 151, 0.2);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(123, 67, 151, 0.4);
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #63357a;
}

.trust-item svg {
    color: #d4880a;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    line-height: 0;
}

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

/* --- Services --- */
.services {
    padding: 100px 0;
    background: #ffffff;
}

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

.service-card {
    background: linear-gradient(160deg, #f7f3fa 0%, #ffffff 100%);
    border: 1px solid rgba(123, 67, 151, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

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

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(123, 67, 151, 0.12);
    border-color: rgba(123, 67, 151, 0.15);
}

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

.service-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(212, 136, 10, 0.08) 100%);
    border-radius: 16px;
    color: #7b4397;
    margin-bottom: 20px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, #7b4397 0%, #8b5cb0 100%);
    color: #ffffff;
    transform: scale(1.05);
}

.service-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #3d2c4a;
    margin-bottom: 12px;
}

.service-desc {
    font-size: 0.95rem;
    color: #6b5a78;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #7b4397;
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
    color: #d4880a;
}

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

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(123, 67, 151, 0.15);
}

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

.about-img-accent {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(123, 67, 151, 0.2);
    border: 4px solid #ffffff;
}

.about-img-accent img {
    width: 260px;
    height: 180px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: linear-gradient(135deg, #7b4397 0%, #8b5cb0 100%);
    color: #ffffff;
    padding: 16px 20px;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(123, 67, 151, 0.35);
    text-align: center;
}

.about-badge-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
}

.about-badge-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.85;
    margin-top: 4px;
}

.about-content {
    padding: 20px 0;
}

.about-text {
    font-size: 1.05rem;
    color: #6b5a78;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid rgba(123, 67, 151, 0.1);
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #7b4397 0%, #d4880a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6b5a78;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(123, 67, 151, 0.15);
}

/* --- Gallery --- */
.gallery {
    padding: 100px 0;
    background: #ffffff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 60px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3/4;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(61, 44, 74, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

/* --- Testimonials --- */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(180deg, #f7f3fa 0%, #fffaf0 50%, #ffffff 100%);
}

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

.testimonial-card {
    background: #ffffff;
    border: 1px solid rgba(123, 67, 151, 0.08);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(123, 67, 151, 0.1);
}

.testimonial-quote {
    margin-bottom: 20px;
    color: #7b4397;
}

.testimonial-text {
    font-size: 1rem;
    color: #512c63;
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(212, 136, 10, 0.08) 100%);
    border-radius: 50%;
    color: #7b4397;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: #3d2c4a;
}

.testimonial-location {
    font-size: 0.8rem;
    color: #a66fbd;
}

/* --- CTA --- */
.cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: linear-gradient(160deg, #7b4397 0%, #63357a 40%, #512c63 70%, #442654 100%);
}

.cta-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 20% 50%, rgba(212, 136, 10, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 80% 30%, rgba(166, 111, 189, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

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

.cta-content .section-tag {
    background: rgba(255, 255, 255, 0.15);
    color: #ffe9c0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
}

.cta-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    padding: 18px 36px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background: #ffffff;
}

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

.contact-info {
    padding: 20px 0;
}

.contact-desc {
    font-size: 1.05rem;
    color: #6b5a78;
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 480px;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(160deg, #f7f3fa 0%, #ffffff 100%);
    border: 1px solid rgba(123, 67, 151, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(123, 67, 151, 0.1);
    border-color: rgba(123, 67, 151, 0.2);
}

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(212, 136, 10, 0.08) 100%);
    border-radius: 12px;
    color: #7b4397;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #a66fbd;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-value {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #3d2c4a;
    margin-top: 2px;
}

.contact-item:hover .contact-value {
    color: #7b4397;
}

.contact-hours {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.06) 0%, rgba(212, 136, 10, 0.04) 100%);
    border-radius: 16px;
    border: 1px solid rgba(123, 67, 151, 0.08);
}

.hours-icon {
    color: #d4880a;
    flex-shrink: 0;
    margin-top: 2px;
}

.hours-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #7b4397;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.hours-value {
    font-size: 0.95rem;
    color: #512c63;
    line-height: 1.6;
}

/* Contact Form */
.contact-form-wrapper {
    background: linear-gradient(160deg, #f7f3fa 0%, #fffaf0 100%);
    border: 1px solid rgba(123, 67, 151, 0.1);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(123, 67, 151, 0.08);
}

.form-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3d2c4a;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.95rem;
    color: #6b5a78;
    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.85rem;
    font-weight: 600;
    color: #512c63;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.95rem;
    color: #3d2c4a;
    background: #ffffff;
    border: 1.5px solid rgba(123, 67, 151, 0.15);
    border-radius: 12px;
    outline: none;
    transition: all 0.3s ease;
    -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #7b4397;
    box-shadow: 0 0 0 4px rgba(123, 67, 151, 0.1);
}

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

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

.btn-submit {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background: linear-gradient(135deg, #7b4397 0%, #8b5cb0 100%);
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(123, 67, 151, 0.3);
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(123, 67, 151, 0.4);
}

.btn-submit svg {
    transition: transform 0.3s ease;
}

.btn-submit:hover svg {
    transform: translate(4px, -4px);
}

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

.form-success.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.success-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(123, 67, 151, 0.1) 0%, rgba(212, 136, 10, 0.08) 100%);
    border-radius: 50%;
    color: #7b4397;
    margin: 0 auto 20px;
}

.success-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #3d2c4a;
    margin-bottom: 12px;
}

.success-text {
    font-size: 1rem;
    color: #6b5a78;
    line-height: 1.7;
    margin-bottom: 24px;
}

.btn-send-again {
    font-size: 0.9rem;
    font-weight: 600;
    color: #7b4397;
    padding: 10px 24px;
    border: 1.5px solid rgba(123, 67, 151, 0.3);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-send-again:hover {
    background: rgba(123, 67, 151, 0.08);
    border-color: #7b4397;
}

/* --- Footer --- */
.footer {
    background: #3d2c4a;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-logo svg {
    color: #d4880a;
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffe9c0;
    transform: translateX(4px);
}

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

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

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

.footer-contact span {
    font-size: 0.95rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Animations --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }

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

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        align-items: flex-start;
        padding: 100px 32px 40px;
        gap: 24px;
        box-shadow: -10px 0 40px rgba(123, 67, 151, 0.15);
        transition: right 0.4s ease;
        z-index: 999;
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .btn-nav {
        margin-top: 8px;
    }

    .mobile-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(61, 44, 74, 0.4);
        backdrop-filter: blur(4px);
        z-index: 998;
    }

    .mobile-overlay.active {
        display: block;
    }

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

    .hero-headline {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions a {
        width: 100%;
        justify-content: center;
    }

    .hero-trust {
        gap: 20px;
    }

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

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

    .about-img-accent {
        right: 10px;
        bottom: -20px;
    }

    .about-img-accent img {
        width: 200px;
        height: 140px;
    }

    .about-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-divider {
        width: 48px;
        height: 1px;
    }

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

    .gallery-item {
        aspect-ratio: 1;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .cta-actions a {
        width: 100%;
        justify-content: center;
    }

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

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

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

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

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

@media (max-width: 480px) {
    .hero-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .hero-trust {
        flex-direction: column;
        gap: 12px;
    }

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

    .gallery-item {
        aspect-ratio: 4/3;
    }
}
