
.hero {
    display: grid;
    grid-template-columns: auto 40%;
    grid-template-rows: auto minmax(0, 1fr);
    grid-template-areas:
        "logo toolbar"
        "tagline contact-hero";
    height: 94vh;
    padding-left: var(--main-side-padding);
    padding-right: var(--main-side-padding);
    padding-top: 24px;
}

.logo {
    grid-area: logo;
}

.toolbar {
    grid-area: toolbar;
}

.tagline {
    padding-top: 30%;
    grid-area: tagline;
    max-width: 80%;
    min-height: 0;   /* critical in grid */
}

.contact-hero {
    grid-area: contact-hero;
    padding-top: 0;
    align-self: start;
    transform: translateY(300px); 
}

.contact-form{
    background: #ffffff;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto auto;
    grid-template-areas: 
      "form-title"
      "form-subtitle"
      "form-contact-fields"
      "form-service-menu"
      "form-details"
      "form-submit"
      ;
    max-width: 760px;
  }

.form-title {
    grid-area: form-title;
    font-family: "DM Serif Display", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: rgb(70, 69, 69);
}

.form-subtitle {
    grid-area: form-subtitle;
}

.form-service-menu {
    grid-area: form-service-menu;
}

.form-details {
    grid-area: form-details;
}

.contact-form .form-subtitle {
    font-family: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 16px;
    font-weight: 100;
    line-height: 1.2;
    letter-spacing: 0;
    margin: 0;
    max-width: 440px;
  }
  
.form-contact-fields {
    grid-area: form-contact-fields;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
}

.form-service-menu {
    grid-area: form-service-menu;
}

.form-submit {
    grid-area: form-submit;
    padding-top: 16px;
    padding: 12px;
}

.info-left-only {
    display: grid;
    grid-template-columns: auto 40%;
    grid-template-areas:
        "info-section void-section";
    min-height: 400px;
    padding-left: var(--main-side-padding);
    padding-right: var(--main-side-padding);
    padding-top: 64px;

}

.info-section{
    grid-area: info-section;
    min-height: 500px;
}

.void-section{
    grid-area: void-section;
}

.reviews {
    display: grid;
}

.larimar{
    display: grid;
    min-height: 800px;
    background-image: url("/static/img/Frame-35-scaled.webp");
    padding-bottom: 120px;
  }
  
.service-areas{
    display: grid;
    justify-items: center;
    align-content: start;
    gap: 18px;                  /* space between title block and buttons */
    min-height: 800px;

    padding-top: 64px;
    padding-bottom: 64px;
    padding-left: var(--main-side-padding);
    padding-right: var(--main-side-padding);
    box-sizing: border-box;
}


/* Nav */
/* Hide hamburger on desktop */
.mobile-menu { display: none; }

/* Hamburger button */
.hamburger-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background-color: rgba(255,255,255,0.30);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  cursor: pointer;
}

/* 3-line icon */
.hamburger-icon{
  width: 20px;
  height: 2px;
  background: #fff;
  position: relative;
  display: block;
}
.hamburger-icon::before,
.hamburger-icon::after{
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: #fff;
}
.hamburger-icon::before{ top: -6px; }
.hamburger-icon::after{ top: 6px; }

/* Mobile Menu drawer */
/* Overlay + drawer base (exists but hidden by default) */
.drawer-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
    z-index: 9998;
  }
  
  .drawer{
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(86vw, 360px);
    background: #fff;
    box-shadow: -18px 0 40px rgba(0,0,0,0.18);
    transform: translateX(100%);
    transition: transform 260ms cubic-bezier(.2,.8,.2,1);
    z-index: 9999;
    padding: 18px;
    box-sizing: border-box;
  }
  
  /* OPEN STATES */
  .drawer-overlay.is-open{
    opacity: 1;
    pointer-events: auto;
  }
  
  .drawer.is-open{
    transform: translateX(0);
  }
  
  /* Prevent background scroll when open */
  body.drawer-open{ overflow: hidden; }
  
  
  .drawer-nav{
    margin-top: 44px;
    display: grid;
    gap: 10px;
  }
  
  .drawer-link,
  .drawer-sublink{
    display: block;
    padding: 14px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: #111;
    font-weight: 600;
  }
  
  .drawer-link:hover,
  .drawer-sublink:hover{
    background: #f3f3f3;
  }
  
  .drawer-accordion{
    width: 100%;
    padding: 14px 14px;
    border-radius: 12px;
    border: 0;
    background: transparent;
    color: #111;
    font-weight: 700;
    cursor: pointer;
  
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .drawer-accordion:hover{
    background: #f3f3f3;
  }
  
  .drawer-submenu{
    gap: 8px;
    padding-left: 12px;
  }

  .drawer-accordion span {
    font-size: 16px;
  }
  
  .drawer-sublink{
    font-weight: 600;
  }
  
  .drawer-accordion .drawer-caret { transition: transform 180ms ease; }
  .drawer-accordion[aria-expanded="true"] .drawer-caret { transform: rotate(180deg); }


  /* responsive */
  @media (max-width: 900px){

    /* (optional but recommended) make your global padding variable shrink on mobile */
    :root { --main-side-padding: 18px; }

    /* show hamburger */
    .mobile-menu{ 
        display: flex; 
        justify-content: flex-end;
        align-items: start;
    }
    .mobile-menu{ grid-area: mobile-menu; }
    
    .hero{
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-areas:
        "logo mobile-menu"
        "tagline tagline"
        "contact-hero contact-hero";
        grid-template-rows: auto auto auto;
        height: auto;
        gap: 18px;
        padding: 18px 14px 24px;
    }

  
    .toolbar{ display: none; } /* not visibility */
  
    .logo{
      grid-area: logo; 
      justify-self: start;
      align-self: start;
    }
    
    /* drawer open state (toggled via JS on body) */
    body.drawer-open{ overflow: hidden; }
    body.drawer-open .drawer-overlay{
        opacity: 1;
        pointer-events: auto;
    }
    body.drawer-open .drawer{
        transform: translateX(0);
    }
  
    .logo img{
      height: 100px;
      width: auto;
      max-width: min(320px, 100%);
      display: block;
    }
  
    .tagline{
      padding-top: 0;
      max-width: 100%;
    }
  
    .ripple-row{ display: none; } /* instead of visibility */
  
    .title-wrapper{
      line-height: normal;     /* your line-height:0 can make things feel "off" */
    }
    .title-wrapper h2{ margin: 0; }
    .title-wrapper p{ margin: 12px 0 0; }
  
    .contact-hero{
      transform: none !important; /* guarantee the desktop translate doesn't win */
      align-self: stretch;
      display: flex;
      justify-content: center;
      padding: 8px 18px 18px;
    }
  
    .contact-form{
      padding: 14px;
      max-width: 480px;
      width: 100%;
      border-radius: 26px;
      background: rgba(255, 255, 255, 0.58);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      border: 1px solid rgba(255, 255, 255, 0.36);
      box-shadow: 0 18px 40px rgba(17, 17, 17, 0.14);
    }
  
    /* make the 2x2 fields stack on mobile */
    .form-contact-fields{
      grid-template-columns: 1fr;
      gap: 4px;
    }

    .contact-form .field,
    .contact-form .form-field-group{
      margin: 0;
      padding: 5px 0;
      gap: 5px;
    }

    .form-title h2{
      margin: 0;
      font-size: 20px;
      line-height: 1.05;
    }

    .contact-form .form-subtitle{
      max-width: none;
    }
  
    .form-subtitle p{
      margin: 6px 0 0;
      font-size: 13px;
      line-height: 1.3;
    }
  
    .contact-form label{
      font-size: 13px;
      line-height: 1.2;
    }
  
    .contact-form input,
    .contact-form select,
    .contact-form textarea{
      font-size: 16px;         /* keep at 16 to avoid iOS zoom + readability */
      min-height: 44px;
      padding: 11px 13px;
    }

    .contact-form textarea{
      min-height: 92px;
    }
  
    .contact-form input::placeholder,
    .contact-form textarea::placeholder{
      font-size: 14px;
    }

    .form-submit{
      padding: 8px 0 0;
    }

    .contact-form .contact-submit{
      min-height: 46px;
    }

    .hp-wrap{
      margin-top: 4px;
    }

    .contact-form input,
    .contact-form select,
    .contact-form textarea{
      background: rgba(255, 255, 255, 0.5);
    }
  
    .heading-title-xl{
      font-size: clamp(32px, 7vw, 44px);
      line-height: 1;
    }
    .heading-subtitle{
      font-size: clamp(16px, 3.6vw, 20px);
      line-height: 1.25;
    }

    .info-left-only {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .info-section h2 {
        font-size: 36px;
    }
    .larimar {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .title-wrapper-centered {
        text-align: center;
    }
    .heading-subtitle {
        padding-left: 16px;
        padding-right: 16px;
    }
  }
  
  /* ===== Drawer OPEN states (global, always available) ===== */
.drawer-overlay.is-open{
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  
  .drawer.is-open{
    transform: translateX(0) !important;
  }
  
  /* If ANY CSS is hiding aria-hidden elements, this prevents the drawer from disappearing */
  .drawer[aria-hidden="true"],
  .drawer[aria-hidden="false"]{
    display: block !important;
  }

  .drawer-overlay{ z-index: 9998; }
.drawer{ z-index: 9999; }
