/*
Theme Name: Piscinas Fibra
Theme URI: https://tusitio.cl/
Author: Javier / (tu agencia)
Author URI: https://tusitio.cl/
Description: Tema personalizado para venta de piscinas de fibra de vidrio, preparado para WooCommerce + Transbank.
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: piscinas-fibra
*/

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: #1f2933;
    background-color: #f5f7fa;
}

a {
    color: #0ea5e9;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header,
footer {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.site-header {
    padding: 16px 0;
}

.site-branding a {
    font-weight: 700;
    font-size: 20px;
    color: #0b7285;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 16px;
}

.main-navigation a {
    font-weight: 500;
    color: #1f2933;
}

.hero {
    position: relative;
    padding: 100px 0;
    color: #ffffff;
    text-align: left;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        120deg,
        rgba(15, 118, 178, 0.8),
        rgba(6, 182, 212, 0.7)
    );
}

.hero.hero-slider::before {
    display: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 40px;
    margin-bottom: 16px;
}

.hero p {
    font-size: 18px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background-color: #0ea5e9;
    color: #ffffff;
}

.btn-secondary {
    background-color: #ffffff;
    color: #0ea5e9;
}

.section {
    padding: 60px 0;
    background-color: #f5f7fa;
}

.section.alt {
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 32px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
    gap: 24px;
}

.card {
    background-color: #ffffff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(15, 23, 42, 0.08);
}

.card img {
    max-width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
}

.card h3 {
    margin: 8px 0;
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #0369a1;
    margin-right: 4px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
}

.process-step-number {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0ea5e9;
    color: #ffffff;
    margin-bottom: 8px;
    font-weight: 700;
}

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

.faq-item {
    margin-bottom: 12px;
}

.faq-question {
    font-weight: 600;
}

.faq-answer {
    font-size: 14px;
    color: #4b5563;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    font-size: 14px;
    font-family: inherit;
}

textarea {
    min-height: 120px;
}

.site-footer {
    padding: 32px 0;
    font-size: 14px;
    color: #6b7280;
}

.site-footer .footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 24px;
}

.header-social {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 13px;
}

.header-social a {
    padding: 4px 8px;
    border-radius: 999px;
    background-color: #e0f2fe;
    color: #0369a1;
    font-weight: 600;
}
