/* 
  DEFENSA SUMARIOS - STYLESHEET
  A premium, high-conversion landing page style 
*/

:root {
    /* Color Palette */
    --clr-navy: #0A192F;
    --clr-navy-light: #112240;
    --clr-gold: #D4AF37;
    --clr-gold-hover: #b5952f;
    --clr-text: #334155;
    --clr-text-light: #64748b;
    --clr-bg-light: #F8FAFC;
    --clr-white: #FFFFFF;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
    
    /* Spacing & Layout */
    --container-width: 1200px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-gold: 0 4px 14px 0 rgba(212, 175, 55, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--clr-text);
    background-color: var(--clr-white);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--clr-navy);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

.bg-light { background-color: var(--clr-bg-light); }
.bg-navy { background-color: var(--clr-navy); }
.text-white { color: var(--clr-white) !important; }
.text-gold { color: var(--clr-gold) !important; }
.text-gray-regular { color: #94A3B8; }
.text-center { text-align: center; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.mt-4 { margin-top: 1rem; }
.shadow-lg { box-shadow: var(--shadow-lg); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    gap: 0.5rem;
}

.btn i {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--clr-gold);
    color: var(--clr-navy);
    box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
    background-color: var(--clr-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(212, 175, 55, 0.4);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--clr-white);
    color: var(--clr-white);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
}

/* Glassmorphism */
.premium-glass {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all var(--transition-base);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-navy);
}

.logo i {
    color: var(--clr-gold);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--clr-text);
    position: relative;
}

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

.nav-links a:hover {
    color: var(--clr-navy);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--clr-navy);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    background-color: var(--clr-navy);
    background-image: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-light) 100%);
    color: var(--clr-white);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 60%);
}

.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.hero-text h1 span {
    color: var(--clr-gold);
}

.hero-text p {
    font-size: 1.125rem;
    color: var(--clr-bg-light);
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 540px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    background-color: rgba(212, 175, 55, 0.15);
    color: var(--clr-gold);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.stat-item i {
    font-size: 1.5rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero Card */
.premium-card {
    padding: 2.5rem;
    color: var(--clr-navy);
    transform: rotate(2deg);
    transition: transform 0.5s ease;
}

.premium-card:hover {
    transform: rotate(0deg) scale(1.02);
}

.premium-card .card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.premium-card .card-header i {
    font-size: 2.5rem;
}

.premium-card h3 {
    margin: 0;
    font-family: var(--font-serif);
}

.check-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-list i {
    color: var(--clr-gold);
    font-weight: bold;
    margin-top: 0.25rem;
}

/* Services */
.section-header {
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header p {
    color: var(--clr-text-light);
    font-size: 1.125rem;
}

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

.service-card {
    background: var(--clr-white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
    border: 1px solid rgba(0,0,0,0.03);
    position: relative;
    top: 0;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
    top: -10px;
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card .icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--clr-gold);
    font-size: 2rem;
    transition: var(--transition-base);
}

.service-card:hover .icon-wrapper {
    background: var(--clr-gold);
    color: var(--clr-white);
    transform: scale(1.1);
}

.service-card p {
    color: var(--clr-text-light);
    font-size: 0.95rem;
    margin: 0;
}

.service-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-navy);
    margin-bottom: 1.5rem;
}

.service-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    color: var(--clr-text);
}

.service-features i {
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.highlight-card {
    border: 2px solid var(--clr-gold);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.15);
}

/* Timeline/Steps */
.bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.05;
    background-image: radial-gradient(var(--clr-white) 1px, transparent 1px);
    background-size: 30px 30px;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    height: 100%;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    padding-left: 80px;
    margin-bottom: 3rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.6s ease forwards;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 50px;
    height: 50px;
    background: var(--clr-gold);
    color: var(--clr-navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 0 0 8px rgba(10, 25, 47, 1);
}

.timeline-content h3 {
    color: var(--clr-gold);
    margin-bottom: 0.5rem;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-methods {
    margin-top: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.method {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--clr-bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--clr-navy);
}

.method h4 {
    margin: 0;
    font-size: 1rem;
}

.method p {
    margin: 0;
    color: var(--clr-text-light);
}

.contact-form-wrapper {
    padding: 3rem;
    background: white;
}

.contact-form-wrapper h3 {
    margin-bottom: 2rem;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: transparent;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--clr-gold);
}

/* Floating labels effect */
.form-group label {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: var(--clr-text-light);
    transition: all var(--transition-fast);
    pointer-events: none;
    background: white;
    padding: 0 0.5rem;
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
    top: -0.5rem;
    left: 0.8rem;
    font-size: 0.8rem;
    color: var(--clr-navy);
}

/* Hide placeholders transparently to only show floating labels */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: transparent;
}

.form-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: var(--clr-text-light);
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    color: var(--clr-white);
}

.footer-links h4 {
    color: var(--clr-white);
    margin-bottom: 1.5rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a:hover {
    color: var(--clr-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #64748b;
    font-size: 0.875rem;
}

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

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-content, .contact-container, .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero {
        padding: 8rem 0 5rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-stats, .hero-buttons {
        justify-content: center;
    }
    
    .premium-card {
        transform: rotate(0);
        margin: 0 auto;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline::before {
        left: 20px;
    }
    
    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .timeline-item {
        padding-left: 60px;
    }
}
