/* =============================================================================
   Estilos globales reutilizados (páginas About, Services, Contact, etc.)
   ============================================================================= */

.main-header {
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 14px rgba(15, 39, 68, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 0;
}

.brand-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: center;
}

.nav-menu a {
    margin-left: 1.8rem;
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-menu a:hover {
    color: var(--secondary-color);
    border-bottom-color: var(--accent-color);
}

.hero-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 55%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section h1 {
    font-size: 2.9rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.92;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(37, 99, 235, 0.32);
    color: var(--white);
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 1.9rem;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    margin-left: 0.8rem;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.12);
    border-color: var(--white);
}

.btn-sm {
    display: inline-block;
    margin-top: 0.9rem;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    border-radius: 7px;
    text-decoration: none;
}

.hero-sm {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 70px 0;
    text-align: center;
}

.hero-sm h1 {
    font-size: 2.3rem;
    margin-bottom: 0.5rem;
}

.hero-sm .subtitle {
    opacity: 0.92;
    font-size: 1.1rem;
    max-width: 620px;
    margin: 0 auto;
}

.breadcrumb {
    margin-top: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.85;
}

.breadcrumb a {
    color: var(--white);
    text-decoration: underline;
}

.section {
    padding: 70px 0;
}

.section-alt {
    background-color: var(--bg-light);
}

.section-lead {
    margin-bottom: 2rem;
    max-width: 660px;
    color: var(--text-muted);
}

.section-cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    color: var(--white);
    text-align: center;
}

.section-cta h2 {
    margin-bottom: 1rem;
}

.section h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.8rem;
}

.grid {
    display: grid;
    gap: 1.7rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

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

.card {
    background-color: var(--white);
    border: 1px solid var(--border-soft);
    border-radius: 12px;
    padding: 1.7rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 26px rgba(15, 39, 68, 0.12);
}

.card h3 {
    margin-bottom: 0.6rem;
    color: var(--primary-color);
}

.card p {
    color: var(--text-muted);
}

.card .price {
    font-weight: 700;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.card a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
}

.card a:hover {
    text-decoration: underline;
}

.card-compact {
    text-align: center;
    padding: 1.1rem;
}

.card-cta-inline {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-align: center;
}

.card-cta-inline h3,
.card-cta-inline p {
    color: var(--white);
}

.callout {
    margin-top: 2rem;
    padding: 1.1rem 1.3rem;
    background-color: var(--bg-tint);
    border-left: 4px solid var(--accent-color);
    border-radius: 6px;
}

.service-detail .highlight-box {
    background-color: var(--bg-tint);
    border-radius: 12px;
    padding: 1.7rem;
}

.service-detail .price-tag {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    margin-bottom: 1rem;
}

.list-check {
    list-style: none;
}

.list-check li {
    padding-left: 1.6rem;
    position: relative;
    margin-bottom: 0.7rem;
}

.list-check li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: 700;
}

.steps {
    padding-left: 1.2rem;
    margin: 1rem 0;
}

.steps li {
    margin-bottom: 0.7rem;
}

.disclaimer {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.contact-list {
    list-style: none;
}

.contact-list li {
    margin-bottom: 0.7rem;
}

.form label {
    display: block;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form input,
.form select,
.form textarea {
    display: block;
    width: 100%;
    margin-top: 0.4rem;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--white);
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.checkbox-group {
    border: none;
    padding: 0;
    margin: 0 0 1.2rem 0;
}

.checkbox-group legend {
    font-weight: 500;
    margin-bottom: 0.6rem;
    padding: 0;
}

.checkbox-label {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400 !important;
    margin-bottom: 0.4rem !important;
}

.checkbox-label input {
    width: auto !important;
    margin: 0 !important;
}

.alert {
    padding: 0.85rem 1.1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-success {
    background-color: #dbeafe;
    color: #1e40af;
    border: 1px solid #93c5fd;
}

.alert-error {
    background-color: #fdecea;
    color: #b02a20;
    border: 1px solid #f6c1bb;
}

/* Footer */
.main-footer {
    background: linear-gradient(180deg, var(--primary-dark), #0a1929);
    color: var(--white);
    padding: 55px 0 20px;
    margin-top: 60px;
}

.main-footer h4 {
    margin-bottom: 0.9rem;
}

.main-footer a {
    color: var(--white);
    opacity: 0.85;
    text-decoration: none;
}

.main-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.55rem;
}

.brand-logo-footer {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 2.2rem;
    padding-top: 1.3rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.brand-mark {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.5rem;
}

.card-icon {
    margin-bottom: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.nav-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.footer-newsletter p {
    opacity: 0.85;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 0.55rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--white);
    font-family: inherit;
}

.newsletter-form input[type="email"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
    padding: 0.55rem 1rem;
    border: none;
    border-radius: 6px;
    background-color: var(--accent-color);
    color: var(--white);
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.newsletter-form button:hover {
    background-color: var(--accent-light);
}

.social-links {
    display: flex;
    gap: 0.7rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1 !important;
}

.social-links a:hover {
    background-color: var(--accent-color);
}

.social-links img {
    width: 18px;
    height: 18px;
    filter: invert(1);
}

.page-404 {
    text-align: center;
    padding: 100px 0;
}

.page-404 .error-code {
    font-size: 6rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.page-404 h1 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.page-404 p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.about-block {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-block img {
    flex-shrink: 0;
}

.pull-quote {
    border-left: 4px solid var(--accent-color);
    padding: 0.4rem 0 0.4rem 1.2rem;
    margin: 1.5rem 0;
    font-style: italic;
    color: var(--primary-color);
    font-size: 1.05rem;
}

@media (max-width: 768px) {
    .nav-cta {
        margin-left: 0;
        margin-top: 0.6rem;
        text-align: center;
        border-bottom: none !important;
    }
}

