:root {
    --bg: #eef3f8;
    --surface: #ffffff;
    --surface-soft: #f6f9fc;
    --surface-strong: #d7e1ec;
    --ink: #17344a;
    --ink-soft: #31526a;
    --muted: #587081;
    --line: rgba(23, 52, 74, 0.12);
    --brand: #1f6a4e;
    --brand-strong: #154d39;
    --brand-soft: #6e9784;
    --brand-lime: #8bbd32;
    --brand-lime-strong: #5da34a;
    --brand-blue-tint: #2f6f78;
    --brand-button-text: #103a2d;
    --accent: #a7c3b4;
    --shadow: 0 10px 24px rgba(23, 52, 74, 0.08);
    --radius: 28px;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    color: var(--ink);
    background:
        radial-gradient(circle at top left, rgba(91, 117, 151, 0.18), transparent 32%),
        linear-gradient(180deg, #ffffff 0%, #f3f7fb 52%, #e9f0f6 100%);
}

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

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin: 0 auto;
}

.container-wide {
    width: min(calc(100% - 2rem), 1320px);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(11, 47, 99, 0.08);
    backdrop-filter: blur(12px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 1.45rem;
    min-width: 0;
}

.brand img {
    width: 200px;
    height: auto;
    object-fit: contain;
}

.brand strong,
.hero-copy h1,
.section h2,
.section h3,
.cta-panel h2,
.inner-hero h1 {
    font-family: "Montserrat", sans-serif;
}

.brand strong {
    display: block;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--brand-strong);
}

.brand-copy {
    position: relative;
    min-width: 0;
    margin-left: 0.2rem;
    padding-left: 1.35rem;
}

.brand-copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 3rem;
    background: linear-gradient(180deg, rgba(11, 47, 99, 0.08) 0%, rgba(11, 47, 99, 0.38) 50%, rgba(11, 47, 99, 0.08) 100%);
}

.brand-tagline {
    display: block;
    max-width: 31ch;
    font-size: 0.94rem;
    line-height: 1.35;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: var(--ink-soft);
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.site-nav a {
    font-size: 0.96rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--brand-strong);
}

.nav-cta,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.35rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

.nav-cta {
    background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-lime-strong) 52%, var(--brand-blue-tint) 100%);
    color: #fff !important;
    box-shadow: 0 8px 18px rgba(93, 163, 74, 0.16);
}

.nav-cta:hover,
.nav-cta:focus-visible {
    background: linear-gradient(135deg, #96c93c 0%, #66af52 50%, #336f82 100%);
    box-shadow: 0 10px 22px rgba(93, 163, 74, 0.2);
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--ink);
    border-radius: 999px;
    padding: 0.8rem 1rem;
    font: inherit;
}

.hero,
.inner-hero {
    padding: 3rem 0 2.5rem;
}

.hero-grid,
.section-grid,
.approach-grid,
.page-grid,
.footer-shell {
    display: grid;
    gap: 2rem;
}

.hero-copy {
    padding: 0;
    max-width: 36rem;
    position: relative;
    z-index: 1;
}

.eyebrow,
.section-label {
    margin: 0 0 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-soft);
}

.eyebrow::before,
.section-label::before {
    content: "";
    width: 2.4rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand) 0%, rgba(110, 151, 132, 0.28) 100%);
    flex-shrink: 0;
}

.hero-copy h1,
.inner-hero h1 {
    margin: 0;
    font-size: clamp(2.3rem, 4.2vw, 4.25rem);
    line-height: 1.04;
    font-weight: 800;
    letter-spacing: -0.03em;
    max-width: 12ch;
}

.hero-copy h1 br {
    display: block;
}

.section h2,
.page-card h2 {
    margin: 0;
    font-size: clamp(1.7rem, 2.6vw, 2.6rem);
    line-height: 1.12;
    font-weight: 750;
    letter-spacing: -0.02em;
}

.lead,
.section-heading p,
.rich-text p,
.approach-copy p,
.service-card p,
.timeline p,
.highlight-card p,
.page-card p,
.site-footer p {
    color: var(--muted);
    line-height: 1.75;
    font-size: 1rem;
}

.lead {
    max-width: 36ch;
    margin: 1rem 0 0;
    font-size: 1rem;
}

.hero-actions,
.section-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-actions {
    margin: 2rem 0 0;
}

.button-primary {
    background: linear-gradient(135deg, var(--brand-lime) 0%, var(--brand-lime-strong) 52%, var(--brand-blue-tint) 100%);
    color: #fff;
    box-shadow: 0 10px 22px rgba(93, 163, 74, 0.16);
}

.button-secondary {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(93, 163, 74, 0.22);
    color: var(--brand-button-text);
    box-shadow: 0 8px 18px rgba(93, 163, 74, 0.08);
}

.button-primary:hover,
.button-primary:focus-visible {
    background: linear-gradient(135deg, #96c93c 0%, #66af52 50%, #336f82 100%);
    box-shadow: 0 12px 24px rgba(93, 163, 74, 0.2);
}

.button-secondary:hover,
.button-secondary:focus-visible {
    background: rgba(241, 248, 234, 0.96);
    border-color: rgba(93, 163, 74, 0.34);
    color: var(--brand-strong);
    box-shadow: 0 10px 20px rgba(93, 163, 74, 0.12);
}

.hero-banner,
.service-card,
.timeline article,
.highlight-card,
.page-card,
.cta-panel {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-home {
    padding-top: 0rem;
}

.hero-visual {
    position: relative;
    min-height: 80vh;
    overflow: hidden;
}

.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(96deg, rgba(8, 33, 78, 0.82) 0%, rgba(12, 63, 118, 0.6) 34%, rgba(18, 72, 122, 0.28) 58%, rgba(18, 72, 122, 0.08) 76%, rgba(18, 72, 122, 0) 100%),
        linear-gradient(180deg, rgba(6, 24, 41, 0.1) 0%, rgba(6, 24, 41, 0.24) 100%);
}

.hero-content {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .lead {
    color: #fff;
}

.hero-content .eyebrow {
    color: rgba(255, 255, 255, 0.76);
}

.hero-content .eyebrow::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.24) 100%);
}

.hero-content .lead {
    color: rgba(255, 255, 255, 0.88);
}

.hero-content .hero-actions {
    margin-top: 1.2rem;
}

.hero-content .button-secondary {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(200, 233, 149, 0.44);
    color: #fff;
    box-shadow: 0 8px 18px rgba(8, 43, 95, 0.12);
}

.hero-content .button-secondary:hover,
.hero-content .button-secondary:focus-visible {
    background: rgba(151, 201, 60, 0.22);
    border-color: rgba(200, 233, 149, 0.56);
    color: #fff;
}

.section {
    padding: 2.5rem 0 5rem;
}

.quick-highlights {
    padding-top: 1.5rem;
}

.quick-highlights-wide {
    padding-bottom: 4.25rem;
}

.highlight-grid,
.card-grid {
    display: grid;
    gap: 1.2rem;
}

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

.quick-highlights .highlight-grid {
    gap: 1.2rem;
}

.highlight-card,
.service-card,
.page-card {
    padding: 1.6rem;
}

.icon-badge {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(31, 106, 78, 0.12), rgba(167, 195, 180, 0.28));
    color: var(--brand-strong);
    margin-bottom: 1rem;
}

.icon-badge-light {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    margin-bottom: 0;
}

.icon-badge svg,
.timeline-icon svg {
    width: 1.45rem;
    height: 1.45rem;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.quick-highlights .highlight-card {
    min-height: 240px;
    padding: 2rem 1.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(247, 250, 253, 0.96));
    border: 1px solid rgba(207, 219, 233, 0.75);
    box-shadow: 0 10px 26px rgba(26, 52, 89, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.quick-highlights .icon-badge {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(244, 250, 247, 1), rgba(231, 242, 237, 0.96)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.55), transparent 55%);
    border: 1px solid rgba(167, 195, 180, 0.34);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 8px 18px rgba(31, 106, 78, 0.08);
    margin-bottom: 1.55rem;
}

.quick-highlights .icon-badge svg {
    width: 2.2rem;
    height: 2.2rem;
    stroke-width: 1.8;
    color: #1b6a4d;

}

.quick-highlights .highlight-card h3 {
    margin: 0 0 0.8rem;
    font-size: 1.32rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: #18395f;
}

.quick-highlights .highlight-card p {
    margin: 0;
    max-width: 30ch;
    color: #5f7896;
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 500;
}

.quick-highlights .highlight-card:hover,
.quick-highlights .highlight-card:focus-within {
    transform: translateY(-4px);
    border-color: rgba(31, 106, 78, 0.22);
    box-shadow: 0 18px 36px rgba(23, 52, 74, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(245, 249, 253, 1));
}

.quick-highlights .highlight-card:hover .icon-badge,
.quick-highlights .highlight-card:focus-within .icon-badge {
    transform: scale(1.06);
    background:
        linear-gradient(180deg, rgba(247, 252, 249, 1), rgba(223, 239, 231, 1)),
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.6), transparent 55%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.95),
        0 12px 24px rgba(31, 106, 78, 0.12);
}

.section-grid,
.page-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: start;
}

.section-nosotros-full {
    padding-top: 1rem;
}

.nosotros-panel {
    position: relative;
    width: min(calc(100% - 2rem), 1360px);
    margin: 0 auto;
    overflow: hidden;
    border-radius: 32px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr);
    background: linear-gradient(125deg, rgba(231, 239, 248, 0.98) 0%, rgba(242, 247, 252, 0.98) 44%, rgba(228, 236, 246, 0.96) 100%);
    box-shadow: var(--shadow);
}

.nosotros-panel::before {
    content: none;
}

.nosotros-media {
    min-height: 360px;
    background:
        linear-gradient(90deg, rgba(9, 41, 89, 0.08) 0%, rgba(9, 41, 89, 0) 18%, rgba(255, 255, 255, 0) 100%),
        linear-gradient(180deg, rgba(12, 33, 70, 0.04), rgba(12, 33, 70, 0.18)),
        url("../img/ban02.webp");
    background-size: cover;
    background-position: center left;
}

.nosotros-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 3.5rem;
    min-height: 360px;
}

.nosotros-copy {
    max-width: 38rem;
}

.nosotros-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.nosotros-content h2 {
    max-width: 16ch;
}

.nosotros-content .section-label::before {
    background: linear-gradient(90deg, var(--brand) 0%, rgba(8, 43, 95, 0.18) 100%);
}

.nosotros-content p {
    max-width: 42ch;
}

.nosotros-content .button {
    margin-top: 0.75rem;
}

.feature-section {
    position: relative;
}

.feature-section .container {
    position: relative;
    z-index: 1;
}

.feature-grid,
.feature-section .container:first-child,
.approach-grid {
    padding: clamp(2rem, 4vw, 4rem);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
}

.feature-grid::before,
.services .container::before,
.approach-grid::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(246, 249, 252, 0.9)),
        var(--feature-image, none);
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.feature-grid::after,
.services .container::after,
.approach-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(215, 225, 236, 0.58));
}

.feature-grid > *,
.services .container > *,
.approach-grid > * {
    position: relative;
    z-index: 1;
}

.feature-nosotros {
    --feature-image: url("../img/ban02.webp");
}

.feature-servicios {
    --feature-image: url("../img/ban03.webp");
}

.feature-servicios .container,
.feature-enfoque .approach-panel {
    position: relative;
}

.feature-enfoque {
    --feature-image: url("../img/ban01.webp");
}

.section-heading {
    max-width: 720px;
    margin-bottom: 2.4rem;
    position: relative;
}

.section-heading h2 {
    position: relative;
}

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

.service-card h3,
.timeline h3,
.page-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.18rem;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    letter-spacing: -0.015em;
}

.section-actions {
    margin-top: 1.75rem;
}

.approach-panel {
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(2.25rem, 4vw, 4rem) 0;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.46);
    box-shadow: var(--shadow);
}

.approach-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(213, 225, 241, 0.62), rgba(233, 240, 248, 0.44)),
        var(--feature-image, none);
    background-size: cover;
    background-position: center;
    opacity: 1;
}

.approach-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(218, 229, 243, 0.12), rgba(196, 212, 232, 0.3)),
        radial-gradient(circle at top left, rgba(150, 187, 220, 0.18), transparent 42%);
}

.approach-panel > * {
    position: relative;
    z-index: 1;
}

.approach-heading {
    max-width: 860px;
    margin: 0 auto 2rem;
    text-align: center;
}

.approach-heading .section-label {
    justify-content: center;
}

.approach-heading h2 {
    max-width: 17ch;
    margin-inline: auto;
}

.approach-heading p {
    max-width: 58ch;
    margin: 1rem auto 0;
}

.timeline-horizontal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
}

.timeline {
    display: grid;
    gap: 1rem;
}

.timeline article {
    padding: 1.4rem;
    background: rgba(246, 249, 252, 0.88);
    position: relative;
}

.timeline article::before {
    content: "";
    position: absolute;
    top: 1.35rem;
    left: 1.35rem;
    width: 2.25rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand) 0%, rgba(11, 47, 99, 0.16) 100%);
    opacity: 0.9;
}

.timeline-horizontal article::before {
    display: none;
}

.timeline-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.9rem;
    padding-top: 0.4rem;
}

.timeline-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--surface-strong);
    color: var(--brand-strong);
    flex-shrink: 0;
}

.timeline-number {
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: var(--brand-soft);
}

.approach-actions {
    justify-content: center;
    margin-top: 1.5rem;
}

.text-link {
    display: inline-flex;
    margin-top: 0.5rem;
    font-weight: 700;
    color: var(--brand);
}

.inner-hero {
    padding-bottom: 1.5rem;
}

.inner-hero p {
    max-width: 58ch;
    color: var(--muted);
    line-height: 1.75;
}

.inner-hero-about {
    padding: 2rem 0 2.5rem;
}

.inner-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: stretch;
    gap: 2rem;
    padding: clamp(2.25rem, 4vw, 4rem);
    border-radius: 32px;
    overflow: hidden;
    background:
        linear-gradient(120deg, rgba(8, 43, 95, 0.98) 0%, rgba(20, 74, 136, 0.92) 48%, rgba(54, 106, 160, 0.82) 100%);
    box-shadow: var(--shadow);
}

.inner-hero-services .inner-hero-shell {
    width: min(calc(100% - 2rem), 1360px);
    margin: 0 auto;
}

.inner-hero-about .inner-hero-shell-wide {
    width: min(calc(100% - 2rem), 1360px);
    margin: 0 auto;
}

.inner-hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.inner-hero-about .eyebrow,
.inner-hero-about h1,
.inner-hero-about p {
    color: #fff;
}

.inner-hero-about .eyebrow {
    color: rgba(255, 255, 255, 0.82);
}

.inner-hero-about .eyebrow::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.22) 100%);
}

.inner-hero-about h1 {
    max-width: 11ch;
}

.inner-hero-about p {
    max-width: 44ch;
    color: rgba(255, 255, 255, 0.88);
}

.inner-hero-media {
    min-height: 320px;
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(8, 43, 95, 0.08)),
        url("../img/ban04.webp");
    background-size: cover;
    background-position: center;
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.inner-hero-services .inner-hero-media-services {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(8, 43, 95, 0.08)),
        url("../img/ban03.webp");
    background-size: cover;
    background-position: center;
}

.inner-hero-contact .inner-hero-media-contact {
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(8, 43, 95, 0.08)),
        url("../img/ban02.webp");
    background-size: cover;
    background-position: center;
}

.page-section {
    padding-bottom: 4.5rem;
}

.page-grid {
    align-items: stretch;
}

.page-section-about {
    padding-top: 0.75rem;
}

.page-grid-about {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 2rem;
}

.page-card-large,
.about-side {
    height: 100%;
}

.page-card-large,
.about-side .page-card {
    padding: 2.2rem;
}

.services-main {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    padding: 0.5rem 0;
}

.services-layout {
    width: min(calc(100% - 2rem), 1360px);
    margin: 0 auto;
}

.services-main-full {
    max-width: 54rem;
    margin-bottom: 2rem;
}

.services-intro {
    max-width: 44rem;
}

.services-intro h2 {
    margin: 0;
}

.services-intro p:last-child {
    margin-top: 1rem;
}

.about-side {
    display: grid;
    gap: 1.5rem;
}

.about-inline-media {
    min-height: 240px;
    margin: 0;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: var(--shadow);
    background:
        linear-gradient(180deg, rgba(8, 43, 95, 0.08), rgba(8, 43, 95, 0.18)),
        url("../img/ban03.webp");
    background-size: cover;
    background-position: center;
}

.about-inline-media-services {
    background:
        linear-gradient(180deg, rgba(8, 43, 95, 0.08), rgba(8, 43, 95, 0.18)),
        url("../img/ban01.webp");
    background-size: cover;
    background-position: center;
}

.about-inline-media-contact {
    background:
        linear-gradient(180deg, rgba(8, 43, 95, 0.08), rgba(8, 43, 95, 0.18)),
        url("../img/ban03.webp");
    background-size: cover;
    background-position: center;
}

.page-card-band {
    padding: 2.1rem 2.3rem;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.page-card-band p {
    max-width: 78ch;
}

.services-band {
    position: relative;
    margin-bottom: 2.25rem;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 32px;
    overflow: hidden;
    border: 1px solid rgba(206, 218, 232, 0.8);
    background: linear-gradient(135deg, rgba(240, 245, 251, 0.96), rgba(230, 238, 247, 0.92));
    box-shadow: var(--shadow);
}

.services-list {
    display: grid;
    gap: 1rem;
}

.service-row {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    align-items: start;
    gap: 1.5rem;
    padding: 1.5rem 1.6rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.74);
    border: 1px solid rgba(206, 218, 232, 0.7);
}

.service-row-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(139, 189, 50, 0.18), rgba(47, 111, 120, 0.16));
    color: var(--brand-strong);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.14em;
}

.service-row-body h3 {
    margin: 0 0 0.65rem;
}

.service-row-body p {
    margin: 0;
    max-width: 62ch;
}

.about-side-services {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
    align-items: stretch;
}

.about-side-leader {
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.page-card-leader {
    padding: 2.4rem;
}

.about-inline-media-leader {
    background:
        linear-gradient(180deg, rgba(8, 43, 95, 0.08), rgba(8, 43, 95, 0.18)),
        url("../img/ban04.webp");
    background-size: cover;
    background-position: center;
}

.contact-form-panel {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border-radius: 32px;
    border: 1px solid rgba(206, 218, 232, 0.8);
    background: linear-gradient(135deg, rgba(240, 245, 251, 0.96), rgba(230, 238, 247, 0.92));
    box-shadow: var(--shadow);
}

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

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

.form-field {
    display: grid;
    gap: 0.55rem;
}

.form-field span {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--ink);
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(190, 205, 221, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.95rem 1rem;
    font: inherit;
    color: var(--ink);
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: rgba(93, 163, 74, 0.55);
    box-shadow: 0 0 0 4px rgba(139, 189, 50, 0.12);
    background: #fff;
}

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

.form-field-full {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    justify-content: flex-start;
}

.contact-form-note {
    margin: 1rem 0 0;
    font-size: 0.96rem;
    line-height: 1.7;
    color: var(--muted);
}

.page-card ul {
    margin: 1rem 0 0;
    padding-left: 1.2rem;
    color: var(--muted);
}

.page-card li + li {
    margin-top: 0.7rem;
}

.cta-block {
    padding-bottom: 5rem;
}

.cta-panel {
    padding: 3rem 3.2rem;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 2rem;
    overflow: hidden;
    background:
        linear-gradient(115deg, rgba(8, 43, 95, 0.98) 0%, rgba(8, 43, 95, 0.9) 40%, rgba(38, 77, 130, 0.62) 57%, rgba(91, 117, 151, 0.18) 70%, rgba(91, 117, 151, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(8, 43, 95, 0.08)),
        url("../img/ban03.webp");
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
}

.cta-panel .section-label,
.cta-panel h2 {
    color: #fff;
}

.cta-copy {
    max-width: 58rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.cta-panel .section-label {
    margin-bottom: 1.1rem;
}

.cta-panel .section-label::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.26) 100%);
}

.cta-panel h2 {
    max-width: 24ch;
    line-height: 1.08;
}

.cta-panel .button-primary {
    background: #fff;
    color: var(--brand-strong);
    box-shadow: none;
    margin-top: 1.1rem;
    padding-inline: 1.7rem;
}

.cta-panel-stacked {
    align-items: center;
    justify-content: flex-start;
}

.cta-panel-stacked .cta-copy {
    max-width: 44rem;
    align-items: flex-start;
}

.site-footer {
    background: #0b2f63;
    color: #fff;
    padding: 3rem 0 2rem;
}

.footer-shell {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.7fr) minmax(0, 1fr);
    align-items: start;
    row-gap: 1.5rem;
}

.site-footer strong {
    display: block;
    margin-bottom: 0.55rem;
    font-size: 1.35rem;
    letter-spacing: 0.04em;
}

.site-footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
}

.footer-brand p {
    max-width: 28ch;
}

.footer-links {
    display: grid;
    gap: 0.7rem;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.92);
    font-weight: 600;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-contact a:hover,
.footer-contact a:focus-visible {
    color: #fff;
}

.footer-contact {
    display: grid;
    gap: 0.7rem;
}

.footer-contact p {
    max-width: 26ch;
}

.footer-copy {
    grid-column: 1 / -1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.66);
}

.whatsapp-float {
    position: fixed;
    right: 1.35rem;
    bottom: 1.35rem;
    z-index: 40;
    min-width: 4.15rem;
    height: 4.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.7rem;
    padding: 0.42rem 1.15rem 0.42rem 0.42rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(67, 179, 93, 0.18);
    color: var(--brand-strong);
    box-shadow: 0 14px 28px rgba(8, 43, 95, 0.16);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(8, 43, 95, 0.2);
    background: #fff;
    border-color: rgba(67, 179, 93, 0.3);
}

.whatsapp-float__icon {
    width: 3.3rem;
    height: 3.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #7ecb44 0%, #43b35d 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.whatsapp-float__icon img {
    width: 1.9rem;
    height: 1.9rem;
    display: block;
}

.whatsapp-float > span:last-child {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--brand-strong);
    letter-spacing: 0.01em;
}

@media (max-width: 980px) {
    .section-grid,
    .page-grid,
    .highlight-grid,
    .card-grid,
    .footer-shell {
        grid-template-columns: 1fr;
    }

    .timeline-horizontal {
        grid-template-columns: 1fr;
    }

    .site-nav {
        position: absolute;
        top: calc(100% + 0.75rem);
        right: 1rem;
        left: 1rem;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
        border-radius: 22px;
        border: 1px solid var(--line);
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: flex;
    }

    .menu-toggle {
        display: inline-flex;
    }

    .hero-visual,
    .hero-content {
        min-height: 80vh;
    }

    .quick-highlights .highlight-grid {
        gap: 1rem;
    }

    .inner-hero-shell,
    .page-grid-about {
        grid-template-columns: 1fr;
    }

    .inner-hero-services .inner-hero-shell {
        width: min(calc(100% - 1rem), 1360px);
    }

    .inner-hero-about .inner-hero-shell-wide {
        width: min(calc(100% - 1rem), 1360px);
    }

    .inner-hero-media {
        min-height: 260px;
    }

    .services-layout {
        width: min(calc(100% - 1rem), 1360px);
    }

    .about-side-services {
        grid-template-columns: 1fr;
    }

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

    .site-footer {
        padding: 2.35rem 0 1.75rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 0.8rem 0;
    }

    .brand img {
        width: 84px;
    }

    .brand {
        gap: 0.9rem;
    }

    .brand-copy {
        padding-left: 0.95rem;
        margin-left: 0;
    }

    .brand-copy::before {
        height: 2.4rem;
    }

    .brand-tagline {
        font-size: 0.72rem;
        line-height: 1.3;
    }

    .hero,
    .inner-hero {
        padding-top: 3.5rem;
    }

    .hero-home {
        padding-top: 0;
    }

    .inner-hero-about {
        padding-bottom: 2rem;
    }

    .inner-hero-shell {
        padding: 1.5rem;
        gap: 1.25rem;
        border-radius: 24px;
    }

    .inner-hero-media {
        min-height: 220px;
        border-radius: 18px;
    }

    .hero-copy h1,
    .inner-hero h1 {
        max-width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(2rem, 11vw, 3rem);
        line-height: 1.08;
    }

    .hero-copy h1 br {
        display: none;
    }

    .hero-visual,
    .hero-content {
        min-height: auto;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-visual {
        min-height: clamp(520px, 100svh, 760px);
    }

    .hero-content {
        align-items: flex-end;
        padding-top: 7rem;
        padding-bottom: 2.25rem;
    }

    .hero-content .lead {
        max-width: 32ch;
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .eyebrow,
    .section-label {
        gap: 0.55rem;
    }

    .eyebrow::before,
    .section-label::before {
        width: 1.8rem;
    }

    .hero-actions,
    .section-actions,
    .cta-panel {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions {
        margin-top: 1.35rem;
    }

    .button,
    .nav-cta {
        width: 100%;
    }

    .feature-grid,
    .feature-section .container:first-child,
    .approach-grid {
        padding: 1.5rem;
    }

    .page-card-large,
    .about-side .page-card {
        padding: 1.6rem;
    }

    .services-band {
        padding: 1rem;
        border-radius: 24px;
    }

    .page-card-band,
    .page-card-leader {
        padding: 1.5rem;
    }

    .contact-form-panel {
        padding: 1rem;
        border-radius: 24px;
    }

    .service-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.25rem;
    }

    .service-row-number {
        width: 3.35rem;
        height: 3.35rem;
        border-radius: 16px;
    }

    .about-side {
        gap: 1rem;
    }

    .about-inline-media {
        min-height: 200px;
        border-radius: 22px;
    }

    .nosotros-panel {
        grid-template-columns: 1fr;
    }

    .nosotros-media {
        min-height: 240px;
        background-position: center;
    }

    .nosotros-content {
        min-height: auto;
        padding: 2.25rem 1.5rem 2.5rem;
    }

    .nosotros-copy,
    .nosotros-content h2,
    .nosotros-content p {
        max-width: none;
    }

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

    .approach-panel {
        width: 100%;
        padding: 2rem 0;
    }

    .approach-heading {
        margin-bottom: 1.5rem;
    }

    .nosotros-content {
        min-height: 260px;
        padding: 3rem 1.25rem;
    }

    .quick-highlights .highlight-card {
        min-height: auto;
    }

    .cta-panel {
        padding: 2rem 1.5rem;
        gap: 1.5rem;
        background-position: center right;
    }

    .cta-panel h2 {
        max-width: none;
    }

    .whatsapp-float {
        right: 1rem;
        bottom: 1rem;
        min-width: 3.75rem;
        height: 3.75rem;
        padding-right: 1rem;
    }

    .whatsapp-float__icon {
        width: 3rem;
        height: 3rem;
    }

    .whatsapp-float > span:last-child {
        font-size: 0.86rem;
    }

}
