/*
  Beauty Art Studio - BHI-inspired desktop/tablet direction.
  Additive override only: load after assets/css/main.css.
*/

@media (min-width: 721px) {
  /* Design tokens */
  :root {
    --bhi-navy: #07184f;
    --bhi-royal: #0c3f94;
    --bhi-sky: #18a9e6;
    --bhi-gold: #d9aa4a;
    --bhi-ink: #0b1633;
    --bhi-muted: #5c6880;
    --bhi-line: #d7e4f3;
    --bhi-soft: #f5f9fd;
    --bhi-panel: #ffffff;
    --bhi-shadow: 0 22px 54px rgba(7, 24, 79, 0.12);
    --bhi-strong-shadow: 0 34px 80px rgba(7, 24, 79, 0.18);
  }

  body {
    color: var(--bhi-ink);
    background:
      linear-gradient(180deg, #ffffff 0%, #ffffff 34%, var(--bhi-soft) 100%);
  }

  .container {
    width: min(1240px, calc(100% - 48px));
  }

  .section {
    padding: clamp(66px, 7vw, 104px) 0;
  }

  /* Header */
  .site-header {
    gap: 22px;
    padding: 13px clamp(22px, 4vw, 56px);
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(215, 228, 243, 0.92);
    box-shadow: 0 10px 34px rgba(7, 24, 79, 0.07);
  }

  .site-header.is-scrolled {
    padding-block: 9px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 16px 46px rgba(7, 24, 79, 0.1);
  }

  .brand img,
  .custom-logo {
    width: min(198px, 34vw);
  }

  .menu {
    gap: clamp(16px, 2.1vw, 30px);
    font-size: 0.74rem;
    letter-spacing: 0.11em;
  }

  .menu a {
    position: relative;
    padding: 12px 0;
    color: var(--bhi-navy);
  }

  .menu a::after {
    position: absolute;
    right: 0;
    bottom: 5px;
    left: 0;
    height: 2px;
    background: var(--bhi-sky);
    content: "";
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 160ms ease, transform 160ms ease;
  }

  .menu a:hover::after,
  .menu a:focus-visible::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .header-phone {
    color: var(--bhi-royal);
    font-size: 0.9rem;
    font-weight: 900;
  }

  /* Buttons and CTAs */
  .button {
    min-height: 46px;
    padding-inline: 24px;
    background: linear-gradient(135deg, var(--bhi-royal), var(--bhi-sky));
    border-radius: 6px;
    box-shadow: 0 16px 34px rgba(24, 169, 230, 0.26);
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
  }

  .button:hover,
  .button:focus-visible {
    box-shadow: 0 20px 42px rgba(12, 63, 148, 0.28);
    transform: translateY(-2px);
  }

  .button-ghost,
  .button-outline {
    color: var(--bhi-navy);
    background: #ffffff;
    border-color: rgba(12, 63, 148, 0.26);
    box-shadow: 0 10px 24px rgba(7, 24, 79, 0.06);
  }

  .button-ghost:hover,
  .button-outline:hover,
  .button-ghost:focus-visible,
  .button-outline:focus-visible {
    color: #ffffff;
    background: var(--bhi-navy);
    border-color: var(--bhi-navy);
  }

  /* Compact institutional hero */
  .hero {
    min-height: 650px;
    padding: 118px clamp(24px, 5vw, 76px) 78px;
    background: #ffffff;
    border-bottom: 1px solid var(--bhi-line);
  }

  .hero-media {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.96) 30%, rgba(255, 255, 255, 0.55) 53%, rgba(255, 255, 255, 0.05) 76%),
      linear-gradient(180deg, rgba(7, 24, 79, 0.04), rgba(7, 24, 79, 0.04)),
      url("../img/hero-studio.webp") 72% center / cover no-repeat;
  }

  .hero-content {
    max-width: 610px;
  }

  .hero-logo {
    width: min(270px, 48vw);
    margin-bottom: 22px;
  }

  .hero h1 {
    max-width: 590px;
    color: var(--bhi-navy);
    font-size: clamp(3.35rem, 5.9vw, 5.45rem);
    line-height: 0.97;
  }

  .hero p {
    max-width: 520px;
    margin-top: 20px;
    color: #34415f;
    font-size: clamp(1.03rem, 1.35vw, 1.2rem);
    line-height: 1.62;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 30px;
  }

  .hero::after {
    position: absolute;
    right: clamp(24px, 5vw, 78px);
    bottom: 52px;
    width: min(260px, 20vw);
    height: 5px;
    border: 0;
    border-radius: 6px;
    background: var(--bhi-gold);
    box-shadow: 0 14px 32px rgba(7, 24, 79, 0.18);
    content: "";
  }

  /* Trust and credential strip */
  .intro-strip {
    position: relative;
    z-index: 3;
    width: min(1240px, calc(100% - 48px));
    margin: -42px auto 0;
    padding: 0;
    color: var(--bhi-ink);
    background: transparent;
  }

  .intro-grid {
    gap: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid var(--bhi-line);
    border-radius: 6px;
    box-shadow: var(--bhi-shadow);
  }

  .intro-grid p {
    position: relative;
    min-height: 104px;
    padding: 30px 30px 26px 56px;
    color: var(--bhi-navy);
    font-size: clamp(0.8rem, 1vw, 0.9rem);
    line-height: 1.35;
    letter-spacing: 0.1em;
    text-align: left;
  }

  .intro-grid p + p {
    border-left: 1px solid var(--bhi-line);
  }

  .intro-grid p::before {
    position: absolute;
    top: 30px;
    left: 26px;
    width: 14px;
    height: 14px;
    border: 3px solid var(--bhi-sky);
    border-radius: 50%;
    content: "";
  }

  .intro-grid p::after {
    display: block;
    margin-top: 9px;
    color: var(--bhi-muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
  }

  .intro-grid p:nth-child(1)::after {
    content: "CONSULTATION-FIRST CARE";
  }

  .intro-grid p:nth-child(2)::after {
    content: "MULTI-SERVICE BEAUTY STUDIO";
  }

  .intro-grid p:nth-child(3)::after {
    content: "LOCAL TAMPA ACCESS";
  }

  /* Section headings */
  .section-heading {
    max-width: 780px;
    margin-bottom: 38px;
  }

  .eyeline {
    color: var(--bhi-royal);
    font-size: 0.74rem;
    letter-spacing: 0.16em;
  }

  .section-heading h2,
  .about-copy h2,
  .reviews-grid h2,
  .gift-box h2,
  .contact-grid h2 {
    color: var(--bhi-navy);
    font-size: clamp(2.15rem, 3.3vw, 3.65rem);
    line-height: 1.04;
  }

  .section-heading > p:not(.eyeline),
  .about-copy > p,
  .gift-box p,
  .contact-grid > div > p {
    color: var(--bhi-muted);
    font-size: 1.02rem;
    line-height: 1.68;
  }

  /* Program/service cards */
  .services-grid {
    gap: 18px;
  }

  .service-card {
    border-color: rgba(215, 228, 243, 0.95);
    border-radius: 6px;
    box-shadow: 0 16px 42px rgba(7, 24, 79, 0.08);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
  }

  .service-card:hover {
    border-color: rgba(24, 169, 230, 0.42);
    box-shadow: 0 28px 64px rgba(7, 24, 79, 0.14);
    transform: translateY(-4px);
  }

  .service-image {
    aspect-ratio: 1.42 / 1;
  }

  .service-body {
    padding: 24px 24px 26px;
  }

  .service-body h3 {
    color: var(--bhi-navy);
    font-size: clamp(1.22rem, 1.55vw, 1.45rem);
  }

  .service-body p {
    min-height: 92px;
    color: var(--bhi-muted);
    line-height: 1.62;
  }

  .service-body a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--bhi-royal);
  }

  .service-body a::after {
    color: var(--bhi-sky);
    content: ">";
    font-size: 0.94rem;
    line-height: 1;
  }

  /* Trust block */
  .trust-section {
    background:
      linear-gradient(180deg, var(--bhi-soft), #ffffff);
    border-top: 1px solid rgba(215, 228, 243, 0.72);
    border-bottom: 1px solid rgba(215, 228, 243, 0.72);
  }

  .trust-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: clamp(34px, 6vw, 78px);
    align-items: center;
  }

  .trust-list {
    gap: 14px;
  }

  .trust-list article {
    grid-template-columns: 64px 1fr;
    gap: 18px;
    padding: 24px 26px;
    background: #ffffff;
    border-color: rgba(215, 228, 243, 0.95);
    border-radius: 6px;
    box-shadow: 0 12px 32px rgba(7, 24, 79, 0.06);
  }

  .trust-list span {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #ffffff;
    background: var(--bhi-navy);
    border-radius: 50%;
    font-size: 0.8rem;
  }

  .trust-list h3 {
    color: var(--bhi-navy);
    font-size: 1.15rem;
  }

  .trust-list p {
    color: var(--bhi-muted);
    line-height: 1.58;
  }

  /* About and gallery proof */
  .about-grid,
  .contact-grid,
  .reviews-grid {
    gap: clamp(38px, 5vw, 68px);
  }

  .about-image,
  .gallery-large,
  .gallery-tile {
    border-radius: 6px;
    box-shadow: var(--bhi-shadow);
  }

  .about-image {
    min-height: clamp(440px, 48vw, 560px);
  }

  .about-copy {
    max-width: 540px;
  }

  .gallery-section,
  .contact-section {
    background: var(--bhi-soft);
  }

  .gallery-grid {
    gap: 16px;
    grid-template-rows: repeat(2, minmax(220px, 250px));
  }

  /* Review and CTA bands */
  .reviews-section {
    background:
      linear-gradient(135deg, rgba(7, 24, 79, 0.96), rgba(12, 63, 148, 0.94));
  }

  .reviews-grid h2,
  .reviews-section .eyeline {
    color: #ffffff;
  }

  blockquote {
    border-color: rgba(255, 255, 255, 0.2);
    border-left: 4px solid var(--bhi-gold);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
  }

  blockquote p {
    font-size: clamp(1.25rem, 1.65vw, 1.78rem);
  }

  .gift-section {
    padding-block: 56px;
    background: #ffffff;
  }

  .gift-box {
    padding: clamp(30px, 4vw, 48px);
    background:
      linear-gradient(135deg, rgba(7, 24, 79, 0.96), rgba(24, 169, 230, 0.78)),
      url("../img/reception-studio.webp") center / cover no-repeat;
    border-radius: 6px;
    box-shadow: var(--bhi-strong-shadow);
  }

  .gift-box .button {
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--bhi-navy);
    box-shadow: none;
  }

  /* Contact conversion block */
  .contact-section {
    border-top: 1px solid rgba(215, 228, 243, 0.72);
  }

  .contact-details p {
    padding: 16px 0;
    border-bottom-color: rgba(215, 228, 243, 0.95);
  }

  .contact-form {
    border-color: rgba(215, 228, 243, 0.95);
    border-radius: 6px;
    box-shadow: var(--bhi-strong-shadow);
  }

  .contact-form label {
    color: var(--bhi-navy);
    font-size: 0.74rem;
    letter-spacing: 0.11em;
  }

  input,
  select,
  textarea {
    border-color: rgba(215, 228, 243, 0.95);
    border-radius: 6px;
    background: #fbfdff;
  }

  input:focus,
  select:focus,
  textarea:focus {
    border-color: var(--bhi-sky);
    box-shadow: 0 0 0 3px rgba(24, 169, 230, 0.14);
    outline: none;
  }

  /* Footer */
  .site-footer {
    background: #06123e;
  }
}

@media (min-width: 981px) {
  /* Desktop density and first viewport balance */
  .hero {
    min-height: 632px;
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-header {
    grid-template-columns: auto minmax(420px, 1fr) auto;
  }
}

@media (min-width: 721px) and (max-width: 980px) {
  /* Tablet refinements */
  .site-header {
    grid-template-columns: auto auto;
  }

  .hero {
    min-height: 610px;
    padding-top: 132px;
  }

  .hero-media {
    background:
      linear-gradient(90deg, #ffffff 0%, rgba(255, 255, 255, 0.94) 45%, rgba(255, 255, 255, 0.45) 76%),
      url("../img/hero-studio.webp") 72% center / cover no-repeat;
  }

  .hero::after {
    display: none;
  }

  .intro-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intro-grid p {
    min-height: 112px;
    padding: 28px 18px 22px 42px;
    font-size: 0.72rem;
  }

  .intro-grid p::before {
    left: 18px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-body p {
    min-height: 76px;
  }
}
