/* --- Local Fonts --- */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-Italic.woff2') format('woff2');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cormorant Garamond';
    src: url('assets/fonts/CormorantGaramond-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

:root {
    --accent-color: #ff5f1f;
    /* Electric Orange */
    --text-color: #111;
    --bg-color: #ffffff;
    --bg-light: #f4f4f4;
    --accent-soft: rgba(255, 95, 31, 0.05);
    --transition-fast: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Outfit', sans-serif;
    --frame-size: 20px;
    color-scheme: light only !important;
}

html,
body {
    background-color: #ffffff !important;
    color: #111111 !important;
    color-scheme: light only !important;
    forced-color-adjust: none !important;
    -webkit-text-size-adjust: 100%;
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #ffffff;
        --text-color: #111;
        --bg-light: #f4f4f4;
    }

    body {
        background-color: #ffffff !important;
        color: #111111 !important;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: white;
}

::-webkit-scrollbar-thumb {
    background: var(--accent-color);
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    padding: var(--frame-size);
    /* Space for the frame */
}

/* --- Utility Classes --- */
body::before {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    width: 80vmax;
    height: 80vmax;
    background-image: url('assets/logo.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.03;
    z-index: -2;
    transform: translate(-50%, -50%) rotate(-45deg);
    pointer-events: none;
    transition: width 0.4s ease, height 0.4s ease;
}

@media (max-width: 768px) {
    body::before {
        width: 120vw;
        height: 120vw;
        opacity: 0.04;
    }
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.w-full {
    width: 100%;
}

.block {
    display: block;
}

/* --- Skip Link (Accessibility) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text-color);
    color: white;
    padding: 1rem 2rem;
    z-index: 10001;
    text-decoration: none;
    font-size: 0.9rem;
    transition: top 0.3s;
}

.skip-link:focus {
    top: var(--frame-size);
}

/* --- Mobile Hamburger Menu --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
    background: none;
    border: none;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-color);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Navigation Overlay --- */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    padding-top: 15vh;
    padding-bottom: 8rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    overflow-y: auto;
    background: #ffffff !important;
    color: #111111 !important;
    color-scheme: light only !important;
}

@media (prefers-color-scheme: dark) {
    .mobile-nav {
        background: #ffffff !important;
        color: #111111 !important;
    }

    .mobile-nav a {
        color: #111111 !important;
    }
}

.mobile-nav a {
    color: #111111 !important;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav a {
    font-size: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
    font-family: var(--font-serif);
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--accent-color);
}

.mobile-nav .cta-mini {
    font-size: 1rem;
    margin-top: 1rem;
}

/* --- Visually Hidden (Accessibility) --- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --- Bento Layout --- */
.bento-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 1.5rem;
}

.bento-item {
    border-radius: 4px;
    padding: 2rem;
    border: 1px solid rgba(255, 95, 31, 0.1);
    /* Subtle orange border */
    transition: var(--transition-fast);
}

.bento-item:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 95, 31, 0.15);
    /* Orange hover glow */
    transform: translateY(-5px);
}

.bento-large {
    grid-column: span 2;
    grid-row: span 2;
    padding: 3rem;
}

.bento-wide {
    grid-column: span 3;
}

.bento-gray {
    background: #f4f4f4;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.bento-light {
    background: #f4f4f4;
}

.bento-white {
    background: white;
    border: 1px solid #ddd;
}

.bento-white-bordered {
    background: white;
    border: 1px solid #000;
}

.bento-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.bento-text {
    opacity: 0.7;
    max-width: 400px;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.bento-stat {
    font-size: 4rem;
    font-weight: bold;
    color: var(--accent-color);
    position: relative;
    z-index: 1;
}

.bento-stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}

.bento-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.bento-label-problem {
    color: #ff3b30;
}

.bento-label-solution {
    color: var(--accent-color);
}

.bento-item-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-family: var(--font-serif);
}

.bento-item-text {
    opacity: 0.6;
    font-size: 0.9rem;
}

.bento-wide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.bento-wide-solution {
    text-align: right;
}

.bento-wide-answer {
    font-weight: bold;
}

@media (max-width: 768px) {
    .bento-layout {
        display: flex;
        flex-direction: column;
    }

    .bento-wide-content {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .bento-wide-solution {
        text-align: center;
    }
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    border: 1px solid #eee;
    border-left: 4px solid var(--accent-color);
    /* Orange left accent */
    transition: var(--transition-fast);
}

.testimonial-card:hover {
    border-color: var(--accent-color);
}

.testimonial-stars {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.testimonial-quote {
    margin-bottom: 1.5rem;
    opacity: 0.8;
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.testimonial-name {
    font-weight: 600;
    font-style: normal;
}

.testimonial-role {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Touch Device Cursor --- */
.touch-device .cursor,
.touch-device .cursor-follower {
    display: none !important;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0s !important;
        transition-delay: 0s !important;
    }
}

/* --- Fixed Frame --- */
.site-frame {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    border: var(--frame-size) solid var(--bg-light);
    box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.02);
    pointer-events: none;
    z-index: 1000;
}

/* --- Animated Decoration Lines --- */
.bg-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.bg-line {
    position: absolute;
    background: linear-gradient(to bottom, transparent, var(--accent-color), transparent);
    width: 1px;
    height: 100%;
    opacity: 0.3;
    /* Increased visibility */
    animation: moveLine 10s infinite linear;
}

.bg-line:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.bg-line:nth-child(2) {
    left: 40%;
    animation-delay: 2s;
}

.bg-line:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
}

.bg-line:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
}

@keyframes moveLine {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- Typography --- */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.2;
    /* Explicit line-height for headings */
    margin-bottom: 1.5rem;
}

h1 {
    font-size: clamp(3rem, 10vw, 6rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.accent-text {
    color: var(--accent-color);
    font-style: italic;
    padding-left: 0.1em;
}

/* --- Layout Elements --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.0rem 0;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Clean line */
}

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    letter-spacing: 0.2em;
    max-width: 100%;
}

.logo a {
    display: block;
    width: 100%;
}

.logo img {
    width: 50%;
    height: auto;
    display: block;
    mix-blend-mode: multiply;
}

nav {
    display: flex;
    gap: 3rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 400;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: var(--transition-fast);
}

nav a:hover {
    color: var(--accent-color);
}

nav a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
    margin-top: 4px;
}

nav a:hover::after {
    width: 100%;
}

.cta-mini {
    border: 1px solid var(--accent-color);
    /* Orange */
    padding: 0.8rem 1.8rem;
    color: var(--accent-color);
    transition: var(--transition-fast);
    font-weight: 600;
}

.cta-mini:hover {
    background-color: var(--accent-color);
    color: white;
}

/* --- Hero --- */
.hero,
.hero-sub {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6rem 0;
    position: relative;
}

.hero-sub {
    min-height: 70vh;
    padding-top: 10rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--accent-color);
    margin: 1.5rem auto 0;
}

.badge-mini {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: rgba(255, 95, 31, 0.1);
    color: var(--accent-color);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-actions {
    margin-top: 3rem;
}

.hero-sub-image img {
    width: 100%;
    height: auto;
    filter: grayscale(0.4);
    transition: var(--transition-slow);
}

.hero-sub-image:hover img {
    filter: grayscale(0);
}

/* --- Stats Strip --- */
.stats-strip {
    background: var(--bg-light);
    /* Apply Grey */
    padding: 8rem 0;
    margin: 6rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 2rem;
}

.stat-value {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

/* --- Features Detail Area --- */
.features-detail {
    padding: 8rem 0;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    /* More Orange */
}

/* --- Minimal Table --- */
.table-container {
    overflow-x: auto;
    margin: 4rem 0;
}

.minimal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 1rem;
}

.minimal-table th,
.minimal-table td {
    padding: 2rem;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.minimal-table th {
    font-family: var(--font-sans);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    opacity: 0.5;
}

.minimal-table td.accent {
    color: var(--accent-color);
    font-weight: 600;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
}

.hero p {
    font-size: 1.2rem;
    max-width: 65ch;
    /* Optimized for readability */
    margin-bottom: 3rem;
    opacity: 0.8;
    line-height: 1.5;
}

.hero-image {
    width: 100%;
    height: 70vh;
    overflow: hidden;
    margin-top: 0;
    margin-bottom: 4rem;
    position: relative;
}

.hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 80%, var(--bg-color));
    pointer-events: none;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-fit: contain;
    filter: brightness(0.98) contrast(1.02) drop-shadow(0 0 20px rgba(255, 95, 31, 0.3));
    /* Orange Glow */
}

/* --- Services --- */
.services {
    padding: 8rem 0;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f5f5f7;
    /* Light Premium Gray */
}

.services-full {
    padding: 8rem 0;
    max-width: 100%;
    margin: 0 auto;
    background-color: #f5f5f7;
    /* Light Premium Gray */
}

.services h2 {
    text-align: center;
    margin-bottom: 4rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 4rem;
}

.service-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    background: var(--bg-light);
    /* Subtle Grey Background */
    padding: 0;
    transition: var(--transition-fast), transform var(--transition-fast);
    position: relative;
    position: relative;
    overflow: hidden;
    border-top: 2px solid var(--accent-color);
    /* Orange top border */

}

.service-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0;
    height: 100%;
}

.service-img {
    height: 300px;
    overflow: hidden;
    background: #fcfcfc;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.4);
    transition: var(--transition-slow);
}

.service-card:hover .service-img img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    padding: 2rem 2rem 1rem;
}

.service-card p {
    padding: 0 2rem 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
    line-height: 1.6;
}

.service-card .price {
    display: block;
    padding: 0 2rem 1rem;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.05em;
}

.more-link {
    display: inline-block;
    padding: 0 2rem 2rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    color: var(--accent-color);
    transition: var(--transition-fast);
}

.service-card:hover .more-link {
    transform: translateX(5px);
}

/* --- Magnetic Button --- */
.btn-magnetic {
    position: relative;
    display: inline-block;
    padding: 1.5rem 4rem;
    background-color: var(--text-color);
    color: white;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.8rem;
    overflow: hidden;
    transition: background-color var(--transition-fast);
}

.btn-magnetic span {
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.btn-magnetic:hover {
    background-color: var(--accent-color);
}

/* --- Contact Form --- */
.footer-container {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-form {
    max-width: 400px;
}

.form-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-fast);
}

.form-group:focus-within {
    border-bottom-color: var(--accent-color);
    /* Orange on focus */
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 0;
    background: transparent;
    border: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
}

/* --- LeadShield Sección --- */
.leadshield {
    background-color: var(--bg-light);
    /* Apply Grey */
    padding: 10rem 0;
    text-align: center;
    border-top: 1px solid var(--accent-color);
    /* Orange top edge */
}

.lead-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.lead-content h2 {
    color: var(--accent-color);
    /* Title in Orange */
    font-size: clamp(3rem, 8vw, 5rem);
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-color);
    color: white;
    text-decoration: none;
    padding: 1.5rem 3rem;
    margin-top: 2rem;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.8rem;
    transition: var(--transition-fast);
}

.btn-primary:hover {
    background-color: var(--accent-color);
}

/* --- Footer --- */
.main-footer {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(to bottom, white, var(--bg-light));
    border-top: 3px solid transparent;
    border-image: linear-gradient(to right, transparent, var(--accent-color), transparent) 1;
}

.footer-grid {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    align-self: start;
    text-align: left;
    gap: 0.75rem;
    max-width: 400px;
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.footer-logo {
    height: 5rem;
    width: auto;
    margin-bottom: 1rem;
    display: block;
    mix-blend-mode: multiply;
}

.footer-info>p {
    font-size: 1.1rem;
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem 1.5rem;
    text-align: left;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.75rem;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-meta {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    opacity: 0.6;
    font-style: normal;
    text-align: left;
}

.footer-meta p {
    margin-bottom: 0.25rem;
}

.footer-meta a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-meta a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    text-align: center;
    font-size: 0.75rem;
    opacity: 0.4;
    letter-spacing: 0.05em;
}

/* --- Custom Cursor --- */
.cursor {
    width: 8px;
    height: 8px;
    background: var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 10000;
}

.cursor-follower {
    width: 30px;
    height: 30px;
    border: 1px solid var(--text-color);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    transition: transform 0.15s ease-out, width 0.3s ease, height 0.3s ease;
}

.cursor-follower.active {
    width: 60px;
    height: 60px;
    background: var(--accent-soft);
    border-color: var(--accent-color);
    border-width: 2px;
}

/* --- Sub Page Specifics --- */
.manifesto-grid,
.principles-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-bottom: 8rem;
}

.manifesto-card,
.pricing-card,
.principle-item {
    background: var(--bg-light);
    /* Apply Grey */
    padding: 4rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.manifesto-card:hover,
.pricing-card:hover,
.principle-item:hover {
    border-color: var(--accent-color);
}

.manifesto-card.accent-border {
    border-top: 5px solid var(--accent-color);
}

.pricing-card.featured {
    border: 2px solid var(--accent-color);
    background: var(--accent-soft);
    /* Light orange glow */
    transform: scale(1.05);
    z-index: 10;
}

.pricing-card .badge {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 1rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.plan-price {
    font-size: 3rem;
    font-family: var(--font-serif);
    margin: 2rem 0;
}

.plan-features {
    list-style: none;
    margin-bottom: 3rem;
    opacity: 0.7;
}

.plan-features li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    padding-left: 20px;
}

.plan-features li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    /* Orange bullets */
    font-weight: bold;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
}

.faq-item h4 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.faq-item h4::before {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    background: var(--accent-color);
    /* Orange dot */
}

.services-full .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.service-card.highlight {
    border-color: var(--accent-color);
}

.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

.stretched-link {
    cursor: pointer;
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(43, 43, 43, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 95, 31, 0.3);
    padding: 1.5rem;
    z-index: 10000;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.5s ease-out;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content p {
    color: white;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.5;
}

.cookie-content a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

.cookie-content a:hover {
    border-bottom-color: var(--accent-color);
}

.cookie-banner .btn-magnetic {
    padding: 0.8rem 2rem;
    min-width: 100px;
    background: var(--accent-color);
    color: white;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .cookie-banner {
        bottom: 0;
        left: 0;
        right: 0;
        border-radius: 0;
        border-right: none;
        border-left: none;
        border-bottom: none;
    }
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Base Bento Item Position for stretched link */
.bento-item {
    position: relative;
}

/* --- Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
    transition-delay: 0.2s;
}

.reveal-delay-1.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: var(--transition-slow);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Focus States for Accessibility */
a:focus,
button:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
}

/* --- Mobile --- */
@media (max-width: 768px) {
    :root {
        --frame-size: 15px;
    }

    /* Show hamburger, hide desktop nav */
    .menu-toggle {
        display: flex;
    }

    nav {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-sub {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 6rem;
    }

    .hero {
        min-height: auto;
        padding: 6rem 0 4rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-image {
        height: auto;
        margin-bottom: 2rem;
    }

    .hero-content {
        text-align: center;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-grid,
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-grid {
        gap: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .grid-2-col {
        grid-template-columns: 1fr !important;
    }

    .container {
        padding: 0 1rem;
    }

    .main-footer {
        padding: 3rem 1rem 2rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: left;
    }

    .footer-form {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-grid {
        max-width: 100%;
        width: 100%;
        align-items: center;
        align-self: center;
        text-align: left;
        margin: 0 auto;
    }

    .footer-info {
        width: fit-content;
        margin: 0 auto;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        /* Keep text left-aligned */
    }

    .footer-logo {
        margin: 0 0 1rem 0;
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem 1rem;
        justify-items: start;
        text-align: left;
        width: 100%;
    }

    .footer-meta {
        text-align: left;
    }

    .btn-magnetic {
        padding: 1rem 1.5rem;
        width: 100%;
        text-align: center;
    }

    .leadshield-section .cta-mini {
        display: block;
        padding: 1rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        font-size: 0.85rem;
        word-break: break-word;
    }

    /* --- Mobile Fixes & Optimizations --- */

    /* 1. Reduce massive paddings */
    .services,
    .services-full,
    .leadshield-section,
    .faq-section,
    .features-detail,
    .stats-strip {
        padding: 4rem 1rem;
    }

    .stats-strip {
        margin: 3rem 0;
    }

    /* 2. Override inline spacing on sections */
    section[style*="padding"] {
        padding-top: 4rem !important;
        padding-bottom: 4rem !important;
    }

    /* 3. Card Typography & Spacing */
    .manifesto-card,
    .pricing-card,
    .principle-item,
    .testimonial-card,
    .bento-item,
    .feature-card .card-content {
        padding: 1.5rem;
    }

    .bento-title {
        font-size: 2rem;
    }

    .bento-stat {
        font-size: 3rem;
    }

    /* 4. Logo Sizing */
    .logo img {
        width: auto;
        max-width: 140px;
    }

    /* 5. Feature cards flexible height */
    .feature-card {
        min-height: auto;
        height: auto;
    }

    /* 6. Touch Targets & UX */
    nav a,
    .footer-links a {
        padding: 8px 0;
        display: inline-block;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

/* --- FAQ Accordion --- */
.faq-section {
    padding: 8rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-details {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-details[open] {
    border-left: 3px solid var(--accent-color);
    /* Active marker */
    padding-left: 1.5rem;
    background: rgba(255, 95, 31, 0.02);
}

.faq-summary {
    padding: 1.5rem 0;
    cursor: pointer;
    list-style: none;
    /* Hide default triangle */
    font-family: var(--font-serif);
    font-size: 1.2rem;
    position: relative;
    padding-right: 2rem;
    transition: color 0.3s ease;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary:hover {
    color: var(--accent-color);
}

.faq-summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.faq-details[open] .faq-summary::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding-bottom: 2rem;
    opacity: 0.8;
    line-height: 1.6;
    font-size: 1rem;
    max-width: 90%;
}

/* --- LeadShield Section --- */
.leadshield-section {
    background-color: #f5f5f7;
    /* Light Premium Gray */
    color: var(--text-color);
    padding: 8rem 0;
    text-align: center;
}

.leadshield-section .badge-mini {
    background: rgba(255, 95, 31, 0.15);
    color: var(--accent-color);
}

.leadshield-section h2 {
    color: var(--text-color);
    margin-bottom: 3rem;
    font-size: clamp(2.5rem, 5vw, 4rem);
}

.leadshield-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 3rem;
    text-align: left;
    margin-bottom: 4rem;
}

.feature-card {
    position: relative;
    height: auto;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease, filter 0.4s ease;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
    filter: grayscale(40%);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    filter: grayscale(0%) brightness(1.1) saturate(1.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Light gradient for Dark Text readability */
    background: linear-gradient(to top, #f5f5f7 30%, rgba(245, 245, 247, 0.8) 70%, rgba(245, 245, 247, 0.2));
    z-index: 1;
    transition: all 0.4s ease;
}

.feature-card:hover .card-overlay {
    /* Significantly more transparent on hover for "Bright" effect */
    background: linear-gradient(to top, #f5f5f7 10%, rgba(245, 245, 247, 0.5) 50%, rgba(245, 245, 247, 0.05));
    opacity: 0.8;
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem;
    z-index: 2;
    text-align: left;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-serif);
    color: var(--text-color);
    /* Dark Text */
    text-shadow: none;
    line-height: 1.2;
}

.feature-card p {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
    color: #4a4a4a;
    /* Dark Grey Text */
    text-shadow: none;
    font-weight: 500;
}



.leadshield-section .cta-mini {
    background: var(--accent-color);
    border: none;
    padding: 1rem 3rem;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

/* --- Luxury Typography Upgrade --- */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-serif);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

h1 {
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 300;
    /* Light & Elegant */
}

h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 400;
}

h3 {
    font-size: 1.75rem;
    font-weight: 500;
    /* Slightly bolder for readability */
}

p {
    font-family: var(--font-sans);
    font-weight: 300;
    /* Clean & Modern */
    letter-spacing: 0.01em;
}

.feature-card h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    /* Stronger contrast in cards */
    letter-spacing: -0.01em;
}

.price {
    font-family: var(--font-sans);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* --- Global Utilities --- */
.hidden {
    display: none !important;
}

/* --- AF Premium Modal System --- */
.af-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.af-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.af-modal-container {
    background: #111;
    border: 1px solid rgba(255, 95, 31, 0.2);
    width: 90%;
    max-width: 500px;
    padding: 3rem;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    color: white;
    text-align: center;
}

.af-modal-overlay.active .af-modal-container {
    transform: scale(1) translateY(0);
}

.af-modal-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 2rem;
}

.af-modal-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.af-modal-message {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 2rem;
    white-space: pre-line;
}

.af-modal-close {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.af-modal-close:hover {
    background: #e64a19;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 95, 31, 0.2);
}

/* Modal Variants */
.af-modal-success .af-modal-container {
    border-color: #22c55e;
}

.af-modal-success .af-modal-icon {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
}

.af-modal-error .af-modal-container {
    border-color: #ef4444;
}

.af-modal-error .af-modal-icon {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.af-modal-blocked .af-modal-container {
    border-color: var(--accent-color);
}

.af-modal-blocked .af-modal-icon {
    background: rgba(255, 95, 31, 0.1);
    color: var(--accent-color);
}