/* ============================================
   Machetes Flor De Maria — Styles
   Deep Navy + Warm Gold | Confident Corporate
   ============================================ */

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

:root {
    --navy-950: #0a1628;
    --navy-900: #1a2744;
    --navy-800: #243352;
    --navy-700: #2e4061;
    --navy-600: #3d5278;
    --navy-500: #4a6289;
    --navy-100: #d4dce8;
    --navy-50:  #eef2f8;

    --gold-600: #a88632;
    --gold-500: #c8a45a;
    --gold-400: #d4b76a;
    --gold-300: #e0c97a;
    --gold-200: #ecdcb0;
    --gold-100: #f5eed6;
    --gold-50:  #faf6eb;

    --neutral-900: #111827;
    --neutral-700: #374151;
    --neutral-600: #4b5563;
    --neutral-500: #6b7280;
    --neutral-400: #9ca3af;
    --neutral-300: #d1d5db;
    --neutral-200: #e5e7eb;
    --neutral-100: #f3f4f6;
    --neutral-50:  #f9fafb;
    --white:       #ffffff;

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

    --shadow-sm:  0 1px 2px rgba(10, 22, 40, 0.06);
    --shadow-md:  0 4px 12px rgba(10, 22, 40, 0.08);
    --shadow-lg:  0 12px 32px rgba(10, 22, 40, 0.12);
    --shadow-xl:  0 20px 48px rgba(10, 22, 40, 0.16);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-700);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy-900);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-size: 0.875rem;
    font-weight: 500;
}
.skip-link:focus {
    top: 16px;
}

/* --- Typography --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-600);
    margin-bottom: 12px;
}

.text-navy { color: var(--navy-900); }

.text-gold {
    color: var(--gold-500);
    font-family: var(--font-display);
    font-style: italic;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--navy-900);
    margin-bottom: 20px;
}

.section-desc {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

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

.btn-gold {
    background: var(--gold-500);
    color: var(--navy-950);
    border-color: var(--gold-500);
}
.btn-gold:hover {
    background: var(--gold-400);
    border-color: var(--gold-400);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--navy-900);
    border-color: var(--white);
}

/* --- Header --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(26, 39, 68, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(10, 22, 40, 0.97);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 600;
    line-height: 1.2;
}

.logo-light { color: var(--white); }

.logo-icon {
    color: var(--gold-500);
    flex-shrink: 0;
}

.logo-accent {
    color: var(--gold-500);
    font-style: italic;
}

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

.nav-menu a {
    color: var(--navy-100);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-500);
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--gold-400);
}
.nav-menu a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--white);
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    position: relative;
    transition: var(--transition);
}
.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: currentColor;
    left: 0;
    transition: var(--transition);
}
.hamburger::before { top: -7px; }
.hamburger::after  { top:  7px; }

.nav-toggle[aria-expanded="true"] .hamburger {
    background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--navy-950);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 22, 40, 0.92) 0%,
        rgba(26, 39, 68, 0.85) 50%,
        rgba(46, 64, 97, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 120px 24px 80px;
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(200, 164, 90, 0.12);
    border: 1px solid rgba(200, 164, 90, 0.3);
    color: var(--gold-400);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 32px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.25rem, 6vw, 4.25rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 24px;
}

.hero-accent {
    color: var(--gold-500);
    font-style: italic;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.1875rem);
    color: var(--navy-100);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 560px;
}

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

.hero-trust {
    display: flex;
    align-items: center;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--navy-100);
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-divider {
    width: 1px;
    height: 20px;
    background: rgba(255,255,255,0.15);
}

.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.4);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

/* --- About --- */
.about {
    padding: 100px 0;
    background: var(--white);
}

.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-xl);
}
.about-img-main img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -40px;
    right: -30px;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--white);
}
.about-img-secondary img {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.about-accent-box {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--navy-900);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-accent-box .accent-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gold-500);
}

.about-accent-box .accent-label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--navy-100);
    margin-top: 2px;
}

.about-content .section-label { margin-bottom: 12px; }
.about-content .section-title { margin-bottom: 24px; }

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

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

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

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--gold-50);
    border: 1px solid var(--gold-200);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-600);
}

.feature-item strong {
    display: block;
    font-size: 1rem;
    color: var(--navy-900);
    margin-bottom: 2px;
}

.feature-item span {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* --- Menu --- */
.menu {
    padding: 100px 0;
    background: var(--neutral-50);
}

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

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
}

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

.menu-card-img {
    overflow: hidden;
    height: 200px;
}
.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.menu-card:hover .menu-card-img img {
    transform: scale(1.05);
}

.menu-card-body {
    padding: 28px;
}

.menu-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.menu-card-header svg {
    color: var(--gold-500);
}

.menu-card-header h3 {
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--navy-900);
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 20px;
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.menu-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--neutral-700);
}

.menu-list li::before {
    content: '';
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    background: var(--gold-500);
    border-radius: 50%;
}

.menu-cta {
    margin-top: 56px;
    padding: 32px;
    background: var(--navy-900);
    border-radius: var(--radius-lg);
}

.menu-cta p {
    color: var(--navy-100);
    font-size: 1.0625rem;
}

.link-gold {
    color: var(--gold-400);
    font-weight: 600;
    border-bottom: 1px solid rgba(212, 183, 106, 0.3);
    transition: var(--transition);
}
.link-gold:hover {
    color: var(--gold-300);
    border-bottom-color: var(--gold-300);
}

/* --- Experience --- */
.experience {
    padding: 100px 0;
    background: var(--white);
}

.experience-header {
    margin-bottom: 56px;
}

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

.exp-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--neutral-200);
    transition: var(--transition);
}

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

.exp-card:nth-child(2) {
    grid-template-rows: 1fr 1fr;
}

.exp-card-img {
    overflow: hidden;
    height: 260px;
}
.exp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.exp-card:hover .exp-card-img img {
    transform: scale(1.05);
}

.exp-card-content {
    padding: 28px;
}

.exp-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold-200);
    line-height: 1;
    margin-bottom: 12px;
}

.exp-card-content h3 {
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--navy-900);
    margin-bottom: 12px;
}

.exp-card-content p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background: var(--neutral-50);
}

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

.visit-info .section-label { margin-bottom: 12px; }
.visit-info .section-title { margin-bottom: 16px; }
.visit-desc {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

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

.visit-detail-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--navy-900);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-500);
}

.visit-detail strong {
    display: block;
    font-size: 0.9375rem;
    color: var(--navy-900);
    margin-bottom: 4px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--gold-600);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    min-height: 480px;
}

/* --- CTA --- */
.cta {
    padding: 100px 0;
    background: var(--navy-900);
}

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

.cta-content .section-label { margin-bottom: 12px; }
.cta-content .section-title { margin-bottom: 20px; }

.cta-text {
    font-size: 1.0625rem;
    color: var(--navy-100);
    line-height: 1.7;
}

.cta-form-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-xl);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--navy-900);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-900);
    background: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-input:focus {
    border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(200, 164, 90, 0.15);
}

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

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

.form-success {
    text-align: center;
    padding: 40px 20px;
    color: var(--navy-900);
}

.form-success svg {
    color: #16a34a;
    margin-bottom: 16px;
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-success p {
    color: var(--neutral-600);
    font-size: 0.9375rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy-950);
    color: var(--navy-100);
    padding: 64px 0 0;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-tagline {
    font-size: 0.9375rem;
    color: var(--navy-500);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-500);
    margin-bottom: 16px;
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.9375rem;
    color: var(--navy-500);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--gold-400);
}

.footer-contact li {
    font-size: 0.9375rem;
    color: var(--navy-500);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.6;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--gold-500);
}

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

.footer-bottom p {
    font-size: 0.8125rem;
    color: var(--navy-600);
}

.footer-bottom a {
    color: var(--navy-500);
    font-size: 0.8125rem;
    transition: var(--transition);
}
.footer-bottom a:hover { color: var(--gold-400); }

/* --- Scroll Animations --- */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal] {
    opacity: 0;
    transform: translateY(24px);
}

@media (prefers-reduced-motion: no-preference) {
    .reveal[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

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

    .menu-card:nth-child(3) {
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .experience-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .exp-card:nth-child(2) {
        grid-template-rows: auto auto;
    }

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

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(10, 22, 40, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

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

    .nav-toggle {
        display: block;
    }

    .hero-content {
        padding: 120px 24px 100px;
    }

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

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

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

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

    .about-images {
        max-width: 480px;
        margin: 0 auto;
    }

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

    .about-img-secondary img {
        width: 160px;
        height: 160px;
    }

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

    .menu-card:nth-child(3) {
        grid-column: span 1;
        max-width: none;
    }

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

    .visit-map {
        min-height: 320px;
    }

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

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

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

    .hero-headline {
        font-size: clamp(1.875rem, 8vw, 2.75rem);
    }

    .about-img-secondary {
        display: none;
    }

    .cta-form-wrapper {
        padding: 24px;
    }
}
