/* 360 Tecno Urbe — public site
 * One stylesheet, self-hosted variable fonts, tokens on :root.
 * Brand: orange #ff8200 on near-black. Orange is a background colour here
 * (dark text on it = 8:1); text in orange uses --accent-ink, which passes AA on white.
 */

@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 400 800; font-display: swap;
  src: url(/assets/fonts/montserrat-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/inter-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/assets/fonts/inter-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --accent: #ff8200;
  --accent-hover: #ff9a33;
  --accent-ink: #a14f00;     /* orange text on white: 5.3:1 */
  --ink: #16181b;
  --ink-2: #3a3f46;
  --muted: #5b616a;
  --line: #e6e1d9;
  --bg: #ffffff;
  --sand: #f6f2ec;
  --dark: #121417;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(18,20,23,.06), 0 8px 24px rgba(18,20,23,.07);
  --wrap: 1180px;
  --head: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-ink); text-underline-offset: .18em; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -.01em; color: var(--ink); }
h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
.h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 1.4rem; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2rem, var(--wrap)); margin-inline: auto; }
.visually-hidden, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: .6rem 1rem; border-radius: 8px; }
.skip:focus { top: 1rem; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.ico--xl { width: 2.6rem; height: 2.6rem; }
.center { text-align: center; }
.muted { color: var(--muted); }
.rounded { border-radius: var(--radius); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .75rem 1.35rem; border-radius: 999px; border: 2px solid transparent;
  font: 650 1rem/1.2 var(--head); text-decoration: none; cursor: pointer;
  transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: var(--ink); }
.btn--primary:hover { background: var(--accent-hover); color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #2a2e34; color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--sand); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--block { width: 100%; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; }
.textlink { display: inline-flex; align-items: center; gap: .4em; font: 650 1rem var(--head); text-decoration: none; }
.textlink:hover .ico { transform: translateX(3px); }
.textlink .ico { transition: transform .15s; }

.eyebrow { font: 700 .8rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: .8rem; display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ''; width: 1.6rem; height: 3px; background: var(--accent); border-radius: 2px; }
.eyebrow--light { color: #fff; }

/* ---------------------------------------------------------------- header */
/* Solid background, no backdrop-filter: a filter makes the header the containing block of the
   position:fixed mobile menu inside it, which then opens clipped to the header's 72px. */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header__row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand img { width: 190px; height: auto; }
.nav-toggle { display: none; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .2rem; }
.site-nav ul a { display: block; white-space: nowrap; padding: .55rem .7rem; border-radius: 8px; font: 600 .95rem/1.2 var(--head); color: var(--ink); text-decoration: none; }
.site-nav ul a:hover { background: var(--sand); }
.site-nav ul a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.site-nav__call { min-height: 44px; padding: .55rem 1.1rem; font-size: .95rem; white-space: nowrap; }

/* The nav wraps around 1120px with the phone button; switch to the drawer before that. */
@media (max-width: 1140px) {
  /* Icon-only, 44×44 (the minimum comfortable touch target); the word «Menu» stays for screen readers. */
  .nav-toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); cursor: pointer;
  }
  .nav-toggle:hover { border-color: var(--ink); }
  .nav-toggle .ico { width: 1.4rem; height: 1.4rem; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .nav-toggle .ico--close, .nav-toggle[aria-expanded="true"] .ico--open { display: none; }
  .nav-toggle[aria-expanded="true"] .ico--close { display: block; }
  .site-nav {
    position: fixed; inset: 72px 0 0 0; background: #fff; flex-direction: column; align-items: stretch;
    padding: 1rem 1rem 2rem; gap: 1rem; overflow-y: auto;
    /* Closed = faded and lifted, never parked off-screen to the right: a fixed box beyond the
       right edge widens the page on phones (horizontal scroll, and the fixed WhatsApp button
       lines up with that far edge). */
    opacity: 0; transform: translateY(-.5rem); visibility: hidden; pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, visibility .18s;
  }
  .site-nav.is-open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .site-nav ul { flex-direction: column; }
  .site-nav ul a { padding: .95rem .5rem; font-size: 1.15rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav ul a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--accent); padding-left: 1rem; }
  .site-nav__call { min-height: 52px; font-size: 1.05rem; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 420px) {
  .brand img { width: 150px; }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; color: #fff; background: var(--dark); overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; z-index: -2; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(14,15,17,.86) 0%, rgba(14,15,17,.62) 50%, rgba(14,15,17,.2) 100%); }
.hero__inner { padding: clamp(3.5rem, 8vw, 6.5rem) 0; max-width: 46rem; margin-left: max(1rem, (100% - var(--wrap)) / 2); }
.hero h1 { color: #fff; }
.hero--home .hero__inner { padding-block: clamp(4.5rem, 11vw, 8.5rem); }
.hero__sub { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: rgba(255,255,255,.9); max-width: 38rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

.page-head { background: var(--sand); padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); }
.page-head .lead { max-width: 44rem; }
.page-head--center { text-align: center; padding-block: clamp(3.5rem, 9vw, 6rem); }
.page-head--center .lead { margin-inline: auto; }
.page-head--center .eyebrow { justify-content: center; }
.lead { font-size: 1.15rem; color: var(--ink-2); }
.big-check { display: inline-grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--accent); color: var(--ink); margin-bottom: 1.2rem; }

.crumbs { font-size: .88rem; color: var(--muted); padding: .9rem 0; }
.crumbs a { color: var(--muted); }
.crumbs span[aria-hidden] { margin: 0 .35rem; }

/* ---------------------------------------------------------------- sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tight { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.section--sand { background: var(--sand); }
.section__head { max-width: 44rem; margin-bottom: 2.2rem; }

.cards { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.card--service { display: flex; flex-direction: column; text-decoration: none; color: inherit; transition: transform .2s, box-shadow .2s; }
.card--service:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(18,20,23,.06), 0 18px 40px rgba(18,20,23,.12); color: inherit; }
.card__img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.card__body { position: relative; padding: 2rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__body p { color: var(--ink-2); }
.card__icon { position: absolute; top: -1.6rem; left: 1.5rem; width: 3.2rem; height: 3.2rem; display: grid; place-items: center; border-radius: 12px; background: var(--accent); color: var(--ink); box-shadow: var(--shadow); }
.card__icon .ico { width: 1.5rem; height: 1.5rem; }
.card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4em; font: 700 .95rem var(--head); color: var(--accent-ink); }

.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--top { align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split--top { grid-template-columns: 1.4fr 1fr; } }
.split__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.ticks { list-style: none; padding: 0; margin: 1.4rem 0 1.8rem; display: grid; gap: .9rem; }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; }
.ticks .ico { color: var(--ink); background: var(--accent); border-radius: 50%; padding: .2rem; width: 1.5rem; height: 1.5rem; margin-top: .1rem; }
.ticks--compact { margin: 0; gap: .7rem; font-size: .98rem; }

.panel { background: var(--sand); border-radius: var(--radius); padding: 1.6rem; border-top: 4px solid var(--accent); }
.section--sand .panel { background: #fff; }
.panel__title { font-size: 1.15rem; }

.prose { max-width: 46rem; }
.prose--lead p { font-size: 1.12rem; color: var(--ink-2); }
.prose strong { color: var(--ink); }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }

.features { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.feature { background: #fff; border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); color: inherit; text-decoration: none; }
.feature p { color: var(--ink-2); margin: 0; font-size: .98rem; }
.feature--link:hover { box-shadow: 0 0 0 2px var(--accent), var(--shadow); color: inherit; }
.feature__icon { display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 10px; background: var(--sand); color: var(--accent-ink); margin-bottom: 1rem; }
.feature__icon .ico { width: 1.4rem; height: 1.4rem; }

.steps { list-style: none; padding: 0; margin: 0 0 2.5rem; counter-reset: s; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.steps li { counter-increment: s; background: #fff; border-radius: var(--radius); padding: 1.5rem 1.5rem 1.4rem 4.6rem; position: relative; box-shadow: var(--shadow); }
.steps li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 1.4rem; top: 1.4rem; font: 800 1.5rem/1 var(--head); color: var(--accent-ink); }
.steps h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }

.zone { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 900px) { .zone { grid-template-columns: 1.2fr 1fr; } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45rem .9rem; border-radius: 999px; background: var(--sand); border: 1px solid var(--line); font: 600 .92rem var(--head); }
.section--sand .chips li { background: #fff; }
.chips--links { justify-content: center; margin-top: 1.5rem; }
.chips--links li { padding: 0; }
.chips--links a { display: block; padding: .55rem 1rem; color: var(--ink); text-decoration: none; }

/* ---------------------------------------------------------------- contact */
.contact-block { background: var(--dark); color: #fff; padding: clamp(3rem, 7vw, 5.5rem) 0; }
.contact-block h2 { color: #fff; }
.contact-block .eyebrow { color: var(--accent); }
.contact-block__grid { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .contact-block__grid { grid-template-columns: 1fr 1.25fr; } }
.contact-block__intro p { color: rgba(255,255,255,.82); }
.contact-block a:not(.btn) { color: #fff; }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .8rem; }
.contact-list li { display: flex; gap: .7rem; align-items: flex-start; }
.contact-list .ico { margin-top: .25rem; color: var(--accent); }
.contact-list--big { margin-top: 1.6rem; font: 600 1.1rem var(--head); }
.contact-list--big a { text-decoration: none; }
.contact-list--big a:hover { text-decoration: underline; }

.form { padding: clamp(1.25rem, 3vw, 2rem); color: var(--ink); }
.form__row { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font: 600 .92rem/1.3 var(--head); margin-bottom: .35rem; }
.field input[type=text], .field input[type=email], .field input[type=tel], .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: .8rem .9rem; border: 1.5px solid #cfc9bf; border-radius: 10px; background: #fff; color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(255,130,0,.35); }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field__error { color: #b3261e; font-size: .88rem; margin: .35rem 0 0; }
.field--check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .7rem; align-items: start; }
.field--check input { width: 1.25rem; height: 1.25rem; margin-top: .15rem; accent-color: var(--accent); }
.field--check label { font: 400 .92rem/1.5 var(--body); margin: 0; }
.field--check .field__error { grid-column: 2; }
.form__alert { background: #fdecea; color: #8c1d18; border-radius: 10px; padding: .8rem 1rem; font-weight: 600; }
.form__note { font-size: .85rem; color: var(--muted); margin: .8rem 0 0; }
.contact-block .form a { color: var(--accent-ink); }

.contact-cards { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.contact-card { display: grid; gap: .2rem; padding: 1.4rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.contact-card:hover { border-color: var(--accent); color: var(--ink); }
.contact-card__icon { width: 2.8rem; height: 2.8rem; display: grid; place-items: center; border-radius: 10px; background: var(--accent); margin-bottom: .6rem; }
.contact-card__icon .ico { width: 1.35rem; height: 1.35rem; }
.contact-card__label { font-size: .85rem; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.contact-card__value { font: 700 1.1rem var(--head); word-break: break-word; }
.address { font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; line-height: 1.6; }

.map { border-radius: var(--radius); overflow: hidden; background: #fff; min-height: 340px; display: grid; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.map__placeholder { display: grid; place-content: center; justify-items: center; text-align: center; gap: .3rem; padding: 2rem;
  background: repeating-linear-gradient(45deg, #f6f2ec 0 14px, #f1ece4 14px 28px); }
.map__placeholder .ico { color: var(--accent-ink); }
.map__placeholder p { max-width: 24rem; color: var(--ink-2); }
.map__small { font-size: .88rem; }

.partner-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.partner-list li { display: grid; gap: .2rem; padding: 1.3rem 1.4rem; border: 1px solid var(--line); border-radius: var(--radius); border-left: 4px solid var(--accent); }
.partner-list strong { font: 700 1.15rem var(--head); }

.table-wrap { overflow-x: auto; margin: 1rem 0 1.5rem; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 34rem; }
.table-wrap th, .table-wrap td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-wrap th { font-family: var(--head); background: var(--sand); }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #0c0d0f; color: rgba(255,255,255,.78); padding-top: 3.5rem; font-size: .96rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--accent); }
.site-footer__grid { display: grid; gap: 2.2rem; padding-bottom: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.site-footer__logo { width: 210px; margin-bottom: 1rem; }
.site-footer__title { color: #fff; font-size: 1rem; text-transform: uppercase; letter-spacing: .1em; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.link-list a { text-decoration: none; }
.site-footer__legal { border-top: 1px solid rgba(255,255,255,.12); padding: 1.4rem 0 5.5rem; font-size: .84rem; color: rgba(255,255,255,.62); }
.site-footer__legal p { margin: 0 0 .4rem; }
.site-footer__legal .credit { text-decoration: underline; }

/* ---------------------------------------------------------------- floating + banner */
.wa-fab { position: fixed; right: 1rem; bottom: 1rem; z-index: 40; width: 3.6rem; height: 3.6rem; border-radius: 50%; display: grid; place-items: center;
  background: #1f8f4e; color: #fff; box-shadow: 0 6px 20px rgba(0,0,0,.25); }
.wa-fab:hover { background: #18773f; color: #fff; }
.wa-fab .ico { width: 1.9rem; height: 1.9rem; }

.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; padding: 1rem; }
.consent__box { max-width: 60rem; margin: 0 auto; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0,0,0,.25);
  padding: 1.2rem 1.4rem; display: grid; gap: 1rem; align-items: center; border-top: 4px solid var(--accent); }
.consent__box p { margin: 0; font-size: .95rem; }
.consent__actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.consent__actions .btn { flex: 1 1 10rem; }
@media (min-width: 760px) { .consent__box { grid-template-columns: 1fr auto; } .consent__actions .btn { flex: none; } }
