/* 
 * Contas Brillantes - Main Stylesheet
 * Color Palette:
 * - Background: #fefaf6 (light almond)
 * - Primary Accent: #ff5e57 (warm coral-red)
 * - Secondary Accent: #f9c80e (bright sunny yellow)
 * - Text: #2e2e2e (graphite black)
 * - Buttons and Forms: #4a4e69 (muted indigo)
 * - Gradients: #ff5e57 to #f9c80e
 */

/* === Reset and Base Styles === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #2e2e2e;
    background-color: #fefaf6;
    line-height: 1.6;
    padding-top: 5rem;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

a {
    text-decoration: none;
    color: #4a4e69;
    transition: color 0.3s ease;
}

a:hover {
    color: #ff5e57;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: #4a4e69;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn:hover {
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
}

.btn-primary:hover {
    background: linear-gradient(90deg, #f9c80e, #ff5e57);
}

.btn-outline {
    background: transparent;
    border: 2px solid #4a4e69;
    color: #4a4e69;
}

.btn-outline:hover {
    background: #4a4e69;
    color: #fff;
}

/* === Header and Navigation === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0.5rem 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
}

.main-nav .nav-links {
    display: flex;
    gap: 1.5rem;
}

.main-nav .nav-links li a {
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.main-nav .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
    bottom: -5px;
    left: 0;
    transition: width 0.3s ease;
}

.main-nav .nav-links li a:hover::after {
    width: 100%;
}

.btn-contact {
    padding: 0.5rem 1.2rem;
    background-color: #ff5e57;
    color: #fff;
    border-radius: 50px;
}

.btn-contact:hover {
    background-color: #f9c80e;
    color: #2e2e2e;
}

.menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 2;
}

.menu-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #2e2e2e;
    border-radius: 2px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.menu-icon span:nth-child(1) {
    top: 0px;
}

.menu-icon span:nth-child(2) {
    top: 9px;
}

.menu-icon span:nth-child(3) {
    top: 18px;
}

/* === Hero Section === */
.hero {
    background: linear-gradient(rgba(254, 250, 246, 0.9), rgba(254, 250, 246, 0.9)), url('./img/l7DEgs.jpg');
    background-size: cover;
    background-position: center;
    
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #2e2e2e;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #4a4e69;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* === About Section === */
.about {
    background-color: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.about-card {
    text-align: center;
    padding: 2rem;
    background-color: #fefaf6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5e57, #f9c80e);
    border-radius: 50%;
    color: #fff;
    font-size: 2rem;
}

.about-card h3 {
    margin-bottom: 1rem;
}

/* === Services Section === */
.services {
    background-color: #fefaf6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-image {
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-content .btn {
    margin-top: 1.5rem;
}

/* === Advantages Section === */
.advantages {
    background-color: #fff;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
}

.advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #fefaf6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5e57, #f9c80e);
    border-radius: 50%;
    color: #fff;
    font-size: 1.5rem;
}

.advantage-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

/* === Pricing Section === */
.pricing {
    background-color: #fefaf6;
}

/* Nuevos estilos para tarjetas de precios */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.pricing-card {
    background-color: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 1;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
    border: 2px solid #ff5e57;
    transform: scale(1.03);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.03) translateY(-10px);
}

.pricing-header {
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
    color: #fff;
    padding: 1.5rem;
    text-align: center;
    position: relative;
}

.pricing-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-badge {
    position: absolute;
    top: 0;
    right: 1rem;
    background-color: #4a4e69;
    color: #fff;
    padding: 0.3rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
}

.featured .pricing-badge {
    background-color: #f9c80e;
    color: #2e2e2e;
}

.pricing-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eee;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.feature-name {
    font-weight: 500;
}

.price-value {
    font-weight: 700;
    color: #ff5e57;
}

.pricing-btn {
    width: 100%;
    text-align: center;
}

.price-info {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
}

/* Estilos responsivos para las tarjetas de precios */
@media (max-width: 991px) {
    .pricing-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

@media (max-width: 480px) {
    .pricing-header h3 {
        font-size: 1.3rem;
    }
    
    .pricing-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.8rem;
    }
    
    .pricing-features li {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .price-value {
        align-self: flex-end;
    }
}

/* === Testimonials Section === */
.testimonials {
    background-color: #fff;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2rem;
    background-color: #fefaf6;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(249, 200, 14, 0.2);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: #777;
    font-size: 0.9rem;
}

/* === Contact Section === */
.contact {
    background-color: #fefaf6;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff5e57, #f9c80e);
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
}

.contact-form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: #ff5e57;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 94, 87, 0.2);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.form-check-input {
    min-width: 18px;
    height: 18px;
    margin-top: 3px;
}

.form-check-label {
    font-size: 0.9rem;
}

.form-check-label a {
    color: #ff5e57;
    font-weight: 600;
}

.map-container {
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* === Footer === */
.site-footer {
    background-color: #4a4e69;
    color: #fff;
    padding: 4rem 0 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-info, .footer-contact, .footer-legal, .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-info p {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-contact ul, .footer-legal ul, .footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-contact li, .footer-legal li, .footer-nav li {
    
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-contact i, .footer-legal i, .footer-nav i {
    font-size: 1rem;
}

.footer-contact a, .footer-legal a, .footer-nav a {
    color: #fff;
    transition: color 0.3s ease;
}

.footer-contact a:hover, .footer-legal a:hover, .footer-nav a:hover {
    color: #f9c80e;
}

.site-footer h3 {
    position: relative;
    padding-bottom: 0.8rem;
    margin-bottom: 0.5rem;
}

.site-footer h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, #ff5e57, #f9c80e);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(46, 46, 46, 0.95);
    color: #fff;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1001;
    transform: translateY(100%);
    transition: transform 0.4s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    flex: 1;
    padding-right: 1rem;
}

.cookie-content p {
    margin-bottom: 0;
    font-size: 0.9rem;
}

.cookie-content a {
    color: #f9c80e;
    font-weight: 600;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-btn-accept {
    background-color: #ff5e57;
    color: #fff;
}

.cookie-btn-accept:hover {
    background-color: #f9c80e;
    color: #2e2e2e;
}

/* === Thanks Page === */
.thanks-container {
   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12rem 0;
}

.thanks-card {
    background-color: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 0 auto;
    width: 100%;
}

.thanks-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff5e57, #f9c80e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto 2rem;
}

.thanks-card h1 {
    margin-bottom: 1rem;
    color: #4a4e69;
}

.thanks-card p {
    margin-bottom: 2rem;
    color: #777;
}

/* === Responsive Design === */
@media (max-width: 991px) {
    html {
        font-size: 15px;
    }
    
    section {
        padding: 4rem 0;
    }
    
    .hero {
        min-height: 70vh;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 4rem;
    }
    .about-grid, .services-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    section {
        padding: 3rem 0;
    }
    
    .hero {
        min-height: 60vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .menu-icon {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1;
    }
    
    .menu-toggle:checked ~ .nav-links {
        right: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(1) {
        transform: rotate(45deg);
        top: 9px;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle:checked ~ .menu-icon span:nth-child(3) {
        transform: rotate(-45deg);
        top: 9px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .site-header {
        padding: 0.3rem 0;
    }
    
    .logo a {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    body {
        padding-top: 3.5rem;
    }
    
    html {
        font-size: 14px;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .hero {
        min-height: 50vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .cookie-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .cookie-content {
        padding-right: 0;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: center;
    }
    
    .site-header {
        padding: 0.3rem 0;
    }
    
    .logo a {
        font-size: 1rem;
    }
    
    .menu-icon span {
        width: 24px;
    }
}

/* Icon Fonts using CSS */
.icon-phone::before {
    content: "📞";
}

.icon-email::before {
    content: "✉️";
}

.icon-location::before {
    content: "📍";
}

.icon-check::before {
    content: "✓";
}

.icon-star::before {
    content: "★";
}

.icon-calendar::before {
    content: "📅";
}

.icon-chart::before {
    content: "📊";
}

.icon-doc::before {
    content: "📄";
}

.icon-team::before {
    content: "👥";
}

.icon-shield::before {
    content: "🛡️";
}

.icon-clock::before {
    content: "🕒";
}

.icon-like::before {
    content: "👍";
}

/* Adding icon support for advantages section */
.icon-efficiency::before {
    content: "⚡";
}

.icon-security::before {
    content: "🔒";
}

.icon-support::before {
    content: "🤝";
}

.icon-experience::before {
    content: "🏆";
}

.icon-tech::before {
    content: "💻";
}

.icon-save::before {
    content: "💰";
} 