:root {
    --m7-black: #050505;
    --m7-ink: #111111;
    --m7-panel: #171717;
    --m7-line: rgba(255, 255, 255, 0.14);
    --m7-yellow: #ffc400;
    --m7-yellow-strong: #ffd21a;
    --m7-text: #f7f7f7;
    --m7-muted: #bdbdbd;
    --m7-paper: #f6f4f0;
    --m7-paper-line: #dedbd3;
    --m7-radius: 8px;
    --m7-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--m7-ink);
    background: var(--m7-black);
    font-family: Inter, Arial, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.narrow {
    width: min(820px, calc(100% - 40px));
}

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(5, 5, 5, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    min-height: 78px;
}

.m7-logo {
    display: inline-grid;
    line-height: 1;
    color: #fff;
    text-transform: uppercase;
}

.m7-logo > span {
    font-size: 34px;
    font-weight: 900;
}

.m7-logo > span span {
    color: var(--m7-yellow);
}

.m7-logo small {
    margin-top: -2px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 1.6px;
}

.image-logo {
    overflow: hidden;
    border-radius: 6px;
}

.image-logo img {
    width: auto;
    height: 54px;
    object-fit: contain;
}

.custom-logo {
    max-width: 130px;
    height: auto;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.menu a {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.menu a:hover,
.menu .current-menu-item a {
    color: var(--m7-yellow);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--m7-line);
    border-radius: 8px;
    background: transparent;
}

.nav-toggle span:not(.screen-reader-text) {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: #fff;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 14px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #080808;
    background: var(--m7-yellow);
}

.btn-outline {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.46);
    background: rgba(255, 255, 255, 0.05);
}

.btn-ghost {
    color: var(--m7-ink);
    border-color: #bdb9ae;
    background: transparent;
}

.hero {
    position: relative;
    min-height: 620px;
    color: var(--m7-text);
    overflow: hidden;
    background: #070707;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.86) 0%, rgba(0, 0, 0, 0.58) 38%, rgba(0, 0, 0, 0.16) 100%),
        radial-gradient(circle at 80% 25%, rgba(255, 196, 0, 0.18), transparent 26%),
        var(--m7-hero-image, linear-gradient(135deg, #111 0%, #21180a 42%, #0b0b0b 100%));
    background-position: center;
    background-size: cover;
}

.hero-bg::after {
    content: none;
}

.hero-inner {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 84px 0;
}

.hero-copy {
    width: min(560px, 100%);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--m7-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.page-hero h1,
.footer-cta h2,
.single-copy h1 {
    margin: 0;
    font-weight: 900;
    line-height: 0.96;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 560px;
    font-size: clamp(44px, 7vw, 78px);
}

.hero h1 span,
.footer-cta h2 span {
    color: var(--m7-yellow);
}

.hero p:not(.eyebrow) {
    max-width: 430px;
    color: #e3e3e3;
    font-size: 18px;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.features {
    color: #fff;
    background: #090909;
    border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.feature-card {
    min-height: 150px;
    padding: 28px 16px;
    text-align: center;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-card:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 13px;
    color: var(--m7-yellow);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.feature-card h2 {
    margin: 0 0 6px;
    font-size: 15px;
    line-height: 1.2;
}

.feature-card p {
    margin: 0;
    color: var(--m7-muted);
    font-size: 12px;
    line-height: 1.35;
}

.section {
    padding: 84px 0;
}

.section-light {
    background: var(--m7-paper);
}

.section-heading {
    margin-bottom: 34px;
}

.section-heading.split {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 44px;
    align-items: end;
}

.section-heading h2 {
    max-width: 580px;
    font-size: clamp(34px, 4vw, 54px);
}

.section-heading p:not(.eyebrow) {
    margin: 0 0 18px;
    color: #3e3e3e;
    line-height: 1.55;
}

.room-carousel,
.room-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.room-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--m7-paper-line);
    border-radius: var(--m7-radius);
    box-shadow: var(--m7-shadow);
}

.room-image {
    display: block;
    aspect-ratio: 1.55;
    overflow: hidden;
    background: linear-gradient(135deg, #2f2f2f, #0c0c0c);
}

.room-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.room-image span {
    display: grid;
    place-items: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 800;
}

.room-body {
    position: relative;
    padding: 22px 56px 22px 22px;
}

.status-badge {
    position: absolute;
    top: -154px;
    right: 12px;
    padding: 7px 10px;
    color: #fff;
    background: rgba(6, 6, 6, 0.82);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.status-badge::before {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-right: 5px;
    border-radius: 999px;
    background: #24d25a;
}

.status-reservada::before,
.status-indisponivel::before {
    background: #ff6b45;
}

.status-em_breve::before {
    background: var(--m7-yellow);
}

.room-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.room-card p {
    margin: 0 0 16px;
    color: #444;
    font-size: 14px;
}

.room-card strong {
    display: block;
    font-size: 20px;
}

.round-link {
    position: absolute;
    right: 18px;
    bottom: 22px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid #cfcac0;
    border-radius: 999px;
    font-size: 26px;
    line-height: 1;
}

.video-strip {
    padding: 30px 0 48px;
    background: var(--m7-paper);
}

.video-card {
    position: relative;
    display: block;
    min-height: 360px;
    overflow: hidden;
    color: #fff;
    border: 1px solid rgba(255, 196, 0, 0.9);
    border-radius: 18px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.35) 43%, rgba(0, 0, 0, 0.08) 76%),
        linear-gradient(0deg, rgba(0, 0, 0, 0.58) 0%, transparent 55%),
        var(--m7-video-image, linear-gradient(135deg, #1a1a1a, #4b3212));
    background-position: center;
    background-size: cover;
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.18);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.24);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    place-items: center;
    width: 92px;
    height: 92px;
    border: 2px solid var(--m7-yellow);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.68);
    box-shadow: 0 0 0 9px rgba(255, 196, 0, 0.08), 0 12px 34px rgba(0, 0, 0, 0.35);
    transform: translate(-50%, -50%);
    transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.video-card:hover .play-button {
    background: rgba(0, 0, 0, 0.82);
    box-shadow: 0 0 0 12px rgba(255, 196, 0, 0.12), 0 14px 38px rgba(0, 0, 0, 0.42);
    transform: translate(-50%, -50%) scale(1.04);
}

.play-button::before {
    content: "";
    margin-left: 7px;
    border-top: 16px solid transparent;
    border-bottom: 16px solid transparent;
    border-left: 24px solid #fff;
}

.video-duration {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 8px 13px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.66);
    font-size: 13px;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.video-content {
    position: absolute;
    left: 36px;
    bottom: 30px;
    display: grid;
    gap: 7px;
    max-width: 560px;
}

.video-kicker {
    color: var(--m7-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.video-content strong {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
}

.video-content > span:last-child {
    color: #e2e2e2;
    font-size: 15px;
}

.companies {
    padding-top: 78px;
}

.stat-card {
    justify-self: end;
    display: grid;
    place-items: center;
    width: 150px;
    min-height: 100px;
    color: #080808;
    background: var(--m7-yellow);
    border-radius: var(--m7-radius);
    text-align: center;
}

.stat-card strong {
    display: block;
    font-size: 42px;
    line-height: 0.9;
}

.stat-card span {
    display: block;
    max-width: 90px;
    font-weight: 800;
    font-size: 13px;
    line-height: 1.15;
}

.company-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
}

.company-filters a,
.company-filters span,
.company-filter-button {
    display: inline-flex;
    min-height: 34px;
    align-items: center;
    padding: 0 18px;
    border: 1px solid #d7d2c8;
    border-radius: 999px;
    background: #fff;
    color: var(--m7-ink);
    font-size: 13px;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.company-filter-button.is-active,
.company-filter-button:hover {
    border-color: var(--m7-yellow);
    background: var(--m7-yellow);
}

.company-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.company-grid.archive {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.company-card {
    min-height: 86px;
    display: grid;
    place-items: center;
    padding: 16px;
    background: #fff;
    border: 1px solid #ddd8ce;
    border-radius: var(--m7-radius);
}

.company-card.is-hidden {
    display: none;
}

.company-card a {
    display: grid;
    place-items: center;
    gap: 6px;
    width: 100%;
    text-align: center;
}

.company-card img {
    max-width: 190px;
    max-height: 64px;
    width: auto;
    object-fit: contain;
}

.company-card strong {
    font-size: 17px;
    text-align: center;
}

.company-card span {
    color: #626262;
    font-size: 12px;
    font-weight: 700;
}

.center {
    display: flex;
    justify-content: center;
    margin-top: 24px;
}

.location {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 420px;
    color: #fff;
    background: #0b0b0b;
}

.map-panel iframe,
.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

.map-placeholder {
    display: grid;
    place-items: center;
    background:
        linear-gradient(rgba(245, 242, 234, 0.08), rgba(245, 242, 234, 0.08)),
        url("../images/mapa-provisorio.jpg");
    background-position: center;
    background-size: cover;
}

.map-placeholder span {
    display: grid;
    place-items: center;
    width: 72px;
    height: 72px;
    color: #080808;
    background: var(--m7-yellow);
    border: 10px solid #0a0a0a;
    border-radius: 999px 999px 999px 8px;
    font-weight: 900;
}

.location-copy {
    align-self: center;
    width: min(520px, calc(100% - 56px));
    padding: 68px 0 68px 54px;
}

.location-copy h2 {
    margin: 0 0 18px;
    font-size: clamp(32px, 4vw, 48px);
    line-height: 1;
}

.location-copy p,
.location-copy li {
    color: #dedede;
    line-height: 1.6;
}

.location-copy ul {
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.location-copy li::before {
    content: "";
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--m7-yellow);
}

.site-footer {
    color: #fff;
    background: #050505;
}

.footer-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 40px;
    padding: 54px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-cta h2 {
    max-width: 620px;
    font-size: clamp(30px, 4vw, 46px);
}

.footer-cta p:not(.eyebrow) {
    color: #c9c9c9;
}

.footer-actions {
    display: grid;
    gap: 12px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    min-height: 96px;
}

.footer-nav .menu {
    justify-content: flex-end;
    gap: 22px;
}

.page-section,
.page-hero,
.single-layout {
    color: #fff;
    background: #0b0b0b;
}

.page-section,
.single-layout {
    padding: 90px 0;
}

.page-hero {
    padding: 100px 0 56px;
}

.page-hero h1 {
    font-size: clamp(42px, 6vw, 72px);
}

.page-hero p:not(.eyebrow) {
    max-width: 640px;
    color: #d6d6d6;
    font-size: 18px;
}

.single-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 54px;
    align-items: center;
}

.single-media {
    overflow: hidden;
    border-radius: var(--m7-radius);
    background: #171717;
}

.single-media img {
    width: 100%;
    aspect-ratio: 1.3;
    object-fit: cover;
}

.single-copy h1 {
    margin-bottom: 24px;
    font-size: clamp(40px, 5vw, 64px);
}

.entry-content {
    color: #dedede;
    line-height: 1.75;
}

.room-detail-page {
    padding: 18px 0 72px;
    color: var(--m7-ink);
    background: var(--m7-paper);
}

.room-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-block: 18px;
    color: #6d6b67;
    font-size: 14px;
}

.room-breadcrumb a:hover {
    color: var(--m7-ink);
}

.room-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr);
    gap: 40px;
    align-items: start;
}

.room-gallery-main {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border-radius: 14px;
    background: #171717;
}

.room-gallery-main img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 480px;
    aspect-ratio: 1.75;
    object-fit: cover;
}

.room-gallery-placeholder {
    display: grid;
    place-items: center;
    min-height: 480px;
    color: #fff;
    font-weight: 800;
}

.room-photo-count {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 10px 16px;
    border-radius: 10px;
    background: var(--m7-yellow);
    font-size: 14px;
    font-weight: 800;
}

.room-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.room-gallery-thumb {
    overflow: hidden;
    padding: 0;
    border: 3px solid transparent;
    border-radius: 11px;
    background: #151515;
    cursor: pointer;
}

.room-gallery-thumb.is-active {
    border-color: var(--m7-yellow);
}

.room-gallery-thumb img {
    display: block;
    width: 100%;
    height: 118px;
    object-fit: cover;
}

.room-detail-copy {
    padding-top: 4px;
}

.room-detail-copy h1 {
    margin: 5px 0 10px;
    font-size: clamp(40px, 4vw, 58px);
    line-height: 1;
}

.room-detail-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    background: #bdebc8;
    font-size: 14px;
    font-weight: 800;
}

.room-detail-status::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #12aa3e;
}

.room-detail-status.status-reservada,
.room-detail-status.status-indisponivel {
    background: #ffd4c8;
}

.room-detail-status.status-reservada::before,
.room-detail-status.status-indisponivel::before {
    background: #e54e29;
}

.room-detail-status.status-em_breve {
    background: #fff0b0;
}

.room-detail-status.status-em_breve::before {
    background: #d99d00;
}

.room-detail-subtitle {
    margin: 18px 0 20px;
    color: #565550;
    font-size: 18px;
    line-height: 1.5;
}

.room-facts {
    margin: 0 0 18px;
    padding: 8px 24px;
    border: 1px solid var(--m7-paper-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, .06);
}

.room-facts div {
    padding: 15px 0;
    border-bottom: 1px solid #dedbd4;
}

.room-facts div:last-child {
    border-bottom: 0;
}

.room-facts > .room-fact {
    display: flex;
    align-items: center;
    gap: 16px;
}

.room-facts > .room-fact > div {
    flex: 1;
    padding: 0;
    border: 0;
}

.room-facts dt {
    font-weight: 800;
}

.room-facts dd {
    margin: 3px 0 0;
    color: #66645f;
}

.room-interest-button {
    justify-content: center;
    width: 100%;
}

.room-whatsapp-note {
    margin: 10px 0 0;
    color: #686660;
    text-align: center;
    font-size: 13px;
}

.room-detail-lower {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(340px, 1fr);
    gap: 40px;
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid #d7d3cb;
}

.room-detail-lower h2 {
    margin: 0 0 18px;
    font-size: 23px;
}

.room-amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.room-amenity {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 10px 12px;
    border-right: 1px solid #d7d3cb;
    color: #474641;
    font-size: 14px;
}

.room-detail-icon {
    flex: 0 0 27px;
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--m7-ink);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.room-description .entry-content {
    color: #5d5b56;
    line-height: 1.65;
}

.room-description .entry-content > :first-child {
    margin-top: 0;
}

.company-card strong {
    margin-top: 8px;
}

.company-logo-panel {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 36px;
    background: var(--m7-paper);
}

.company-logo-panel strong {
    color: var(--m7-ink);
    font-size: 38px;
}

.company-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 26px;
}

.section-dark {
    color: #fff;
    background:
        radial-gradient(circle at 85% 0%, rgba(255, 196, 0, 0.13), transparent 28%),
        #080808;
}

.section-dark .section-heading p:not(.eyebrow) {
    color: #d2d2d2;
}

.structure-showcase {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.structure-grid,
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.structure-card,
.instagram-card {
    position: relative;
    overflow: hidden;
    min-height: 260px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--m7-radius);
    background: #141414;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.structure-card img,
.instagram-card img {
    width: 100%;
    height: 100%;
    min-height: 260px;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.structure-card:hover img,
.instagram-card:hover img {
    transform: scale(1.04);
    opacity: 0.95;
}

.structure-card::after,
.instagram-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.02) 18%, rgba(0, 0, 0, 0.86) 100%);
}

.structure-card > div {
    position: absolute;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 1;
}

.structure-card h3,
.structure-card p,
.instagram-card strong,
.instagram-card span {
    position: relative;
    z-index: 1;
}

.structure-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
}

.structure-card p {
    margin: 0;
    color: #dedede;
    line-height: 1.45;
}

.instagram-section {
    padding-top: 78px;
}

.instagram-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 330px;
    padding: 22px;
}

.instagram-card img {
    position: absolute;
    inset: 0;
}

.instagram-card span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    margin-bottom: 10px;
    padding: 7px 11px;
    border-radius: 999px;
    color: #080808;
    background: var(--m7-yellow);
    font-size: 12px;
    font-weight: 900;
}

.instagram-card strong {
    color: #fff;
    font-size: 22px;
    line-height: 1.15;
}

.instagram-icon {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.company-card:hover {
    transform: translateY(-2px);
    border-color: var(--m7-yellow);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.company-profile-hero {
    position: relative;
    overflow: hidden;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.68) 52%, rgba(0, 0, 0, 0.34) 100%),
        var(--company-hero-image);
    background-position: center;
    background-size: cover;
}

.company-profile-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) auto;
    gap: 34px;
    align-items: center;
    min-height: 520px;
    padding-block: 80px;
}

.company-profile-logo {
    display: grid;
    place-items: center;
    min-height: 210px;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--m7-radius);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26);
}

.company-profile-logo img {
    max-height: 130px;
    object-fit: contain;
}

.company-profile-copy h1 {
    margin: 0;
    font-size: clamp(42px, 6vw, 78px);
    font-weight: 900;
    line-height: 0.94;
}

.company-profile-copy p:not(.eyebrow) {
    max-width: 650px;
    color: #e4e4e4;
    font-size: 18px;
    line-height: 1.55;
}

.company-profile-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.company-profile-badge {
    align-self: start;
    justify-self: end;
    padding: 10px 14px;
    border: 1px solid rgba(255, 196, 0, 0.45);
    border-radius: 999px;
    color: var(--m7-yellow);
    background: rgba(0, 0, 0, 0.7);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.company-profile-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.65fr) minmax(330px, 0.8fr);
    gap: 40px;
    align-items: start;
}

.company-section-block {
    padding-bottom: 44px;
}

.company-section-block h2,
.company-contact-card h2 {
    margin: 0 0 18px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1;
}

.company-gallery {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 14px;
}

.company-gallery figure {
    overflow: hidden;
    margin: 0;
    border-radius: var(--m7-radius);
    background: #151515;
}

.company-gallery-button {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.company-gallery figure.is-large {
    grid-row: span 2;
}

.company-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.company-gallery figure.is-large img {
    height: 454px;
}

.company-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.company-service-card {
    min-height: 170px;
    padding: 22px;
    border: 1px solid #dedbd3;
    border-radius: var(--m7-radius);
    background: #fff;
}

.company-service-card h3 {
    margin: 14px 0 8px;
    font-size: 20px;
}

.company-service-card p,
.company-description,
.company-contact-card p {
    color: #55534e;
    line-height: 1.7;
}

.company-description {
    max-width: 820px;
    margin: 0;
    font-size: 17px;
}

.company-module-image-text {
    display: grid;
    grid-template-columns: minmax(240px, .9fr) minmax(0, 1.1fr);
    gap: 30px;
    align-items: center;
}

.company-module-image-text.is-image-right figure {
    order: 2;
}

.company-module-image-text figure {
    overflow: hidden;
    margin: 0;
    border-radius: var(--m7-radius);
    background: #151515;
}

.company-module-image-text figure img {
    display: block;
    width: 100%;
    min-height: 310px;
    max-height: 430px;
    object-fit: cover;
}

.company-card-media {
    position: relative;
    min-width: 0;
    overflow: hidden;
    border-radius: var(--m7-module-radius, var(--company-card-radius));
    background: #151515;
}

.company-module-image-text.is-image-right .company-card-media {
    order: 2;
}

.company-card-media-track {
    width: 100%;
    height: 100%;
}

.company-card-media-item {
    overflow: hidden;
    width: 100%;
    height: 100%;
    margin: 0;
    border-radius: 0;
}

.company-card-media-item img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.company-card-media--collage .company-card-media-track {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 4px;
    min-height: 420px;
}

.company-card-media--collage .company-card-media-item.is-primary {
    grid-row: 1 / -1;
}

.company-card-media--collage .company-card-media-item:nth-child(n + 4) {
    display: none;
}

.company-card-media--strip .company-card-media-track,
.company-card-media--slider .company-card-media-track {
    display: flex;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.company-card-media--strip .company-card-media-track::-webkit-scrollbar,
.company-card-media--slider .company-card-media-track::-webkit-scrollbar {
    display: none;
}

.company-card-media--strip .company-card-media-item {
    flex: 0 0 78%;
    scroll-snap-align: start;
}

.company-card-media--strip .company-card-media-item + .company-card-media-item {
    border-left: 4px solid transparent;
}

.company-card-media--slider .company-card-media-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
}

.company-card-media-controls {
    position: absolute;
    right: 14px;
    bottom: 14px;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .72);
    color: #fff;
    backdrop-filter: blur(8px);
}

.company-card-media-controls button {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: transparent;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.company-card-media-controls span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

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

.company-module-gallery .company-gallery img {
    height: 270px;
}

.company-before-after {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.company-before-after figure {
    position: relative;
    overflow: hidden;
    margin: 0;
    border-radius: var(--m7-radius);
    background: #151515;
}

.company-before-after img {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
}

.company-before-after figcaption {
    position: absolute;
    right: 14px;
    bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(0, 0, 0, .78);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.company-module-cta {
    margin-bottom: 44px;
    padding: 30px;
    border-radius: var(--m7-radius);
    background: #f5f1e7;
}

.company-module-cta.company-section-block {
    padding-bottom: 30px;
}

.company-module-cta .btn {
    margin-top: 20px;
}

/* Visual system for company pages. Defaults preserve existing pages. */
.company-profile-page {
    --company-primary: #171717;
    --company-accent: #ffc400;
    --company-page-bg: #f4f2ec;
    --company-heading-font: 'Poppins', sans-serif;
    --company-body-font: 'Inter', sans-serif;
    --company-card-radius: 22px;
    font-family: var(--company-body-font);
}

.company-profile-page .section-light {
    background: var(--company-page-bg);
}

.company-profile-page h1,
.company-profile-page h2,
.company-profile-page h3,
.company-profile-page .eyebrow {
    font-family: var(--company-heading-font);
}

.company-profile-page .eyebrow {
    color: var(--company-accent);
}

.company-profile-page .btn-primary {
    border-color: var(--company-accent);
    background: var(--company-accent);
}

.company-radius-small { --company-card-radius: 8px; }
.company-radius-medium { --company-card-radius: 14px; }
.company-radius-large { --company-card-radius: 22px; }
.company-radius-extra { --company-card-radius: 32px; }

.company-module {
    --m7-module-bg: #fff;
    --m7-module-title: #171717;
    --m7-module-text: #55534e;
    --m7-module-accent: var(--company-accent);
    --m7-module-gradient-start: #171717;
    --m7-module-gradient-end: #3b3008;
    --m7-module-gradient-direction: 135deg;
    --m7-module-overlay-opacity: .48;
    --m7-module-radius: var(--company-card-radius);
    position: relative;
    isolation: isolate;
    color: var(--m7-module-text);
    font-family: var(--m7-module-body-font, var(--company-body-font));
}

.company-module h2,
.company-module h3 {
    color: var(--m7-module-title);
    font-family: var(--m7-module-heading-font, var(--company-heading-font));
}

.company-module .eyebrow,
.company-module svg {
    color: var(--m7-module-accent);
}

.company-module .company-description,
.company-module .company-service-card p {
    color: var(--m7-module-text);
}

.m7-module-style-light,
.m7-module-style-dark,
.m7-module-style-brand,
.m7-module-style-gradient {
    overflow: hidden;
    margin-bottom: 44px;
    padding: clamp(24px, 4vw, 44px);
    border-radius: var(--m7-module-radius);
    box-shadow: 0 18px 50px rgba(18, 17, 14, .09);
}

.m7-module-style-light { background: var(--m7-module-bg); }
.m7-module-style-dark { background: var(--m7-module-bg, #171717); }
.m7-module-style-brand { background: var(--company-primary); }
.m7-module-style-gradient {
    background: linear-gradient(var(--m7-module-gradient-direction), var(--m7-module-gradient-start), var(--m7-module-gradient-end));
}

.m7-module-style-dark,
.m7-module-style-brand,
.m7-module-style-gradient {
    --m7-module-title: #fff;
    --m7-module-text: #e9e6df;
}

.m7-module-style-dark .company-service-card,
.m7-module-style-brand .company-service-card,
.m7-module-style-gradient .company-service-card {
    border-color: rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(10px);
}

.m7-module-decoration-top-line::after,
.m7-module-decoration-side-line::after {
    position: absolute;
    z-index: 4;
    border-radius: 999px;
    background: var(--m7-module-accent);
    content: '';
}

.m7-module-decoration-top-line::after {
    top: 0;
    left: clamp(24px, 4vw, 44px);
    width: 88px;
    height: 4px;
}

.m7-module-decoration-side-line::after {
    top: clamp(24px, 4vw, 44px);
    bottom: clamp(24px, 4vw, 44px);
    left: 0;
    width: 4px;
}

.m7-module-decoration-outline {
    outline: 1px solid color-mix(in srgb, var(--m7-module-accent) 44%, transparent);
    outline-offset: -1px;
}

.m7-module-radius-small { --m7-module-radius: 8px; }
.m7-module-radius-medium { --m7-module-radius: 14px; }
.m7-module-radius-large { --m7-module-radius: 22px; }
.m7-module-radius-extra { --m7-module-radius: 32px; }

.m7-module-heading-inter { --m7-module-heading-font: 'Inter', sans-serif; }
.m7-module-heading-poppins { --m7-module-heading-font: 'Poppins', sans-serif; }
.m7-module-heading-montserrat { --m7-module-heading-font: 'Montserrat', sans-serif; }
.m7-module-heading-manrope { --m7-module-heading-font: 'Manrope', sans-serif; }
.m7-module-heading-dm-sans { --m7-module-heading-font: 'DM Sans', sans-serif; }
.m7-module-heading-playfair { --m7-module-heading-font: 'Playfair Display', serif; }
.m7-module-body-inter { --m7-module-body-font: 'Inter', sans-serif; }
.m7-module-body-poppins { --m7-module-body-font: 'Poppins', sans-serif; }
.m7-module-body-montserrat { --m7-module-body-font: 'Montserrat', sans-serif; }
.m7-module-body-manrope { --m7-module-body-font: 'Manrope', sans-serif; }
.m7-module-body-dm-sans { --m7-module-body-font: 'DM Sans', sans-serif; }
.m7-module-body-playfair { --m7-module-body-font: 'Playfair Display', serif; }

.m7-module-filter-warm img { filter: saturate(.88) sepia(.16) contrast(1.03); }
.m7-module-filter-grayscale img { filter: grayscale(1) contrast(1.06); }
.m7-module-filter-contrast img { filter: saturate(.9) contrast(1.18) brightness(.88); }

.company-module-image-text.m7-module-layout-editorial {
    grid-template-columns: minmax(260px, 1.08fr) minmax(0, .92fr);
    gap: 0;
    padding: 0;
    align-items: stretch;
}

.company-module-image-text.m7-module-layout-editorial > figure {
    min-height: 420px;
    border-radius: 0;
}

.company-module-image-text.m7-module-layout-editorial > .company-card-media {
    min-height: 420px;
    border-radius: 0;
}

.company-module-image-text.m7-module-layout-editorial > figure img {
    height: 100%;
    max-height: none;
}

.company-module-image-text.m7-module-layout-editorial > .company-card-media img {
    min-height: 420px;
}

.company-module-image-text.m7-module-layout-editorial > .company-module-copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: clamp(30px, 5vw, 56px);
}

.company-module-image-text.m7-module-layout-stacked {
    grid-template-columns: 1fr;
}

.company-module-image-text.m7-module-layout-overlay {
    display: grid;
    min-height: 520px;
    padding: 0;
    background: #111;
}

.company-module-image-text.m7-module-layout-overlay > figure,
.company-module-image-text.m7-module-layout-overlay > .company-card-media,
.company-module-image-text.m7-module-layout-overlay > .company-card-video,
.company-module-image-text.m7-module-layout-overlay > .company-module-copy {
    grid-area: 1 / 1;
}

.company-module-image-text.m7-module-layout-overlay > figure {
    z-index: -2;
    min-height: 520px;
    border-radius: 0;
}

.company-module-image-text.m7-module-layout-overlay > .company-card-media {
    z-index: -2;
    min-height: 520px;
    border-radius: 0;
}

.company-module-image-text.m7-module-layout-overlay > figure img {
    height: 100%;
    max-height: none;
}

.company-module-image-text.m7-module-layout-overlay > .company-card-media img {
    min-height: 520px;
}

.company-module-image-text.m7-module-layout-overlay::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(0, 0, 0, var(--m7-module-overlay-opacity));
    content: '';
}

.company-module-image-text.m7-module-layout-overlay > .company-module-copy {
    align-self: end;
    max-width: 720px;
    padding: clamp(32px, 6vw, 64px);
}

.company-module-image-text.m7-module-layout-overlay h2,
.company-module-image-text.m7-module-layout-overlay .company-description {
    color: #fff;
}

.company-module-image-text.m7-module-layout-overlay.is-image-right figure { order: initial; }
.company-module-image-text.m7-module-layout-overlay.is-image-right .company-card-media { order: initial; }

.company-card-video {
    position: relative;
    width: 100%;
    min-width: 0;
    align-self: center;
    overflow: hidden;
    border-radius: var(--m7-module-radius, var(--company-card-radius));
    background: #0d0d0d;
    aspect-ratio: 16 / 9;
}

.company-card-video--square { aspect-ratio: 1; }
.company-card-video--vertical {
    justify-self: center;
    width: min(100%, 382px);
    aspect-ratio: 9 / 16;
}

.company-card-video iframe,
.company-card-video-cover {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.company-card-video-cover {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 24px;
    background-color: #0d0d0d;
    background-image: linear-gradient(135deg, #242424, #080808);
    color: #fff;
    text-align: center;
    cursor: pointer;
}

.company-card-video-cover::before,
.company-card-video-cover::after {
    position: absolute;
    background-image: var(--m7-video-poster, linear-gradient(135deg, #242424, #080808));
    background-position: center;
    background-repeat: no-repeat;
    content: '';
    pointer-events: none;
}

.company-card-video-cover::before {
    inset: -18px;
    background-size: cover;
    filter: blur(16px) brightness(.42);
    transform: scale(1.04);
}

.company-card-video-cover::after {
    inset: 0;
    background-size: contain;
    box-shadow: inset 0 0 0 999px rgba(0, 0, 0, .22);
}

.company-card-video-cover strong {
    position: absolute;
    z-index: 2;
    top: calc(50% + 46px);
    right: 20px;
    left: 20px;
    display: block;
    margin: 0;
    font-size: 14px;
    text-align: center;
}

.company-card-video-play {
    position: relative;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    flex: 0 0 auto;
    margin: 0;
    padding-left: 4px;
    border: 2px solid rgba(255, 255, 255, .85);
    border-radius: 50%;
    background: rgba(0, 0, 0, .46);
    font-size: 25px;
    backdrop-filter: blur(8px);
}

.company-module-image-text.is-image-right > .company-card-video { order: 2; }
.company-module-image-text.m7-module-layout-editorial > .company-card-video { border-radius: 0; }
.company-module-image-text.m7-module-layout-overlay > .company-card-video {
    z-index: -2;
    align-self: stretch;
    width: 100%;
    min-height: 520px;
    max-width: none;
    border-radius: 0;
    aspect-ratio: auto;
}

.company-testimonials,
.company-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 14px;
}

.company-testimonial-card,
.company-stat-card {
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 24px;
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: var(--m7-module-radius);
    background: rgba(255, 255, 255, .08);
}

.m7-module-style-light .company-testimonial-card,
.m7-module-style-light .company-stat-card,
.m7-module-style-plain .company-testimonial-card,
.m7-module-style-plain .company-stat-card {
    background: #fff;
}

.company-testimonial-card blockquote {
    margin: 0 0 22px;
    color: var(--m7-module-title);
    font-size: 18px;
    font-weight: 650;
    line-height: 1.55;
}

.company-testimonial-card:not(.has-screenshot) {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.company-testimonial-screenshot {
    position: relative;
    overflow: hidden;
    margin: 0 0 22px;
    border: 1px solid color-mix(in srgb, currentColor 12%, transparent);
    border-radius: max(10px, calc(var(--m7-module-radius) - 8px));
    background: color-mix(in srgb, var(--m7-module-text) 9%, transparent);
    aspect-ratio: 4 / 5;
}

.company-testimonial-screenshot-button {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.company-testimonial-screenshot img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.company-testimonial-zoom {
    position: absolute;
    right: 12px;
    bottom: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .78);
    border-radius: 50%;
    background: rgba(0, 0, 0, .68);
    color: #fff;
    font-size: 25px;
    font-weight: 400;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .24);
    backdrop-filter: blur(8px);
}

.company-testimonial-screenshot-button:hover .company-testimonial-zoom,
.company-testimonial-screenshot-button:focus-visible .company-testimonial-zoom {
    background: var(--m7-module-accent);
    color: #111;
}

.company-testimonial-screenshot-button:focus-visible {
    outline: 3px solid var(--m7-module-accent);
    outline-offset: -3px;
}

.company-testimonial-card figcaption strong,
.company-testimonial-card figcaption span {
    display: block;
}

.company-testimonial-card figcaption span {
    margin-top: 4px;
    color: var(--m7-module-text);
    font-size: 13px;
}

.company-horizontal-carousel {
    min-width: 0;
}

.company-testimonials.is-carousel {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 2px 2px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}

.company-testimonials.is-carousel::-webkit-scrollbar,
.company-instagram-showcase::-webkit-scrollbar {
    display: none;
}

.company-testimonials.is-carousel > .company-testimonial-card {
    flex: 0 0 calc((100% - 28px) / 3);
    scroll-snap-align: start;
}

.company-carousel-controls {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}

.company-carousel-controls span {
    color: var(--m7-module-text);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: .04em;
}

.company-carousel-controls button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--m7-module-text) 24%, transparent);
    border-radius: 50%;
    background: color-mix(in srgb, var(--m7-module-bg) 88%, transparent);
    color: var(--m7-module-title);
    font-size: 20px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, color .2s ease;
}

.company-carousel-controls button:hover,
.company-carousel-controls button:focus-visible {
    background: var(--m7-module-accent);
    color: #111;
    transform: translateY(-2px);
}

.company-instagram-heading {
    display: block;
}

.company-instagram-heading h2 {
    max-width: 760px;
}

.company-instagram-showcase {
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(3, minmax(0, 294px));
    gap: 20px;
    margin-top: 28px;
}

.company-instagram-showcase.is-count-1 {
    grid-template-columns: minmax(0, 326px);
}

.company-instagram-showcase.is-count-2 {
    grid-template-columns: repeat(2, minmax(0, 326px));
    gap: 24px;
}

.company-instagram-showcase.is-count-1 .company-instagram-embed,
.company-instagram-showcase.is-count-2 .company-instagram-embed {
    width: 326px;
    height: 660px;
}

.company-instagram-showcase.is-count-1 .company-instagram-embed iframe,
.company-instagram-showcase.is-count-2 .company-instagram-embed iframe {
    transform: none;
}

.company-instagram-card {
    min-width: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

.company-instagram-embed {
    width: 294px;
    height: 594px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .24);
}

.company-instagram-embed iframe {
    display: block;
    width: 326px;
    height: 660px;
    border: 0;
    background: #fff;
    transform: scale(.90184);
    transform-origin: top left;
}

.company-instagram-caption {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 14px 4px 0;
}

.company-instagram-caption span {
    min-width: 0;
    overflow: hidden;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-instagram-caption a {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #ffc400;
    color: #111;
    font-size: 17px;
    font-weight: 900;
}

.company-instagram-controls {
    display: none;
}

.company-stat-card strong {
    display: block;
    max-width: 100%;
    color: var(--m7-module-accent);
    font-family: var(--m7-module-heading-font, var(--company-heading-font));
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.company-stat-card--long strong {
    font-size: clamp(30px, 2.6vw, 36px);
}

.company-stat-card--extra-long strong {
    font-size: clamp(26px, 2.2vw, 32px);
}

.company-stat-card span {
    display: block;
    margin-top: 10px;
    color: var(--m7-module-text);
    font-weight: 700;
}

.company-faq {
    display: grid;
    gap: 10px;
}

.company-faq details {
    border: 1px solid color-mix(in srgb, currentColor 18%, transparent);
    border-radius: calc(var(--m7-module-radius) * .72);
    background: rgba(255, 255, 255, .07);
}

.m7-module-style-light .company-faq details,
.m7-module-style-plain .company-faq details { background: #fff; }

.company-faq summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 22px;
    color: var(--m7-module-title);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.company-faq summary::-webkit-details-marker { display: none; }
.company-faq summary span { color: var(--m7-module-accent); font-size: 22px; transition: transform .2s ease; }
.company-faq details[open] summary span { transform: rotate(45deg); }
.company-faq details > div { padding: 0 22px 20px; color: var(--m7-module-text); line-height: 1.7; }
.company-faq details > div p { margin: 0; }

.company-timeline {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 54px 1fr;
    gap: 18px;
    padding-bottom: 26px;
}

.company-timeline li:not(:last-child)::after {
    position: absolute;
    top: 42px;
    bottom: 0;
    left: 26px;
    width: 2px;
    background: color-mix(in srgb, var(--m7-module-accent) 55%, transparent);
    content: '';
}

.company-timeline li > span {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--m7-module-accent);
    color: #171717;
    font-weight: 900;
}

.company-timeline h3 { margin: 3px 0 6px; }
.company-timeline p { margin: 0; color: var(--m7-module-text); line-height: 1.6; }

.m7-has-js .m7-animate {
    opacity: 0;
    transform: var(--m7-animation-transform, none);
    transition: opacity var(--m7-animation-duration, .65s) ease, transform var(--m7-animation-duration, .65s) cubic-bezier(.2, .72, .25, 1);
}

.m7-has-js .m7-animation-rise { --m7-animation-transform: translateY(24px); }
.m7-has-js .m7-animation-left { --m7-animation-transform: translateX(-28px); }
.m7-has-js .m7-animation-right { --m7-animation-transform: translateX(28px); }
.m7-has-js .m7-animation-zoom { --m7-animation-transform: scale(.97); }
.m7-has-js .m7-animation-speed-slow { --m7-animation-duration: .9s; }
.m7-has-js .m7-animation-speed-fast { --m7-animation-duration: .42s; }
.m7-has-js .m7-animate.is-in-view { opacity: 1; transform: none; }

.company-mobile-cta { display: none; }

@media (prefers-reduced-motion: reduce) {
    .m7-has-js .m7-animate {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.company-module-cta.m7-module-style-light,
.company-module-cta.m7-module-style-dark,
.company-module-cta.m7-module-style-brand,
.company-module-cta.m7-module-style-gradient {
    padding-bottom: clamp(24px, 4vw, 44px);
}

.company-contact-card {
    position: sticky;
    top: 104px;
    padding: 26px;
    border: 1px solid #dedbd3;
    border-radius: var(--m7-radius);
    background: #fff;
    box-shadow: var(--m7-shadow);
}

.company-contact-card .btn {
    width: 100%;
}

.button-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-site-link {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 62px;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid #d8d2c7;
    border-radius: var(--m7-radius);
    background: #f8f6f1;
}

.company-site-link strong,
.company-site-link small {
    display: block;
}

.company-site-link small {
    margin-top: 2px;
    color: #68645d;
    font-weight: 700;
}

.company-contact-list {
    margin: 22px 0 0;
}

.company-contact-list div {
    padding: 14px 0;
    border-top: 1px solid #e4dfd5;
}

.company-contact-list dt {
    font-weight: 900;
}

.company-contact-list dd {
    margin: 4px 0 0;
    color: #5f5b54;
    line-height: 1.45;
}

.company-related .company-card {
    background: rgba(255, 255, 255, 0.96);
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

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

    .company-profile-hero-inner {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .company-profile-badge {
        justify-self: start;
    }
}

@media (max-width: 860px) {
    .container {
        width: min(100% - 28px, 720px);
    }

    /*
     * Company modules can contain fixed-width third-party embeds (Instagram).
     * Grid items use min-width:auto by default, so an embed could enlarge the
     * whole main column and make every card overflow on phones/tablets.
     */
    .company-profile-grid > main,
    .company-profile-grid > aside {
        width: auto;
        min-width: 0;
        max-width: 100%;
    }

    .company-testimonials.is-carousel > .company-testimonial-card {
        flex-basis: calc((100% - 14px) / 2);
    }

    .company-instagram-showcase.is-count-3 {
        display: flex;
        justify-content: flex-start;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .company-instagram-showcase.is-count-3 .company-instagram-card {
        flex: 0 0 min(78vw, 294px);
        scroll-snap-align: start;
    }

    .company-instagram-showcase.is-count-3 + .company-instagram-controls {
        display: flex;
    }

    .header-inner {
        grid-template-columns: auto auto;
        justify-content: space-between;
        min-height: 68px;
    }

    .nav-toggle {
        display: block;
    }

    .primary-nav,
    .header-cta {
        display: none;
    }

    .primary-nav.is-open {
        display: block;
        grid-column: 1 / -1;
        padding: 8px 0 20px;
    }

    .primary-nav .menu {
        align-items: stretch;
        flex-direction: column;
        gap: 0;
    }

    .primary-nav .menu a {
        display: block;
        padding: 14px 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .hero,
    .hero-inner {
        min-height: 570px;
    }

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

    .feature-card {
        min-height: 136px;
    }

    .section-heading.split,
    .single-grid,
    .room-detail-grid,
    .room-detail-lower,
    .company-profile-grid,
    .footer-cta,
    .location {
        grid-template-columns: 1fr;
    }

    .company-profile-hero-inner {
        grid-template-columns: 1fr;
        min-height: auto;
        padding-block: 58px;
    }

    .company-profile-logo {
        width: min(100%, 320px);
        min-height: 170px;
    }

    .company-contact-card {
        position: static;
    }

    .company-gallery {
        grid-template-columns: 1fr;
    }

    .company-gallery figure.is-large {
        grid-row: auto;
    }

    .company-gallery img,
    .company-gallery figure.is-large img {
        height: 270px;
    }

    .company-module-image-text {
        grid-template-columns: 1fr;
    }

    .company-module-image-text.is-image-right figure {
        order: initial;
    }

    .company-module-image-text.is-image-right .company-card-media {
        order: initial;
    }

    .company-module-image-text.is-image-right > .company-card-video {
        order: initial;
    }

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

    .company-module-image-text.m7-module-layout-editorial {
        grid-template-columns: 1fr;
    }

    .company-module-image-text.m7-module-layout-editorial > figure {
        min-height: 300px;
    }

    .company-module-image-text.m7-module-layout-editorial > .company-card-media,
    .company-module-image-text.m7-module-layout-editorial > .company-card-media img {
        min-height: 300px;
    }

    .company-module-image-text.m7-module-layout-overlay,
    .company-module-image-text.m7-module-layout-overlay > figure,
    .company-module-image-text.m7-module-layout-overlay > .company-card-media,
    .company-module-image-text.m7-module-layout-overlay > .company-card-media img {
        min-height: 460px;
    }

    .room-gallery-main,
    .room-gallery-main img,
    .room-gallery-placeholder {
        min-height: 360px;
    }

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

    .room-carousel,
    .room-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 12px;
    }

    .room-card {
        min-width: min(82vw, 360px);
        scroll-snap-align: start;
    }

    .stat-card {
        justify-self: start;
    }

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

    .structure-grid,
    .instagram-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
    }

    .structure-card,
    .instagram-card {
        min-width: min(82vw, 380px);
        scroll-snap-align: start;
    }

    .location-copy {
        width: min(100% - 32px, 620px);
        margin-inline: auto;
        padding: 42px 0;
    }

    .footer-bottom {
        align-items: flex-start;
        flex-direction: column;
        padding: 28px 0;
    }

    .footer-nav .menu {
        flex-wrap: wrap;
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .company-profile-page .container {
        width: min(100% - 36px, 720px);
    }

    .company-profile-grid {
        min-width: 0;
        max-width: 100%;
    }

    .company-profile-grid > main,
    .company-profile-grid > aside,
    .company-module,
    .company-module-copy,
    .company-card-media,
    .company-card-media-track,
    .company-gallery,
    .company-testimonials,
    .company-stats,
    .company-timeline,
    .company-instagram-heading,
    .company-instagram-carousel,
    .company-instagram-showcase,
    .company-contact-card {
        min-width: 0;
        max-width: 100%;
    }

    .company-module,
    .company-module-copy,
    .company-card-media,
    .company-card-media-track,
    .company-gallery,
    .company-testimonials,
    .company-stats,
    .company-timeline,
    .company-instagram-heading,
    .company-instagram-carousel,
    .company-instagram-showcase,
    .company-contact-card {
        width: 100%;
    }

    .company-profile-page h1,
    .company-profile-page h2,
    .company-profile-page h3,
    .company-description,
    .company-contact-list dd,
    .company-contact-list a {
        overflow-wrap: anywhere;
        word-break: normal;
    }

    .company-module img,
    .company-module video,
    .company-module iframe {
        max-width: 100%;
    }

    .company-testimonials.is-carousel > .company-testimonial-card {
        flex-basis: min(84vw, 360px);
    }

    .company-carousel-controls {
        justify-content: space-between;
    }

    .company-carousel-controls span {
        text-align: center;
    }

    .company-instagram-showcase,
    .company-instagram-showcase.is-count-1,
    .company-instagram-showcase.is-count-2,
    .company-instagram-showcase.is-count-3 {
        display: flex;
        justify-content: flex-start;
        gap: 20px;
        overflow-x: auto;
        padding: 2px 2px 12px;
        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .company-instagram-showcase .company-instagram-card,
    .company-instagram-showcase.is-count-1 .company-instagram-card,
    .company-instagram-showcase.is-count-2 .company-instagram-card,
    .company-instagram-showcase.is-count-3 .company-instagram-card {
        flex: 0 0 min(78vw, 294px);
        scroll-snap-align: start;
    }

    .company-instagram-showcase.is-count-1 .company-instagram-embed,
    .company-instagram-showcase.is-count-2 .company-instagram-embed {
        width: 294px;
        height: 594px;
    }

    .company-instagram-showcase.is-count-1 .company-instagram-embed iframe,
    .company-instagram-showcase.is-count-2 .company-instagram-embed iframe {
        transform: scale(.90184);
    }

    .company-instagram-controls {
        display: flex;
    }

    .company-module-gallery .company-gallery,
    .company-before-after {
        grid-template-columns: 1fr;
    }

    .company-before-after img {
        height: 300px;
    }

    .company-mobile-cta {
        position: fixed;
        right: 18px;
        bottom: calc(14px + env(safe-area-inset-bottom));
        left: 18px;
        z-index: 900;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        min-height: 56px;
        padding: 13px 20px;
        border-radius: 999px;
        background: var(--m7-mobile-cta-bg, #ffc400);
        color: var(--m7-mobile-cta-text, #171717);
        box-shadow: 0 14px 36px rgba(0, 0, 0, .24);
        font-weight: 900;
    }

    .company-mobile-cta .room-detail-icon {
        width: 21px;
        height: 21px;
        stroke: currentColor;
    }

    body.single-m7_empresa {
        padding-bottom: calc(82px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 560px) {
    .hero h1 {
        font-size: 46px;
    }

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

    .btn {
        width: 100%;
    }

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

    .feature-card {
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .company-grid,
    .company-grid.archive {
        grid-template-columns: 1fr;
    }

    .structure-card,
    .instagram-card {
        min-height: 250px;
    }

    .structure-card img,
    .instagram-card img {
        min-height: 250px;
    }

    .company-profile-copy h1 {
        font-size: 42px;
    }

    /* Avoid repeating the company name above the real page title when no
       logo image was uploaded and WordPress renders the text fallback. */
    .company-profile-page .company-profile-logo strong {
        display: none;
    }

    .company-profile-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .company-services {
        grid-template-columns: 1fr;
    }

    .company-testimonials,
    .company-stats {
        grid-template-columns: 1fr;
    }

    .m7-module-style-light,
    .m7-module-style-dark,
    .m7-module-style-brand,
    .m7-module-style-gradient {
        margin-inline: -2px;
        padding: 24px 20px;
    }

    .company-module-image-text.m7-module-layout-editorial,
    .company-module-image-text.m7-module-layout-overlay {
        padding: 0;
    }

    .company-module-image-text.m7-module-layout-editorial > .company-module-copy,
    .company-module-image-text.m7-module-layout-overlay > .company-module-copy {
        padding: 28px 22px;
    }

    .company-module-image-text.m7-module-layout-overlay,
    .company-module-image-text.m7-module-layout-overlay > figure,
    .company-module-image-text.m7-module-layout-overlay > .company-card-media,
    .company-module-image-text.m7-module-layout-overlay > .company-card-media img {
        min-height: 430px;
    }

    .company-card-media--collage .company-card-media-track {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1.45fr .55fr;
        min-height: 350px;
    }

    .company-card-media--collage .company-card-media-item.is-primary {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .room-detail-page {
        padding-bottom: 48px;
    }

    .room-breadcrumb {
        font-size: 12px;
    }

    .room-gallery-main,
    .room-gallery-main img,
    .room-gallery-placeholder {
        min-height: 245px;
    }

    .room-gallery-thumbs {
        gap: 8px;
    }

    .room-gallery-thumb img {
        height: 76px;
    }

    .room-detail-copy h1 {
        font-size: 40px;
    }

    .room-amenities-grid {
        grid-template-columns: 1fr;
    }

    .room-amenity {
        border-right: 0;
        border-bottom: 1px solid #d7d3cb;
    }
}

@media (max-width: 768px) {
    .video-strip {
        padding: 18px 0 38px;
    }

    .video-card {
        min-height: 430px;
        border-radius: 15px;
        background:
            linear-gradient(180deg, rgba(0, 0, 0, 0.06) 25%, rgba(0, 0, 0, 0.88) 100%),
            var(--m7-video-image, linear-gradient(135deg, #1a1a1a, #4b3212));
        background-position: 62% center;
        background-size: cover;
    }

    .play-button {
        top: 43%;
        width: 78px;
        height: 78px;
    }

    .play-button::before {
        border-top-width: 13px;
        border-bottom-width: 13px;
        border-left-width: 20px;
    }

    .video-content {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }

    .video-content strong {
        font-size: 30px;
    }

    .video-content > span:last-child {
        font-size: 14px;
        line-height: 1.45;
    }

    .video-duration {
        top: 14px;
        right: 14px;
    }
}

/* Home visual preview matching the approved M7 layout */
.btn-play {
    display: inline-block;
    width: 0;
    height: 0;
    margin-right: 4px;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 9px solid currentColor;
}

.hero-shell {
    padding: 14px 0 0;
    background: #050505;
}

.hero-shell .hero {
    width: min(1180px, calc(100% - 40px));
    min-height: 460px;
    margin-inline: auto;
    border-radius: 8px;
    background: #050505;
    box-shadow: inset 0 0 0 16px #050505;
}

.hero-shell .hero-bg {
    inset: 16px;
    overflow: hidden;
    border-radius: 6px;
    background-position: center;
    background-size: 100% 100%, 100% 100%, contain;
    background-repeat: no-repeat;
    background-color: #050505;
}

.hero-shell .hero-inner {
    min-height: 460px;
    padding: 78px 0;
}

.hero-shell .hero h1 {
    font-size: clamp(42px, 6vw, 62px);
}

.structure-showcase.section-light {
    padding-top: 34px;
    padding-bottom: 34px;
    border-top: 0;
}

.structure-showcase .section-heading {
    margin-bottom: 18px;
}

.structure-showcase .section-heading h2 {
    max-width: 520px;
    font-size: clamp(28px, 3.2vw, 40px);
}

.structure-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 10px;
}

.structure-card {
    position: relative;
    display: block;
    min-height: 170px;
    width: 100%;
    overflow: hidden;
    padding: 0;
    color: #fff;
    text-align: left;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--m7-radius);
    background: #141414;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.14);
    cursor: pointer;
}

.structure-card img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    opacity: 0.9;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.structure-card:hover img {
    transform: scale(1.04);
    opacity: 0.98;
}

.structure-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04) 24%, rgba(0, 0, 0, 0.84) 100%);
}

.structure-card > span {
    position: absolute;
    right: 12px;
    bottom: 12px;
    left: 12px;
    z-index: 1;
}

.structure-card h3 {
    margin: 0;
    font-size: 15px;
    line-height: 1.12;
}

.structure-card p {
    display: none;
}

.video-strip {
    padding: 14px 0 28px;
    background: var(--m7-paper);
}

.video-card {
    min-height: 170px;
    border: 1px solid rgba(255, 196, 0, 0.95);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.56) 38%, rgba(0, 0, 0, 0.1) 100%),
        var(--m7-video-image, linear-gradient(135deg, #1a1a1a, #4b3212));
    background-position: center;
    background-size: cover;
    box-shadow: none;
}

.video-content {
    left: 42px;
    bottom: 34px;
}

.video-content strong {
    font-size: clamp(28px, 3.2vw, 38px);
}

.play-button {
    width: 78px;
    height: 78px;
}

.video-duration {
    top: 22px;
    right: 22px;
}

.modal-open {
    overflow: hidden;
}

.structure-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.82);
}

.structure-modal.is-open {
    display: flex;
}

.structure-modal figure {
    position: relative;
    width: min(1060px, 100%);
    max-height: min(760px, calc(100vh - 48px));
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 196, 0, 0.9);
    border-radius: 10px;
    background: #080808;
}

.structure-modal img {
    width: 100%;
    max-height: min(760px, calc(100vh - 48px));
    object-fit: cover;
}

.company-gallery-modal img {
    max-height: min(820px, calc(100vh - 48px));
    object-fit: contain;
    background: #080808;
}

.company-gallery-modal figure {
    width: min(1180px, 100%);
}

.structure-modal figcaption {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 34px;
    color: #fff;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 82%);
}

.structure-modal figcaption span {
    display: block;
    margin-bottom: 9px;
    color: var(--m7-yellow);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.structure-modal figcaption strong {
    display: block;
    font-size: clamp(30px, 5vw, 56px);
    line-height: 0.96;
}

.structure-modal figcaption p {
    max-width: 680px;
    margin: 12px 0 0;
    color: #e7e7e7;
    font-size: 17px;
    line-height: 1.55;
}

.structure-modal-close {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 101;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.74);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.company-profile-page .company-profile-logo {
    width: auto;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.company-profile-page .company-profile-logo img {
    width: min(240px, 100%);
    max-width: 240px;
    max-height: 220px;
    height: auto;
    object-fit: contain;
}

.company-profile-page .company-profile-logo strong {
    color: #fff;
    font-size: 30px;
}

.company-profile-page .company-contact-list a {
    color: var(--m7-ink);
    font-weight: 900;
    text-decoration: underline;
    text-decoration-color: var(--m7-yellow);
    text-underline-offset: 3px;
}

.single-m7_empresa .footer-cta {
    display: none;
}

@media (max-width: 1100px) {
    .structure-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .hero-shell {
        padding: 0;
    }

    .hero-shell .hero {
        width: 100%;
        min-height: 560px;
        border-radius: 0;
        box-shadow: inset 0 0 0 12px #050505;
    }

    .hero-shell .hero-bg {
        inset: 12px;
        border-radius: 6px;
        background-position: center;
        background-size: 100% 100%, 100% 100%, contain;
    }

    .hero-shell .hero-inner {
        min-height: 560px;
    }

    .company-profile-page .company-profile-logo {
        width: min(100%, 260px);
        min-height: 0;
        padding: 0;
    }

    .structure-grid {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 8px;
    }

    .structure-card {
        min-width: min(78vw, 300px);
        scroll-snap-align: start;
    }

    .video-card {
        min-height: 250px;
    }

    .video-content {
        right: 22px;
        bottom: 24px;
        left: 22px;
    }

    .play-button {
        top: 43%;
        width: 70px;
        height: 70px;
    }
}

@media (max-width: 560px) {
    .hero-shell .hero h1 {
        font-size: 42px;
    }

    .structure-modal {
        padding: 14px;
    }

    .structure-modal figcaption {
        padding: 24px 18px;
    }

    .structure-modal figcaption p {
        font-size: 14px;
    }
}
.m7-instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  margin-top: 32px;
}

.m7-instagram-post {
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.m7-instagram-post .instagram-media {
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .m7-instagram-grid {
    grid-template-columns: 1fr;
  }
}

/* Company design system v0.9.0: scoped to individual company pages. */
.company-profile-page {
    color: var(--company-text, #55534e);
    background: var(--company-page-bg, #f4f2ec);
}

.company-profile-page .container { width: min(calc(100% - 40px), 1160px); }
.company-profile-page.company-content-narrow .container { max-width: 980px; }
.company-profile-page.company-content-wide .container { max-width: 1360px; }
.company-profile-page .company-contact-card,
.company-profile-page .company-service-card,
.company-profile-page .company-stat-card,
.company-profile-page .company-testimonial-card,
.company-profile-page .company-faq details {
    border-color: var(--company-border, #dedbd3);
    background-color: var(--company-surface, #fff);
}

.company-profile-page .btn-primary {
    color: var(--company-button-text, #171717);
    border-color: var(--company-button-bg, #ffc400);
    background: var(--company-button-bg, #ffc400);
}

.company-buttons-square .btn { border-radius: 4px; }
.company-buttons-rounded .btn { border-radius: 12px; }
.company-buttons-pill .btn { border-radius: 999px; }

.company-spacing-compact .company-profile-grid { padding-top: 42px; padding-bottom: 42px; }
.company-spacing-generous .company-profile-grid { padding-top: 92px; padding-bottom: 92px; }

.company-hero-centered .company-profile-hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 920px;
    text-align: center;
}
.company-hero-centered .company-profile-logo { margin-inline: auto; }
.company-hero-immersive .company-profile-hero-inner { min-height: 680px; align-items: end; }

.company-layout-editorial .company-profile-grid { grid-template-columns: minmax(0, 1.8fr) minmax(280px, .7fr); }
.company-layout-editorial .company-profile-copy h1 { max-width: 13ch; letter-spacing: -.045em; }
.company-layout-visual .company-profile-grid { grid-template-columns: 1fr; }
.company-layout-visual .company-contact-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 28px; }
.company-layout-minimal .company-contact-card,
.company-layout-minimal .company-service-card,
.company-layout-minimal .m7-module-style-light { box-shadow: none; }
.company-layout-commercial .company-contact-card { border: 2px solid var(--company-accent, #ffc400); box-shadow: 0 24px 60px rgba(0, 0, 0, .12); }

.company-profile-page .m7-module-width-narrow { width: min(100%, 760px); margin-inline: auto; }
.company-profile-page .m7-module-width-contained { width: min(100%, 980px); margin-inline: auto; }
.company-profile-page .m7-module-width-wide { width: 100%; }
.company-profile-page .m7-module-align-center { text-align: center; }
.company-profile-page .m7-module-align-right { text-align: right; }
.company-profile-page .m7-module-spacing-compact { margin-block: 24px; }
.company-profile-page .m7-module-spacing-balanced { margin-block: 48px; }
.company-profile-page .m7-module-spacing-generous { margin-block: 80px; }
.company-profile-page .m7-module-image-ratio-landscape :is(figure, .company-card-media) img { aspect-ratio: 16 / 9; object-fit: cover; }
.company-profile-page .m7-module-image-ratio-square :is(figure, .company-card-media) img { aspect-ratio: 1; object-fit: cover; }
.company-profile-page .m7-module-image-ratio-portrait :is(figure, .company-card-media) img { aspect-ratio: 4 / 5; object-fit: cover; }
.company-profile-page .m7-module-image-focus-top :is(figure, .company-card-media) img { object-position: center top; }
.company-profile-page .m7-module-image-focus-bottom :is(figure, .company-card-media) img { object-position: center bottom; }
.company-profile-page .m7-module-image-focus-left :is(figure, .company-card-media) img { object-position: left center; }
.company-profile-page .m7-module-image-focus-right :is(figure, .company-card-media) img { object-position: right center; }

@media (max-width: 860px) {
    .company-profile-page .container { width: min(calc(100% - 36px), 1160px); }
    .company-layout-editorial .company-profile-grid,
    .company-layout-visual .company-contact-card { grid-template-columns: 1fr; }
    .company-hero-immersive .company-profile-hero-inner { min-height: 540px; }
    .company-profile-page .m7-module-spacing-generous { margin-block: 56px; }
}

@media (max-width: 480px) {
    .company-profile-page .container { width: min(calc(100% - 32px), 1160px); }
    .company-profile-page .m7-module-spacing-balanced { margin-block: 36px; }
    .company-profile-page .m7-module-spacing-generous { margin-block: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .company-profile-page .m7-animate { opacity: 1 !important; transform: none !important; transition: none !important; }
}
