/* ============================================
   El Rey Restaurant — Custom Styles
   Color Palette: Plum (#7B2D8E) + Amber (#F5A623)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --plum-50: #F9F5FF;
    --plum-100: #F3EBFF;
    --plum-200: #E9D5FF;
    --plum-300: #D8B4FE;
    --plum-400: #C084FC;
    --plum-500: #A855F7;
    --plum-600: #7B2D8E;
    --plum-700: #6B2478;
    --plum-800: #5A1D65;
    --plum-900: #4A1652;
    
    --amber-50: #FFFBF0;
    --amber-100: #FFF3D6;
    --amber-200: #FFE9A8;
    --amber-300: #FFD966;
    --amber-400: #F5A623;
    --amber-500: #E8960F;
    --amber-600: #C47A0A;
    --amber-700: #9A5F08;
    --amber-800: #7A4B09;
    --amber-900: #5E3A0A;
    
    --neutral-50: #FAFAFA;
    --neutral-100: #F5F5F5;
    --neutral-200: #EEEEEE;
    --neutral-300: #E0E0E0;
    --neutral-400: #BDBDBD;
    --neutral-500: #9E9E9E;
    --neutral-600: #757575;
    --neutral-700: #616161;
    --neutral-800: #424242;
    --neutral-900: #212121;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --shadow-sm: 0 1px 3px rgba(123, 45, 142, 0.08);
    --shadow-md: 0 4px 16px rgba(123, 45, 142, 0.12);
    --shadow-lg: 0 8px 32px rgba(123, 45, 142, 0.16);
    --shadow-xl: 0 16px 48px rgba(123, 45, 142, 0.20);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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;
}

/* --- Background Geometric Shapes --- */
.geo-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.04;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: var(--plum-600);
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--amber-400);
    bottom: 20%;
    left: -100px;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 150px solid transparent;
    border-right: 150px solid transparent;
    border-bottom: 260px solid var(--plum-600);
    top: 40%;
    right: 5%;
    opacity: 0.03;
}

.geo-dots {
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, var(--amber-400) 1.5px, transparent 1.5px);
    background-size: 20px 20px;
    top: 60%;
    left: 8%;
    opacity: 0.06;
}

.geo-arc {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 20px solid var(--plum-600);
    bottom: 10%;
    right: -50px;
    opacity: 0.03;
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(123, 45, 142, 0.1);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    color: #FFFFFF;
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-logo {
    color: var(--plum-700);
}

.logo-text {
    letter-spacing: -0.02em;
}

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

.nav-link {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: var(--neutral-700);
}

.nav-link:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.15);
}

.navbar.scrolled .nav-link:hover {
    color: var(--plum-600);
    background: var(--plum-50);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: var(--amber-400);
    color: var(--neutral-900) !important;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
    margin-left: 8px;
}

.nav-cta:hover {
    background: var(--amber-500);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.4);
}

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.navbar.scrolled .hamburger {
    background: var(--plum-700);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-700) 30%, var(--plum-600) 60%, #9B4DCA 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(245, 166, 35, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168, 85, 247, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 50% 50%, rgba(245, 166, 35, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

/* Hero Geometric Elements */
.hero-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(245, 166, 35, 0.2);
}

.geo-ring-1 {
    width: 500px;
    height: 500px;
    top: -100px;
    right: -100px;
}

.geo-ring-2 {
    width: 350px;
    height: 350px;
    top: -30px;
    right: -30px;
    border-color: rgba(255, 255, 255, 0.08);
}

.geo-ring-3 {
    width: 200px;
    height: 200px;
    top: 50px;
    right: 50px;
    border-color: rgba(245, 166, 35, 0.15);
}

.geo-diamond {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--amber-400);
    transform: rotate(45deg);
    bottom: 20%;
    left: 8%;
    opacity: 0.15;
}

.geo-diamond::after {
    content: '';
    position: absolute;
    inset: 12px;
    background: rgba(123, 45, 142, 0.5);
    border-radius: 4px;
}

.geo-stripe {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--amber-400), transparent);
    border-radius: 2px;
}

.geo-stripe-1 {
    width: 200px;
    top: 25%;
    left: 5%;
    transform: rotate(-15deg);
    opacity: 0.3;
}

.geo-stripe-2 {
    width: 150px;
    bottom: 30%;
    right: 10%;
    transform: rotate(10deg);
    opacity: 0.2;
}

.geo-stripe-3 {
    width: 100px;
    top: 40%;
    right: 5%;
    transform: rotate(-5deg);
    opacity: 0.15;
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-xl);
    color: var(--amber-300);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: #FFFFFF;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
}

.text-amber {
    color: var(--amber-400);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto 40px;
}

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

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

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 2;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

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

.btn-primary {
    background: var(--amber-400);
    color: var(--neutral-900);
    border-color: var(--amber-400);
}

.btn-primary:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
}

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

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

.btn-outline:hover {
    background: var(--plum-700);
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(123, 45, 142, 0.25);
}

.btn-amber {
    background: var(--amber-400);
    color: var(--neutral-900);
    border-color: var(--amber-400);
}

.btn-amber:hover {
    background: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
}

.btn-outline-light {
    background: transparent;
    color: #FFFFFF;
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: #FFFFFF;
    color: var(--plum-700);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- Section Divider --- */
.section-divider {
    background: var(--plum-600);
    position: relative;
    z-index: 1;
}

/* --- Section Common --- */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: var(--plum-100);
    color: var(--plum-700);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    margin-bottom: 16px;
}

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

.text-plum {
    color: var(--plum-600);
}

.section-desc {
    font-size: 1.05rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* --- Menu Section --- */
.menu-section {
    padding: 100px 0;
    background: var(--plum-50);
    position: relative;
    z-index: 1;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 64px;
}

.menu-card {
    position: relative;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-400));
    z-index: 2;
}

.menu-card-img {
    height: 220px;
    overflow: hidden;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .menu-card-img img {
    transform: scale(1.06);
}

.menu-card-content {
    padding: 24px;
}

.menu-card-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--amber-100);
    color: var(--amber-700);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-radius: var(--radius-xl);
    margin-bottom: 12px;
}

.menu-card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.menu-card-desc {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.menu-cta {
    text-align: center;
    padding: 40px;
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.menu-cta p {
    font-size: 1rem;
    color: var(--neutral-600);
    margin-bottom: 20px;
}

/* --- About Section --- */
.about-section {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

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

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

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

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #FFFFFF;
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-accent {
    position: absolute;
    top: -20px;
    left: -20px;
}

.accent-block {
    background: var(--plum-600);
    color: #FFFFFF;
    padding: 20px 28px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.accent-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--amber-400);
    line-height: 1;
    margin-bottom: 4px;
}

.accent-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.04em;
}

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

.about-text {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 36px;
}

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--plum-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-feature h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.about-feature p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

/* --- Gallery Section --- */
.gallery-section {
    padding: 100px 0;
    background: var(--neutral-50);
    position: relative;
    z-index: 1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(123, 45, 142, 0.7) 0%, transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.gallery-overlay span {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
}

.gallery-item--wide {
    grid-column: span 8;
}

.gallery-item:not(.gallery-item--wide) {
    grid-column: span 4;
}

.gallery-item:nth-child(2) { grid-column: span 4; grid-row: 1; }
.gallery-item:nth-child(3) { grid-column: span 4; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: span 4; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: span 8; grid-row: 2; }

/* --- Contact Section --- */
.contact-section {
    padding: 100px 0;
    background: #FFFFFF;
    position: relative;
    z-index: 1;
}

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-desc {
    font-size: 1rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

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

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

.contact-detail h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.5;
}

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

.contact-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

/* --- Contact Form --- */
.contact-form-wrapper {
    position: relative;
    background: var(--plum-50);
    border-radius: var(--radius-lg);
    padding: 40px;
    overflow: hidden;
}

.form-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--plum-600), var(--amber-400));
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: var(--neutral-600);
    margin-bottom: 28px;
    line-height: 1.6;
}

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

.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--neutral-900);
    background: #FFFFFF;
    border: 2px solid var(--neutral-200);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input::placeholder {
    color: var(--neutral-400);
}

.form-input:focus {
    border-color: var(--plum-400);
    box-shadow: 0 0 0 3px rgba(123, 45, 142, 0.1);
}

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

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

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

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

.form-success p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--plum-800) 0%, var(--plum-600) 50%, #9B4DCA 100%);
    overflow: hidden;
    z-index: 1;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 80% 50%, rgba(245, 166, 35, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 20% 50%, rgba(168, 85, 247, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.cta-geo {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.cta-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.08);
}

.cta-circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.cta-circle-2 {
    width: 250px;
    height: 250px;
    bottom: -60px;
    right: 10%;
    border-color: rgba(245, 166, 35, 0.15);
}

.cta-diamond {
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--amber-400);
    transform: rotate(45deg);
    top: 20%;
    right: 15%;
    opacity: 0.12;
}

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

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

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

/* --- Footer --- */
.footer {
    background: var(--neutral-900);
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
    position: relative;
    z-index: 1;
}

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

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #FFFFFF;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

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

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

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

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

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

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

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

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: 48px;
    }
    
    .gallery-item--wide {
        grid-column: span 6;
    }
    
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 6;
    }
    
    .gallery-item:nth-child(2) { grid-column: span 6; grid-row: auto; }
    .gallery-item:nth-child(3) { grid-column: span 6; grid-row: auto; }
    .gallery-item:nth-child(4) { grid-column: span 6; grid-row: auto; }
    .gallery-item:nth-child(5) { grid-column: span 12; grid-row: auto; }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--plum-700);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 4px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255, 255, 255, 0.85) !important;
        width: 100%;
        padding: 12px 16px;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #FFFFFF !important;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        justify-content: flex-start;
        width: 100%;
    }
    
    .hero {
        padding: 100px 24px 60px;
    }
    
    .hero-trust {
        gap: 20px;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-img-secondary {
        right: 0;
        bottom: -30px;
    }
    
    .about-img-accent {
        top: -16px;
        left: -10px;
    }
    
    .gallery-item--wide,
    .gallery-item:not(.gallery-item--wide) {
        grid-column: span 12;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .menu-card-img {
        height: 180px;
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .scroll-line {
        animation: none;
    }
}
