:root {
    --navy-950: #052438;
    --navy-900: #082e49;
    --navy-800: #0e4264;
    --blue-700: #006ca8;
    --blue-600: #007fc3;
    --blue-500: #1599d4;
    --blue-100: #dceffa;
    --blue-50: #eef8fd;
    --green-700: #477a2a;
    --green-600: #66a13d;
    --green-500: #78ad48;
    --green-100: #e5f0dc;
    --sun: #ffca4b;
    --sun-soft: #fff3c7;
    --ink: #112f41;
    --muted: #5c7180;
    --line: #dce6eb;
    --surface: #ffffff;
    --background: #f4f8fa;
    --shadow-lg: 0 28px 80px rgba(8, 46, 73, 0.14);
    --shadow-md: 0 18px 48px rgba(8, 46, 73, 0.1);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 15px;
    --container: 1240px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--surface);
    color: var(--ink);
    font-family: "Aptos", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

img,
svg {
    display: block;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-underline-offset: 3px;
}

button,
input,
select,
textarea {
    color: inherit;
    font: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    color: var(--navy-900);
    line-height: 1.08;
}

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

.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 1000;
    padding: 10px 16px;
    border-radius: 8px;
    background: #fff;
    color: var(--navy-900);
    font-weight: 800;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #fff !important;
    outline-offset: 2px !important;
    box-shadow: 0 0 0 6px #005f93 !important;
}

.campaign-bar {
    position: relative;
    z-index: 30;
    background: linear-gradient(90deg, var(--navy-950) 0%, var(--navy-800) 62%, #225d55 100%);
    color: #fff;
}

.campaign-bar-inner {
    display: flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    font-size: 0.9rem;
}

.campaign-bar p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.campaign-label {
    padding: 4px 9px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 999px;
    color: var(--sun);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.campaign-bar a {
    color: #fff;
    font-weight: 800;
    text-decoration: none;
}

.campaign-bar a:hover {
    color: var(--sun);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 25;
    border-bottom: 1px solid rgba(220, 230, 235, 0.75);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    transition: box-shadow 180ms ease;
}

.site-header.is-scrolled {
    box-shadow: 0 10px 30px rgba(8, 46, 73, 0.08);
}

.header-inner {
    display: flex;
    min-height: 98px;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    text-decoration: none;
}

.brand img {
    width: 146px;
    height: auto;
}

.main-navigation {
    display: flex;
    align-items: center;
    gap: 4px;
}

.main-navigation a {
    padding: 10px 13px;
    border-radius: 10px;
    color: #294a5d;
    font-size: 0.93rem;
    font-weight: 720;
    text-decoration: none;
    transition: color 160ms ease, background 160ms ease, transform 160ms ease;
}

.main-navigation a:hover {
    background: var(--blue-50);
    color: var(--blue-700);
}

.main-navigation .nav-cta {
    margin-left: 12px;
    padding: 12px 18px;
    background: var(--blue-700);
    color: #fff;
}

.main-navigation .nav-cta:hover {
    background: var(--navy-800);
    color: #fff;
    transform: translateY(-1px);
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 11px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
}

.menu-toggle span:not(.sr-only) {
    width: 21px;
    height: 2px;
    border-radius: 99px;
    background: var(--navy-900);
    transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 72px 0 76px;
    background:
        linear-gradient(rgba(8, 46, 73, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(8, 46, 73, 0.035) 1px, transparent 1px),
        radial-gradient(circle at 12% 16%, rgba(120, 173, 72, 0.14), transparent 26%),
        linear-gradient(180deg, #fbfdfe 0%, #f2f8fb 100%);
    background-size: 44px 44px, 44px 44px, auto, auto;
}

.hero::after {
    position: absolute;
    right: -180px;
    bottom: -250px;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(0, 127, 195, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(0, 127, 195, 0.035), 0 0 0 150px rgba(0, 127, 195, 0.025);
    content: "";
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.94fr) minmax(470px, 1.06fr);
    align-items: center;
    gap: 72px;
}

.hero-copy {
    padding: 28px 0;
}

.eyebrow,
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue-700);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green-500);
    box-shadow: 0 0 0 5px rgba(120, 173, 72, 0.14);
}

.hero h1 {
    max-width: 690px;
    margin: 21px 0 24px;
    font-size: clamp(3rem, 5.3vw, 5.3rem);
    letter-spacing: -0.058em;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 32px;
    color: var(--muted);
    font-size: 1.15rem;
    line-height: 1.72;
}

.hero-actions,
.callout-actions,
.press-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.button {
    display: inline-flex;
    min-height: 52px;
    padding: 13px 22px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 0.96rem;
    font-weight: 800;
    text-decoration: none;
    transition: transform 170ms ease, box-shadow 170ms ease, background 170ms ease, color 170ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--blue-700);
    box-shadow: 0 12px 28px rgba(0, 127, 195, 0.22);
    color: #fff;
}

.button-primary:hover {
    background: var(--navy-800);
    box-shadow: 0 14px 32px rgba(8, 46, 73, 0.23);
}

.button-secondary {
    border-color: #b9ccd6;
    background: rgba(255, 255, 255, 0.75);
    color: var(--navy-900);
}

.button-secondary:hover {
    border-color: var(--blue-600);
    background: #fff;
    color: var(--blue-700);
}

.hero-note {
    display: flex;
    max-width: 650px;
    margin: 24px 0 0;
    align-items: flex-start;
    gap: 10px;
    color: #526a78;
    font-size: 0.82rem;
    line-height: 1.5;
}

.hero-note svg {
    width: 18px;
    min-width: 18px;
    margin-top: 1px;
    fill: var(--green-700);
}

.hero-visual {
    position: relative;
    min-height: 590px;
    overflow: hidden;
    border-radius: var(--radius-xl);
    background: var(--navy-900);
    box-shadow: var(--shadow-lg);
}

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

.visual-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 36, 56, 0.22) 0%, rgba(5, 36, 56, 0.02) 48%, rgba(5, 36, 56, 0.85) 100%);
}

.visual-topline {
    position: absolute;
    top: 26px;
    right: 26px;
    left: 26px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.visual-topline span:last-child {
    color: var(--sun);
}

.visual-card {
    position: absolute;
    right: 24px;
    bottom: 24px;
    left: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(5, 36, 56, 0.8);
    color: #fff;
    backdrop-filter: blur(14px);
}

.visual-card-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--sun);
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.visual-card strong {
    display: block;
    max-width: 520px;
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
    line-height: 1.22;
}

.visual-tags {
    display: flex;
    margin-top: 20px;
    flex-wrap: wrap;
    gap: 8px;
}

.visual-tags span {
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.75rem;
    font-weight: 700;
}

.benefit-strip {
    border-block: 1px solid var(--line);
    background: #fff;
}

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

.benefit-grid article {
    display: grid;
    min-height: 142px;
    padding: 28px 32px;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 20px;
    border-left: 1px solid var(--line);
}

.benefit-grid article:last-child {
    border-right: 1px solid var(--line);
}

.benefit-number {
    color: var(--blue-600);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.benefit-grid strong {
    display: block;
    margin-bottom: 2px;
    color: var(--navy-900);
    font-size: 1rem;
}

.benefit-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 0.87rem;
    line-height: 1.5;
}

.section {
    padding: 112px 0;
}

.section-heading {
    margin-bottom: 48px;
}

.split-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.7fr);
    align-items: end;
    gap: 70px;
}

.section-heading h2,
.process-intro h2,
.callout-copy h2,
.contact-section h2 {
    margin: 15px 0 0;
    font-size: clamp(2.35rem, 4vw, 4rem);
    letter-spacing: -0.045em;
}

.section-heading > p,
.split-heading > p,
.process-intro > p {
    margin: 0;
    color: var(--muted);
    font-size: 1.03rem;
    line-height: 1.75;
}

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

.solution-card {
    position: relative;
    display: flex;
    min-height: 410px;
    padding: 34px;
    overflow: hidden;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: #fff;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.solution-card:hover {
    border-color: #b8d4e3;
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.solution-card-featured {
    border-color: transparent;
    background: var(--navy-900);
}

.solution-card-featured::after {
    position: absolute;
    right: -75px;
    bottom: -95px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 42px rgba(255, 255, 255, 0.035);
    content: "";
}

.card-icon {
    display: grid;
    width: 58px;
    height: 58px;
    margin-bottom: 74px;
    place-items: center;
    border-radius: 15px;
    background: var(--blue-50);
    color: var(--blue-600);
}

.card-icon svg {
    width: 29px;
    height: 29px;
    fill: currentColor;
}

.solution-card-featured .card-icon {
    background: rgba(255, 255, 255, 0.12);
    color: var(--sun);
}

.card-index {
    position: absolute;
    top: 37px;
    right: 34px;
    color: #526a78;
    font-size: 0.75rem;
    font-weight: 850;
    letter-spacing: 0.08em;
}

.solution-card h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 14px;
    font-size: 1.55rem;
    letter-spacing: -0.025em;
}

.solution-card p {
    position: relative;
    z-index: 1;
    margin-bottom: 28px;
    color: var(--muted);
    font-size: 0.94rem;
}

.solution-card > a {
    position: relative;
    z-index: 1;
    margin-top: auto;
    color: var(--blue-700);
    font-weight: 800;
    text-decoration: none;
}

.solution-card-featured h3,
.solution-card-featured > a {
    color: #fff;
}

.solution-card-featured p {
    color: rgba(255, 255, 255, 0.7);
}

.solution-card-featured .card-index {
    color: rgba(255, 255, 255, 0.72);
}

.casa-verde-callout {
    padding: 0 0 112px;
}

.callout-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(390px, 0.75fr);
    overflow: hidden;
    gap: 80px;
    padding: 76px;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 90% 10%, rgba(21, 153, 212, 0.25), transparent 34%),
        linear-gradient(135deg, var(--navy-950), var(--navy-800));
    color: #fff;
    box-shadow: var(--shadow-lg);
}

.callout-grid::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 8px;
    height: 100%;
    background: linear-gradient(180deg, var(--sun), var(--green-500));
    content: "";
}

.section-label-light {
    color: var(--sun);
}

.callout-copy h2 {
    max-width: 670px;
    color: #fff;
}

.callout-copy > p {
    max-width: 650px;
    margin: 24px 0 32px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 1.03rem;
}

.button-sun {
    background: var(--sun);
    color: var(--navy-950);
    box-shadow: 0 12px 28px rgba(255, 202, 75, 0.18);
}

.button-sun:hover {
    background: #ffda7e;
}

.text-link-light {
    padding: 10px 5px;
    color: rgba(255, 255, 255, 0.86);
    font-weight: 750;
}

.text-link-light:hover {
    color: var(--sun);
}

.callout-steps {
    display: grid;
    margin: 0;
    padding: 0;
    align-content: center;
    gap: 0;
    list-style: none;
}

.callout-steps li {
    display: grid;
    padding: 20px 0;
    grid-template-columns: 44px 1fr;
    gap: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.callout-steps li:last-child {
    border-bottom: 0;
}

.callout-steps li > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 50%;
    color: var(--sun);
    font-size: 0.8rem;
    font-weight: 850;
}

.callout-steps strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
}

.callout-steps p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.87rem;
    line-height: 1.5;
}

.process {
    background: var(--background);
}

.process-grid {
    display: grid;
    grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 100px;
}

.process-intro {
    position: sticky;
    top: 140px;
}

.process-intro h2 {
    margin-bottom: 22px;
}

.arrow-link {
    display: inline-flex;
    margin-top: 24px;
    align-items: center;
    gap: 18px;
    color: var(--blue-700);
    font-weight: 850;
    text-decoration: none;
}

.arrow-link:hover {
    color: var(--navy-900);
}

.process-list {
    border-top: 1px solid #bdcfd9;
}

.process-list article {
    display: grid;
    padding: 34px 0;
    grid-template-columns: 72px 1fr;
    gap: 20px;
    border-bottom: 1px solid #bdcfd9;
}

.process-list article > span {
    color: var(--green-700);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.process-list h3 {
    margin-bottom: 10px;
    font-size: 1.55rem;
}

.process-list p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
}

.press {
    background: #fff;
}

.press-heading {
    max-width: 700px;
}

.press-heading h2 {
    margin-bottom: 18px;
}

.press-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.press-card {
    min-height: 440px;
    padding: 38px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, #f7fafb, #edf4f7);
}

.press-card-blue {
    border-color: transparent;
    background:
        radial-gradient(circle at 90% 12%, rgba(255, 255, 255, 0.15), transparent 26%),
        linear-gradient(145deg, var(--blue-700), var(--navy-800));
    color: #fff;
}

.press-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #57717f;
    font-size: 0.73rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.press-card-top span:last-child {
    display: inline-grid;
    min-width: 42px;
    min-height: 27px;
    padding: 4px 8px;
    place-items: center;
    border: 1px solid #bccfd8;
    border-radius: 999px;
}

.press-card-blue .press-card-top {
    color: rgba(255, 255, 255, 0.9);
}

.press-card-blue .press-card-top span:last-child {
    border-color: rgba(255, 255, 255, 0.3);
}

.press-code {
    margin: 58px 0 20px;
    color: var(--green-700);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.press-card-blue .press-code {
    color: var(--sun);
}

.press-card h3 {
    max-width: 580px;
    margin-bottom: 16px;
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    letter-spacing: -0.035em;
}

.press-card > p {
    max-width: 560px;
    margin-bottom: 30px;
    color: var(--muted);
}

.press-card-blue h3 {
    color: #fff;
}

.press-card-blue > p {
    color: rgba(255, 255, 255, 0.9);
}

.button-dark {
    background: var(--navy-900);
    color: #fff;
}

.button-dark:hover {
    background: var(--blue-600);
}

.button-light {
    background: #fff;
    color: var(--navy-900);
}

.button-light:hover {
    background: var(--sun);
}

.download-link {
    padding: 9px 5px;
    color: var(--blue-700);
    font-size: 0.9rem;
    font-weight: 800;
}

.download-link-light {
    color: #fff;
}

.contact-section {
    padding: 88px 0;
    background: var(--sun-soft);
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr) auto;
    align-items: center;
    gap: 54px;
}

.contact-section h2 {
    max-width: 650px;
}

.contact-details > a {
    color: var(--navy-900);
    font-size: 1.05rem;
    font-weight: 850;
}

.contact-details p {
    margin: 13px 0 0;
    color: #506773;
}

.round-link {
    display: grid;
    width: 76px;
    height: 76px;
    place-items: center;
    border-radius: 50%;
    background: var(--navy-900);
    color: #fff;
    transition: background 170ms ease, transform 170ms ease;
}

.round-link:hover {
    background: var(--blue-600);
    transform: rotate(5deg) scale(1.04);
}

.round-link svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.site-footer {
    padding: 68px 0 28px;
    background: var(--navy-950);
    color: #fff;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(220px, 1.3fr) repeat(3, minmax(140px, 0.55fr));
    gap: 44px;
}

.footer-brand {
    display: block;
    width: 185px;
    padding: 10px;
    border-radius: 14px;
    background: #fff;
}

.footer-brand img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.18));
}

.footer-nav {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
}

.footer-nav strong {
    margin-bottom: 7px;
    color: var(--sun);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-nav a,
.footer-nav span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-decoration: none;
}

.footer-nav a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    margin-top: 58px;
    padding-top: 24px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.52);
    font-size: 0.8rem;
}

/* Pagini comunicate */
.document-body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    background: var(--background);
}

.document-header {
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.document-header-inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.document-brand img {
    width: 132px;
    height: auto;
}

.document-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.document-back {
    padding: 10px 4px;
    color: var(--navy-800);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
}

.document-main {
    display: flex;
    width: min(1380px, calc(100% - 36px));
    margin: 28px auto 34px;
    flex: 1;
    flex-direction: column;
}

.document-title-row {
    display: flex;
    margin-bottom: 18px;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.document-title-row h1 {
    margin: 6px 0 0;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    letter-spacing: -0.035em;
}

.document-title-row p {
    margin: 0;
    color: var(--muted);
}

.pdf-shell {
    flex: 1;
    min-height: 72vh;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow-md);
}

.pdf-shell iframe {
    display: block;
    width: 100%;
    height: 76vh;
    min-height: 620px;
    border: 0;
}

.document-fallback {
    display: block;
    margin: 0;
    padding: 16px 18px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

@media (max-width: 1080px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1fr);
        gap: 40px;
    }

    .hero-visual {
        min-height: 540px;
    }

    .callout-grid {
        gap: 52px;
        padding: 58px;
    }

    .solution-card {
        min-height: 440px;
        padding: 28px;
    }

    .card-icon {
        margin-bottom: 58px;
    }
}

@media (max-width: 900px) {
    html {
        scroll-padding-top: 92px;
    }

    .header-inner {
        min-height: 88px;
    }

    .brand img {
        width: 128px;
    }

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

    .main-navigation {
        position: absolute;
        z-index: 20;
        top: 100%;
        right: 0;
        left: 0;
        display: flex;
        max-height: 0;
        padding: 0 24px;
        overflow: hidden;
        align-items: stretch;
        flex-direction: column;
        gap: 2px;
        background: #fff;
        box-shadow: 0 26px 50px rgba(8, 46, 73, 0.14);
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
        transition: max-height 220ms ease, opacity 180ms ease, padding 220ms ease, visibility 0s linear 220ms;
    }

    .main-navigation.is-open {
        max-height: calc(100vh - 88px);
        padding-block: 18px 24px;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
        transition-delay: 0s;
    }

    .no-js .header-inner {
        flex-wrap: wrap;
    }

    .no-js .menu-toggle {
        display: none;
    }

    .no-js .main-navigation {
        position: static;
        max-height: none;
        padding: 0 0 18px;
        flex: 1 0 100%;
        box-shadow: none;
        opacity: 1;
        pointer-events: auto;
        visibility: visible;
    }

    .main-navigation a {
        padding: 13px 14px;
    }

    .main-navigation .nav-cta {
        margin: 8px 0 0;
        text-align: center;
    }

    .hero {
        padding-top: 50px;
    }

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

    .hero-copy {
        max-width: 760px;
        padding-bottom: 8px;
    }

    .hero-visual {
        min-height: 520px;
    }

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

    .benefit-grid article,
    .benefit-grid article:last-child {
        min-height: 0;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
        border-left: 0;
    }

    .benefit-grid article:last-child {
        border-bottom: 0;
    }

    .split-heading,
    .process-grid,
    .callout-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split-heading {
        gap: 24px;
    }

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

    .solution-card {
        min-height: 350px;
    }

    .card-icon {
        margin-bottom: 42px;
    }

    .callout-grid {
        gap: 40px;
    }

    .process-grid {
        gap: 50px;
    }

    .process-intro {
        position: static;
    }

    .contact-grid {
        gap: 30px;
    }

    .contact-action {
        position: absolute;
        right: 24px;
    }

    .contact-section .container {
        position: relative;
        padding-right: 110px;
    }

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

@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .campaign-bar-inner {
        min-height: 61px;
        justify-content: space-between;
        gap: 8px 14px;
    }

    .campaign-bar p {
        display: none;
    }

    .campaign-label {
        padding: 3px 7px;
        font-size: 0.64rem;
    }

    .campaign-bar a {
        font-size: 0.78rem;
    }

    .hero {
        padding: 38px 0 52px;
    }

    .hero h1 {
        margin-top: 18px;
        font-size: clamp(2.6rem, 13vw, 4.1rem);
    }

    .hero-lead {
        font-size: 1.02rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 440px;
        border-radius: 22px;
    }

    .visual-topline {
        top: 20px;
        right: 20px;
        left: 20px;
    }

    .visual-topline span:last-child {
        display: none;
    }

    .visual-card {
        right: 16px;
        bottom: 16px;
        left: 16px;
        padding: 20px;
    }

    .section {
        padding: 78px 0;
    }

    .section-heading {
        margin-bottom: 32px;
    }

    .section-heading h2,
    .process-intro h2,
    .callout-copy h2,
    .contact-section h2 {
        font-size: clamp(2.15rem, 11vw, 3.2rem);
    }

    .solution-card {
        min-height: 330px;
        padding: 25px;
    }

    .casa-verde-callout {
        padding-bottom: 78px;
    }

    .callout-grid {
        width: calc(100% - 20px);
        padding: 44px 26px 38px 31px;
        border-radius: 24px;
    }

    .callout-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .text-link-light {
        text-align: center;
    }

    .process-list article {
        grid-template-columns: 48px 1fr;
    }

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

    .press-card {
        min-height: 420px;
        padding: 28px;
    }

    .press-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .download-link {
        text-align: center;
    }

    .contact-section .container {
        padding-right: 0;
    }

    .contact-action {
        position: static;
    }

    .round-link {
        width: 64px;
        height: 64px;
    }

    .footer-main {
        grid-template-columns: 1fr 1fr;
        gap: 38px 24px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-header-inner,
    .document-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-header-inner {
        padding-block: 16px;
    }

    .document-actions {
        width: 100%;
    }

    .document-actions .button {
        width: auto;
    }

    .document-main {
        width: calc(100% - 24px);
        margin-top: 18px;
    }

    .pdf-shell,
    .pdf-shell iframe {
        min-height: 68vh;
    }
}

@media (max-width: 440px) {
    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .document-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .document-actions .button,
    .document-actions .document-back {
        width: 100%;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
