/* =========================================================
   VIDRIERÍA ROMERO
   Hoja de estilos principal
   ========================================================= */

:root {
    --green: #7abee5;
    --green-dark: #1b5e20;
    --ink: #111111;
    --muted: #666;
    --sand: #f4f1eb;
    --line: #e7e4de;
    --white: #fff;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    font-family: "DM Sans", Arial, sans-serif;
    color: var(--ink);
    background: #fff;
}

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

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

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

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

/* =========================================================
   TOPBAR / HEADER
   ========================================================= */

.topbar {
    background: #111;
    color: #aaa;
    font-size: 12px;
    padding: 8px 0;
}

.topbar__inner,
.topbar__info,
.topbar__social {
    display: flex;
    align-items: center;
}

.topbar__inner {
    justify-content: space-between;
    gap: 20px;
}

.topbar__info,
.topbar__social {
    gap: 18px;
}

.topbar a:hover {
    color: var(--green);
}

.topbar i {
    color: var(--green);
    margin-right: 5px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #eee;
    transition: box-shadow .3s ease, background .3s ease;
}

.nav {
    min-height: 82px;
    display: flex;
    align-items: center;
    gap: 35px;
}

.brand img {
    width: 145px;
    height: auto;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.desktop-nav a {
    position: relative;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    padding: 31px 0;
}

.desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 23px;
    width: 0;
    height: 2px;
    background: var(--green);
    transition: width .25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.is-active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    font-size: 22px;
}

.mobile-nav {
    display: none;
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid transparent;
    transition: transform .25s ease, background .25s ease, color .25s ease,
                border-color .25s ease, box-shadow .25s ease;
}

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

.btn--dark {
    background: #111;
    color: #fff;
    padding: 13px 20px;
    font-weight: 700;
    font-size: 13px;
}

.btn--green {
    background: var(--green);
    color: #fff;
    padding: 13px 20px;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(122,190,229,.22);
}

.btn--green:hover {
    background: #5eaedb;
}

.btn--outline-light {
    color: #fff;
    border-color: rgba(255,255,255,.55);
    background: rgba(255,255,255,.04);
    backdrop-filter: blur(8px);
}

.btn--outline-light:hover {
    background: #fff;
    color: #111;
}

.btn--large {
    min-height: 54px;
    padding-inline: 23px;
}

.btn--full {
    width: 100%;
}

/* =========================================================
   HERO PREMIUM
   ========================================================= */

.hero {
    position: relative;
    height: min(790px, calc(100vh - 40px));
    min-height: 650px;
    overflow: hidden;
    background: #111;
    color: #fff;
}

.hero__slides {
    position: absolute;
    inset: 0;
}

.hero__slide {
    position: absolute;
    inset: 0;
    z-index: 1;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-7%) scale(1.035);
    transition:
        transform 1.05s cubic-bezier(.22,.61,.36,1),
        visibility 0s linear 1.05s;
    overflow: hidden;
}

.hero__slide.is-active {
    z-index: 2;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    transition:
        transform 1.05s cubic-bezier(.22,.61,.36,1),
        visibility 0s;
}

.hero__slide > img {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    max-width: none;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transition: transform 7s cubic-bezier(.2,.7,.2,1);
}

.hero__slide.is-active > img {
    transform: scale(1);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg,
            rgba(7,10,11,.88) 0%,
            rgba(7,10,11,.68) 34%,
            rgba(7,10,11,.22) 68%,
            rgba(7,10,11,.08) 100%),
        linear-gradient(0deg,
            rgba(0,0,0,.55) 0%,
            transparent 38%);
}

.hero__grain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .09;
    background-image:
        radial-gradient(rgba(255,255,255,.8) .5px, transparent .5px);
    background-size: 5px 5px;
    mix-blend-mode: soft-light;
}

.hero__content {
    position: relative;
    z-index: 4;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-top: 45px;
    padding-bottom: 120px;
}

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #dfe9ed;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 11px;
    font-weight: 800;
    transform: translateY(24px);
    opacity: 0;
}

.hero__eyebrow span {
    width: 42px;
    height: 1px;
    background: var(--green);
}

.hero__slide.is-active .hero__eyebrow {
    animation: heroTextIn .7s .08s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__number {
    position: absolute;
    top: 120px;
    right: 0;
    font-size: 72px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: -.06em;
    color: rgba(255,255,255,.13);
    transform: translateX(20px);
}

.hero__number small {
    font-size: 13px;
    letter-spacing: .12em;
    color: rgba(255,255,255,.55);
    vertical-align: middle;
}

.hero h1,
.hero h2 {
    max-width: 850px;
    margin: 18px 0 18px;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    letter-spacing: -.055em;
    font-weight: 800;
    transform: translateY(35px);
    opacity: 0;
}

.hero h1 em,
.hero h2 em {
    color: #c9e9f6;
    font-style: normal;
    font-weight: 500;
}

.hero__slide.is-active h1,
.hero__slide.is-active h2 {
    animation: heroTextIn .9s .18s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero p {
    max-width: 610px;
    margin: 0 0 30px;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.7;
    transform: translateY(25px);
    opacity: 0;
}

.hero__slide.is-active p {
    animation: heroTextIn .8s .32s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    transform: translateY(24px);
    opacity: 0;
}

.hero__slide.is-active .hero__actions {
    animation: heroTextIn .8s .43s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__meta {
    display: flex;
    align-items: center;
    gap: 13px;
    margin-top: 35px;
    color: rgba(255,255,255,.55);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .25em;
    transform: translateY(18px);
    opacity: 0;
}

.hero__slide.is-active .hero__meta {
    animation: heroTextIn .7s .56s cubic-bezier(.2,.7,.2,1) forwards;
}

.hero__meta i {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--green);
}

.hero__arrow {
    position: absolute;
    z-index: 10;
    top: 50%;
    width: 58px;
    height: 58px;
    border: 1px solid rgba(255,255,255,.35);
    color: #fff;
    background: rgba(0,0,0,.14);
    backdrop-filter: blur(9px);
    display: grid;
    place-items: center;
    transform: translateY(-50%);
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.hero__arrow:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

.hero__arrow--prev {
    left: 28px;
}

.hero__arrow--next {
    right: 28px;
}

.hero__bottom {
    position: absolute;
    z-index: 10;
    bottom: 28px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    color: #fff;
}

.hero__counter {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero__counter strong {
    font-size: 23px;
    font-weight: 800;
}

.hero__counter span {
    width: 70px;
    height: 1px;
    background: rgba(255,255,255,.5);
}

.hero__counter small {
    color: rgba(255,255,255,.5);
    font-size: 12px;
}

.hero__scroll {
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: .18em;
    font-size: 9px;
    font-weight: 800;
}

.hero__scroll i {
    animation: scrollBounce 1.8s infinite;
}

.hero__progress {
    position: absolute;
    z-index: 20;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 3px;
    background: rgba(255,255,255,.12);
}

.hero__progress span {
    display: block;
    width: 50%;
    height: 100%;
    background: var(--green);
    transform-origin: left;
}

.hero__progress.is-running span {
    animation: heroProgress 6s linear forwards;
}

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

@keyframes heroProgress {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}

/* =========================================================
   STATS
   ========================================================= */

.stats {
    background: #111;
    color: #fff;
}

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

.stat {
    padding: 25px 22px;
    border-right: 1px solid #292929;
    display: flex;
    align-items: center;
    gap: 13px;
}

.stat:first-child {
    border-left: 1px solid #292929;
}

.stat strong {
    color: var(--green);
    font-size: 12px;
}

.stat span {
    font-size: 12px;
    color: #ccc;
}

/* =========================================================
   SECCIONES GENERALES
   ========================================================= */

.section {
    padding: 110px 0;
}

.section--light {
    background: #fff;
}

.section--sand {
    background: var(--sand);
}

.section--dark {
    background: #111;
    color: #fff;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 50px;
    margin-bottom: 55px;
}

.section-heading--center {
    display: block;
    text-align: center;
}

.eyebrow {
    display: block;
    margin-bottom: 13px;
    color: var(--green-dark);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-size: 10px;
    font-weight: 900;
}

.eyebrow--light {
    color: #cfeefa;
}

.section-heading h2,
.about__content h2,
.quote__intro h2,
.contact__content h2 {
    margin: 0;
    font-family: "Manrope", Arial, sans-serif;
    font-size: clamp(36px, 4vw, 58px);
    line-height: 1.02;
    letter-spacing: -.05em;
}

.section-heading h2 em,
.about__content h2 em,
.quote__intro h2 em,
.contact__content h2 em {
    color: var(--green-dark);
    font-style: normal;
    font-weight: 500;
}

.section-heading p {
    max-width: 430px;
    margin: 0;
    color: #666;
    line-height: 1.75;
    font-size: 14px;
}

/* =========================================================
   SERVICIOS
   ========================================================= */

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

.service-card {
    background: #fff;
    border: 1px solid var(--line);
    transition: transform .35s ease, box-shadow .35s ease;
}

.service-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 22px 45px rgba(0,0,0,.09);
}

.service-card__image {
    position: relative;
    height: 260px;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.service-card:hover .service-card__image img {
    transform: scale(1.06);
}

.service-card__image span {
    position: absolute;
    right: 15px;
    top: 15px;
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: #111;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.service-card__body {
    padding: 25px;
}

.service-card__body h3 {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
    font-size: 20px;
}

.service-card__body p {
    margin: 0 0 20px;
    color: #777;
    font-size: 13px;
    line-height: 1.7;
}

.service-card__body a,
.text-link {
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 800;
}

.service-card__body a i,
.text-link i {
    margin-left: 7px;
}

/* =========================================================
   ABOUT
   ========================================================= */

.about {
    background: #f7f6f3;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 90px;
    align-items: center;
}

.about__visual {
    position: relative;
}

.about__visual > img {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

.about__badge {
    position: absolute;
    right: -25px;
    bottom: 35px;
    padding: 22px 26px;
    background: #111;
    color: #fff;
}

.about__badge strong,
.about__badge span {
    display: block;
}

.about__badge strong {
    letter-spacing: .2em;
    font-size: 16px;
}

.about__badge span {
    margin-top: 5px;
    color: #aaa;
    font-size: 10px;
}

.about__content > p {
    color: #666;
    line-height: 1.8;
    max-width: 560px;
    margin: 24px 0;
}

.about__list {
    margin: 30px 0;
}

.about__list > div {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #ddd;
}

.about__list i {
    color: var(--green-dark);
    margin-top: 3px;
}

.about__list strong,
.about__list small {
    display: block;
}

.about__list strong {
    font-size: 13px;
}

.about__list small {
    margin-top: 4px;
    color: #777;
    font-size: 12px;
}

/* =========================================================
   TABS
   ========================================================= */

.tabs__nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 13px 28px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: #777;
    font-weight: 800;
}

.tab-btn.is-active {
    color: var(--green-dark);
    border-color: var(--green);
}

.tab-panel {
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.tab-panel.is-active {
    display: grid;
}

.style-card {
    background: #fff;
    border: 1px solid #ddd;
}

.style-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.style-card > div {
    padding: 20px;
}

.style-card span {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 900;
}

.style-card h3 {
    margin: 7px 0;
    font-family: "Manrope", sans-serif;
}

.style-card p {
    margin: 0;
    color: #777;
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   PORTAFOLIO
   ========================================================= */

.portfolio__filters {
    display: flex;
    gap: 8px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    border: 1px solid #ddd;
    background: #fff;
    padding: 10px 17px;
    font-size: 11px;
    font-weight: 800;
}

.filter-btn.is-active,
.filter-btn:hover {
    background: #111;
    color: #fff;
    border-color: #111;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 12px;
}

.portfolio-item {
    position: relative;
    min-height: 280px;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: #111;
    text-align: left;
}

.portfolio-item--large {
    grid-row: span 2;
    min-height: 570px;
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.portfolio-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 60%);
}

.portfolio-item:hover img {
    transform: scale(1.06);
}

.portfolio-item__caption {
    position: absolute;
    z-index: 2;
    left: 22px;
    right: 22px;
    bottom: 20px;
    color: #fff;
}

.portfolio-item__caption small,
.portfolio-item__caption strong {
    display: block;
}

.portfolio-item__caption small {
    color: #bce8f8;
    text-transform: uppercase;
    font-size: 9px;
    letter-spacing: .15em;
}

.portfolio-item__caption strong {
    margin-top: 4px;
    font-size: 17px;
}

.portfolio-item__caption i {
    position: absolute;
    right: 0;
    bottom: 3px;
}

/* =========================================================
   PROCESO
   ========================================================= */

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

.process-step {
    position: relative;
    padding: 30px;
    border: 1px solid #2b2b2b;
}

.process-step > span {
    color: var(--green);
    font-size: 11px;
    font-weight: 900;
}

.process-step > i {
    display: block;
    margin: 45px 0 20px;
    font-size: 27px;
    color: #fff;
}

.process-step h3 {
    margin: 0 0 10px;
    font-family: "Manrope", sans-serif;
}

.process-step p {
    color: #999;
    font-size: 12px;
    line-height: 1.7;
}

/* =========================================================
   TESTIMONIOS
   ========================================================= */

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

.testimonial {
    padding: 32px;
    border: 1px solid var(--line);
}

.stars {
    color: var(--green-dark);
    letter-spacing: 3px;
}

.testimonial blockquote {
    margin: 20px 0 30px;
    color: #555;
    line-height: 1.75;
    font-size: 14px;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial__author > span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 11px;
}

.testimonial__author strong,
.testimonial__author small {
    display: block;
}

.testimonial__author strong {
    font-size: 12px;
}

.testimonial__author small {
    color: #999;
    margin-top: 3px;
}

/* =========================================================
   COTIZACIÓN
   ========================================================= */

.quote {
    background: #111;
    color: #fff;
}

.quote__grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 80px;
    align-items: start;
}

.quote__intro p {
    color: #aaa;
    line-height: 1.8;
    max-width: 500px;
}

.quote__note {
    display: flex;
    gap: 12px;
    margin-top: 35px;
    padding-top: 22px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 11px;
    line-height: 1.6;
}

.quote__note i {
    color: var(--green);
}

.calculator {
    background: #fff;
    color: #111;
    padding: 35px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 17px;
}

.calculator label {
    display: block;
    color: #555;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.calculator input,
.calculator select,
.calculator textarea {
    width: 100%;
    margin-top: 8px;
    border: 1px solid #ddd;
    background: #fff;
    padding: 13px 14px;
    outline: none;
    color: #222;
    font-size: 13px;
    text-transform: none;
    letter-spacing: normal;
}

.calculator textarea {
    resize: vertical;
    margin-bottom: 18px;
}

.calculator input:focus,
.calculator select:focus,
.calculator textarea:focus {
    border-color: var(--green);
}

.estimate {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 18px 0;
    padding: 18px;
    background: #edf8fc;
    border: 1px solid #d5edf5;
}

.estimate small,
.estimate strong {
    display: block;
}

.estimate small {
    color: var(--green-dark);
    font-size: 9px;
    font-weight: 900;
}

.estimate strong {
    margin-top: 5px;
    font-size: 24px;
}

.estimate > i {
    color: var(--green-dark);
    font-size: 25px;
}

/* =========================================================
   CONTACTO
   ========================================================= */

.contact__grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 70px;
    align-items: center;
}

.contact__content > p {
    color: #666;
    line-height: 1.8;
    max-width: 530px;
}

.contact-list {
    margin: 30px 0;
}

.contact-list > * {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
}

.contact-list i {
    color: var(--green-dark);
    margin-top: 3px;
}

.contact-list small,
.contact-list strong {
    display: block;
}

.contact-list small {
    color: #999;
    font-size: 10px;
}

.contact-list strong {
    margin-top: 3px;
    font-size: 12px;
}

.contact__map {
    position: relative;
    min-height: 470px;
    overflow: hidden;
}

.contact__map img {
    width: 100%;
    height: 470px;
    object-fit: cover;
    filter: grayscale(.8);
}

.contact__map > div {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 20px;
    padding: 17px 20px;
    display: flex;
    justify-content: space-between;
    background: rgba(17,17,17,.9);
    color: #fff;
}

.contact__map span {
    font-weight: 800;
}

.contact__map a {
    color: #bce8f8;
    font-size: 11px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.footer {
    background: #0d0d0d;
    color: #aaa;
    padding: 75px 0 25px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 55px;
}

.brand--footer img {
    width: 135px;
}

.footer__grid > div:first-child > p {
    max-width: 300px;
    font-size: 12px;
    line-height: 1.7;
}

.footer__grid h3 {
    color: #fff;
    font-size: 12px;
    margin: 0 0 18px;
}

.footer__grid a,
.footer__grid span,
.footer__grid p {
    display: block;
    color: #888;
    font-size: 11px;
    line-height: 1.8;
}

.footer__grid a:hover {
    color: #fff;
}

.footer__social {
    display: flex !important;
    gap: 8px;
    margin-top: 20px;
}

.footer__social a {
    width: 35px;
    height: 35px;
    display: grid !important;
    place-items: center;
    background: #202020;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 50px;
    padding-top: 22px;
    border-top: 1px solid #252525;
    font-size: 10px;
}

.footer__bottom div {
    display: flex;
    gap: 20px;
}

/* =========================================================
   FLOATING WHATSAPP / MODAL
   ========================================================= */

.floating-wa {
    position: fixed;
    z-index: 60;
    right: 22px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 13px 16px;
    background: #111;
    color: #fff;
    border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
    font-size: 11px;
    font-weight: 800;
}

.floating-wa i {
    color: #63d391;
    font-size: 18px;
}

.modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
}

.modal[aria-hidden="true"] {
    display: none;
}

.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.85);
}

.modal__content {
    position: relative;
    z-index: 2;
    width: min(1000px, calc(100% - 40px));
}

.modal__content img {
    width: 100%;
    max-height: 80vh;
    object-fit: contain;
    background: #111;
}

.modal__close {
    position: absolute;
    z-index: 3;
    top: -42px;
    right: 0;
    border: 0;
    background: none;
    color: #fff;
    font-size: 22px;
}

.modal__caption {
    padding: 13px 0;
    color: #fff;
    font-size: 13px;
}

/* =========================================================
   REVEAL
   ========================================================= */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 980px) {
    .desktop-nav,
    .nav__cta {
        display: none;
    }

    .nav {
        justify-content: space-between;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: none;
        padding: 8px 24px 25px;
        background: #fff;
        border-top: 1px solid #eee;
    }

    .mobile-nav.is-open {
        display: grid;
        gap: 4px;
    }

    .mobile-nav a {
        padding: 12px 0;
        font-size: 13px;
        font-weight: 800;
    }

    .mobile-nav .btn {
        margin-top: 8px;
        color: #fff;
        text-align: center;
    }

    .hero {
        min-height: 670px;
        height: calc(100vh - 40px);
    }

    .hero__number {
        display: none;
    }

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

    .about__grid,
    .quote__grid,
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .about__visual > img {
        height: 500px;
    }

    .tab-panel {
        grid-template-columns: 1fr 1fr;
    }

    .tab-panel .style-card:last-child {
        display: none;
    }

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

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

@media (max-width: 640px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .topbar__inner {
        justify-content: center;
    }

    .topbar__info span,
    .topbar__social {
        display: none;
    }

    .brand img {
        width: 125px;
    }

    .hero {
        min-height: 680px;
        height: calc(100vh - 42px);
    }

    .hero__overlay {
        background:
            linear-gradient(90deg,
                rgba(7,10,11,.9) 0%,
                rgba(7,10,11,.64) 100%),
            linear-gradient(0deg,
                rgba(0,0,0,.6) 0%,
                transparent 45%);
    }

    .hero__content {
        padding-top: 20px;
        padding-bottom: 110px;
    }

    .hero h1,
    .hero h2 {
        font-size: clamp(39px, 12vw, 55px);
        line-height: 1;
    }

    .hero p {
        max-width: 92%;
        font-size: 14px;
    }

    .hero__actions {
        width: 100%;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__arrow {
        width: 45px;
        height: 45px;
        top: auto;
        bottom: 75px;
        transform: none;
    }

    .hero__arrow--prev {
        left: 16px;
    }

    .hero__arrow--next {
        right: 16px;
    }

    .hero__bottom {
        bottom: 22px;
    }

    .hero__scroll {
        display: none;
    }

    .hero__meta {
        margin-top: 23px;
    }

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

    .stat {
        min-height: 65px;
    }

    .section {
        padding: 75px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 35px;
    }

    .section-heading p {
        margin-top: 20px;
    }

    .service-grid,
    .testimonial-grid,
    .tab-panel,
    .process-grid,
    .footer__grid {
        grid-template-columns: 1fr;
    }

    .tab-panel .style-card:last-child {
        display: block;
    }

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

    .portfolio-item--large {
        grid-row: span 1;
        min-height: 300px;
    }

    .portfolio-item {
        min-height: 220px;
    }

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

    .calculator {
        padding: 22px;
    }

    .contact__map,
    .contact__map img {
        min-height: 360px;
        height: 360px;
    }

    .footer__bottom {
        display: block;
    }

    .footer__bottom div {
        margin-top: 12px;
    }

    .floating-wa span {
        display: none;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
