:root {
    /* Brand Colors - Premium Dark & Gold */
    --color-primary-dark: #0a0a0a;
    /* Deepest Charcoal/Black */
    --color-primary: #171717;
    /* Dark Charcoal */
    --color-accent-orange: #d4af37;
    /* Metallic Gold */
    --color-accent-orange-hover: #b5952f;
    --color-accent-green: #25d366;
    /* Vibrant WhatsApp Green */
    --color-accent-green-hover: #128c7e;
    --color-success: #10b981;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f8fafc;
    --color-gray-100: #f1f5f9;
    --color-gray-200: #e2e8f0;
    --color-gray-300: #cbd5e1;
    --color-gray-600: #475569;
    --color-gray-800: #1e293b;
    --color-black: #020617;

    /* Fonts */
    --font-family-base: 'Inter', system-ui, -apple-system, sans-serif;

    /* Layout */
    --max-width-container: 1200px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 24px;

    /* Modern Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.2), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.4);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base);
    color: var(--color-gray-800);
    background-color: var(--color-gray-100);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width-container);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-icon {
    font-size: 1.8rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: baseline;
}

.logo-bold {
    font-weight: 800;
    color: var(--color-white);
}

.logo-accent {
    font-weight: 800;
    font-style: italic;
    background: linear-gradient(135deg, #fce08b 0%, var(--color-accent-orange) 50%, #b5952f 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-left: 2px;
}

.phone-cta {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-white);
    text-decoration: none;
    padding: 10px 22px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.phone-cta:hover {
    background: linear-gradient(135deg, #fce08b 0%, var(--color-accent-orange) 100%);
    color: var(--color-primary-dark);
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.icon-phone {
    font-size: 1.1rem;
    font-style: normal;
}

/* Status Indicator */
.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-success);
    animation: blink 2s infinite;
}

.status-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-success);
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }

    100% {
        opacity: 1;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-orange {
    background: linear-gradient(135deg, #e5c158 0%, var(--color-accent-orange) 100%);
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-glow);
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

.btn-orange:hover {
    background: linear-gradient(135deg, #fce08b 0%, var(--color-accent-orange-hover) 100%);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
    animation: none;
    /* stop pulsing on hover */
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
    color: var(--color-white);
    width: 100%;
    gap: 12px;
    font-size: 1.1rem;
    box-shadow: 0 10px 15px -3px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 20px -3px rgba(37, 211, 102, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    background-image: url('./FOTO_ACTUAL.jpg');
    /* Local exact image confirmed by user */
    background-size: cover;
    background-position: center;
    color: var(--color-white);
    padding: 120px 0 140px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.8) 40%, rgba(10, 10, 10, 0.4) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
}

.text-orange {
    color: var(--color-accent-orange);
}

.text-underline {
    border-bottom: 4px solid var(--color-white);
}

.hero-benefits {
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.hero-benefits li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-check {
    color: var(--color-primary-dark);
    background: var(--color-accent-orange);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.8rem;
}

.btn-lg {
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: var(--border-radius-md);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
}

/* Trust Bar */
.trust-bar {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 16px 0;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-gray-300);
    font-size: 1.1rem;
}

.trust-icon {
    font-size: 1.5rem;
}

/* Form Section */
.form-section {
    padding: 80px 0;
    background-color: var(--color-gray-50);
}

.form-container {
    max-width: 800px;
    /* Make the form section narrower */
    margin: 0 auto;
}

.form-header {
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.8rem;
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.form-header h2 span {
    background: linear-gradient(to right, var(--color-primary), var(--color-accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2rem;
    font-weight: 800;
}

.form-disclaimer {
    font-size: 0.9rem;
    color: var(--color-gray-600);
    margin-top: 16px;
    text-align: center;
}

.lead-form-card {
    background: var(--color-gray-100);
    padding: 32px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--color-gray-200);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.input-group {
    position: relative;
    width: 100%;
}

.input-group.full-width {
    grid-column: 1 / -1;
}

.patent-group {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.patent-group input {
    flex: 1;
}

/* Header Shrink Transition */
.header {
    transition: padding 0.3s ease, background-color 0.3s ease;
}

.header.shrink {
    padding: 8px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header.shrink .logo-icon {
    font-size: 1.4rem;
}

.header.shrink .logo-text {
    font-size: 1.2rem;
}

/* Base Input Styles */
#leadForm input[type="text"],
#leadForm input[type="email"],
#leadForm input[type="tel"],
#leadForm textarea,
#leadForm select {
    width: 100%;
    padding: 24px 16px 8px;
    /* Extra padding top for floating label */
    border: 1px solid var(--color-gray-300);
    background-color: var(--color-white);
    border-radius: var(--border-radius-sm);
    font-family: inherit;
    font-size: 1.05rem;
    color: var(--color-gray-800);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#leadForm textarea.details-textarea {
    resize: vertical;
    min-height: 100px;
    max-height: 180px;
    padding-top: 28px;
}

#leadForm input:focus,
#leadForm textarea:focus,
#leadForm select:focus {
    border-color: var(--color-accent-green);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Floating Labels System */
.floating-group {
    position: relative;
    margin-bottom: 5px;
}

.floating-label {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    font-size: 1rem;
    color: var(--color-gray-600);
    pointer-events: none;
    transition: all 0.2s ease-out;
    background: transparent;
}

textarea~.floating-label {
    top: 24px;
}

/* When input is focused OR has content, float the label up */
.floating-input:focus~.floating-label,
.floating-input:not(:placeholder-shown)~.floating-label {
    top: 14px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
}

/* Telephone specific styles */
.phone-group {
    display: flex;
    align-items: center;
    position: relative;
}

.phone-prefix {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gray-800);
    font-weight: 600;
    font-size: 1.05rem;
    z-index: 2;
    padding-top: 14px;
    /* Align with input text */
}

.phone-input {
    padding-left: 75px !important;
    /* Make room for prefix */
}

.phone-input:focus~.phone-label,
.phone-input:not(:placeholder-shown)~.phone-label {
    left: 16px;
    /* Keep label position left */
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: var(--color-white);
    position: relative;
    overflow: hidden;
}

/* Background blob effect */
.features-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.text-center {
    text-align: center;
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-primary-dark);
    margin-bottom: 60px;
    letter-spacing: -0.03em;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background: var(--color-white);
    padding: 48px 32px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-100);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-gray-200);
}

.feature-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-gray-50) 0%, var(--color-gray-200) 100%);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 32px;
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 8px 16px rgba(0, 0, 0, 0.05);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
    transform: rotate(0deg) scale(1.1);
}

.feature-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feature-card h3 {
    color: var(--color-primary-dark);
    margin-bottom: 16px;
    font-size: 1.4rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--color-gray-600);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--color-accent-orange);
}

.stars {
    color: #fbba00;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.testimonial-card p {
    font-style: italic;
    color: var(--color-gray-800);
    margin-bottom: 20px;
}

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

.testimonial-user strong {
    font-size: 1rem;
    color: var(--color-primary-dark);
}

.testimonial-user span {
    font-size: 0.85rem;
    color: var(--color-gray-600);
}

/* Footer */
.footer {
    background-color: var(--color-primary-dark);
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-tagline {
    color: var(--color-gray-light);
    font-size: 0.95rem;
    max-width: 300px;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon:hover {
    background-color: var(--color-accent-orange);
    color: var(--color-primary-dark);
    transform: translateY(-3px);
    border-color: var(--color-accent-orange);
    box-shadow: 0 4px 15px rgba(230, 110, 34, 0.4);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--color-gray-light);
    font-size: 0.85rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-legal a {
    color: var(--color-gray-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--color-accent-orange);
}

.separator {
    color: rgba(255, 255, 255, 0.2);
}

/* Responsive Design */
@media (max-width: 992px) {
    .form-container {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .logo-icon {
        font-size: 1.5rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .hero {
        padding: 80px 0 100px;
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hero-benefits {
        font-size: 1rem;
    }

    .form-header h2 {
        font-size: 2rem;
    }

    .form-header h2 span {
        font-size: 1.5rem;
    }

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

    .trust-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        padding: 10px 0;
    }

    .trust-item {
        font-size: 1rem;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 30px;
    }

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

    .footer-tagline {
        margin: 0 auto;
    }

    .lead-form-card {
        padding: 20px;
    }

    .btn-lg {
        font-size: 1.1rem;
        padding: 14px 24px;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .phone-cta {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
}

/* Floating WhatsApp Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-accent-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa svg {
    width: 35px;
    height: 35px;
}

.floating-wa:hover {
    transform: scale(1.1) translateY(-5px);
    background-color: var(--color-success);
    box-shadow: 0 8px 15px rgba(37, 211, 102, 0.5);
    color: var(--color-white);
}

/* Add a subtle pulse animation to grab attention */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.floating-wa {
    animation: pulse-green 2s infinite;
}