:root {
    --brand: #118b45;
    --brand-dark: #08743a;
    --accent: #df2028;
    --ink: #1f2224;
    --muted: #667078;
    --paper: #ffffff;
    --soft: #f6f7f5;
    --footer: #1d1f20;
    --container: 1180px;
    --shadow: 0 18px 45px rgba(21, 31, 27, .13);
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }
.container { max-width: var(--container); }

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 9999;
    padding: .7rem 1rem;
    color: #fff;
    background: var(--ink);
    transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
    outline: 3px solid #f2bc2f;
    outline-offset: 3px;
}

.contact-strip {
    padding: .55rem 0;
    color: #eef7f1;
    background: var(--brand);
}

.contact-strip a {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    color: inherit;
    font-size: .78rem;
    line-height: 1.2;
    text-decoration: none;
}

.contact-strip i { font-size: 1.1rem; }
.contact-strip span { display: grid; }
.contact-strip small { color: rgba(255,255,255,.72); }

.navbar { min-height: 88px; box-shadow: 0 4px 16px rgba(0,0,0,.07); }
.navbar-brand img { width: 196px; height: auto; }
.navbar-nav { gap: .1rem; }
.navbar .nav-link {
    position: relative;
    padding: 1rem .52rem !important;
    color: #252a2c;
    font-size: .69rem;
    font-weight: 700;
    letter-spacing: .025em;
    text-transform: uppercase;
}
.navbar .nav-link::after {
    position: absolute;
    right: .5rem;
    bottom: .75rem;
    left: .5rem;
    height: 2px;
    background: var(--brand);
    content: "";
    opacity: 0;
    transform: scaleX(0);
    transition: opacity .2s ease, transform .2s ease;
}
.navbar .dropdown-toggle::after { display: none; }
.navbar .nav-link:hover::after,
.navbar .nav-link.active::after { opacity: 1; transform: scaleX(1); }
.dropdown-menu { border: 0; border-top: 3px solid var(--brand); border-radius: 0; box-shadow: var(--shadow); }
.dropdown-item { padding: .7rem 1rem; font-size: .86rem; }
.dropdown-item:active { background: var(--brand); }

.hero-section,
.hero-section .carousel-item { min-height: clamp(510px, 58vw, 720px); }
.hero-section .carousel-item { position: relative; }
.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(7,13,11,.82) 0%, rgba(7,13,11,.55) 43%, rgba(7,13,11,.08) 78%);
}
.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    min-height: clamp(510px, 58vw, 720px);
    padding-top: 4rem;
    padding-bottom: 5rem;
}
.hero-copy { width: min(650px, 84%); color: #fff; }
.eyebrow,
.section-kicker {
    margin-bottom: .45rem;
    color: var(--brand);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero-copy .eyebrow { color: #91d9ad; }
.hero-copy h1,
.hero-copy h2 {
    margin-bottom: 1.1rem;
    color: #fff;
    font-size: clamp(2.25rem, 5vw, 4.65rem);
    font-weight: 300;
    line-height: .98;
    letter-spacing: -.045em;
}
.hero-copy h1 span,
.hero-copy h2 span { font-weight: 800; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; margin-bottom: 1.8rem; color: rgba(255,255,255,.88); font-size: clamp(.95rem, 1.5vw, 1.08rem); }
.carousel-control-prev,
.carousel-control-next { width: 7%; }
.carousel-indicators [data-bs-target] { width: 9px; height: 9px; border-radius: 50%; }

.btn {
    border-radius: 2px;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.btn-brand { padding: .86rem 1.3rem; color: #fff; background: var(--brand); border-color: var(--brand); }
.btn-brand:hover,
.btn-brand:focus { color: #fff; background: var(--brand-dark); border-color: var(--brand-dark); transform: translateY(-2px); }

.section-space { padding: clamp(4.3rem, 8vw, 7.5rem) 0; }
.section-heading { max-width: 790px; margin-bottom: 3rem; }
.section-heading h2,
.about-section h2 { margin-bottom: 1rem; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; }
.section-heading > p:last-child,
.about-section p { color: var(--muted); }
.service-tagline { color: var(--brand-dark); font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 700; }

.services-section { background: var(--soft); }
.service-card {
    position: relative;
    display: block;
    min-height: 235px;
    overflow: hidden;
    color: #fff;
    background: var(--ink);
    box-shadow: 0 10px 30px rgba(18, 35, 27, .11);
    text-decoration: none;
}
.service-card::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5,12,9,.84), rgba(5,12,9,.05) 67%);
    content: "";
}
.service-card img {
    width: 100%;
    height: 235px;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.service-card span {
    position: absolute;
    right: 1.35rem;
    bottom: 1.25rem;
    left: 1.35rem;
    z-index: 1;
    font-size: 1.05rem;
    font-weight: 700;
}
.service-card:hover img,
.service-card:focus-visible img { transform: scale(1.06); }
.service-card:hover span { color: #9fe0b8; }

.about-section { background: #fff; }
.about-image { width: 100%; min-height: 420px; object-fit: cover; box-shadow: var(--shadow); }

.appointment-bar { padding: 2rem 0; color: #fff; background: var(--brand); }
.appointment-bar h2 { margin: 0 0 .35rem; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 700; }
.appointment-bar p { max-width: 840px; margin: 0; color: rgba(255,255,255,.82); font-size: .84rem; line-height: 1.55; }
.appointment-bar .btn { padding: .9rem 1.2rem; white-space: nowrap; }

.site-footer { padding-top: clamp(3.5rem, 6vw, 5.5rem); color: #b9bdbe; background: var(--footer); }
.site-footer h2 { margin-bottom: 1.4rem; color: #fff; font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer p { font-size: .86rem; }
.site-footer address { font-style: normal; }
.site-footer address p { display: grid; grid-template-columns: 1.2rem 1fr; gap: .65rem; }
.footer-contact p { align-items: start; }
.footer-contact-copy { display: block; min-width: 0; overflow-wrap: break-word; line-height: 1.65; }
.footer-contact-copy strong { display: block; margin-bottom: .3rem; color: #fff; }
.site-footer a { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.social-links { display: flex; flex-wrap: wrap; gap: .65rem; }
.social-links a { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; background: #2b2e2f; border-radius: 50%; transition: background-color .2s ease, transform .2s ease; }
.social-links a:hover { background: var(--brand); transform: translateY(-2px); }
.copyright { margin-top: 3.5rem; padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.08); color: #777d80; font-size: .75rem; }
.floating-whatsapp {
    position: fixed;
    right: clamp(1rem, 2.5vw, 2rem);
    bottom: clamp(1rem, 2.5vw, 2rem);
    z-index: 1040;
    display: grid;
    width: 3.75rem;
    height: 3.75rem;
    place-items: center;
    color: #fff;
    background: #25d366;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    box-shadow: 0 .75rem 1.75rem rgba(0,0,0,.28);
    font-size: 1.75rem;
    text-decoration: none;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.floating-whatsapp:hover { color: #fff; background: #1fb85a; transform: translateY(-3px); box-shadow: 0 1rem 2rem rgba(0,0,0,.32); }
.floating-whatsapp:focus-visible { color: #fff; outline: 3px solid #fff; outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
    .floating-whatsapp { transition: none; }
}

.inner-hero {
    position: relative;
    min-height: clamp(220px, 26vw, 335px);
    overflow: hidden;
    background: #17221d;
}
.inner-hero > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.inner-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 17, 13, .82), rgba(9, 17, 13, .48) 58%, rgba(9, 17, 13, .26));
}
.inner-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: clamp(220px, 26vw, 335px);
    flex-direction: column;
    justify-content: center;
    color: #fff;
}
.inner-hero-content p {
    display: flex;
    gap: .65rem;
    margin-bottom: .55rem;
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.inner-hero-content a { color: #9fe0b8; text-decoration: none; }
.inner-hero-content h1 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -.045em;
}

.inner-content h2,
.vision-section h2 {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -.035em;
}
.inner-content p,
.vision-section p { color: var(--muted); }
.inner-content p { max-width: 760px; font-size: 1rem; }
.content-image-frame {
    position: relative;
    margin: 0;
    padding: 0 0 1.15rem 1.15rem;
}
.content-image-frame::before {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48%;
    height: 55%;
    background: var(--brand);
    content: "";
}
.content-image-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    box-shadow: var(--shadow);
}
.lead-copy {
    padding-left: 1.1rem;
    border-left: 4px solid var(--brand);
    color: #35413b !important;
    font-size: 1.06rem;
}
.vision-image {
    width: 100%;
    border-radius: 50%;
    box-shadow: var(--shadow);
}
.contact-panel {
    position: sticky;
    top: 1.5rem;
    display: grid;
    gap: 1rem;
}
.contact-panel-item {
    display: grid;
    grid-template-columns: 3rem 1fr;
    gap: 1rem;
    align-items: start;
    padding: 1.4rem;
    color: var(--ink);
    background: var(--soft);
    border-left: 4px solid var(--brand);
    text-decoration: none;
}
.contact-panel-item i { color: var(--accent); font-size: 1.5rem; }
.contact-panel-item span { display: grid; gap: .25rem; }
.contact-panel-item small { color: var(--muted); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.contact-panel-item strong { font-size: .9rem; line-height: 1.55; }
a.contact-panel-item:hover { color: var(--brand-dark); background: #eef5f0; }

.value-visual {
    position: relative;
    margin: 0 0 2.5rem;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.value-visual::after {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, .35);
    content: "";
    pointer-events: none;
}
.value-visual img {
    width: 100%;
    aspect-ratio: 2 / 1;
    object-fit: cover;
}
.value-section h2 {
    margin-bottom: 1.4rem;
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -.035em;
}
.value-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem 1.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.value-list li {
    display: grid;
    grid-template-columns: 1.25rem 1fr;
    gap: .7rem;
    align-items: start;
    padding: .85rem 0;
    color: #39433e;
    border-bottom: 1px solid #e6e9e7;
}
.value-list i { margin-top: .2rem; color: var(--brand); }

.ceo-section h2,
.faq-section h2,
.contact-page h2,
.careers-section h2,
.clients-section h2 {
    margin-bottom: 1.15rem;
    font-size: clamp(2rem, 3.7vw, 3.15rem);
    font-weight: 700;
    letter-spacing: -.035em;
}
.ceo-section h3 { margin-bottom: 1.3rem; color: var(--brand); font-size: 1.15rem; font-weight: 700; }
.ceo-section p,
.careers-section p { color: var(--muted); }
.ceo-portrait { position: relative; max-width: 470px; margin: 0 auto; padding: 1.1rem 1.1rem 0 0; }
.ceo-portrait::before { position: absolute; top: 0; right: 0; width: 52%; height: 56%; background: var(--brand); content: ""; }
.ceo-portrait img { position: relative; z-index: 1; width: 100%; background: #fff; box-shadow: var(--shadow); }
.ceo-portrait figcaption { position: relative; z-index: 2; display: grid; width: calc(100% - 2.2rem); margin: -2.5rem 0 0 1.1rem; padding: 1rem 1.2rem; color: #fff; background: var(--ink); }
.ceo-portrait figcaption span { color: rgba(255,255,255,.68); font-size: .78rem; }

.accordion { border-top: 3px solid var(--brand); }
.accordion-item { border-color: #e5e9e6; }
.accordion-button { padding: 1.15rem .25rem; color: var(--ink); font-weight: 700; box-shadow: none !important; }
.accordion-button:not(.collapsed) { color: var(--brand-dark); background: #f1f7f3; }
.accordion-button:focus-visible { outline-offset: -3px; }
.accordion-body { padding: .25rem .25rem 1.3rem; color: var(--muted); }

.contact-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; height: 100%; }
.contact-details > * { display: grid; grid-template-columns: 2.4rem 1fr; gap: .8rem; align-items: start; padding: 1.15rem; color: var(--ink); background: var(--soft); border-left: 3px solid var(--brand); text-decoration: none; }
.contact-details i { color: var(--accent); font-size: 1.2rem; }
.contact-details span { display: grid; gap: .2rem; }
.contact-details small { color: var(--muted); font-size: .68rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; }
.contact-details strong { font-size: .86rem; line-height: 1.55; }
.contact-details a:hover { color: var(--brand-dark); background: #eef5f0; }
.map-card { position: relative; display: block; height: 100%; min-height: 430px; overflow: hidden; color: #fff; background: var(--ink); box-shadow: var(--shadow); text-decoration: none; }
.map-card img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; }
.map-card span { position: absolute; right: 1rem; bottom: 1rem; padding: .65rem .85rem; background: rgba(20, 26, 23, .9); font-size: .78rem; font-weight: 700; }

.sector-card { display: grid; min-height: 145px; place-items: center; align-content: center; gap: .7rem; padding: 1rem; color: var(--ink); background: var(--soft); border-bottom: 3px solid var(--brand); text-align: center; }
.sector-card i { color: var(--brand); font-size: 2rem; }
.sector-card span { font-size: .86rem; font-weight: 700; }
.clients-cta { display: flex; gap: 2rem; align-items: center; justify-content: space-between; margin-top: 3.5rem; padding: 2rem; color: #fff; background: var(--ink); }
.clients-cta h3 { margin-bottom: .35rem; font-size: 1.35rem; }
.clients-cta p { margin: 0; color: rgba(255,255,255,.68); font-size: .88rem; }

.error-page { min-height: 460px; }
.error-page .error-code { margin: 0; color: rgba(17, 139, 69, .12); font-size: clamp(6rem, 18vw, 12rem); font-weight: 800; line-height: .8; }
.error-page h2 { margin-top: -1rem; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.035em; }
.error-page > .container > p:not(.error-code) { max-width: 650px; margin-inline: auto; color: var(--muted); }

@media (max-width: 1199.98px) {
    .navbar { min-height: 76px; }
    .navbar-collapse { max-height: calc(100vh - 120px); overflow-y: auto; padding: 1rem 0; }
    .navbar .nav-link { padding: .65rem .25rem !important; }
    .navbar .nav-link::after { display: none; }
}

@media (max-width: 767.98px) {
    .contact-strip .container { justify-content: flex-start !important; }
    .contact-strip a { flex: 1 1 140px; }
    .navbar-brand img { width: 160px; }
    .hero-section,
    .hero-section .carousel-item,
    .hero-content { min-height: 570px; }
    .hero-overlay { background: rgba(5,12,9,.66); }
    .hero-copy { width: 100%; padding-inline: .8rem; text-align: center; }
    .hero-copy > p:not(.eyebrow) { margin-inline: auto; }
    .carousel-control-prev,
    .carousel-control-next { display: none; }
    .service-card,
    .service-card img { min-height: 220px; height: 220px; }
    .about-image { min-height: 300px; }
    .inner-hero-content { text-align: center; }
    .inner-hero-content p { justify-content: center; }
    .content-image-frame { padding: 0 0 .8rem .8rem; }
    .vision-image { max-width: 330px; margin-inline: auto; display: block; }
    .contact-panel { position: static; }
    .value-list { grid-template-columns: 1fr; }
    .contact-details { grid-template-columns: 1fr; }
    .map-card,
    .map-card img { min-height: 340px; }
    .clients-cta { flex-direction: column; align-items: flex-start; }
    .appointment-bar { text-align: center; }
    .appointment-bar .btn { margin-top: 1.25rem; }
}

@media (max-width: 359.98px) {
    .contact-strip span { font-size: .7rem; }
    .hero-copy h1,
    .hero-copy h2 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

