:root {
    --color-background: #ffffff;
    --color-ink: #111111;
    --color-muted: #4a4a4a;
    --color-soft: #f5f5f5;
    --color-panel: #e9e9e9;
    --font-display: Georgia, Cambria, "Times New Roman", serif;
    --font-ui: "Segoe UI", Arial, sans-serif;
    --page-gutter: clamp(1rem, 4vw, 4.5rem);
    --content-width: 90rem;
    --tap-target: 3.5rem;
    --rule: 1px solid var(--color-ink);
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--color-background);
    color: var(--color-ink);
    font-family: var(--font-ui);
    font-size: 1rem;
    line-height: 1.5;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
}

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

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

a:focus-visible {
    outline: 2px solid var(--color-ink);
    outline-offset: 5px;
}

.container {
    width: min(calc(100% - (var(--page-gutter) * 2)), var(--content-width));
    margin-inline: auto;
}

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

.site-header {
    border-bottom: var(--rule);
    background: var(--color-panel);
}

.hero {
    min-height: clamp(18rem, 34vw, 24rem);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.hero__logo {
    width: clamp(15rem, 27vw, 22rem);
    mix-blend-mode: multiply;
    animation: fade-up 700ms 100ms var(--ease-out) both;
}

.offerings {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    animation: fade-up 650ms 180ms var(--ease-out) both;
}

.services,
.rental {
    min-width: 0;
    padding-block: clamp(3.25rem, 3.5vw, 3.75rem);
}

.services {
    padding-right: clamp(2.5rem, 4vw, 4rem);
}

.services > h2,
.rental h2 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: -0.055em;
}

.services > h2 {
    max-width: none;
    font-size: clamp(3.2rem, 5vw, 5rem);
    line-height: 0.94;
    white-space: nowrap;
}

.service-list {
    margin: clamp(2.75rem, 3.5vw, 3.25rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.25rem, 3vw, 3.25rem) clamp(1.5rem, 3vw, 3.5rem);
    list-style: none;
}

.service-item {
    min-width: 0;
    margin: -0.75rem;
    padding: 0.75rem;
    background: transparent;
    animation: fade-up 560ms 300ms var(--ease-out) backwards;
    transition: background-color 220ms ease, transform 220ms var(--ease-out);
}

.service-item:nth-child(2) {
    animation-delay: 370ms;
}

.service-item:nth-child(3) {
    animation-delay: 440ms;
}

.service-item:nth-child(4) {
    animation-delay: 510ms;
}

.service-item:hover {
    background: var(--color-soft);
    transform: translateY(-0.25rem);
}

.service-item__marker {
    position: relative;
    min-height: 2.8rem;
    padding-bottom: 0.65rem;
    display: flex;
    align-items: flex-start;
    border-bottom: 1px solid #bdbdbd;
}

.service-item__icon {
    width: 2rem;
    height: 2rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-item__marker::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 1px;
    background: var(--color-ink);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 300ms var(--ease-out);
}

.service-item:hover .service-item__marker::after {
    transform: scaleX(1);
    transform-origin: left;
}

.service-item h3 {
    margin: 0.65rem 0 0.25rem;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 1.55vw, 1.65rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.service-item p {
    margin: 0;
    color: var(--color-muted);
    font-size: clamp(0.92rem, 1.2vw, 1.08rem);
    line-height: 1.45;
}

.rental {
    padding-left: clamp(2.5rem, 4vw, 4rem);
    border-left: var(--rule);
    display: flex;
    align-items: center;
    background: var(--color-soft);
    transition: background-color 300ms ease;
}

.rental:hover {
    background: var(--color-panel);
}

.rental__content {
    width: 100%;
    animation: fade-up 650ms 380ms var(--ease-out) both;
}

.rental h2 {
    max-width: 8ch;
    font-size: clamp(4rem, 6vw, 6.3rem);
    line-height: 0.86;
    text-wrap: balance;
}

.rental p {
    margin: clamp(2rem, 4vw, 3.5rem) 0 0;
    padding-top: clamp(1rem, 2vw, 1.5rem);
    border-top: var(--rule);
    color: var(--color-muted);
    font-size: clamp(1.05rem, 1.7vw, 1.45rem);
    line-height: 1.35;
}

.contact {
    border-top: var(--rule);
    border-bottom: var(--rule);
    animation: fade-up 650ms 260ms var(--ease-out) both;
}

.contact-intro {
    padding-block: clamp(2.75rem, 5vw, 4rem) clamp(2rem, 3vw, 2.75rem);
    text-align: center;
}

.contact-intro__heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(0.6rem, 1.5vw, 1rem);
}

.contact-intro h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
}

.contact-intro__icon {
    width: clamp(1.75rem, 3vw, 2.5rem);
    height: clamp(1.75rem, 3vw, 2.5rem);
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-intro p {
    max-width: 42rem;
    margin: 0.9rem auto 0;
    color: var(--color-muted);
    font-size: clamp(1rem, 1.7vw, 1.3rem);
    line-height: 1.4;
    text-wrap: balance;
}

.contact__inner {
    min-height: 7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 3vw, 3rem);
    border-top: 1px solid #bdbdbd;
}

.contact-link {
    position: relative;
    min-height: 3rem;
    padding-inline: 0.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-size: clamp(0.95rem, 1.4vw, 1.14rem);
    transition: transform 200ms var(--ease-out);
}

.contact-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0.2rem;
    left: 0;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 240ms var(--ease-out);
}

.contact-link:hover,
.contact-link:focus-visible {
    transform: translateY(-2px);
}

.contact-link:hover::after,
.contact-link:focus-visible::after {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-link__icon {
    width: 1.65rem;
    height: 1.65rem;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform 240ms var(--ease-out);
}

.contact-link__icon-dot {
    fill: currentColor;
    stroke: none;
}

.contact-link:hover .contact-link__icon,
.contact-link:focus-visible .contact-link__icon {
    transform: scale(1.08) rotate(-3deg);
}

.contact__divider {
    width: 1px;
    height: 2.75rem;
    background: var(--color-ink);
}

.whatsapp-float {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 10;
    width: var(--tap-target);
    height: var(--tap-target);
    display: grid;
    place-items: center;
    border: 1px solid var(--color-background);
    border-radius: 50%;
    background: var(--color-ink);
    color: var(--color-background);
    box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 16%);
    animation: soft-pulse 2.8s ease-in-out infinite;
    transition: transform 200ms var(--ease-out), background-color 200ms ease;
}

.whatsapp-float:hover {
    transform: translateY(-3px) scale(1.04);
}

.whatsapp-float:focus-visible {
    outline-color: var(--color-ink);
    outline-offset: 4px;
    box-shadow: 0 0 0 3px var(--color-background), 0 0 0 5px var(--color-ink);
}

.whatsapp-float svg {
    width: 1.9rem;
    height: 1.9rem;
    fill: currentColor;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(1.1rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes soft-pulse {
    0%,
    100% {
        box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 16%);
    }

    50% {
        box-shadow: 0 0.75rem 2rem rgb(0 0 0 / 16%), 0 0 0 0.45rem rgb(17 17 17 / 7%);
    }
}

@media (max-width: 64rem) {
    .offerings {
        grid-template-columns: 1fr;
    }

    .services,
    .rental {
        padding-inline: 0;
    }

    .rental {
        min-height: 30rem;
        border-top: var(--rule);
        border-left: 0;
    }

    .rental h2 {
        max-width: 10ch;
        font-size: clamp(4.5rem, 13vw, 7.5rem);
    }
}

@media (max-width: 48rem) {
    .hero {
        min-height: 17rem;
    }

    .service-list {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .services > h2 {
        white-space: normal;
    }

    .rental {
        min-height: 25rem;
    }

    .contact__inner {
        padding-block: 1.5rem;
        flex-direction: column;
        gap: 0.4rem;
    }

    .contact__divider {
        width: min(100%, 22rem);
        height: 1px;
    }

}

@media (max-width: 25rem) {
    .services > h2 {
        font-size: 2.8rem;
    }

    .rental h2 {
        font-size: 3.65rem;
    }

    .contact-link {
        width: 100%;
        font-size: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
