:root {
    --purple: #9c2ee3;
    --purple-dark: #750fb8;
    --purple-soft: #c075ef;
    --ink: #1f1f1f;
    --text: #4f5355;
    --muted: #5f6368;
    --line: #ece6f2;
    --soft: #f7f7f7;
    --white: #fff;
    --panel: #3d204f;
    --shadow: 0 5px 14px rgba(0, 0, 0, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Montserrat, Arial, sans-serif;
    color: var(--ink);
    background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 18px; color: var(--muted); font: 400 16px/1.65 Montserrat, Arial, sans-serif; }
h1, h2, h3 { margin: 0 0 16px; font-family: Montserrat, Arial, sans-serif; line-height: 1.1; letter-spacing: 0; }
h1 { font-size: 45px; font-weight: 700; color: var(--white); }
h2 { font-size: 42px; font-weight: 700; color: var(--ink); }
h3 { font-size: 24px; font-weight: 700; color: #3c484d; }
span, .kicker, .section-title p { color: var(--purple); }

.lp-container { width: min(1300px, 1140px); margin: 0 auto; }
.lp-header { position: sticky; top: 0; z-index: 20; background: var(--white); box-shadow: 0 3px 15px rgba(0,0,0,.08); }
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 22px; padding: 5px 0; }
.brand { width: 285px; flex: 0 0 285px; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 28px; }
.main-nav a { color: #040404; font-size: 17px; font-weight: 600; transition: color .15s ease; }
.main-nav a:hover { color: var(--purple); }
.btn, .quote-form button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 15px 25px;
    border: 0;
    border-radius: 5px;
    background: linear-gradient(205deg, rgba(192,117,239,.85), var(--purple));
    color: var(--white);
    font: 600 17px/1 Montserrat, Arial, sans-serif;
    cursor: pointer;
    transition: transform .2s ease, filter .2s ease;
}
.btn:hover, .quote-form button:hover { transform: translateY(-1px); filter: brightness(1.04); }
.btn-sm { min-height: 45px; padding: 15px 20px; font-size: 15px; }
.btn-lg { min-height: 68px; padding: 25px; margin-top: 10px; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 8px; }
.menu-toggle span { display: block; height: 3px; margin: 6px 0; background: #111; border-radius: 4px; }

.hero {
    /* min-height: 550px; */
    position: relative;
    isolation: isolate;
    background: url("bg-porto-seg.webp") center/cover no-repeat;
}
.hero::before,
.dark-band::before,
.partners::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(156deg, rgba(156,46,227,.86) 16%, rgba(10,10,10,.86) 62%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    align-items: start;
}
.hero-copy { padding: 65px 0 30px; }
.hero-copy p { color: var(--white); max-width: 610px; }
.hero-copy h1 span { color: var(--white); }

.quote-form {
    margin-top: 60px;
    padding: 35px 15px 25px;
    background: var(--panel);
    border: 1px solid rgba(156,46,227,.63);
    border-radius: 10px;
}
.form-grid { display: flex; flex-wrap: wrap; margin: 0 -5px -10px; }
.form-grid input, .form-grid textarea {
    min-height: 48px;
    margin: 0 5px 10px;
    padding: 12px 15px;
    border: 0;
    border-radius: 2px;
    background: var(--white);
    color: var(--text);
    font: 500 15px Montserrat, Arial, sans-serif;
    outline: 2px solid transparent;
}
.form-grid input:focus, .form-grid textarea:focus { outline-color: rgba(156,46,227,.45); }
.form-grid .half { width: calc(50% - 10px); }
.form-grid .third { width: calc(33.333% - 10px); }
.form-grid textarea, .form-grid button { width: calc(100% - 10px); margin-left: 5px; margin-right: 5px; }
.quote-form button { min-height: 54px; background: rgba(156,46,227,.86); font-family: Roboto, Arial, sans-serif; font-weight: 600; }
.light-form { margin-top: 0; background: var(--panel); }

.ticker { overflow: hidden; padding: 15px 0; background: linear-gradient(180deg, var(--purple), var(--purple-dark)); }
.ticker-track { display: flex; width: max-content; animation: ticker 26s linear infinite; }
.ticker span { white-space: nowrap; color: var(--white); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }

.floating-cards { background: var(--white); }
.card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.floating-cards .card-row { padding: 70px 0; }
article {
    background: var(--white);
    border-radius: 10px;
    padding: 25px 20px 30px;
    box-shadow: var(--shadow);
}
.floating-cards article { margin-top: 0; text-align: center; }
.icon { color: var(--purple); font-weight: 700; margin-bottom: 12px; }
.services-brief article, .problem-row article, .philosophy article, .service-grid article { text-align: left; }

.section { padding: 70px 0; position: relative; isolation: isolate; }
.white { background: var(--white); }
.section-title { margin-bottom: 35px; }
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-title.narrow { max-width: 947px; }
.section-title p, .kicker { margin: 0 0 12px; font-size: 18px; font-weight: 700; color: var(--purple); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; align-items: center; }
.about, .problems, .service-list, .final-form, .faq { background: var(--soft); }
.about-copy h3 { font-size: 24px; line-height: 1.2; }
.about-media { position: relative; }
.about-media img, .rounded-img, .portrait { border-radius: 10px; box-shadow: var(--shadow); }
.counter-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: -80px;
    overflow: hidden;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(180deg, rgba(192,117,239,.9), var(--purple));
}
.counter-bar div { padding: 20px 10px; text-align: center; color: var(--white); }
.counter-bar b { display: block; font-size: 30px; line-height: 1; }
.counter-bar span { display: block; color: var(--white); font-size: 13px; }
.check-list, .contact-list { list-style: none; margin: 22px 0; padding: 0; }
.check-list li, .contact-list li { position: relative; padding: 10px 0 10px 28px; color: var(--muted); line-height: 1.55; }
.check-list li::before, .contact-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 17px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--purple);
}

.why img {
    width: 100%;
    height: 550px;
    object-fit: cover;
}

.dedication {
    color: var(--white);
    background: var(--white);
}
.dedication h2 { color: var(--ink); }
.badge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 26px 0; }
.badge-grid span {
    display: grid;
    min-height: 82px;
    place-items: center;
    padding: 20px;
    border-radius: 0;
    background: linear-gradient(180deg, rgba(192,117,239,.9), var(--purple));
    color: var(--white);
    text-align: center;
    font-weight: 700;
}
.portrait { max-height: 450px; width: 100%; object-fit: cover; object-position: center; }
.three-panels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 25px; }
.three-panels article { border-radius: 0; box-shadow: none; min-height: 190px; padding: 25px 30px; }
.three-panels article:nth-child(2) { background: linear-gradient(180deg, rgba(192,117,239,.9), var(--purple)); }
.three-panels article:nth-child(2) h3, .three-panels article:nth-child(2) p { color: var(--white); }
.center-btn { text-align: center; margin-top: 30px; }

.quality { background: var(--white); }
.mini-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 25px; }
.mini-grid article { padding: 30px 20px; }
.dark-band, .partners {
    color: var(--white);
    background: url("bg-porto-seg.webp") center/cover no-repeat;
}
.dark-band h2, .partners h2 { color: var(--white); }
.dark-band p, .partners p, .light li { color: rgba(255,255,255,.86); }
.light li::before { background: var(--white); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }

.faq-wrap { max-width: 700px; }
.faq details { border-bottom: 1px solid var(--line); background: var(--white);     padding: 0 15px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--ink); }
.faq details p { padding-bottom: 18px; margin: 0; }
.contact iframe { width: 100%; min-height: 430px; border: 0; border-radius: 10px; box-shadow: var(--shadow); }
.final-form h2 { font-size: 36px; }

.lp-footer { padding: 45px 0; background: var(--soft); }
.footer-grid { display: grid; grid-template-columns: .9fr .8fr 1.3fr; gap: 20px; align-items: start; }
.footer-grid img { width: 201px; margin-left: 20px; }
.footer-grid h2 { font-size: 22px; }
.footer-grid a, .footer-grid p { display: block; margin: 0 0 8px; color: #303030; font-size: 15px; }
.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(0,0,0,.22);
}

.d-none {
    display: none !important;
}
.text-center {
    text-align: center !important;
}

@media (max-width: 1024px) {
    .lp-container { width: min(100% - 40px, 947px); }
    .nav-inner { min-height: 68px; }
    .brand { width: 150px; flex-basis: 150px; }
    .menu-toggle { display: block; margin-left: auto; }
    .main-nav {
        position: absolute;
        left: 20px;
        right: 20px;
        top: 72px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 12px;
        border-radius: 8px;
        background: var(--white);
        box-shadow: var(--shadow);
    }
    .main-nav.is-open { display: flex; }
    .main-nav a { padding: 12px; }
    .nav-inner > .btn { display: none; }
    .hero-inner, .two-col { grid-template-columns: 1fr; gap: 30px; }
    .hero-copy { text-align: center; padding: 80px 10px 35px; }
    .hero-copy p { margin-left: auto; margin-right: auto; }
    h1 { font-size: 53px; }
    .quote-form { margin: 0 0 60px; }
    .card-row, .service-grid, .three-panels, .footer-grid { grid-template-columns: 1fr; }
    .floating-cards article { margin-top: 0; }
    .floating-cards .card-row { padding-top: 30px; }
}

@media (max-width: 767px) {
    .lp-container { width: min(100% - 20px, 700px); }
    h1 { font-size: 33px; }
    h2 { font-size: 33px; }
    h3, .about-copy h3 { font-size: 23px; }
    .section { padding: 54px 0; }
    .hero-copy { padding-top: 58px; }
    .form-grid .half, .form-grid .third { width: calc(50% - 10px); }
    .form-grid textarea, .form-grid button { width: calc(100% - 10px); }
    .quote-form { padding: 35px 15px 25px; }
    .ticker span { font-size: 14px; }
    .counter-bar, .badge-grid, .mini-grid { grid-template-columns: 1fr; }
    .three-panels article { min-height: auto; }
    .footer-grid img { margin-left: 0; }
}
