/* =====================================================
   MATEO ZARA - Stylesheet
   ===================================================== */

/* Reset base */
:root {
    --lateral-spacing: clamp(24px, 7.5vw, 144px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    background-color: #242e26;
    color: #232e26;
    line-height: 1.5;
    overflow-x: hidden;
}

/* Wrapper principale */
.page-wrapper {
    background-color: #242e26;
}

a{
    text-decoration: none;
    color: inherit;
}

/* =====================================================
HEADER
===================================================== */

.header {
    position: fixed;
    padding: 0px;
    z-index: 3;
    width: 100%;
}

.header-bg {
    background-color: #ffffff;
    height: 100px;
    border-radius: 0px;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.header.is-scrolled .header-bg {
    opacity: 1;
}
.header a {
    text-transform: uppercase;
}
.logo {
    position: absolute;
    top: 6px;
    bottom: 0;
    left: 70px;
    width: fit-content;
    height: fit-content;
    margin: auto;
}

.logo img {
    display: block;
    height: 66px;
    width: auto;
    transition: opacity 0.25s ease;
}

.logo-image-dark {
    position: absolute;
    inset: 0;
    opacity: 0;
}

.header.is-scrolled .logo-image-light {
    opacity: 0;
}

.header.is-scrolled .logo-image-dark {
    opacity: 1;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    background-color: #ffffff;
    color: #232e26;
    padding: 14px 28px;
    border-radius: 999px;
    border: none;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-btn:hover {
    background-color: #f2f2f2;
    transform: translateY(-2px);
}

.header.is-scrolled .contact-btn {
    background-color: #232e26;
    color: #ffffff;
}

.header.is-scrolled .contact-btn:hover {
    background-color: #0d7c66;
}

.contact-label-compact {
    display: none;
}

/* =====================================================
   HERO SECTION
   ===================================================== */

.hero {
    height: 720px;
    background: url('images/hero-image.jpg') center center / cover;
    display: flex;
    align-items: center;
    padding: 0 var(--lateral-spacing);
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 880px;
    margin-top: 88px;
}

.hero-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(50px, 4.8vw, 60px);
    line-height: 1;
    color: #ffffff;
    letter-spacing: -1.6px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: clamp(21px, 1.9vw, 27px);
    line-height: 1.42;
    color: #ffffff;
    max-width: 38ch;
}

/* =====================================================
   SERVICES SECTION
   ===================================================== */

.services {
    background-color: #ffffff;
    padding: 82px var(--lateral-spacing) 100px;
    margin-top: -54px;
    position: relative;
    z-index: 2;
}

.service-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
    gap: clamp(48px, 7vw, 112px);
    align-items: center;
    padding: 42px 0 58px;
    border-top: 1px solid rgba(35, 46, 38, 0.1);
}

.service-card:nth-child(even) {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
}

.service-card:nth-child(even) .service-image {
    grid-column: 2;
    grid-row: 1;
}

.service-card:nth-child(even) .service-copy {
    grid-column: 1;
    grid-row: 1;
}

.service-card:last-child {
    padding-bottom: 0;
}

.service-image {
    width: 100%;
    aspect-ratio: 1.48;
    border-radius: 10px;
    overflow: hidden;
}

.service-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1.48;
    object-fit: cover;
}

.service-copy {
    max-width: 54ch;
}

.service-title {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(36px, 3.4vw, 50px);
    color: #232e26;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 22px;
}

.service-description-bold {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: clamp(21px, 1.7vw, 24px);
    color: #232e26;
    line-height: 1.35;
    margin-bottom: 18px;
}

.service-description {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 1.35vw, 20px);
    color: #232e26;
    line-height: 1.5;
}

.service-description + .service-description {
    margin-top: 12px;
}

/* =====================================================
   ABOUT SECTION
   ===================================================== */

.about {
    position: relative;
    background-color: #232e26;
    margin-top: -70px;
    padding: 0 var(--lateral-spacing) clamp(112px, 10vw, 150px);
    overflow: hidden;
    z-index: 1;
    scroll-margin-top: 104px;
}

.shop-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 calc(-1 * var(--lateral-spacing));
    padding: 38px var(--lateral-spacing);
    background-color: #ffffff;
    color: #232e26;
}

.shop-band p {
    font-size: clamp(24px, 2.25vw, 32px);
    font-weight: 700;
    line-height: 1.2;
}

.shop-band-link {
    display: inline-flex;
    align-items: center;
    gap: 22px;
    flex: 0 0 auto;
    padding: 13px 0;
    border-bottom: 2px solid currentColor;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.link-arrow-icon {
    width: 16px;
    height: 16px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shop-band-link:hover {
    color: #0d7c66;
}

.shop-band-link:focus-visible {
    outline: 3px solid #0d7c66;
    outline-offset: 5px;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: clamp(88px, 8vw, 116px);
}

.about-label {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.5;
    margin-bottom: 42px;
}

.about-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-fact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
    min-width: 0;
    padding: 0 clamp(24px, 3vw, 48px);
    border-left: 1px solid rgba(255, 255, 255, 0.32);
    color: #ffffff;
}

.about-fact:first-child {
    padding-left: 0;
    border-left: 0;
}

.about-icon {
    width: 50px;
    height: 50px;
    stroke: #ffffff;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-fact p {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.about-fact strong {
    font-size: clamp(52px, 5vw, 72px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-fact span {
    font-size: clamp(17px, 1.45vw, 21px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.025em;
}

/* =====================================================
   FOOTER
   ===================================================== */

.footer {
    background-color: #232e26;
    padding: 56px var(--lateral-spacing) 28px;
}

.footer-content {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-content p {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
}

.footer-content a {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.footer-content a:hover {
    opacity: 0.7;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 1400px) {
    .services {
        padding-top: 72px;
        padding-bottom: 96px;
    }
}

@media (max-width: 1024px) {
    .hero {
        height: 620px;
    }

    .footer {
        padding-top: 64px;
        padding-bottom: 36px;
    }
}

@media (max-width: 900px) {
    .about-facts {
        grid-template-columns: 1fr;
    }

    .about-fact,
    .about-fact:first-child {
        flex-direction: row;
        align-items: center;
        gap: 30px;
        padding: 22px 0;
        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.32);
    }

    .about-icon {
        flex: 0 0 50px;
    }

    .services {
        padding-top: 56px;
        padding-bottom: 72px;
    }

    .service-card,
    .service-card:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 26px;
        padding: 38px 0 54px;
    }

    .service-card:nth-child(even) .service-image,
    .service-card:nth-child(even) .service-copy {
        grid-column: 1;
    }

    .service-card:nth-child(even) .service-image {
        grid-row: 1;
    }

    .service-card:nth-child(even) .service-copy {
        grid-row: 2;
    }

    .service-image {
        aspect-ratio: 1.7;
    }

    .service-image img {
        aspect-ratio: 1.7;
    }

}

@media (max-width: 768px) {
    :root {
        --lateral-spacing: 40px;
    }

    .hero {
        height: 600px;
        padding: 0 var(--lateral-spacing);
        align-items: end;
        padding-bottom: 84px;
    }

    .hero-title {
        font-size: clamp(42px, 6.5vw, 50px);
    }

    .hero-subtitle {
        font-size: 18px;
        line-height: 1.5;
    }

    .hero-content {
        margin-top: 0;
    }

    .header-bg {
        height: 65px;

    }

    .logo {
        margin: auto;
        left: 0;
        bottom: 0;
        right: 0;
        top: 0;
        transform: translateX(-10px);
    }

    .logo img {
        height: 37px;
    }


    .services {
        padding: 42px var(--lateral-spacing) 64px;
    }

    .service-title {
        font-size: 34px;
        margin-bottom: 14px;
    }

    .service-description-bold {
        font-size: 21px;
        margin-bottom: 14px;
    }

    .service-description {
        font-size: 17px;
    }

    .about {
        margin-top: -40px;
        padding: 0 var(--lateral-spacing) 90px;
        scroll-margin-top: 72px;
    }

    .about-content {
        padding-top: 68px;
    }

    .shop-band {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .about-label {
        margin-bottom: 24px;
    }

    .footer {
        padding: 56px var(--lateral-spacing) 32px;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .footer-content p,
    .footer-content a {
        text-align: center;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    :root {
        --lateral-spacing: 24px;
    }

    .hero {
        height: 570px;
        padding-bottom: 64px;
    }

    .hero-title {
        font-size: clamp(34px, 9vw, 39px);
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 17px;
    }

    .services {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .service-image {
        aspect-ratio: 1.5;
    }

    .service-image img {
        aspect-ratio: 1.5;
    }

    .service-card,
    .service-card:nth-child(even) {
        gap: 22px;
        padding: 30px 0 44px;
    }

    .service-title {
        font-size: 30px;
    }

    .shop-band {
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .shop-band p {
        font-size: 23px;
    }

    .about {
        padding-bottom: 76px;
    }

    .about-content {
        padding-top: 54px;
    }

    .about-fact,
    .about-fact:first-child {
        gap: 22px;
        padding: 20px 0;
    }

    .about-icon {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .about-fact strong {
        font-size: 46px;
    }

    .about-fact span {
        font-size: 16px;
    }
}

/* =====================================================
   PRIMARY NAVIGATION
   ===================================================== */

.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
    height: fit-content;
}

.header-actions {
    position: absolute;
    top: 0;
    right: 62px;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    height: fit-content;
    margin: auto 0;
}

.header-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.header-nav a:hover,
.header-nav a:focus-visible {
    background-color: rgba(255, 255, 255, 0.16);
}

.header.is-scrolled .header-nav a {
    color: #232e26;
}

.header.is-scrolled .header-nav a:hover,
.header.is-scrolled .header-nav a:focus-visible {
    background-color: rgba(35, 46, 38, 0.1);
}

.header-nav a:focus-visible,
.contact-btn:focus-visible,
.footer-social a:focus-visible {
    outline: 3px solid #0d7c66;
    outline-offset: 4px;
}

/* =====================================================
   CATALOG
   ===================================================== */

.catalog-hero {
    position: relative;
    display: flex;
    align-items: flex-end;
    min-height: 680px;
    padding: 0 var(--lateral-spacing) 112px;
    background: url('images/catalogo/catalogo.jpg') center center / cover no-repeat;
}

.catalog-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 30, 23, 0.12) 18%, rgba(20, 30, 23, 0.78) 100%);
}

.catalog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 940px;
    color: #ffffff;
}

.catalog-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(58px, 6.25vw, 90px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 0.92;
}

.catalog-hero p {
    max-width: 32ch;
    font-size: clamp(23px, 2.15vw, 31px);
    line-height: 1.38;
}

.catalog-products {
    position: relative;
    padding: 108px var(--lateral-spacing) 120px;
    border-radius: 0px;
    background-color: #ffffff;
}

.catalog-section-heading {
    max-width: 760px;
}

.catalog-section-label,
.catalog-origin,
.catalog-format {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    line-height: 1.35;
    text-transform: uppercase;
}

.catalog-section-label {
    margin-bottom: 16px;
    color: #0d7c66;
}

.catalog-section-heading h2 {
    margin-bottom: 18px;
    font-size: clamp(44px, 4.3vw, 62px);
    letter-spacing: -0.03em;
    line-height: 1;
}

.catalog-section-heading > p:last-child {
    max-width: 44ch;
    font-size: 22px;
    line-height: 1.45;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 76px clamp(28px, 3vw, 48px);
    margin-top: 72px;
}

.catalog-card img {
    display: block;
    width: 100%;
    height: clamp(300px, 31vw, 448px);
    margin-bottom: 28px;
    border-radius: 0;
    clip-path: inset(2px);
    object-fit: cover;
}

.catalog-origin {
    margin-bottom: 10px;
    color: #0d7c66;
}

.catalog-card h3 {
    margin-bottom: 10px;
    font-size: clamp(27px, 2.2vw, 32px);
    letter-spacing: -0.02em;
    line-height: 1.12;
}

.catalog-variety {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.catalog-card ul,
.catalog-flavours {
    list-style: none;
}

.catalog-card li {
    position: relative;
    padding-left: 18px;
    font-size: 17px;
    line-height: 1.65;
}

.catalog-card li::before {
    content: '';
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #0d7c66;
}

.catalog-preparations {
    position: relative;
    margin-top: -70px;
    padding: 118px var(--lateral-spacing) 130px;
    background-color: #232e26;
    color: #ffffff;
}

.catalog-section-heading-dark .catalog-section-label,
.catalog-card-dark .catalog-origin {
    color: #ffffff;
}

.catalog-grid-dark {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.catalog-format {
    width: 100%;
    margin-top: 24px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.catalog-flavours {
    margin-bottom: 22px;
}

.catalog-card-dark li::before {
    background-color: #ffffff;
}

.catalog-card-dark .catalog-variety {
    font-weight: 400;
}

@media (max-width: 1120px) {
    .logo {
        left: 48px;
    }

    .logo img {
        height: 53px;
    }

    .header-actions {
        right: 48px;
    }

    .contact-btn {
        padding: 14px 22px;
    }

    .contact-label-full {
        display: none;
    }

    .contact-label-compact {
        display: inline;
    }

    .catalog-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .logo {
        top: 0;
        right: auto;
        bottom: 0;
        left: 48px;
        margin: auto 0;
        transform: none;
    }

    .logo img {
        height: 37px;
    }

    .header-actions {
        right: 48px;
        gap: 8px;
    }

    .header-nav a {
        padding: 10px 12px;
        font-size: 14px;
    }

    .contact-btn {
        min-height: 44px;
        padding: 12px 20px;
        font-size: 14px;
    }

    .catalog-hero {
        min-height: 590px;
        padding-bottom: 92px;
    }

    .catalog-hero h1 {
        font-size: clamp(50px, 11vw, 66px);
    }

    .catalog-hero p {
        font-size: 21px;
    }

    .catalog-products {
        padding-top: 76px;
        padding-bottom: 84px;
    }

    .catalog-section-heading h2 {
        font-size: 42px;
    }

    .catalog-section-heading > p:last-child {
        font-size: 20px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        margin-top: 56px;
    }

    .catalog-card img {
        height: min(82vw, 520px);
    }

    .catalog-card h3 {
        font-size: 30px;
    }

    .catalog-preparations {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .catalog-grid-dark {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        left: 10px;
    }

    .logo img {
        height: 33px;
    }

    .header-actions {
        right: 10px;
        gap: 6px;
    }

    .contact-btn {
        min-height: 44px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .catalog-hero {
        min-height: 540px;
        padding-bottom: 78px;
    }

    .catalog-hero h1 {
        font-size: 49px;
    }

    .catalog-hero p {
        font-size: 19px;
    }

    .catalog-products {
        padding-top: 64px;
        padding-bottom: 68px;
    }

    .catalog-section-label,
    .catalog-origin,
    .catalog-format {
        font-size: 12px;
    }
    .header-nav {
        gap: 0px;
    }
    
    .header-nav a {
        padding: 8px
    }
    
    .catalog-section-heading h2 {
        font-size: 38px;
    }

    .catalog-section-heading > p:last-child {
        font-size: 18px;
    }

    .catalog-grid {
        gap: 54px;
        margin-top: 46px;
    }

    .catalog-card img {
        height: 330px;
        margin-bottom: 24px;
    }

    .catalog-preparations {
        padding-top: 68px;
        padding-bottom: 74px;
    }

}

@media (max-width: 360px) {
    .logo img {
        height: 28px;
    }

    .header-actions {
        right: 8px;
        gap: 2px;
    }

    .header-nav a {
        padding: 8px 3px;
        font-size: 12px;
    }

    .contact-btn {
        min-height: 40px;
        padding: 10px 8px;
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .header-nav a,
    .contact-btn {
        transition: none;
    }
}

/* Contact details integrated into the shared footer */
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, 0.65);
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.footer-social a:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.footer-social svg {
    width: 26px;
    height: 26px;
    fill: #ffffff;
}

.footer-contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: clamp(56px, 8vw, 130px);
    padding: 56px 0 72px;
    color: #ffffff;
}

.footer-contact-intro p {
    max-width: 28ch;
    font-size: clamp(19px, 1.65vw, 24px);
    line-height: 1.4;
}

.footer-contact-link {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-top: 30px;
    padding-bottom: 7px;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
}

.contact-page .footer-contact-link {
    display: none;
}

.footer-contact-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 2.8vw, 44px);
    align-content: start;
    padding-top: 8px;
}

.footer-contact-details h3 {
    margin-bottom: 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.footer-contact-details a,
.footer-contact-details p {
    display: block;
    color: #ffffff;
    font-size: 17px;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.footer-contact-details a,
.contact-page-grid a {
    text-decoration: none !important;
    -webkit-text-decoration: none !important;
}

.footer-contact-details a[x-apple-data-detectors],
.contact-page-grid a[x-apple-data-detectors] {
    color: inherit !important;
}

.footer-contact-details p a,
.contact-page-grid p a {
    pointer-events: none;
    cursor: text;
}

.footer-contact-details a:hover,
.footer-contact-link:hover {
    color: #ffffff;
    opacity: 0.75;
}

.footer-contact-details a:focus-visible,
.footer-contact-link:focus-visible,
.contact-page-action:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 4px;
}

.contact-page-grid a:focus-visible {
    outline: 3px solid #0d7c66;
    outline-offset: 4px;
}

/* Dedicated contact page */
.contact-page-hero {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 190px var(--lateral-spacing) 96px;
    background-color: #232e26;
    color: #ffffff;
}

.contact-page-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(60px, 7vw, 100px);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.95;
}

.contact-page-hero p {
    max-width: 33ch;
    font-size: clamp(22px, 2.1vw, 30px);
    line-height: 1.4;
}

.contact-page-action {
    display: inline-flex;
    align-items: center;
    gap: 20px;
    margin-top: 38px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.contact-page-action:hover {
    color: #ffffff;
    opacity: 0.75;
}

.contact-page-details {
    padding: 88px var(--lateral-spacing) 120px;
    background-color: #ffffff;
}

.contact-page-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(32px, 5vw, 80px);
}

.contact-page-grid h2 {
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid #232e26;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.contact-page-grid a,
.contact-page-grid p {
    display: block;
    max-width: 30ch;
    font-size: clamp(20px, 1.8vw, 26px);
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.contact-page-grid a:hover {
    color: #0d7c66;
}

@media (max-width: 1120px) {
    .footer-contact {
        grid-template-columns: 1fr;
        gap: 46px;
    }
}

@media (max-width: 768px) {
    .footer-contact {
        padding-top: 36px;
        padding-bottom: 56px;
    }

    .footer-contact-details {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px;
    }

    .contact-page-hero {
        min-height: 500px;
        padding-top: 150px;
        padding-bottom: 72px;
    }

    .contact-page-details {
        padding-top: 72px;
        padding-bottom: 84px;
    }

    .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

@media (max-width: 480px) {
    .footer-contact-details {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-contact-intro p {
        font-size: 19px;
    }

    .contact-page-hero {
        min-height: 480px;
        padding-bottom: 64px;
    }

    .contact-page-hero h1 {
        font-size: 54px;
    }

    .contact-page-hero p {
        font-size: 20px;
    }

    .contact-page-details {
        padding-top: 56px;
        padding-bottom: 68px;
    }
}
