/* =========================================================
   MYHANDYMAN.AL 2.0
   Responsive Foundation
   ========================================================= */


/* ---------- Tablet / Small Desktop ---------- */

@media (max-width: 1024px) {

  :root {
    --container-padding: 22px;

    --space-xl: 56px;
    --space-2xl: 80px;
  }

}


/* ---------- Mobile ---------- */

@media (max-width: 768px) {

  :root {
    --font-size-base: 17px;

    --container-padding: 18px;

    --space-md: 20px;
    --space-lg: 32px;
    --space-xl: 48px;
    --space-2xl: 64px;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  h3 {
    font-size: 1.25rem;
  }

  .section-intro {
    margin-bottom: var(--space-md);
  }

  .btn {
    min-height: 50px;
  }

}


/* ---------- Small Mobile ---------- */

@media (max-width: 420px) {

  :root {
    --container-padding: 16px;

    --space-lg: 28px;
    --space-xl: 40px;
    --space-2xl: 56px;
  }

  h1 {
    font-size: 2.15rem;
  }

  h2 {
    font-size: 1.75rem;
  }

}


/* =========================================================
   HEADER
   ========================================================= */

@media (max-width: 900px) {

  .main-nav,
  .header-phone {
    display: none;
  }

  .site-logo {
    min-width: 0;
  }

  .header-actions {
    margin-left: auto;
    flex-shrink: 0;
    gap: 12px;
  }

  .header-languages {
    display: flex;
    font-size: 0.76rem;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0;
  }

  .mobile-nav:not([hidden]) {
    display: block;
  }

}


@media (max-width: 420px) {

  .site-logo {
    font-size: 1.12rem;
  }

  .header-inner {
    gap: 10px;
  }

  .header-actions {
    gap: 10px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 8px;
  }

  .header-languages {
    font-size: 0.68rem;
  }

}
/* =========================================================
   HOMEPAGE HERO
   ========================================================= */

@media (max-width: 768px) {

  .home-hero {
    padding-block: 64px 72px;
  }

  .home-hero h1 br {
    display: none;
  }

  .home-hero-text {
    font-size: 1rem;
  }

  .home-hero-services {
    display: grid;
    gap: 8px;
  }

  .home-hero-services span::after {
    display: none;
  }

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

  .home-hero-actions .btn {
    width: 100%;
  }

}
/* =========================================================
   HOMEPAGE PROBLEM SOLVER
   ========================================================= */

@media (max-width: 768px) {

  .problem-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .problem-card {
    min-height: 0;
    padding: 24px 20px;
  }

  .problem-card-icon {
  flex-basis: 46px;
}

.problem-card-icon svg {
  width: 32px;
  height: 32px;
}

  .problem-card p {
    margin-bottom: 20px;
  }

}
/* =========================================================
   EMERGENCY SERVICES
   ========================================================= */

@media (max-width: 768px) {

  .emergency-strip {
    padding-block: 38px;
  }

  .emergency-strip-inner {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .emergency-services {
    gap: 8px;
  }

  .emergency-services a {
    flex: 1;
    min-width: 90px;
    text-align: center;
  }

}
/* =========================================================
   LANDLORDS & AIRBNB
   ========================================================= */

@media (max-width: 768px) {

  .landlords-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .landlord-group {
    padding: 26px 20px;
  }

  .landlord-group > h3 {
    margin-bottom: 20px;
  }

  .remote-owner-block {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 26px 20px;
  }

  .remote-owner-action .btn {
    width: 100%;
  }

  .remote-owner-action {
    align-items: stretch;
  }

}
/* =========================================================
   HOW IT WORKS
   ========================================================= */

@media (max-width: 768px) {

  .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .process-step {
    padding: 24px 20px;
  }

  .process-number {
    margin-bottom: 14px;
  }

}
/* =========================================================
   PRICING PREVIEW
   ========================================================= */

@media (max-width: 768px) {

  .pricing-preview-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .pricing-preview-main {
    padding-right: 0;
  }

  .price-highlight {
    margin-block: 28px 22px;
  }

  .assessment-card {
    padding: 26px 20px;
  }

  .pricing-preview-main .btn {
    width: 100%;
  }

}
/* =========================================================
   EXPERIENCE & WORKING STANDARDS
   ========================================================= */

@media (max-width: 768px) {

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

  .trust-item {
    min-height: 0;
    padding: 24px 20px;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
  }

  .trust-item:nth-last-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .google-reviews-block {
    align-items: stretch;
    flex-direction: column;
    padding: 24px 20px;
  }

  .google-reviews-block .btn {
    width: 100%;
  }

}
/* =========================================================
   SERVICE AREA / FINAL ACTION / FOOTER
   ========================================================= */

@media (max-width: 768px) {

  .service-area-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .service-area-note {
    padding: 24px 20px;
  }

  .final-action {
    padding-block: 48px;
  }

  .final-action-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 26px;
  }

  .final-action-buttons {
    flex-direction: column;
  }

  .final-action-buttons .btn {
    width: 100%;
  }

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

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

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

}

@media (max-width: 480px) {

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

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

}
@media (max-width: 900px) {

  .whatsapp-float {
    display: none;
  }

}
@media (max-width: 900px) {

  body {
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
  }

  .mobile-contact-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-bottom: env(safe-area-inset-bottom);
    background: var(--color-white);
    box-shadow: 0 -2px 12px rgba(16, 36, 62, 0.12);
  }

  .mobile-contact-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 62px;
    color: var(--color-white);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.05em;
  }

  .mobile-contact-call {
    background: var(--color-call);
  }

  .mobile-contact-whatsapp {
    background: var(--color-whatsapp);
  }

  .pwa-install {
    right: 16px;
    bottom: calc(78px + env(safe-area-inset-bottom));
    left: 16px;
    width: auto;
  }

}