/* Custom styles for STYC HOME website */

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlendMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    background-color: #111827;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

/* Header Estilos */
.header {
    background-color: rgba(0, 0, 0, 0.90);
    backdrop-filter: blur(4px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-size: 2rem;
    color: #f59e0b;
}

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

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.nav-links a:hover {
    color: #facc15;
}

.nav-links a.active {
    color: #f59e0b;
}

.mobile-menu-btn {
    display: block;
    color: #f59e0b;
    background: none;
    border: none;
    cursor: pointer;
}

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

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 40;
    display: none;
}

.mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 2rem;
    font-size: 1.25rem;
}

.mobile-menu-content a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.15s ease-in-out;
}

.mobile-menu-content a:hover {
    color: #facc15;
}

.mobile-menu-content a.active {
    color: #f59e0b;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 5rem;
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

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

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.hero-description {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
    font-size: 1.125rem;
}

.hero-image-section {
    display: flex;
    justify-content: center;
}

.hero-image {
    max-width: 22rem;
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: scale(1.02);
}

/* Contact Form Section */
.contact-section {
    background: url('../assets/Fondo_Asesoria.webp');
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.contact-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.contact-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1rem;
    text-align: center;
}

.contact-form {
    width: 100%;
    max-width: 56rem;
    margin-left: auto;
    margin-right: auto;
}

.form-grid {
    display: grid;
    gap: 1.5rem;
}

.form-input {
    background: white;
    border: 1px solid #6b7280;
    border-radius: 8px;
    padding: 12px 16px;
    color: #1f2937;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.1);
}

.form-input::placeholder {
    color: #6b7280;
}

.submit-button {
    background-color: #f59e0b;
    color: #000000;
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
    width: 100%;
}

.submit-button:hover {
    background-color: #facc15;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Yellow divider line */
.yellow-divider {
    width: 300px;
    height: 3px;
    background-color: #f59e0b;
    margin: 20px auto;
    border-radius: 2px;
}

/* Services Sections */
.services-section {
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #1f2937;
}

.services-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.services-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.service-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.service-description {
    color: #d1d5db;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.service-list {
    color: #d1d5db;
    list-style: none;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.service-list i {
    color: #f59e0b;
    margin-right: 0.75rem;
    margin-top: 0.25rem;
}

.service-image {
    width: 100%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.service-image:hover {
    transform: scale(1.02);
}

/* Policies Section */
.policies-section {
    background: linear-gradient(rgb(155 155 155 / 50%), rgb(255 255 255 / 50%)), url('../assets/Fondo_Servicios.webp');
    background-size: cover;
    background-position: bottom;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.policies-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f59e0b;
    text-align: center;
    margin-bottom: 4rem;
}

.policies-list {
    color: #000000;
    list-style: none;
}

.policies-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 4rem;
}

.policy-card {
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.policy-card:hover {
    transform: scale(1.05);
}

.policy-icon {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    margin-right: 1rem;
}

.policy-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.policy-description {
    color: #d1d5db;
    font-size: 0.875rem;
}

/* Coverage Section */
.coverage-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #f59e0b;
    text-align: center;
    margin-bottom: 4rem;
}

.coverage-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.coverage-card {
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.coverage-card:hover {
    transform: scale(1.02);
}

.shield-icon {
    width: 80px;
    height: 80px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 28px;
    color: #ffffff;
    flex-shrink: 0;
    background: transparent;
}

.shield-icon img {
    width: 100%;
    object-fit: cover;
}

.coverage-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 0.5rem;
}

.coverage-content {
    flex: 1;
    text-align: left;
}

.coverage-description {
    color: #d1d5db;
    margin: 0;
    line-height: 1.5;
}

/* Our Firm Section */
.about-section {
    background: url('../assets/Logo_marca_de_agua.webp');
    background-size: cover;
    background-position: center;
    padding-top: 5rem;
    padding-bottom: 5rem;
    background-color: #1f2937;
}

.about-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.about-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

.about-image-container {
    background-color: #374151;
    border-radius: 0.5rem;
    padding: 2rem;
}

.about-image {
    width: 100%;
    height: 30rem;
    object-fit: cover;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.about-image:hover {
    transform: scale(1.02);
}

.about-content {
    height: 30rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    padding: 2rem;
    border-left: 4px solid #f59e0b;
}

.about-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #f59e0b;
    margin-bottom: 1.5rem;
}

.about-description {
    color: #374151;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: #000000;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.footer-logo-image {
    width: 120px;
    object-fit: cover;
}

.footer-logo {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.footer-logo-text {
    font-size: 2rem;
    color: #f59e0b;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    color: #ffffff;
}

.contact-item i {
    color: #f59e0b;
    margin-right: 0.75rem;
}

.contact-item .small-text {
    font-size: 0.875rem;
    color: #9ca3af;
    padding-left: 0.5rem;
}

.footer-border {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 50;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #1f2937;
    border-radius: 0.5rem;
    padding: 2rem;
    max-width: 28rem;
    margin: 1rem;
    text-align: center;
}

.modal-icon {
    color: #b91010;
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.modal h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.modal p {
    color: #d1d5db;
    margin-bottom: 1rem;
}

.modal-button {
    background-color: #f59e0b;
    color: #000000;
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease-in-out;
}

.modal-button:hover {
    background-color: #facc15;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mb-12 {
    margin-bottom: 3rem;
}

.mt-8 {
    margin-top: 2rem;
}

.leading-relaxed {
    line-height: 1.6;
}

/* Responsive Design */
@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

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

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

    .hero-title {
        font-size: 2.25rem;
    }

    .contact-title {
        font-size: 2.25rem;
    }

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

    .submit-button {
        grid-column: span 2;
    }

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

    .policies-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .coverage-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

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

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

    .service-content h2 {
        font-size: 2.25rem;
    }
}
