/* Internal phone pages share the approved mobile-home shell; the original main stays unique. */
@media (max-width: 600px) {
  body.inner-page {
    --mi-pad: clamp(20px, 5.65vw, 26px);
    font-family: AgataMobileDM, 'DM Sans', sans-serif;
    background: #faf9f6;
    color: #252443;
    -webkit-text-size-adjust: 100%;
  }

  body.inner-page > .header,
  body.inner-page > .footer,
  body.inner-page > .contact-dock,
  body.inner-page > .whatsapp-widget,
  body.inner-page > .skip-link {
    display: none !important;
  }

  body.inner-page > .mh-inner-header {
    position: sticky;
    top: 0;
    z-index: 50;
  }

  body.inner-page .mh-inner-header .mh-site-header {
    position: relative;
  }

  body.inner-page .mh-inner-header .mh-menu-content nav > a[aria-current='page'] {
    color: #292769;
    background: #f0eef5;
    border-radius: 6px;
    padding-inline: 10px;
  }

  body.inner-page main :is(button, input, select, textarea) {
    font-family: AgataMobileDM, 'DM Sans', sans-serif;
  }

  body.inner-page main :is(h1, h2, h3) {
    font-family: AgataMobileManrope, Manrope, sans-serif;
    font-weight: 500;
  }

  body.inner-page main .wrap:not(.hybrid-heading):not(.hybrid-bottom) {
    width: calc(100% - var(--mi-pad) * 2);
  }

  body.inner-page main .section-space {
    padding-block: 50px;
  }

  body.inner-page main :is(.eyebrow, .as-eyebrow) {
    font-size: 10px;
    line-height: 1.6;
    letter-spacing: .12em;
    font-weight: 600;
    margin-bottom: 18px;
  }

  body.inner-page main :is(.inner-hero h1, .portfolio-heading h1, .contact-page h1, .agata-services h1) {
    font-size: clamp(32px, 9vw, 38px);
    line-height: 1.15;
    letter-spacing: -.055em;
    text-wrap: balance;
  }

  body.inner-page main :is(.section-space > .wrap, .faq, .partner-detail, .contact-band > .wrap) > h2 {
    font-size: clamp(29px, 8.3vw, 36px);
    letter-spacing: -.05em;
    line-height: 1.18;
    text-wrap: balance;
  }

  body.inner-page main :is(.button, .as-primary, .as-help-link) {
    display: flex;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    border-radius: 10px;
    padding: 14px 17px;
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    text-align: left;
    transform: none;
    box-shadow: none;
  }

  body.inner-page main .button-blue {
    background: #292769;
    color: #fff;
  }

  body.inner-page main .button:active {
    background: #161536;
  }

  body.inner-page main .text-link {
    min-height: 50px;
    font-size: 13px;
    line-height: 1.5;
    gap: 14px;
    padding-block: 13px 10px;
  }

  body.inner-page main :is(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #a080df;
    outline-offset: 4px;
  }

  body.inner-page .inner-hero {
    padding: 34px 0 40px;
  }

  body.inner-page .inner-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
  }

  body.inner-page .inner-description {
    font-size: 14px;
    line-height: 1.75;
    margin: 22px 0 25px;
    color: #6b697c;
    max-width: none;
  }

  body.inner-page .inner-hero-image {
    height: auto;
    aspect-ratio: 4 / 3;
    max-height: 340px;
    border-radius: 13px;
  }

  body.inner-page .inner-hero-image > span {
    left: 15px;
    right: 15px;
    bottom: 16px;
    font-size: 9px;
    line-height: 1.5;
  }

  body.inner-page .inner-detail {
    background: #f1f0ec;
  }

  body.inner-page .section-label {
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 26px;
    font-size: 9px;
    line-height: 1.6;
    letter-spacing: .08em;
  }

  body.inner-page .section-label > span:last-child {
    max-width: 110px;
    text-align: right;
  }

  body.inner-page .service-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
    margin-top: 29px;
  }

  body.inner-page .service-columns article {
    padding: 20px 17px;
    border: 1px solid #dedde4;
    border-radius: 12px;
    background: #faf9f6;
  }

  body.inner-page .service-columns article > span {
    font-size: 9px;
    line-height: 1.5;
    letter-spacing: .1em;
    font-weight: 600;
    color: #292769;
  }

  body.inner-page .service-columns h3 {
    font-size: 22px;
    line-height: 1.3;
    letter-spacing: -.035em;
    margin: 13px 0 11px;
  }

  body.inner-page .service-columns h3:first-child {
    margin-top: 0;
  }

  body.inner-page .service-columns p {
    font-size: 13px;
    line-height: 1.8;
    color: #6b697c;
  }

  body.inner-page .editorial-split {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    background: #161536;
  }

  body.inner-page .editorial-split img {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  body.inner-page .editorial-split > div {
    padding: 37px var(--mi-pad) 42px;
  }

  body.inner-page .editorial-split h2 {
    font-size: clamp(30px, 8.6vw, 38px);
    letter-spacing: -.05em;
    line-height: 1.18;
  }

  body.inner-page .editorial-split p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.75;
    margin: 22px 0;
  }

  body.inner-page .faq h2 {
    margin-bottom: 28px;
  }

  body.inner-page .faq details {
    padding: 0;
  }

  body.inner-page .faq summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 17px;
    list-style: none;
    min-height: 68px;
    padding: 18px 0;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 600;
  }

  body.inner-page .faq summary::-webkit-details-marker {
    display: none;
  }

  body.inner-page .faq summary::after {
    content: '+';
    flex: none;
    color: #292769;
    font-size: 23px;
    font-weight: 400;
  }

  body.inner-page .faq details[open] > summary::after {
    content: '−';
  }

  body.inner-page .faq details p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    padding-bottom: 22px;
    color: #6b697c;
  }

  body.inner-page .subtle-faq-section {
    padding-bottom: 48px;
  }

  body.inner-page .blue-editorial {
    background: #161536;
  }

  body.inner-page .process-list {
    margin: 29px 0 21px;
  }

  body.inner-page .process-list > div {
    gap: 9px 13px;
    padding-block: 22px;
  }

  body.inner-page .process-list h3 {
    font-size: 21px;
    line-height: 1.35;
    letter-spacing: -.035em;
  }

  body.inner-page .process-list p {
    font-size: 13px;
    line-height: 1.75;
  }

  body.inner-page .partner-detail > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.75;
    margin: 24px 0 14px;
  }

  body.inner-page .charger-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 27px;
  }

  body.inner-page .charger-layout h2 {
    font-size: clamp(30px, 8.5vw, 37px);
    line-height: 1.18;
    letter-spacing: -.05em;
  }

  body.inner-page .charger-layout p {
    font-size: 14px;
    line-height: 1.75;
    margin-block: 21px;
  }

  body.inner-page .charger-input {
    font-size: 14px;
    margin: 26px 0 11px;
  }

  body.inner-page #charger-count {
    min-height: 44px;
  }

  body.inner-page .range-labels {
    font-size: 11px;
    margin-bottom: 18px;
  }

  body.inner-page #charger-note {
    font-size: 11px;
    line-height: 1.7;
  }

  body.inner-page .charger-demo {
    padding: 18px 16px;
    border-radius: 12px;
  }

  body.inner-page .charger-details-toggle {
    min-height: 54px;
    font-size: 12px;
  }

  /* Cinema geometry is deliberately inherited. Scenario controls retain native behavior. */
  body.inner-page .energy-scenarios .energy-scenarios__panel {
    border-radius: 12px;
  }

  body.inner-page .energy-scenarios .energy-scenarios__content {
    padding: 27px 19px;
  }

  body.inner-page .energy-scenarios .energy-scenarios__title {
    font-size: 31px;
    line-height: 1.18;
    letter-spacing: -.05em;
  }

  body.inner-page .energy-scenarios .energy-scenarios__copy {
    font-size: 13px;
    line-height: 1.75;
  }

  body.inner-page .energy-scenarios .energy-scenarios__button {
    min-height: 54px;
    border-radius: 8px;
    font-size: 12px;
  }

  body.inner-page .contact-band {
    padding: 40px 0 43px;
    background: #292769;
    color: #fff;
  }

  body.inner-page .contact-band .eyebrow {
    color: #e0d5ac;
  }

  body.inner-page .contact-band .subtle-quote-note {
    font-size: 14px;
    line-height: 1.75;
    color: #d6d3e6;
    margin-top: 23px;
  }

  body.inner-page .contact-band .button {
    margin-top: 27px;
    background: #f5bf57;
    color: #161536;
  }

  body.inner-page .agata-services .as-intro {
    padding-top: 34px;
    padding-bottom: 25px;
  }

  body.inner-page .agata-services .as-intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  body.inner-page .agata-services .as-intro-copy {
    max-width: none;
    padding-bottom: 0;
  }

  body.inner-page .agata-services .as-intro-copy > p:first-child {
    font-size: 14px;
    line-height: 1.75;
  }

  body.inner-page .agata-services .as-region {
    font-size: 11px;
    line-height: 1.75;
    margin-top: 14px;
  }

  body.inner-page .agata-services .as-shortcuts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin-top: 23px;
    padding-top: 20px;
  }

  body.inner-page .agata-services .as-shortcuts a {
    min-height: 64px;
    padding: 11px 10px;
    border-radius: 9px;
    background: #f1f0ec;
    font-size: 11px;
    gap: 7px;
    line-height: 1.5;
  }

  body.inner-page .agata-services .as-shortcuts a > span:first-child {
    font-size: 9px;
  }

  body.inner-page .agata-services .as-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }

  body.inner-page .agata-services .as-card {
    border: 1px solid #dedde4;
    border-radius: 12px;
    background: #fffefa;
    scroll-margin-top: 90px;
  }

  body.inner-page .agata-services .as-photo {
    border-radius: 11px 11px 0 0;
  }

  body.inner-page .agata-services .as-photo figcaption {
    bottom: 10px;
    left: 10px;
    font-size: 9px;
    border-radius: 4px;
    padding: 5px 7px;
  }

  body.inner-page .agata-services .as-card-content {
    padding: 21px 17px 19px;
  }

  body.inner-page .agata-services .as-card-label {
    font-size: 9px;
    letter-spacing: .1em;
    gap: 10px;
    margin-bottom: 15px;
  }

  body.inner-page .agata-services .as-card h2 {
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: -.045em;
    margin-bottom: 18px;
  }

  body.inner-page .agata-services .as-card-description {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 21px;
  }

  body.inner-page .agata-services .as-features {
    font-size: 12px;
    line-height: 1.7;
    gap: 10px;
    margin-bottom: 22px;
  }

  body.inner-page .agata-services .as-card-actions {
    align-items: stretch;
    gap: 7px;
    padding-top: 19px;
  }

  body.inner-page .agata-services .as-secondary {
    min-height: 50px;
    font-size: 12px;
  }

  body.inner-page .agata-services .as-catalog {
    padding-bottom: 46px;
  }

  body.inner-page .agata-services .as-help {
    padding: 39px 0;
    background: #f1f0ec;
  }

  body.inner-page .agata-services .as-help-inner {
    gap: 22px;
  }

  body.inner-page .agata-services .as-help h2 {
    font-size: 31px;
    line-height: 1.2;
    letter-spacing: -.045em;
    margin-bottom: 20px;
  }

  body.inner-page .agata-services .as-help p:not(.as-eyebrow) {
    font-size: 14px;
    line-height: 1.75;
  }

  body.inner-page main .portfolio-heading {
    padding: 35px 0 31px;
  }

  body.inner-page .portfolio-heading > .wrap > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.75;
    color: #6b697c;
    margin-top: 23px;
  }

  body.inner-page .portfolio-categories {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 24px;
  }

  body.inner-page .portfolio-categories a {
    flex-wrap: wrap;
    justify-content: space-between;
    min-height: 54px;
    gap: 6px;
    padding: 11px 9px;
    font-size: 11px;
    border-radius: 9px;
    background: #f1f0ec;
  }

  body.inner-page .portfolio-categories span {
    font-size: 10px;
  }

  body.inner-page .portfolio-group {
    padding-bottom: 39px;
    scroll-margin-top: 90px;
  }

  body.inner-page .portfolio-group-heading {
    padding-block: 23px;
  }

  body.inner-page .portfolio-group-heading .eyebrow {
    margin-bottom: 11px;
  }

  body.inner-page .portfolio-group-heading h2 {
    font-size: 29px;
    line-height: 1.2;
    letter-spacing: -.04em;
  }

  body.inner-page .portfolio-project {
    padding-bottom: 24px;
    scroll-margin-top: 90px;
  }

  body.inner-page .portfolio-project .portfolio-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding-block: 25px 16px;
  }

  body.inner-page .portfolio-project .portfolio-photo {
    height: auto;
    aspect-ratio: 4 / 3;
    background: #eeede9;
    border: 1px solid #dedde4;
    border-radius: 12px;
    padding: 8px;
  }

  body.inner-page .portfolio-project .portfolio-photo img {
    object-fit: contain;
    transform: none;
  }

  body.inner-page .portfolio-project .phase-label {
    font-size: 9px;
    letter-spacing: .12em;
    margin-bottom: 9px;
  }

  body.inner-page .portfolio-project h3 {
    margin: 9px 0 12px;
    font-size: 26px;
    line-height: 1.23;
    letter-spacing: -.045em;
  }

  body.inner-page .portfolio-location {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 10px;
  }

  body.inner-page .project-gallery summary {
    min-height: 56px;
    padding: 18px 0;
    font-size: 12px;
    line-height: 1.5;
  }

  body.inner-page .project-gallery-grid {
    gap: 9px;
  }

  body.inner-page .project-gallery-grid > a {
    padding: 5px;
    background: #eeede9;
    border-radius: 9px;
    border: 1px solid #dedde4;
  }

  body.inner-page .project-gallery-grid img {
    object-fit: contain;
    transform: none;
  }

  body.inner-page main .contact-page {
    padding: 35px 0 45px;
  }

  body.inner-page .contact-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  body.inner-page .contact-grid > div > p:not(.eyebrow) {
    font-size: 14px;
    line-height: 1.75;
    margin-top: 22px;
    color: #6b697c;
  }

  body.inner-page .contact-options {
    margin-top: 26px;
  }

  body.inner-page .contact-options > :is(a, div) {
    padding: 18px 0;
    gap: 8px;
  }

  body.inner-page .contact-options :is(a, div) > span {
    font-size: 9px;
    letter-spacing: .12em;
  }

  body.inner-page .contact-options strong {
    font-size: 15px;
    line-height: 1.6;
    font-weight: 600;
  }

  body.inner-page .contact-form {
    width: 100%;
    min-width: 0;
    padding: 23px 17px;
    border-radius: 12px;
    border: 1px solid #dedde4;
    background: #f1f0ec;
  }

  body.inner-page .contact-form h2 {
    font-size: 26px;
    line-height: 1.23;
    letter-spacing: -.04em;
    margin-bottom: 24px;
  }

  body.inner-page .contact-form label {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 9px;
  }

  body.inner-page .contact-form :is(input, select, textarea) {
    width: 100%;
    min-height: 52px;
    border-radius: 8px;
    border: 1px solid #cfccd9;
    background: #fffefa;
    font-size: 16px;
    line-height: 1.5;
    padding: 13px 12px;
    margin-bottom: 20px;
  }

  body.inner-page .contact-form > p {
    font-size: 11px;
    line-height: 1.7;
    margin-top: 15px;
  }
}

@media (max-width: 600px) and (prefers-reduced-motion: reduce) {
  body.inner-page main :is(.button, .text-link span, .as-photo img, .portfolio-photo img, .project-gallery-grid img),
  body.inner-page .mh-inner-header *,
  body.inner-page .mh-inner-footer * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
