:root {
    --primary-color: #fddd00;
    --primary-dark: #c9b000;
    --primary-ink: #111111;
    --brand-label: #6b5900;
    --text-dark: #1e1e1e;
    --text-light: #5f6368;
    --bg-light: #f7f7f5;
    --bg-dark: #111111;
    --white: #ffffff;
    --border-color: #e6e6e2;
    --shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.18);
    --font-body: "Manrope", system-ui, sans-serif;
    --font-display: "Instrument Serif", Georgia, serif;
    --radius: 4px;
    --header-h: 80px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html:focus-within {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body), system-ui, sans-serif;
    color: var(--text-dark);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 8px;
    z-index: 10001;
    background: #111;
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
}

.skip-link:focus {
    left: 8px;
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(212, 175, 55, 0.55);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center {
    text-align: center;
}

.section-cta {
    margin-top: 48px;
}

/* —— Header —— */
.header {
    --header-fg: #ffffff;
    --header-accent: #fddd00;
    --header-bg: transparent;
    --header-border: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--header-bg);
    z-index: 1000;
    border-bottom: 1px solid transparent;
    color: var(--header-fg);
    transition:
        background 0.45s ease,
        color 0.35s ease,
        border-color 0.45s ease,
        box-shadow 0.45s ease,
        backdrop-filter 0.45s ease;
}

/* Sobre o hero: 100% transparente — a imagem passa por baixo, sem barra nem linha */
.header.is-over-hero {
    --header-fg: #ffffff;
    --header-accent: #fddd00;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    border-bottom: 0;
    border-bottom-color: transparent;
}

.header.is-over-hero[data-header-theme="dark"],
.header.is-over-hero[data-header-theme="light"] {
    --header-fg: #ffffff;
    --header-accent: #fddd00;
    background: transparent;
}

/* Fora do hero: sólido */
.header.is-solid {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), 0 8px 24px rgba(0, 0, 0, 0.04);
    border-bottom-color: transparent;
    --header-fg: var(--text-dark);
    --header-accent: #fddd00;
    --header-bg: rgba(255, 255, 255, 0.96);
}

.header[data-header-theme="dark"]:not(.is-over-hero):not(.is-solid) {
    --header-fg: #ffffff;
    --header-accent: #fddd00;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--header-fg);
    flex-shrink: 0;
}

.logo-img {
    height: 58px;
    width: auto;
    display: block;
    object-fit: contain;
    background: transparent;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.logo-img--on-light {
    display: none;
}

/* No header branco: logo com CONSTRUTORA escura (legível) */
.header.is-solid .logo-img--on-dark {
    display: none;
}

.header.is-solid .logo-img--on-light {
    display: block;
    filter: none;
}

.header.is-over-hero .logo-img--on-dark {
    display: block;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}

.header.is-over-hero .logo-img--on-light {
    display: none;
}

.footer-logo .logo-img {
    height: 56px;
    filter: none;
}

.footer-logo .logo-img--on-light {
    display: none;
}

.nav-menu {
    margin-left: auto;
    margin-right: 12px;
}

.nav-list {
    display: flex;
    gap: 28px;
    justify-content: flex-end;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--header-fg);
    transition: color 0.35s ease;
    position: relative;
}

.header.is-over-hero .nav-link {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 18px rgba(0, 0, 0, 0.35);
}

.header.is-solid .nav-link {
    text-shadow: none;
}

.nav-link:hover,
.nav-link.active {
    color: #fddd00;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fddd00;
}

.header.is-solid .nav-link:hover,
.header.is-solid .nav-link.active {
    color: #111111;
}

.header.is-solid .nav-link.active::after {
    background: #fddd00;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.lang-switch {
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    overflow: hidden;
    background: transparent;
}

.header.is-over-hero .lang-switch {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.header.is-solid .lang-switch {
    border-color: rgba(17, 17, 17, 0.18);
    background: transparent;
    box-shadow: none;
}

.lang-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: #ffffff;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 7px 11px;
    cursor: pointer;
    min-height: 36px;
    transition: background 0.25s ease, color 0.25s ease;
}

.header.is-solid .lang-btn {
    color: var(--text-dark);
}

.lang-btn.is-active {
    background: #fddd00;
    color: #111111;
}

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    background: #fddd00;
    color: #111111;
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: transform 0.25s ease, filter 0.25s ease;
    white-space: nowrap;
    text-decoration: none;
}

.btn-header-cta:visited,
.btn-header-cta:hover,
.btn-header-cta:active {
    color: #111111;
    text-decoration: none;
}

.btn-header-cta:hover {
    filter: brightness(0.97);
    transform: translateY(-1px);
    background: #fddd00;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--header-fg);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    transition: color 0.55s ease;
}

/* —— Hero —— */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    color: white;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-carousel {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-carousel picture,
.hero-carousel .hero-lcp-image {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-lcp-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.9s ease;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    /* Véu contínuo na própria imagem (sem barra no header) — topo suave, sem aresta */
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0.12) 14%, transparent 28%),
        linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.42) 55%, rgba(0, 0, 0, 0.28) 100%),
        linear-gradient(to top, rgba(0, 0, 0, 0.45), transparent 40%);
}

.header.is-over-hero .mobile-menu-btn {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 920px;
    width: 100%;
    padding: 40px 0 72px;
    opacity: 1;
    animation: heroIn 0.9s ease both;
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-content {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

.hero-brand {
    font-family: var(--font-body);
    font-size: clamp(0.95rem, 1.4vw, 1.15rem);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fddd00;
    margin-bottom: 18px;
}

.hero-title-lead {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6.5vw, 5rem);
    font-weight: 400;
    line-height: 1.02;
    margin: 0 0 22px;
    max-width: none;
}

.hero-title-lead > span:first-child {
    display: block;
    font-size: clamp(0.95rem, 1.5vw, 1.2rem);
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 8px;
}

.hero-dynamic {
    display: block;
    position: relative;
    min-height: 1.12em;
    overflow: hidden;
}

.hero-dynamic__word {
    display: block;
    color: #fddd00;
    font-style: italic;
    letter-spacing: -0.02em;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
}

.hero-dynamic__word.is-active {
    transform: translateY(0);
    opacity: 1;
}

.hero-dynamic__word.is-exit {
    transform: translateY(-110%);
    opacity: 0;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3.2vw, 2.55rem);
    font-weight: 400;
    line-height: 1.28;
    margin: 0 0 18px;
    max-width: 16em;
    text-wrap: balance;
}

.hero-title span {
    color: #fddd00;
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 1.7vw, 1.28rem);
    margin: 0 0 34px;
    opacity: 0.9;
    max-width: 34em;
    font-weight: 500;
    line-height: 1.45;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* —— Buttons —— */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
    font-family: inherit;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--primary-ink);
    border-color: var(--primary-color);
    box-shadow: 0 12px 28px rgba(245, 217, 36, 0.28);
    text-decoration: none;
}

a.btn-primary,
a.btn-primary:visited,
a.btn-primary:hover,
a.btn-primary:active {
    color: var(--primary-ink);
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--primary-dark);
    color: #111;
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.85);
}

.btn-secondary:hover {
    background: white;
    color: var(--text-dark);
}

.btn-block {
    width: 100%;
}

.btn-ghost {
    background: transparent;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-ghost:hover {
    border-color: var(--primary-dark);
    color: var(--primary-ink);
}

/* —— Sections —— */
.section {
    padding: 96px 0;
}

main > .section {
    content-visibility: auto;
    contain-intrinsic-size: 1px 900px;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    color: var(--brand-label);
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.5vw, 3rem);
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-description {
    font-size: 1.08rem;
    color: var(--text-light);
}

/* —— About —— */
.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: start;
}

.about-text p {
    margin-bottom: 16px;
    color: var(--text-light);
    font-size: 1.05rem;
}

.about-list {
    margin: 28px 0 32px;
}

.about-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.about-list i {
    color: var(--primary-dark);
    font-size: 1.15rem;
}

.about-creds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cred-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #1a1a1a 0%, #111 100%);
    color: #f5f5f5;
    padding: 22px 20px 20px;
    border-radius: 16px;
    border: 1px solid rgba(253, 221, 0, 0.22);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transform: translateY(28px) scale(0.96);
    transition:
        opacity 0.55s ease,
        transform 0.55s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        background 0.3s ease;
    cursor: default;
}

.cred-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fddd00, #e6c800);
}

.cred-card:hover {
    transform: translateY(-6px);
    border-color: rgba(253, 221, 0, 0.55);
    box-shadow: 0 18px 36px rgba(253, 221, 0, 0.12);
    background: linear-gradient(160deg, #222 0%, #151515 100%);
}

.cred-card.is-visible {
    opacity: 1;
    transform: none;
}

.cred-card.is-visible:hover {
    transform: translateY(-6px);
}

.cred-card[data-reveal-delay="1"] { transition-delay: 0.1s; }
.cred-card[data-reveal-delay="2"] { transition-delay: 0.2s; }
.cred-card[data-reveal-delay="3"] { transition-delay: 0.3s; }

.cred-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(253, 221, 0, 0.14);
    color: #fddd00;
    margin-bottom: 14px;
    font-size: 1rem;
    transition: transform 0.3s ease, background 0.3s ease;
}

.cred-card:hover .cred-icon {
    transform: scale(1.08);
    background: rgba(253, 221, 0, 0.22);
}

.cred-label {
    display: block;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 8px;
    font-weight: 700;
}

.cred-value {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    color: #fddd00;
    line-height: 1.35;
    word-break: break-word;
}

.cred-card--nif .cred-icon { color: #fddd00; }
.cred-card--alvara .cred-icon { color: #ffe566; }
.cred-card--impic .cred-icon { color: #f5d924; }
.cred-card--seguro .cred-icon { color: #fff3a0; }

/* —— Services —— */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

.service-card.reveal-on-scroll:not(.is-visible):hover {
    transform: none;
    box-shadow: none;
}

.service-card.reveal-on-scroll.is-visible:hover {
    transform: translateY(-10px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.04);
}

.service-body {
    padding: 24px 22px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.service-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 217, 36, 0.15);
    color: var(--primary-dark);
    margin-bottom: 14px;
}

.service-icon i {
    font-size: 1.25rem;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.45rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.service-card p {
    color: var(--text-light);
    flex: 1;
    margin-bottom: 18px;
}

.service-card .btn {
    align-self: flex-start;
    padding: 10px 18px;
    font-size: 0.88rem;
}

/* —— Portfolio —— */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    height: 280px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: #111;
    width: 100%;
    text-align: left;
    font: inherit;
    color: inherit;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.portfolio-item:hover,
.portfolio-item:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
    z-index: 1;
}

.portfolio-item.reveal-on-scroll:not(.is-visible):hover {
    transform: none;
    box-shadow: none;
}

.portfolio-item.reveal-on-scroll.is-visible:hover,
.portfolio-item.reveal-on-scroll.is-visible:focus-visible {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.22);
}

.portfolio-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-item:hover .portfolio-image,
.portfolio-item:focus-visible .portfolio-image {
    transform: scale(1.08);
}

.portfolio-overlay {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88), transparent);
    color: white;
    padding: 28px 20px 20px;
}

.portfolio-overlay h3 {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    margin-bottom: 4px;
}

.portfolio-overlay p {
    opacity: 0.9;
    font-size: 0.88rem;
    font-weight: 600;
}

.portfolio-hint {
    display: inline-block;
    margin-top: 10px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 700;
}

/* —— Trust —— */
.trust-section {
    background:
        linear-gradient(180deg, #111 0%, #1a1a1a 100%);
    color: #f2f2f2;
}

.trust-section .section-tag {
    color: var(--primary-color);
}

.trust-section .section-description {
    color: rgba(255, 255, 255, 0.72);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 28px 22px;
    background: rgba(255, 255, 255, 0.03);
}

.trust-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.trust-item h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.trust-item p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* —— Contact —— */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: white;
    overflow: visible;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    align-items: start;
}

.contact-info {
    background: var(--bg-dark);
    color: white;
    padding: 48px 40px;
}

.contact-info h3 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    margin-bottom: 28px;
}

.info-list li {
    display: flex;
    gap: 14px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.info-list i {
    color: var(--primary-color);
    font-size: 1.15rem;
    min-width: 22px;
    margin-top: 3px;
}

.info-list a:hover {
    color: var(--primary-color);
}

.contact-note {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-note p {
    margin-bottom: 10px;
    opacity: 0.85;
    font-size: 0.92rem;
}

.contact-map {
    margin-top: 18px;
    border-radius: var(--radius);
    overflow: hidden;
    background: #e8e8e4;
    min-height: 220px;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-map iframe {
    width: 100%;
    height: 220px;
    border: 0;
    display: block;
}

.map-load-btn {
    position: absolute;
    inset: 0;
    margin: auto;
    width: fit-content;
    height: fit-content;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    background: var(--primary-color);
    color: #111;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.map-load-btn:hover {
    filter: brightness(0.97);
}

.contact-map.is-loaded .map-load-btn {
    display: none;
}

.contact-form {
    padding: 48px 40px;
}

.contact-form--sticky {
    /* sticky removed — caused jump-to-footer / layout scroll bugs */
    position: static;
    align-self: stretch;
}

.form-draft-note {
    margin: 0 0 16px;
    padding: 10px 12px;
    background: rgba(245, 217, 36, 0.14);
    border-left: 3px solid var(--primary-color);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
}

.phone-field {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: stretch;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    background: #fff;
    transition: border 0.25s ease, box-shadow 0.25s ease;
}

.phone-field:focus-within {
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.phone-field.is-invalid {
    border-color: #b91c1c;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15);
}

.phone-field.is-valid {
    border-color: #166534;
}

.phone-field__country {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-right: 1px solid var(--border-color);
    background: #f7f7f5;
    padding: 0 12px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    color: var(--text-dark);
    min-height: 48px;
    white-space: nowrap;
}

.phone-field__country:hover {
    background: #efefec;
}

.phone-field__flag {
    font-size: 1.15rem;
    line-height: 1;
}

.phone-field__dial {
    font-variant-numeric: tabular-nums;
    min-width: 3.2em;
}

.phone-field__country i {
    font-size: 0.7rem;
    opacity: 0.65;
}

.phone-field input[type="tel"] {
    border: 0 !important;
    box-shadow: none !important;
    border-radius: 0;
    min-height: 48px;
    padding: 13px 14px;
}

.phone-field__dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 20;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow);
    max-height: 280px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.phone-field__search-wrap {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.phone-field__search {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font: inherit;
}

.phone-field__options {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    overflow: auto;
    max-height: 220px;
}

.phone-field__option {
    display: grid;
    grid-template-columns: 1.4rem 1fr auto;
    gap: 10px;
    align-items: center;
    width: 100%;
    border: 0;
    background: transparent;
    padding: 10px 14px;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.phone-field__option:hover,
.phone-field__option.is-active,
.phone-field__option[aria-selected="true"] {
    background: rgba(245, 217, 36, 0.18);
}

.phone-field__option-name {
    font-weight: 600;
    font-size: 0.92rem;
}

.phone-field__option-dial {
    color: var(--text-light);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.phone-hint {
    margin-top: 8px;
    font-size: 0.84rem;
    color: var(--text-light);
}

.phone-hint.is-error {
    color: #b91c1c;
    font-weight: 600;
}

.form-group {
    margin-bottom: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.92rem;
}

input:not([type="checkbox"]):not([type="search"]),
textarea,
select {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 1rem;
    transition: border 0.25s ease, box-shadow 0.25s ease;
    background: #fff;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--primary-dark);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

.consent-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.consent-group input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.consent-group label {
    margin-bottom: 0;
    font-size: 0.92rem;
    font-weight: 500;
}

.consent-group a {
    color: var(--primary-dark);
    text-decoration: underline;
}

.form-status {
    margin-top: 14px;
    font-weight: 600;
    min-height: 22px;
    line-height: 1.45;
}

.form-status.is-success {
    color: #166534;
    background: rgba(22, 101, 52, 0.08);
    border: 1px solid rgba(22, 101, 52, 0.22);
    border-radius: 10px;
    padding: 12px 14px;
}

.form-status.is-error {
    color: #b91c1c;
    background: rgba(185, 28, 28, 0.06);
    border: 1px solid rgba(185, 28, 28, 0.18);
    border-radius: 10px;
    padding: 12px 14px;
}

.contact-form button[type="submit"][disabled] {
    opacity: 0.7;
    cursor: wait;
}

/* —— Footer —— */
.footer {
    background: var(--bg-dark);
    color: #aaa;
    padding: 72px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 48px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: white;
    margin-bottom: 14px;
}

.footer-col p {
    max-width: 320px;
    line-height: 1.6;
}

.footer-col h4 {
    color: white;
    margin-bottom: 18px;
    font-size: 1.05rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col a:hover {
    color: var(--primary-color);
}

.footer-col .link-btn {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.footer-col .link-btn:hover {
    color: var(--primary-color);
}

.footer-social {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid #3b3b3b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d6d6d6;
    transition: all 0.25s ease;
    border-radius: 999px;
}

.footer-social a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 28px;
    border-top: 1px solid #2a2a2a;
    font-size: 0.88rem;
}

/* —— WhatsApp —— */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    background: #25d366;
    color: white;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.85rem;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    color: white;
}

/* —— Cookies —— */
.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 12000;
    background: #111;
    color: #f5f5f5;
    border: 1px solid #2f2f2f;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    max-width: 920px;
    margin: 0 auto;
}

.cookie-banner p {
    margin: 0;
    flex: 1 1 320px;
    font-size: 0.92rem;
    line-height: 1.45;
}

.cookie-banner a {
    color: #f6cc9f;
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 8px;
}

.cookie-btn {
    border-radius: 8px;
    border: 1px solid #4a4a4a;
    min-height: 42px;
    padding: 8px 14px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}

.cookie-btn-reject {
    background: #1c1c1c;
    color: #eaeaea;
}

.cookie-btn-accept {
    background: var(--primary-color);
    color: #111;
    border-color: var(--primary-dark);
}

/* —— Project modal —— */
.project-modal[hidden] {
    display: none !important;
}

.project-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: grid;
    place-items: center;
    padding: 20px;
}

.project-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    border: 0;
    cursor: pointer;
}

.project-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    max-height: min(92vh, 900px);
    overflow: auto;
    background: #fff;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    animation: modalIn 0.35s ease;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: translateY(16px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.project-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
}

.project-modal__media {
    position: relative;
    background: #0d0d0d;
    min-height: 420px;
}

.project-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
}

.project-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    cursor: pointer;
    z-index: 2;
}

.project-modal__nav--prev {
    left: 12px;
}

.project-modal__nav--next {
    right: 12px;
}

.project-modal__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
}

.project-modal__progress-bar {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    transition: width 0.35s ease;
}

.project-modal__stage {
    position: absolute;
    left: 14px;
    bottom: 16px;
    z-index: 2;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 6px 12px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.project-modal__body {
    padding: 36px 28px 32px;
    display: flex;
    flex-direction: column;
}

.project-modal__meta {
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.project-modal__body h2 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 14px;
}

.project-modal__body > p {
    color: var(--text-light);
    margin-bottom: 12px;
}

.project-modal__services,
.project-modal__duration {
    font-size: 0.95rem;
    color: var(--text-dark) !important;
}

.project-modal__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 18px 0 24px;
    max-height: 72px;
    overflow-y: auto;
    padding-right: 4px;
}

.project-modal__dots.is-compact .project-modal__dot {
    width: 7px;
    height: 7px;
}

.project-modal__dots.is-compact .project-modal__dot.is-active {
    width: 18px;
}

.project-modal__dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: #d4d4d4;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
}

.project-modal__dot.is-active {
    background: var(--primary-dark);
    width: 28px;
}

.project-modal__body .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* —— Reveal —— */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(36px);
    transition:
        opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal-on-scroll.reveal--up {
    transform: translateY(42px);
}

.reveal-on-scroll.reveal--left {
    transform: translateX(-48px) translateY(12px);
}

.reveal-on-scroll.reveal--right {
    transform: translateX(48px) translateY(12px);
}

.reveal-on-scroll.reveal--scale {
    transform: translateY(24px) scale(0.92);
}

.reveal-on-scroll.reveal--text {
    transform: translateY(22px);
    transition-duration: 0.65s, 0.7s;
}

.reveal-on-scroll.is-visible {
    opacity: 1;
    transform: none;
    will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
    .reveal-on-scroll,
    .reveal-on-scroll.reveal--up,
    .reveal-on-scroll.reveal--left,
    .reveal-on-scroll.reveal--right,
    .reveal-on-scroll.reveal--scale,
    .reveal-on-scroll.reveal--text {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .service-card:hover,
    .portfolio-item:hover,
    .portfolio-item:focus-visible {
        transform: none;
        box-shadow: none;
    }
}

/* —— Responsive —— */
@media (max-width: 1100px) {
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 1024px) {
    .nav-menu {
        position: fixed;
        top: var(--header-h);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-h));
        height: calc(100dvh - var(--header-h));
        background: rgba(255, 255, 255, 0.98);
        padding: 40px 28px;
        transition: left 0.3s ease, background 0.55s ease;
        z-index: 999;
        margin: 0;
    }

    .header.is-over-hero .nav-menu,
    .header[data-header-theme="dark"] .nav-menu {
        background: rgba(8, 8, 8, 0.97);
    }

    .header.is-solid .nav-menu {
        background: rgba(255, 255, 255, 0.98);
    }

    .header.is-over-hero .nav-menu .nav-link {
        color: #ffffff;
    }

    .header.is-over-hero .nav-menu .nav-link:hover,
    .header.is-over-hero .nav-menu .nav-link.active {
        color: #fddd00;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 26px;
    }

    .nav-link {
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .btn-header-cta {
        display: none;
    }

    .project-modal__dialog {
        grid-template-columns: 1fr;
        max-height: 94vh;
    }

    .project-modal__media,
    .project-modal__media img {
        min-height: 260px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 72px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 64px 0;
    }

    .about-grid,
    .contact-grid,
    .services-grid,
    .portfolio-grid,
    .trust-grid,
    .footer-grid,
    .form-row,
    .about-creds {
        grid-template-columns: 1fr;
    }

    .hero-title-lead {
        font-size: clamp(2.35rem, 10vw, 3.1rem);
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: clamp(1.35rem, 5.2vw, 1.7rem);
        max-width: none;
    }

    .hero-subtitle {
        max-width: none;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .contact-info,
    .contact-form {
        padding: 30px 22px;
    }

    .contact-form--sticky {
        position: static;
    }

    .portfolio-item {
        height: 240px;
    }

    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 1.65rem;
        bottom: 18px;
        right: 18px;
    }

    .lang-btn {
        padding: 6px 9px;
        min-height: 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html:focus-within {
        scroll-behavior: auto !important;
    }

    .hero-scroll-hint__line,
    .narrator__pulse {
        animation: none !important;
    }
}

/* —— Phone dropdown fix —— */
.phone-field__dropdown[hidden] {
    display: none !important;
}

/* —— Hero scroll hint —— */
.hero-scroll-hint {
    position: absolute;
    right: 28px;
    bottom: 48px;
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--primary-color);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.hero-scroll-hint__line {
    writing-mode: horizontal-tb;
    transform: rotate(180deg);
    width: 2px;
    height: 56px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    animation: scrollPulse 1.8s ease infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.35; transform: rotate(180deg) scaleY(0.85); }
    50% { opacity: 1; transform: rotate(180deg) scaleY(1); }
}

/* —— Cred cards reveal —— */
/* —— Cred cards reveal (base styles above) —— */
.cred-card[data-reveal-delay="1"].is-visible { transition-delay: 0.1s; }
.cred-card[data-reveal-delay="2"].is-visible { transition-delay: 0.2s; }
.cred-card[data-reveal-delay="3"].is-visible { transition-delay: 0.3s; }

/* —— Before/After —— */
.project-modal__media {
    display: flex;
    flex-direction: column;
}

.project-modal__gallery {
    position: relative;
    background: #0d0d0d;
    min-height: 360px;
    flex: 1;
}

.project-modal__gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 360px;
}

.project-modal__tabs {
    display: flex;
    gap: 0;
    background: #111;
}

.project-modal__tab {
    flex: 1;
    border: 0;
    background: transparent;
    color: #aaa;
    font: inherit;
    font-weight: 700;
    padding: 12px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

.project-modal__tab.is-active {
    color: #fddd00;
    border-bottom-color: #fddd00;
}

.ba-compare {
    flex: 1;
    min-height: 360px;
}

.ba-compare[hidden] {
    display: none !important;
}

.ba-compare__frame {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 360px;
    overflow: hidden;
    background: #0d0d0d;
    user-select: none;
    touch-action: none;
}

.ba-compare__after,
.ba-compare__before {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
}

.ba-compare__before {
    clip-path: inset(0 50% 0 0);
}

.ba-compare__handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--primary-color);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.ba-compare__knob {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: var(--primary-color);
    color: #111;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.ba-compare__range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
}

.ba-compare__label {
    position: absolute;
    top: 14px;
    z-index: 2;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 6px 10px;
    pointer-events: none;
}

.ba-compare__label--before { left: 14px; }
.ba-compare__label--after { right: 14px; }

/* —— Service modal —— */
.service-modal[hidden],
.exit-popup[hidden],
.narrator[hidden] {
    display: none !important;
}

.service-modal,
.exit-popup {
    position: fixed;
    inset: 0;
    z-index: 11500;
    display: grid;
    place-items: center;
    padding: 20px;
}

.service-modal__backdrop,
.exit-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    border: 0;
    cursor: pointer;
}

.service-modal__dialog,
.exit-popup__dialog {
    position: relative;
    z-index: 1;
    width: min(720px, 100%);
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: modalIn 0.35s ease;
}

.service-modal__dialog {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

.service-modal__close,
.exit-popup__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    cursor: pointer;
}

.service-modal__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 280px;
    display: block;
}

.service-modal__body {
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.service-modal__body h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 1.8rem;
}

.service-modal__body .btn {
    margin-top: auto;
    align-self: flex-start;
}

.exit-popup__dialog {
    padding: 40px 32px 32px;
    text-align: center;
}

.exit-popup__eyebrow {
    color: var(--primary-dark);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.78rem;
    margin-bottom: 8px;
}

.exit-popup__dialog h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
}

.exit-popup__actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 22px;
}

.exit-popup__actions .btn {
    width: 100%;
}

/* —— Narrator —— */
.narrator {
    position: fixed;
    left: 18px;
    bottom: 18px;
    z-index: 11050;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: min(360px, calc(100vw - 96px));
    background: #111;
    color: #f5f5f5;
    border: 1px solid #2f2f2f;
    border-left: 3px solid var(--primary-color);
    padding: 14px 12px 14px 14px;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    pointer-events: auto;
}

.narrator__avatar {
    position: relative;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 999px;
    background: #1c1c1c;
    display: grid;
    place-items: center;
}

.narrator__pulse {
    position: absolute;
    right: -1px;
    top: -1px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #25d366;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55);
    animation: pulseDot 1.6s infinite;
}

@keyframes pulseDot {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.55); }
    70% { box-shadow: 0 0 0 10px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.narrator__text {
    font-size: 0.92rem;
    line-height: 1.45;
    min-height: 1.4em;
}

.narrator__cta {
    margin-top: 8px;
}

.narrator__cta a {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
}

.narrator__close {
    border: 0;
    background: transparent;
    color: #aaa;
    cursor: pointer;
    padding: 4px;
    flex-shrink: 0;
}

/* —— Footer extras —— */
.footer-bottom__row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.livro-reclamacoes {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #f5f5f5;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
}

.livro-reclamacoes:hover {
    opacity: 0.92;
}

.livro-reclamacoes__img {
    display: block;
    height: 48px;
    width: auto;
    max-width: min(240px, 70vw);
    border-radius: 8px;
    background: #fff;
}

.footer-credit {
    text-align: center;
    font-size: 0.88rem;
    color: #888;
}

.footer-credit a {
    color: var(--primary-color);
    font-weight: 800;
}

.footer-credit a:hover {
    text-decoration: underline;
}

.service-card .service-image,
button.service-image {
    cursor: zoom-in;
    border: 0;
    padding: 0;
    background: transparent;
    display: block;
    width: 100%;
    font: inherit;
}

@media (max-width: 768px) {
    .logo-img {
        height: 48px;
    }

    .hero-scroll-hint {
        display: none;
    }

    .service-modal__dialog {
        grid-template-columns: 1fr;
    }

    .narrator {
        left: 12px;
        right: 72px;
        max-width: none;
        bottom: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-scroll-hint__line,
    .narrator__pulse {
        animation: none !important;
    }
}
