/*
Theme Name: Corporate Theme
Theme URI:
Author: Proun
Author URI:
Description: Classic hybrid theme for corporate website. Content via ACF Blocks.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: corporate-theme
*/

/* ============================================================
   Base
   ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: var(--wp--preset--font-family--base, system-ui, sans-serif);
    color: var(--wp--preset--color--primary, #1a1a2e);
    background-color: var(--wp--preset--color--white, #fff);
    line-height: 1.6;
}

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

a {
    color: inherit;
}

/* ============================================================
   Site header
   ============================================================ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--wp--preset--color--white, #fff);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin-inline: auto;
    padding: 1rem 1.5rem;
}

.site-header__name {
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
}

.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    font-weight: 500;
}

.nav-menu a:hover {
    color: var(--wp--preset--color--accent, #e94560);
}

/* ============================================================
   Site main
   ============================================================ */

.site-main {
    min-height: 60vh;
}

/* ============================================================
   Site footer
   ============================================================ */

.site-footer {
    padding: 2rem 0;
    background-color: var(--wp--preset--color--primary, #1a1a2e);
    color: var(--wp--preset--color--white, #fff);
}

.site-footer__inner {
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin-inline: auto;
    padding-inline: 1.5rem;
    text-align: center;
}

/* ============================================================
   Aseguradora — detail hero
   ============================================================ */

.aseguradora-hero {
    background-color: var(--wp--preset--color--primary, #1a1a2e);
    color: var(--wp--preset--color--white, #fff);
}

.aseguradora-hero__inner {
    max-width: var(--wp--style--global--wide-size, 1200px);
    margin-inline: auto;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.aseguradora-hero__logo {
    max-width: 160px;
    height: auto;
}

.aseguradora-hero__title {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.aseguradora-hero__price {
    margin: 0;
    font-size: 1.25rem;
}

/* ============================================================
   WYSIWYG scope
   ============================================================ */

.s-wysiwyg p,
.s-wysiwyg ul,
.s-wysiwyg ol {
    margin-bottom: 1em;
}

.s-wysiwyg ul,
.s-wysiwyg ol {
    padding-left: 1.5rem;
}
