:root {
    --background: #090909;
    --surface: #111111;
    --border: rgba(255, 255, 255, 0.1);
    --text-muted: #b8b8b8;
    --accent: #ff6a00;
    --accent-strong: #ff7f27;
    --white: #ffffff;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

html {
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, rgba(255, 106, 0, 0.14), transparent 28%),
        linear-gradient(180deg, #121212 0%, var(--background) 100%);
    color: #f5f5f5;
}

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

* {
    box-sizing: border-box;
}

img,
svg,
video {
    max-width: 100%;
}

h1:focus,
h2:focus,
h3:focus {
    outline: none;
}

/* Loading screen and #blazor-error-ui styles are inlined in index.html
   so they apply before this stylesheet loads. */

/* ── Layout ── */
.landing-page {
    min-height: 100vh;
}

.container {
    width: min(1180px, calc(100% - 2.5rem));
    margin: 0 auto;
}

/* ── Header ── */
.landing-page {
    padding-top: 76px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1060;
    background: rgba(10, 10, 10, 0.94);
    border-bottom: 1px solid rgba(255, 106, 0, 0.25);
    backdrop-filter: blur(12px);
}

section[id],
div[id] {
    scroll-margin-top: 72px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border: 1px solid rgba(255, 106, 0, 0.45);
    border-radius: 50%;
    background: url('/img/logo-sm.jpg') center / cover no-repeat;
    color: transparent;
    font-weight: 800;
    overflow: hidden;
}

.brand-title,
.brand-subtitle {
    display: block;
}

.brand-title,
.site-header .nav-link,
.hero-copy h1,
.section-copy h2,
.services-section h2,
.projects-section h2,
.testimonials-section h2,
.site-footer h3,
.button {
    text-transform: uppercase;
}

.brand-title {
    font-size: 1.55rem;
    font-weight: 900;
    letter-spacing: 0.08em;
}

.brand-subtitle {
    color: var(--text-muted);
    font-size: 0.76rem;
    letter-spacing: 0.24em;
}

/* ── Navigation (Bootstrap navbar) ── */
.site-header .navbar {
    padding: 0.85rem 0;
}

.site-header .navbar-brand {
    margin-right: 1rem;
    padding: 0;
}

.site-header .nav-link {
    padding: 0.5rem 0;
    color: var(--white);
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: color 0.2s ease;
}

@media (min-width: 992px) {
    .site-header .nav-link {
        padding: 0.5rem 0.9rem;
    }
}

.site-header .nav-link:hover,
.site-header .nav-link:focus-visible {
    color: var(--accent);
}

.site-header .header-cta,
.site-header .header-cta:hover,
.site-header .header-cta:focus-visible {
    color: var(--white);
}

.site-header .navbar-toggler {
    padding: 0.45rem 0.6rem;
    border: 1px solid rgba(255, 106, 0, 0.35);
    border-radius: 8px;
}

.site-header .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.25);
}

@media (max-width: 991.98px) {
    .site-header .navbar-brand {
        flex: 0 0 80%;
        max-width: 80%;
        margin-right: 0;
    }

    .site-header .brand-mark {
        width: 3.5rem;
        height: 3.5rem;
    }

    .site-header .brand-title {
        font-size: 1.75rem;
    }

    .site-header .brand-subtitle {
        font-size: 0.85rem;
    }

    .site-header .navbar-toggler {
        padding: 0.3rem 0.45rem;
        font-size: 1rem;
    }
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: 0.85rem 1.45rem;
    border: 1px solid transparent;
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    transition: 0.2s ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: var(--white);
    box-shadow: 0 14px 30px rgba(255, 106, 0, 0.2);
}

.button-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: transparent;
    color: var(--white);
}

.header-cta {
    white-space: nowrap;
}

.hero-section,
.about-section,
.services-section,
.projects-section,
.testimonials-section,
.site-footer {
    padding: 5rem 0;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.hero-copy h1,
.section-copy h2,
.services-section h2,
.projects-section h2,
.testimonials-section h2 {
    margin: 0;
    letter-spacing: 0.02em;
}

.section-copy h2,
.services-section h2,
.projects-section h2,
.testimonials-section h2 {
    line-height: 0.95;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    overflow-wrap: break-word;
}

.hero-copy h1 span {
    color: var(--accent);
}

.hero-copy p,
.section-copy p,
.info-card p,
.testimonial-card p,
.site-footer p {
    color: var(--text-muted);
    line-height: 1.75;
}

.hero-copy p {
    max-width: 38rem;
    margin: 1.5rem 0 0;
    font-size: 1.08rem;
}

.highlight-card,
.info-card,
.testimonial-card,
.project-card {
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.highlight-card {
    padding: 1rem 1.1rem;
}

.highlight-card strong,
.stat-card strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--white);
    font-size: 1rem;
}

.highlight-card span,
.stat-card span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.visual-panel {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    min-height: 430px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 106, 0, 0.2);
    overflow: hidden;
}

.visual-panel-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.85;
}

.visual-panel span {
    position: relative;
    z-index: 1;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(8, 8, 8, 0.6);
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.section-copy h2,
.services-section h2,
.projects-section h2,
.testimonials-section h2 {
    font-size: clamp(2.4rem, 6vw, 4rem);
    font-weight: 900;
}

.section-copy p {
    max-width: 38rem;
    margin: 1.4rem 0 0;
}

.stat-card {
    padding: 1.25rem 1.1rem;
    border-left: 2px solid rgba(255, 106, 0, 0.5);
    background: rgba(255, 255, 255, 0.02);
}

.stat-card strong {
    color: var(--accent);
    font-size: 2rem;
}

.info-card,
.testimonial-card {
    padding: 1.6rem;
}

.info-card h3,
.site-footer h3 {
    margin: 0 0 0.75rem;
    font-size: 1.12rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.social-link:hover {
    color: var(--accent);
}

.project-card {
    position: relative;
    display: flex;
    align-items: end;
    min-height: 220px;
    padding: 1rem;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(255, 255, 255, 0.03));
}

.project-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.project-card span {
    position: relative;
    z-index: 2;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stars {
    color: var(--accent);
    font-size: 1.15rem;
    letter-spacing: 0.12em;
}

/* ── Contact Section ── */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9) 0%, rgba(20, 20, 20, 0.95) 100%);
    border-top: 1px solid rgba(255, 106, 0, 0.18);
    border-bottom: 1px solid rgba(255, 106, 0, 0.18);
}

/* Left column - Header */
.contact-header h2 {
    margin: 0.25rem 0 1rem;
    font-size: clamp(2.2rem, 4vw, 3rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

.contact-accent {
    color: var(--accent);
}

.contact-lead {
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0 0 2.5rem;
    font-size: 1rem;
}

/* Contact Features */
.contact-features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.contact-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid rgba(255, 106, 0, 0.3);
    color: var(--accent);
}

.feature-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.contact-feature div {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-feature strong {
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--white);
}

.contact-feature span {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Service Areas Box */
.service-areas-box {
    padding: 1.5rem;
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 8px;
    margin-top: 2rem;
}

.areas-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.15);
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.areas-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.service-areas-box strong {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.service-areas-box p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* Right column - Contact Methods */
.contact-methods {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 8px;
}

.methods-title {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 1.5rem;
    color: var(--white);
}

/* Contact Cards */
.contact-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.75rem;
    border-radius: 8px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 106, 0, 0.3);
    transform: translateY(-2px);
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    background: rgba(255, 106, 0, 0.12);
    border: 1px solid rgba(255, 106, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    margin-bottom: 1rem;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.whatsapp-icon {
    background: rgba(37, 211, 102, 0.12);
    border-color: rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.contact-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 0.5rem;
    color: var(--white);
}

.contact-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0 0 1rem;
    flex-grow: 1;
}

.card-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.card-links a {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.card-links a:hover {
    color: var(--white);
}

/* Action Buttons */
.button-whatsapp,
.button-email,
.button-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid;
    margin-top: auto;
}

.button-whatsapp {
    background: rgba(37, 211, 102, 0.15);
    border-color: rgba(37, 211, 102, 0.4);
    color: #25d366;
}

.button-whatsapp:hover {
    background: #25d366;
    color: white;
    border-color: #25d366;
}

.button-email {
    background: rgba(255, 106, 0, 0.15);
    border-color: rgba(255, 106, 0, 0.4);
    color: var(--accent);
}

.button-email:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.button-text {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #3b82f6;
}

.button-text:hover {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Response Time */
.response-time {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 106, 0, 0.08);
    border: 1px solid rgba(255, 106, 0, 0.25);
    border-radius: 8px;
    margin-top: 1.5rem;
}

.time-icon {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 106, 0, 0.15);
    color: var(--accent);
}

.time-icon svg {
    width: 1.2rem;
    height: 1.2rem;
}

.response-time div {
    flex: 1;
}

.response-time p {
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.response-time strong {
    color: var(--white);
}

.site-footer {
    padding-top: 2.5rem;
}

@media (max-width: 991px) {
    .site-header .navbar-brand {
        flex: 0 0 50%;
        margin-right: 0;
    }

    .site-header .brand-mark {
        border-radius: 0%;
    }

    .site-header .navbar-toggler {
        max-width: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .site-header .navbar-collapse {
        margin-top: 0.75rem;
        padding-top: 0.25rem;
        border-top: 1px solid var(--border);
    }

    .site-header .nav-link {
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border);
        font-size: 1rem;
    }

    .site-header .header-cta {
        display: flex;
        width: 100%;
    }

    .brand-mark {
        width: 2.4rem;
        height: 2.4rem;
    }

    .brand-title {
        font-size: 1.15rem;
    }

    .brand-subtitle {
        font-size: 0.62rem;
    }

    .contact-methods {
        padding: 1.5rem;
    }

    .methods-title {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}

@media (max-width: 640px) {
    .hero-section,
    .about-section,
    .services-section,
    .projects-section,
    .testimonials-section,
    .contact-section,
    .site-footer {
        padding: 2.75rem 0;
    }

    .container {
        width: min(100% - 2rem, 1180px);
    }

    .button {
        width: 100%;
    }

    .hero-copy h1 {
        font-size: clamp(1.8rem, 8.5vw, 2.6rem);
    }

    .hero-copy p {
        font-size: 1rem;
        margin-top: 1.1rem;
    }

    .section-copy h2,
    .services-section h2,
    .projects-section h2,
    .testimonials-section h2 {
        font-size: clamp(1.7rem, 7.5vw, 2.4rem);
        overflow-wrap: break-word;
    }

    .contact-info h2 {
        font-size: clamp(1.5rem, 7vw, 2rem);
    }

    .visual-panel {
        min-height: 220px;
    }

    .project-card {
        min-height: 170px;
    }

    .info-card,
    .testimonial-card {
        padding: 1.25rem;
    }

    .stat-card {
        padding: 0.9rem 0.75rem;
    }

    .stat-card strong {
        font-size: 1.4rem;
    }

    .contact-form-panel {
        padding: 1.25rem;
    }

    .contact-value {
        overflow-wrap: anywhere;
    }

    .site-footer p {
        overflow-wrap: anywhere;
    }
}
