@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');
@import url("phosphor/style.css");

/* =========================================================
   CASA CALMORA — INTRO / VISION SECTION
   Bootstrap 4 grid
   ========================================================= */

.calmora-intro {
    position: relative;
    overflow: hidden;
    background: #f4f2f2;
    color: #34352f;
}

.calmora-intro > .container {
    padding-top: 130px;
    padding-bottom: 140px;
}


/* ---------------------------------------------------------
   LEFT — STORY
   --------------------------------------------------------- */

.calmora-intro-story {
    position: relative;
    padding-left: 95px;
    padding-right: 30px;
}

.calmora-intro-title {
    max-width: 650px;
    margin: 0;

    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.8rem, 4vw, 4.6rem);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.025em;

    color: #7a7f5e;
}

.calmora-intro-line {
    width: 55px;
    height: 2px;
    margin: 32px 0 30px;
    background: #d4b69c;
}

.calmora-intro-text {
    max-width: 620px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.85;
    letter-spacing: 0.01em;

    color: #41423c;
}

.calmora-intro-text p {
    margin: 0 0 22px;
}

.calmora-intro-text p:last-child {
    margin-bottom: 0;
}

.calmora-intro-text strong {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.15em;
    font-weight: 400;
    color: #7a7f5e;
}


/* ---------------------------------------------------------
   DECORATIVE ELEMENT
   --------------------------------------------------------- */

.calmora-intro-decoration {
    position: absolute;
    top: 50%;
    left: 0;

    width: 65px;
    height: 360px;

    transform: translateY(-50%);
    opacity: 0.55;
}

.calmora-intro-decoration::before {
    content: "";

    position: absolute;
    top: 0;
    left: 31px;

    width: 1px;
    height: 100%;

    background: #d4b69c;
    transform: rotate(18deg);
    transform-origin: center;
}

.calmora-intro-decoration span {
    position: absolute;

    width: 30px;
    height: 14px;

    border-top: 1px solid #d4b69c;
    border-radius: 50%;
}

.calmora-intro-decoration span:nth-child(1) {
    top: 80px;
    left: 7px;
    transform: rotate(-30deg);
}

.calmora-intro-decoration span:nth-child(2) {
    top: 170px;
    left: 28px;
    transform: rotate(30deg);
}

.calmora-intro-decoration span:nth-child(3) {
    top: 260px;
    left: 4px;
    transform: rotate(-30deg);
}


/* ---------------------------------------------------------
   TEXT LINK
   --------------------------------------------------------- */

.calmora-text-link {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    margin-top: 38px;
    padding-bottom: 7px;

    border-bottom: 1px solid #7a7f5e;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #7a7f5e;
    text-decoration: none;

    transition:
        color 0.25s ease,
        border-color 0.25s ease,
        gap 0.25s ease;
}

.calmora-text-link span {
    font-size: 18px;
    line-height: 1;
}

.calmora-text-link:hover {
    color: #b08c6d;
    border-color: #b08c6d;
    gap: 18px;
}


/* ---------------------------------------------------------
   RIGHT — PILLARS
   --------------------------------------------------------- */

.calmora-pillars {
    display: flex;
    flex-wrap: wrap;

    border-top: 1px solid rgba(122, 127, 94, 0.25);
    border-left: 1px solid rgba(122, 127, 94, 0.25);

    margin-left: 10px;
}

.calmora-pillar {
    flex: 0 0 50%;
    max-width: 50%;
    min-height: 225px;
    box-sizing: border-box;

    padding: 42px 38px 40px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    border-right: 1px solid rgba(122, 127, 94, 0.25);
    border-bottom: 1px solid rgba(122, 127, 94, 0.25);

    transition: background-color 0.3s ease;
}

.calmora-pillar:hover {
    background: rgba(212, 182, 156, 0.08);
}


/* ---------------------------------------------------------
   PILLAR ICON
   --------------------------------------------------------- */

.calmora-pillar-icon {
    width: 62px;
    height: 62px;

    margin-bottom: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: rgba(212, 182, 156, 0.18);

    color: #7a7f5e;
}

.calmora-pillar-icon i {
    display: block;
    font-size: 36px;
    line-height: 1;
}


/* ---------------------------------------------------------
   PILLAR TEXT
   --------------------------------------------------------- */

.calmora-pillar h3 {
    margin: 0 0 13px;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;

    color: #7a7f5e;
}

.calmora-pillar p {
    max-width: 190px;
    margin: 0;

    font-family: "Montserrat", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.7;

    color: #4a4b45;
}


/* =========================================================
   LARGE DESKTOP
   ========================================================= */

@media (min-width: 1200px) {

    .calmora-intro > .container {
        max-width: 1400px;
        padding-top: 150px;
        padding-bottom: 160px;
    }

    .calmora-intro-story {
        padding-left: 105px;
    }

    .calmora-pillars {
        margin-left: 20px;
    }

    .calmora-pillar {
        min-height: 245px;
        padding: 48px 44px;
    }
}


/* =========================================================
   TABLET
   Bootstrap 4: below lg (992px)
   ========================================================= */

@media (max-width: 991.98px) {

    .calmora-intro > .container {
        padding-top: 100px;
        padding-bottom: 110px;
    }

    .calmora-intro-story {
        padding-left: 80px;
        padding-right: 0;
        margin-bottom: 80px;
    }

    .calmora-intro-title {
        max-width: 700px;
    }

    .calmora-intro-text {
        max-width: 700px;
    }

    .calmora-pillars {
        margin-left: 0;
    }

    .calmora-pillar {
        min-height: 210px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767.98px) {

    .calmora-intro > .container {
        padding-top: 80px;
        padding-bottom: 90px;
    }

    .calmora-intro-story {
        padding-left: 0;
        margin-bottom: 70px;
    }

    .calmora-intro-title {
        font-size: clamp(2.35rem, 11vw, 3.2rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }

    .calmora-intro-line {
        margin: 25px 0;
    }

    .calmora-intro-text {
        font-size: 15px;
        line-height: 1.8;
    }

    .calmora-intro-text p {
        margin-bottom: 20px;
    }

    .calmora-text-link {
        margin-top: 30px;
    }

    .calmora-intro-decoration {
        display: none;
    }

    .calmora-pillars {
        margin-left: 0;
        border-left: 0;
    }

    .calmora-pillar {
        flex: 0 0 100%;
        max-width: 100%;
        min-height: auto;

        padding: 32px 10px 34px 0;

        display: grid;
        grid-template-columns: 65px minmax(0, 1fr);
        column-gap: 22px;
        align-items: center;

        border-right: 0;
    }

    .calmora-pillar-icon {
        width: 58px;
        height: 58px;
        margin-bottom: 0;
    }

    .calmora-pillar-icon i {
        font-size: 32px;
    }

    .calmora-pillar h3 {
        margin-bottom: 8px;
        font-size: 12px;
    }

    .calmora-pillar p {
        max-width: none;
        font-size: 14px;
        line-height: 1.65;
    }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .calmora-intro > .container {
        padding-top: 65px;
        padding-bottom: 75px;
    }

    .calmora-intro-title {
        font-size: 2.25rem;
    }

    .calmora-intro-text {
        font-size: 14px;
        line-height: 1.75;
    }

    .calmora-pillar {
        padding-top: 28px;
        padding-bottom: 28px;

        grid-template-columns: 58px minmax(0, 1fr);
        column-gap: 18px;
    }

    .calmora-pillar-icon {
        width: 52px;
        height: 52px;
    }

    .calmora-pillar-icon i {
        font-size: 29px;
    }
}



/* ================================================================
   CASA CALMORA
   HERO
   ================================================================ */

.calmora-hero {
    position: relative;

    width: 100%;
    min-height: 720px;

    overflow: hidden;

    background: #f4f2f2;
}


/* ================================================================
   HERO IMAGE
   ================================================================ */

.calmora-hero-image {
    position: absolute;

    inset: 0;

    background-image: url('../../../pages/images/casa-calmora-hero.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}


/*
   Very subtle atmospheric gradient.

   This does NOT alter the original image.
   It simply makes the text area easier to read.
*/

.calmora-hero-image::after {
    content: '';

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(244, 242, 242, 0.96) 0%,
            rgba(244, 242, 242, 0.85) 24%,
            rgba(244, 242, 242, 0.18) 36%,
            rgba(244, 242, 242, 0.00) 50%
        );
}


/* ================================================================
   HERO CONTENT
   ================================================================ */

.calmora-hero-content {
    position: relative;
    z-index: 2;

    width: min(520px, 42%);

    padding-top: 135px;
    padding-bottom: 120px;
    margin-left: max(7vw, 60px);
}


/* ================================================================
   EYEBROW
   ================================================================ */

.calmora-hero-eyebrow {
    display: block;

    margin-bottom: 25px;

    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;

    letter-spacing: 0.28em;

    color: #4f5143;
}


/* ================================================================
   HERO HEADING
   ================================================================ */

.calmora-hero h1 {
    margin: 0;

    font-family: 'Georgia', serif;

    font-size: clamp(48px, 4.5vw, 64px);
    font-weight: 400;

    line-height: 1.10;

    letter-spacing: -0.025em;

    color: #7a7f5e;
}


/* ================================================================
   DIVIDER
   ================================================================ */

.calmora-hero-divider {
    width: 55px;
    height: 1px;

    margin: 32px 0 27px;

    background: #d4b69c;
}


/* ================================================================
   HERO TEXT
   ================================================================ */

.calmora-hero-content p {
    max-width: 360px;

    margin: 0 0 34px;

    font-family: 'Montserrat', sans-serif;

    font-size: 16px;
    font-weight: 400;

    line-height: 1.8;

    color: #4f5143;
}


/* ================================================================
   BUTTON
   ================================================================ */

.calmora-button {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 15px;

    min-height: 48px;

    padding: 0 25px;

    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;

    letter-spacing: 0.14em;
    text-transform: uppercase;

    text-decoration: none;

    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.calmora-button-primary {
    color: #ffffff !important;

    background: #7a7f5e;
}


.calmora-button-primary:hover {
    color: #ffffff;

    background: #686d50;

    transform: translateY(-2px);

    box-shadow: 0 8px 22px rgba(70, 70, 50, 0.15);
}


.calmora-button i {
    font-size: 18px;

    line-height: 1;
}


/* ================================================================
   SCROLL INDICATOR
   ================================================================ */

.calmora-hero-scroll {
    position: absolute;

    z-index: 3;

    left: 50%;
    bottom: 27px;

    transform: translateX(-50%);

    display: flex;

    align-items: center;
    gap: 10px;

    color: #fff;
    font-weight: 600;

    font-family: 'Montserrat', sans-serif;
    font-size: 10px;

    letter-spacing: 0.16em;
    text-transform: uppercase;

    opacity: 0.85;
}


.calmora-hero-scroll i {
    font-size: 16px;
}


/* ================================================================
   LARGE SCREENS
   ================================================================ */

@media (min-width: 1600px) {

    .calmora-hero {
        min-height: 780px;
    }

    .calmora-hero-content {
        margin-left: max(9vw, 100px);
        padding-top: 150px;
    }

}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 1100px) {

    .calmora-hero {
        min-height: 650px;
    }

    .calmora-hero-content {
        width: 45%;

        margin-left: 55px;

        padding-top: 110px;
    }

    .calmora-hero h1 {
        font-size: clamp(42px, 5vw, 60px);
    }

}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 768px) {

    .calmora-hero {
        min-height: auto;

        display: flex;
        flex-direction: column;

        background: #f4f2f2;
    }


    /*
       On mobile we deliberately DON'T put text over
       the photograph.

       The image gets its own breathing space.
    */

    .calmora-hero-image {
        position: relative;

        inset: auto;

        width: 100%;

        height: 62vw;
        min-height: 300px;
        max-height: 480px;

        background-position: center center;
    }


    .calmora-hero-image::after {
        display: none;
    }


    .calmora-hero-content {
        width: 100%;

        margin: 0;

        padding: 55px 28px 65px;

        text-align: center;

        background: #f4f2f2;
    }


    .calmora-hero-eyebrow {
        margin-bottom: 20px;

        font-size: 10px;
    }


    .calmora-hero h1 {
        font-size: clamp(38px, 10vw, 52px);

        line-height: 1.08;
    }


    .calmora-hero-divider {
        margin: 27px auto 24px;
    }


    .calmora-hero-content p {
        max-width: 440px;

        margin-left: auto;
        margin-right: auto;

        font-size: 14px;

        line-height: 1.75;
    }


    .calmora-hero-scroll {
        display: none;
    }

}


/* ================================================================
   SMALL MOBILE
   ================================================================ */

@media (max-width: 380px) {

    .calmora-hero-image {
        height: 70vw;
        min-height: 280px;
    }

    .calmora-hero-content {
        padding: 45px 22px 55px;
    }

    .calmora-hero h1 {
        font-size: 37px;
    }

}


/* ================================================================
   CASA CALMORA
   NAVIGATION
   ================================================================ */

:root {
    --calmora-olive: #7a7f5e;
    --calmora-sand: #d4b69c;
    --calmora-background: #f4f2f2;
    --calmora-text: #4f5143;
    --calmora-white: #ffffff;

    --calmora-nav-height: 92px;
}


/* ================================================================
   NAVBAR
   ================================================================ */

.calmora-navbar {
    position: relative;
    z-index: 1000;

    width: 100%;
    height: var(--calmora-nav-height);

    background: rgba(244, 242, 242, 0.97);

    border-bottom: 1px solid rgba(122, 127, 94, 0.12);
}


/* ================================================================
   INNER CONTAINER
   ================================================================ */

.calmora-nav-inner {
    position: relative;

    max-width: 1440px;
    height: 100%;

    margin: 0 auto;
    padding: 0 42px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ================================================================
   NAVIGATION GROUPS
   ================================================================ */

.calmora-nav {
    display: flex;
    align-items: center;

    gap: 30px;

    width: 42%;
}

.calmora-nav-left {
    justify-content: flex-start;
}

.calmora-nav-right {
    justify-content: flex-end;
}


/* ================================================================
   NAV LINKS
   ================================================================ */

.calmora-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;

    height: 92px;

    color: var(--calmora-text);

    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;

    letter-spacing: 0.11em;
    text-transform: uppercase;

    text-decoration: none;

    white-space: nowrap;

    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.calmora-nav a:hover {
    color: var(--calmora-olive);
}


/* ================================================================
   ACTIVE LINK
   ================================================================ */

.calmora-nav a.is-active {
    color: var(--calmora-olive);
}

.calmora-nav a.is-active::after {
    content: '';

    position: absolute;

    left: 0;
    right: 0;
    bottom: 25px;

    height: 1px;

    background: var(--calmora-sand);
}


/* ================================================================
   CENTER LOGO
   ================================================================ */

.calmora-logo {
    position: absolute;

    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    justify-content: center;

    width: 190px;

    z-index: 10;
}

.calmora-logo img {
    display: block;

    width: 100%;
    height: auto;

    max-height: 76px;

    object-fit: contain;
}


/* ================================================================
   DONATE BUTTON
   ================================================================ */

.calmora-donate {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    min-width: 94px;
    height: 40px !important;

    padding: 0 22px;

    background: var(--calmora-olive);

    color: var(--calmora-white) !important;

    border-radius: 2px;

    letter-spacing: 0.13em !important;

    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.calmora-donate:hover {
    background: #686d50;

    transform: translateY(-1px);
}


/* ================================================================
   MOBILE MENU BUTTON
   ================================================================ */

.calmora-menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 0;
    background: transparent;

    cursor: pointer;
}

.calmora-menu-toggle span {
    display: block;

    width: 22px;
    height: 1px;

    margin: 5px auto;

    background: var(--calmora-olive);

    transition:
        transform 0.3s ease,
        opacity 0.3s ease;
}


/* ================================================================
   MOBILE MENU
   ================================================================ */

.calmora-mobile-menu {
    position: fixed;

    z-index: 999;

    top: var(--calmora-nav-height);
    left: 0;

    width: 100%;
    height: calc(100vh - var(--calmora-nav-height));

    padding: 50px 30px 60px;

    background: rgba(244, 242, 242, 0.98);

    overflow-y: auto;

    visibility: hidden;
    opacity: 0;

    transform: translateY(-15px);

    transition:
        opacity 0.4s ease,
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.5s;
}


/* ================================================================
   MOBILE MENU OPEN
   ================================================================ */

.calmora-mobile-menu.is-open {
    visibility: visible;
    opacity: 1;

    transform: translateY(0);
}


/* ================================================================
   MOBILE MENU CONTENT
   ================================================================ */

.calmora-mobile-menu nav {
    display: flex;

    flex-direction: column;

    align-items: center;
    justify-content: center;

    min-height: 100%;

    gap: 0;
}


/* ================================================================
   MOBILE MENU LINKS
   ================================================================ */

.calmora-mobile-menu a {
    display: block;

    width: auto;

    padding: 13px 15px;

    border: 0;

    color: var(--calmora-text);

    font-family: 'Montserrat', sans-serif;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 0.18em;

    text-align: center;
    text-transform: uppercase;

    text-decoration: none;

    opacity: 0;

    transform: translateY(12px);

    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        color 0.25s ease;
}


/* ================================================================
   MOBILE MENU LINK ANIMATION
   ================================================================ */

.calmora-mobile-menu.is-open a {
    opacity: 1;

    transform: translateY(0);
}


.calmora-mobile-menu.is-open a:nth-child(1) {
    transition-delay: 0.05s;
}

.calmora-mobile-menu.is-open a:nth-child(2) {
    transition-delay: 0.09s;
}

.calmora-mobile-menu.is-open a:nth-child(3) {
    transition-delay: 0.13s;
}

.calmora-mobile-menu.is-open a:nth-child(4) {
    transition-delay: 0.17s;
}

.calmora-mobile-menu.is-open a:nth-child(5) {
    transition-delay: 0.21s;
}

.calmora-mobile-menu.is-open a:nth-child(6) {
    transition-delay: 0.25s;
}

.calmora-mobile-menu.is-open a:nth-child(7) {
    transition-delay: 0.29s;
}

.calmora-mobile-menu.is-open a:nth-child(8) {
    transition-delay: 0.33s;
}


/* ================================================================
   MOBILE MENU HOVER
   ================================================================ */

.calmora-mobile-menu a:hover {
    color: var(--calmora-olive);
}


/* ================================================================
   MOBILE DONATE
   ================================================================ */

.calmora-mobile-menu .calmora-mobile-donate {
    width: auto;

    margin-top: 28px;

    padding: 15px 32px;

    background: var(--calmora-olive);

    color: #ffffff;

    border: none;

    letter-spacing: 0.16em;

    transition:
        opacity 0.35s ease,
        transform 0.4s ease,
        background 0.25s ease;
}


.calmora-mobile-menu .calmora-mobile-donate:hover {
    color: #ffffff;

    background: #686d50;
}


/* ================================================================
   PREVENT PAGE SCROLL WHEN MOBILE MENU IS OPEN
   ================================================================ */

body.calmora-menu-open {
    overflow: hidden;
}


/* ================================================================
   HAMBURGER → X
   ================================================================ */

.calmora-menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}

.calmora-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.calmora-menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
}


/* ================================================================
   TABLET
   ================================================================ */

@media (max-width: 1100px) {

    .calmora-nav-inner {
        padding: 0 25px;
    }

    .calmora-nav {
        gap: 19px;
    }

    .calmora-nav a {
        font-size: 10px;
        letter-spacing: 0.08em;
    }

    .calmora-logo {
        width: 165px;
    }

}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 768px) {

    :root {
        --calmora-nav-height: 78px;
    }

    .calmora-navbar {
        height: var(--calmora-nav-height);
    }

    .calmora-nav-inner {
        padding: 0 18px;

        justify-content: space-between;
    }


    /* Hide desktop navigation */

    .calmora-nav {
        display: none;
    }


    /* Show hamburger */

    .calmora-menu-toggle {
        display: block;
    }


    /* Smaller centered logo */

    .calmora-logo {
        width: 145px;
    }

    .calmora-logo img {
        max-height: 65px;
    }


    /* Full-screen mobile menu */

    .calmora-mobile-menu {
        top: var(--calmora-nav-height);

        height: calc(100vh - var(--calmora-nav-height));

        padding:
            40px 25px
            max(40px, env(safe-area-inset-bottom));
    }

}


/* ================================================================
   VERY SMALL PHONES
   ================================================================ */

@media (max-width: 380px) {

    .calmora-logo {
        width: 125px;
    }

}