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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
    padding-bottom: 64px;
}

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

a {
    color: inherit;
}

.container {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid #ececec;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 20;
}

.header-inner {
    width: min(1080px, calc(100% - 48px));
    margin: 0 auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 115px;
    height: 115px;
    object-fit: cover;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.site-nav a {
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #333333;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: #111111;
    border-bottom: 1px solid #111111;
    padding-bottom: 2px;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    width: 28px;
    height: 18px;
    position: relative;
}

.nav-toggle-label span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #111111;
}

.nav-toggle-label span:nth-child(1) {
    top: 0;
}

.nav-toggle-label span:nth-child(2) {
    top: 8px;
}

.nav-toggle-label span:nth-child(3) {
    top: 16px;
}

.hero,
.page {
    padding: 62px 0 88px;
}

.hero {
    padding-bottom: 32px;
}

.eyebrow {
    margin: 0 0 16px;
    font-size: 13px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #666666;
}

.hero h1,
.page h1 {
    margin: 0 0 24px;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 1.15;
    font-weight: 650;
    letter-spacing: -0.03em;
    max-width: 14ch;
}

.lead {
    margin: 0 0 36px;
    font-size: 18px;
    color: #444444;
    max-width: 640px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: #000000;
}

.btn-whatsapp {
    background: #ffffff;
    color: #128c3b;
    border-color: #128c3b;
}

.btn-whatsapp:hover {
    background: #128c3b;
    color: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
    gap: 56px;
    align-items: start;
    max-width: 900px;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    font-size: 15px;
    font-weight: 600;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cccccc;
    border-radius: 2px;
    color: #111111;
    font: inherit;
}

.form-field textarea {
    min-height: 150px;
    resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: 2px solid #111111;
    outline-offset: 2px;
}

.contact-form .btn {
    justify-self: start;
    cursor: pointer;
    font: inherit;
    font-weight: 600;
}

.form-note {
    margin: -10px 0 0;
    color: #666666;
    font-size: 13px;
}

.contact-details {
    display: grid;
    gap: 24px;
    padding-top: 4px;
}

.contact-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #222222;
    line-height: 1.7;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-link svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    margin-top: 3px;
    fill: currentColor;
}

.contact-credentials {
    margin: 4px 0 0;
    padding: 18px 0 0 36px;
    border-top: 1px solid #ececec;
    color: #555555;
    font-size: 14px;
    line-height: 1.8;
}

.blog-page .lead {
    margin-bottom: 16px;
}

.blog-intro {
    max-width: 760px;
    margin: 0 0 28px;
    color: #555555;
}

.blog-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 56px;
}

.blog-categories a {
    padding: 9px 14px;
    border: 1px solid #d8d8d8;
    color: #222222;
    font-size: 14px;
    text-decoration: none;
}

.blog-categories a:hover {
    border-color: #111111;
    background: #f7f7f7;
}

.blog-category {
    margin-top: 48px;
    scroll-margin-top: 110px;
}

.blog-category h2 {
    margin: 0 0 8px;
    font-size: clamp(25px, 3vw, 34px);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.blog-category .section-intro {
    margin-bottom: 24px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 190px;
    padding: 22px;
    border: 1px solid #ececec;
    background: #ffffff;
}

.blog-card h3 {
    margin: 0 0 10px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 650;
}

.blog-card p {
    margin: 0 0 18px;
    color: #555555;
    font-size: 14px;
}

.blog-card-status {
    margin-top: auto;
    color: #777777;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.blog-card-link {
    margin-top: auto;
    color: #111111;
    font-size: 14px;
    font-weight: 650;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.blog-card-link:hover {
    text-decoration-thickness: 2px;
}

.article-page {
    padding-top: 48px;
}

.article-content {
    max-width: 780px;
    margin: 0 auto;
}

.article-breadcrumb {
    margin: 0 0 24px;
    color: #666666;
    font-size: 14px;
}

.article-breadcrumb a {
    color: #333333;
}

.article-content h1 {
    max-width: 20ch;
}

.article-content h2 {
    margin: 40px 0 12px;
    font-size: clamp(24px, 3vw, 32px);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.article-content h3 {
    margin: 24px 0 8px;
    font-size: 20px;
    line-height: 1.35;
}

.article-content p,
.article-content li {
    color: #444444;
    font-size: 17px;
    line-height: 1.8;
}

.article-content p {
    margin: 0 0 18px;
}

.article-byline {
    margin: -20px 0 28px !important;
    color: #666666 !important;
    font-size: 14px !important;
}

.article-byline span {
    display: inline-block;
    margin-left: 8px;
}

.article-content ul,
.article-content ol {
    padding-left: 24px;
    margin: 0 0 24px;
}

.article-content li + li {
    margin-top: 8px;
}

.article-callout {
    margin: 28px 0;
    padding: 20px 24px;
    border-left: 4px solid #111111;
    background: #f7f7f7;
}

.article-callout p:last-child {
    margin-bottom: 0;
}

.article-note {
    color: #666666 !important;
    font-size: 14px !important;
}

.source-citation {
    font-size: 0.85em;
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}

.article-sources {
    margin-top: 40px;
    padding-top: 8px;
    border-top: 1px solid #ececec;
}

.article-sources h2 {
    font-size: 24px;
}

.article-sources ul {
    list-style: none;
    padding-left: 0;
}

.article-sources li {
    font-size: 15px;
    overflow-wrap: anywhere;
}

.article-cta {
    margin-top: 40px;
    padding: 24px;
    border: 1px solid #e3e3e3;
}

.article-cta h2 {
    margin-top: 0;
}

.article-cta .btn {
    margin-top: 4px;
}

.servicios {
    padding: 24px 0 96px;
    border-top: 1px solid #ececec;
}

.servicios h2 {
    margin: 48px 0 8px;
    font-size: 28px;
    font-weight: 650;
    letter-spacing: -0.02em;
}

.section-intro {
    margin: 0 0 40px;
    color: #555555;
    max-width: 520px;
}

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

.servicio-card {
    padding: 28px 24px;
    border: 1px solid #ececec;
    background: #ffffff;
}

.servicio-card h3 {
    margin: 0 0 12px;
    font-size: 18px;
    font-weight: 650;
}

.servicio-card p {
    margin: 0;
    color: #555555;
    font-size: 15px;
}

.about {
    padding: 24px 0 96px;
    border-top: 1px solid #ececec;
    background: #f7f7f7;
}

.about-wrap {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.about-copy {
    max-width: 920px;
}

.about-copy h2 {
    margin: 28px 0 8px;
    font-size: 24px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.about-copy h1 + h2 {
    margin-top: 0;
}

.about-copy p {
    margin: 0 0 18px;
    color: #444444;
    font-size: 17px;
    line-height: 1.8;
}

.reviews-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px;
    border: 1px solid #e3e3e3;
    background: #ffffff;
}

.reviews-card .eyebrow {
    margin-bottom: 8px;
}

.reviews-card h2 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.25;
}

.reviews-card p:not(.eyebrow) {
    margin: 0;
    color: #555555;
}

.reviews-card .btn {
    flex-shrink: 0;
}

.site-footer {
    border-top: 1px solid #ececec;
    background: #ffffff;
    padding: 18px 0;
}

.regular-footer .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 6px;
}

.site-footer p {
    margin: 0;
    color: #333333;
    font-size: 14px;
}

.footer-tagline {
    color: #333333;
    font-size: 14px;
}

.footer-brand {
    color: #888888;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.footer-copy {
    margin-top: 0 !important;
    font-size: 13px;
    color: #888888 !important;
}

.floating-contact-bar {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 50;
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid #ececec;
    border-radius: 999px;
    box-shadow: 0 8px 24px rgba(17, 17, 17, 0.12);
    padding: 8px 8px 8px 16px;
}

.floating-contact-copy {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1;
    font-size: 13px;
    color: #111111;
}

.floating-contact-label {
    font-weight: 700;
    font-size: 13px;
}

.floating-contact-subtitle {
    display: none;
    font-size: 12px;
    color: #555555;
}

.floating-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #25d366;
    color: #ffffff;
    text-decoration: none;
    border-radius: 999px;
    padding: 10px 16px 10px 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.22);
}

.floating-whatsapp:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.3);
}

.floating-whatsapp svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

@media (min-width: 700px) {
    .floating-contact-subtitle {
        display: inline;
    }
}

@media (max-width: 800px) {
    .header-inner {
        min-height: 72px;
        position: relative;
    }

    .logo img {
        width: 96px;
        height: 96px;
    }

    .nav-toggle-label {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: -24px;
        right: -24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        background: #ffffff;
        border-bottom: 1px solid #ececec;
        padding: 8px 24px 16px;
    }

    .site-nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #f3f3f3;
    }

    .nav-toggle:checked ~ .site-nav {
        display: flex;
    }

    .hero,
    .page {
        padding: 56px 0 64px;
    }

    .hero {
        padding-bottom: 24px;
    }

    .servicios-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .reviews-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 520px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-categories {
        flex-direction: column;
        align-items: stretch;
    }
}
