/* ==========================================================================
   Hotelier101 – main stylesheet
   Visual language mirrors basitotel.com: Montserrat headings, Open Sans body,
   primary colour = Hotelier101 logo cyan #09AFDE, generous white space, rounded cards, pill buttons.
   ========================================================================== */

:root {
  --blue: #09AFDE;
  --blue-600: #0798C2;
  --blue-700: #067C9F;
  --blue-50: #ECF9FD;
  --blue-100: #D2F1FA;
  --ink: #1a1a1a;
  --ink-70: rgba(26, 26, 26, .7);
  --ink-60: rgba(26, 26, 26, .6);
  --line: rgba(26, 26, 26, .12);
  --bg-soft: #f5f5f5;
  --dark: #0b1220;
  --green: #22C55E;
  --radius: 16px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, .12);
  --head: "Montserrat", "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --body: "Open Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --container: 1200px;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.65; color: var(--ink); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid rgba(9, 175, 222, .45); outline-offset: 2px; border-radius: 4px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.text-blue { color: var(--blue); }
.center { text-align: center; }
.muted { color: var(--ink-70); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 1000; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-family: var(--head); font-weight: 700; font-size: 15px; line-height: 1; padding: 18px 32px; border-radius: 9999px; border: 2px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; text-align: center; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(9, 175, 222, .3); }
.btn--primary:hover { background: var(--blue-600); color: #fff; }
.btn--outline { background: #fff; color: var(--ink); border-color: var(--blue-100); }
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--white { background: #fff; color: var(--blue); }
.btn--white:hover { color: var(--blue-700); box-shadow: var(--shadow-lg); }
.btn--ghost-white { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.btn--ghost-white:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn--block { width: 100%; border-radius: var(--radius-sm); padding: 16px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(180%) blur(10px); -webkit-backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(15, 23, 42, .06); border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 24px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 56px; width: auto; }
@media (max-width: 600px) { .brand img { height: 52px; } }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav > a { white-space: nowrap; font-family: var(--head); font-weight: 600; font-size: 14.5px; color: var(--ink); padding: 10px 14px; border-radius: 8px; transition: color .2s, background .2s; }
.main-nav > a:hover, .main-nav > a[aria-current="page"] { color: var(--blue); }
.main-nav > a.nav-cta { background: var(--blue-100); color: var(--blue-600); padding: 10px 16px; margin-left: 6px; }
.main-nav > a.nav-cta:hover { background: var(--blue); color: #fff; }
.main-nav > a.nav-cta[aria-current="page"] { background: var(--blue); color: #fff; }

.lang-switch { position: relative; margin-left: 8px; }
.lang-switch__btn { display: inline-flex; align-items: center; gap: 6px; font-family: var(--head); font-weight: 700; font-size: 13px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 9999px; padding: 8px 12px; cursor: pointer; }
.lang-switch__btn:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch__btn svg { width: 16px; height: 16px; }
.lang-switch__menu { position: absolute; right: 0; top: calc(100% + 8px); min-width: 180px; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 6px; list-style: none; margin: 0; display: none; }
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu a { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 600; }
.lang-switch__menu a:hover, .lang-switch__menu a[aria-current="true"] { background: var(--blue-50); color: var(--blue); }
.lang-switch__menu small { color: var(--ink-60); font-weight: 700; }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 1240px) {
  .nav-toggle { display: inline-flex; }
  .main-nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; padding: 12px 24px 24px; gap: 2px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .2s; max-height: calc(100vh - var(--header-h)); overflow: auto; }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav > a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav > a.nav-cta { margin: 12px 0 0; text-align: center; border-radius: 9999px; border: 0; }
  .lang-switch { margin: 12px 0 0; }
  .lang-switch__menu { position: static; display: flex; flex-wrap: wrap; box-shadow: none; border: 0; padding: 8px 0 0; }
  .lang-switch__btn { display: none; }
  .lang-switch__menu li { flex: 1 1 30%; }
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding: 110px 0 120px; text-align: center; background: #fff; }
.hero__rings { position: absolute; inset: 0; pointer-events: none; }
.hero__rings span { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(26, 26, 26, .06); border-radius: 50%; transform: translate(-50%, -50%); }
.hero__rings span:nth-child(1) { width: 380px; height: 380px; }
.hero__rings span:nth-child(2) { width: 640px; height: 640px; }
.hero__rings span:nth-child(3) { width: 900px; height: 900px; }
.hero__rings span:nth-child(4) { width: 1180px; height: 1180px; }
.hero__float { position: absolute; width: 52px; height: 52px; border-radius: 14px; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; color: var(--blue); animation: float 6s ease-in-out infinite; }
.hero__float svg { width: 24px; height: 24px; }
.hero__float--1 { left: 18%; top: 14%; }
.hero__float--2 { right: 16%; top: 22%; animation-delay: -2s; }
.hero__float--3 { left: 12%; bottom: 18%; animation-delay: -4s; }
.hero__float--4 { right: 20%; bottom: 14%; animation-delay: -1s; }
@keyframes float { 50% { transform: translateY(-12px); } }
.hero .container { position: relative; }
.kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); background: var(--blue-50); padding: 8px 14px; border-radius: 9999px; margin-bottom: 22px; }
.hero h1 { font-weight: 900; font-size: clamp(38px, 7vw, 88px); letter-spacing: -.01em; line-height: 1.04; margin-bottom: 28px; }
.hero h1 .line { display: block; text-wrap: balance; }
.hero__sub { text-wrap: pretty; }
.hero__sub { font-weight: 600; font-size: clamp(17px, 2vw, 22px); color: var(--ink-70); max-width: 780px; margin: 0 auto 40px; }
.hero__price { display: inline-block; margin: -16px auto 36px; padding: 10px 18px; border-radius: 9999px; background: var(--blue-50); border: 1px solid var(--blue-100); font-size: 15px; color: var(--ink-70); }
.hero__price strong { color: var(--blue-700); font-family: var(--head); font-weight: 800; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }
.hero__ctas .btn { min-width: 240px; padding: 22px 36px; font-size: 16px; }

.photo-band { background: #fff; padding-top: 16px; }
.photo-band img { width: 100%; max-width: 1920px; height: auto; margin: 0 auto; }
@media (max-width: 760px) { .photo-band img { aspect-ratio: 1600 / 950; object-fit: cover; object-position: 55% 50%; } } /* phones: crop the sides, keeping the devices (right of centre) in view */

/* ---------- Why (dark overlay) ---------- */
.why { position: relative; color: #fff; padding: 120px 0; overflow: hidden; }
.why__bg { position: absolute; inset: 0; }
.why__bg img { width: 100%; height: 100%; object-fit: cover; }
.why__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0, 0, 0, .72), rgba(0, 0, 0, .6), rgba(0, 0, 0, .5)); }
.why .container { position: relative; }
.why__top { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.why h2 { color: #fff; font-weight: 900; font-size: clamp(40px, 6vw, 76px); line-height: 1.05; }
.why h2 .text-blue { display: block; }
.why__intro { font-weight: 600; font-size: 18px; color: rgba(255, 255, 255, .85); max-width: 640px; margin: 0; }
.why__label { justify-self: end; border-top: 1px solid rgba(255, 255, 255, .4); padding-top: 14px; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .7); min-width: 160px; }
.glass-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.glass { background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 28px 24px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.glass__icon { width: 48px; height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .2); display: grid; place-items: center; margin-bottom: 18px; color: #fff; }
.glass__icon svg { width: 24px; height: 24px; }
.glass h3 { color: #fff; font-size: 20px; font-weight: 800; }
.glass p { color: rgba(255, 255, 255, .8); font-size: 14.5px; margin: 0; }

/* ---------- Section headings ---------- */
.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head h2 { font-weight: 800; font-size: clamp(32px, 4.6vw, 54px); }
.sec-head h2 .text-blue { display: block; }
.sec-head p { color: var(--ink-70); max-width: 720px; margin: 0 auto; font-size: 17px; }
.label { display: inline-block; font-family: var(--head); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }

/* ---------- Key features ---------- */
.grid-bg { background-color: #fff; background-image: linear-gradient(to right, rgba(128, 128, 128, .06) 1px, transparent 1px), linear-gradient(rgba(128, 128, 128, .06) 1px, transparent 1px); background-size: 48px 48px; }
.kf { display: grid; grid-template-columns: 2fr 1fr; gap: 28px; align-items: stretch; }
.kf__list { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.kf__list .num-card:first-child { grid-column: 1 / -1; } /* featured: Reservation Management (PMS) */
.num-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; transition: box-shadow .25s, transform .25s, border-color .25s; }
.num-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-100); }
.num-card__num { display: inline-grid; place-items: center; width: 44px; height: 36px; border-radius: 8px; background: var(--blue-100); color: var(--blue-600); font-family: var(--head); font-weight: 700; font-size: 14px; margin-bottom: 22px; }
.num-card h3 { font-size: 22px; font-weight: 800; }
.num-card p { color: var(--ink-70); font-size: 15px; margin: 0; }
.more-card { border-radius: var(--radius); padding: 40px 32px; background: linear-gradient(to bottom right, rgba(9, 175, 222, .12), rgba(9, 175, 222, .04)); border: 1px solid var(--blue-100); display: flex; flex-direction: column; justify-content: center; text-align: center; }
.more-card h3 { color: var(--blue-600); font-size: 26px; font-weight: 800; }
.more-card p { color: var(--ink-70); }
.more-card .btn { align-self: center; margin-top: 12px; }

/* ---------- Integrations teaser ---------- */
.int { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.int h2 { font-weight: 800; font-size: clamp(32px, 4.4vw, 52px); }
.int h2 span { display: block; }
.int p { color: var(--ink-70); }
.logo-panel { background: linear-gradient(#fff, #f5f5f5); border: 1px solid var(--line); border-radius: 24px; padding: 28px; box-shadow: var(--shadow); display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.logo-tile { aspect-ratio: 1 / 1; display: grid; place-items: center; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-family: var(--head); font-weight: 800; font-size: 14px; color: #333; padding: 8px; box-shadow: 0 4px 12px rgba(15, 23, 42, .04); transition: transform .2s, color .2s; }
.logo-tile:hover { transform: translateY(-3px); color: var(--blue); }

/* ---------- Dark product section ---------- */
.dark { background: radial-gradient(1200px 500px at 80% 0%, rgba(9, 175, 222, .18), transparent 60%), var(--dark); color: #fff; }
.dark .split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: center; }
.dark h2 { color: #fff; font-weight: 900; font-size: clamp(34px, 4.6vw, 58px); }
.dark h2 .text-blue { display: block; }
.dark p { color: rgba(255, 255, 255, .78); font-size: 17px; }
.checks { list-style: none; padding: 0; margin: 0 0 32px; }
.checks li { display: flex; gap: 12px; align-items: center; padding: 7px 0; font-weight: 600; }
.checks svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--blue); }
.dark .shot { border-radius: 20px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .12); }

/* ---------- Testimonials ---------- */
.tests { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; margin: 0; }
.test__stars { color: #F59E0B; letter-spacing: 2px; margin-bottom: 12px; }
.test h3 { font-size: 20px; font-weight: 800; }
.test blockquote { margin: 0 0 20px; color: var(--ink-70); flex: 1; }
.test figcaption { display: flex; gap: 12px; align-items: center; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; font-family: var(--head); font-weight: 800; }
.test figcaption strong { display: block; font-family: var(--head); font-size: 15px; }
.test figcaption span { font-size: 13.5px; color: var(--ink-60); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--blue), var(--blue-600)); color: #fff; text-align: center; padding: 110px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(to right, rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px); background-size: 48px 48px; }
.cta-band .container { position: relative; }
.cta-band h2 { color: #fff; font-weight: 900; font-size: clamp(40px, 6.4vw, 84px); line-height: 1.02; }
.cta-band h2 span { display: block; }
.cta-band p { color: rgba(255, 255, 255, .88); font-size: 19px; font-weight: 600; max-width: 680px; margin: 0 auto 36px; }
.cta-band .hero__ctas .btn { min-width: 220px; }

/* ---------- References ---------- */
.refs { background: #000; padding: 64px 0; text-align: center; }
.refs .label { color: var(--blue); }
.refs__row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 48px; margin-top: 18px; }
.refs__row img { width: 160px; height: 70px; object-fit: contain; opacity: .8; filter: grayscale(1); transition: opacity .2s, filter .2s; }
.refs__row img:hover { opacity: 1; filter: none; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: linear-gradient(180deg, var(--blue-50), #fff); padding: 96px 0 72px; text-align: center; }
.page-hero h1 { font-weight: 900; font-size: clamp(40px, 6vw, 72px); }
.page-hero p { color: var(--ink-70); font-size: 18px; font-weight: 600; max-width: 760px; margin: 0 auto; }
.page-hero--blue { background: linear-gradient(135deg, var(--blue), var(--blue-600)); padding: 72px 0 96px; }
.page-hero--blue h1 { color: #fff; font-size: clamp(38px, 5vw, 60px); }
.page-hero--blue p { color: rgba(255, 255, 255, .9); }
.breadcrumbs { font-size: 13.5px; margin-bottom: 18px; color: var(--ink-60); }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: inline-flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: inherit; }
.page-hero--blue .breadcrumbs { color: rgba(255, 255, 255, .8); }

/* ---------- Feature grid (features page) ---------- */
.fgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.fgrid .num-card h3 { font-size: 19px; }
.feature-shot { margin-top: 72px; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }

/* ---------- Pricing ---------- */
.calc { max-width: 760px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); padding: 40px; text-align: center; }
.calc h2 { font-size: 28px; font-weight: 800; }
.calc label { display: block; font-family: var(--head); font-weight: 700; margin: 18px 0 8px; }
.calc input[type="number"] { width: 220px; max-width: 100%; text-align: center; font-size: 20px; font-weight: 700; }
.billing-toggle { display: inline-flex; background: var(--bg-soft); border-radius: 9999px; padding: 4px; margin-top: 20px; }
.billing-toggle button { border: 0; background: transparent; padding: 10px 18px; border-radius: 9999px; font-family: var(--head); font-weight: 700; font-size: 14px; cursor: pointer; color: var(--ink-70); }
.billing-toggle button[aria-pressed="true"] { background: #fff; color: var(--blue); box-shadow: 0 2px 8px rgba(15, 23, 42, .1); }
.check--center { justify-content: center; margin: 14px 0 0; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer; }
.price-out { margin-top: 28px; padding: 28px; border-radius: 16px; background: var(--blue-50); }
.price-out__amount { font-family: var(--head); font-weight: 900; font-size: 56px; color: var(--blue-600); line-height: 1; }
.price-out__amount small { font-size: 18px; color: var(--ink-60); font-weight: 700; }
.price-out__note { color: var(--ink-70); margin: 10px 0 0; font-size: 14.5px; }
.price-out__addon { margin-top: 10px; font-weight: 600; font-size: 15px; }
.price-out .btn { margin-top: 22px; }
.ptable-wrap { overflow-x: auto; margin-top: 56px; }
.ptable { width: 100%; border-collapse: collapse; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ptable th, .ptable td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.ptable th { font-family: var(--head); font-size: 14px; background: var(--blue-50); color: var(--blue-700); }
.ptable td:not(:first-child) { font-weight: 700; }
.included { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 56px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.box h3 { font-size: 21px; font-weight: 800; }
.box .checks li { font-weight: 500; }
.small-note { font-size: 13.5px; color: var(--ink-60); margin-top: 18px; }

.faq { max-width: 860px; margin: 0 auto; }
.faq__item { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; background: #fff; overflow: hidden; }
.faq__q { width: 100%; text-align: left; background: none; border: 0; padding: 22px 24px; font-family: var(--head); font-weight: 700; font-size: 17px; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 16px; cursor: pointer; }
.faq__q::after { content: "+"; font-size: 26px; color: var(--blue); line-height: 1; transition: transform .2s; }
.faq__item.is-open .faq__q::after { transform: rotate(45deg); }
.faq__a { padding: 0 24px 22px; color: var(--ink-70); }
.js .faq__item:not(.is-open) .faq__a { display: none; }

.custom-cta { margin-top: 72px; text-align: center; background: var(--blue-50); border-radius: 24px; padding: 56px 32px; }
.custom-cta h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; }
.custom-cta p { color: var(--ink-70); max-width: 640px; margin: 0 auto 24px; }

/* ---------- Integrations page ---------- */
.int-cat { margin-bottom: 48px; }
.int-cat h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 12px; }
.int-cat h2::before { content: ""; width: 10px; height: 28px; border-radius: 4px; background: var(--blue); }
.int-cat p { color: var(--ink-70); max-width: 760px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; padding: 0; margin: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 20px; font-family: var(--head); font-weight: 700; font-size: 15px; box-shadow: 0 4px 12px rgba(15, 23, 42, .04); }
.chips li small { display: block; font-family: var(--body); font-weight: 600; font-size: 12px; color: var(--ink-60); }

/* ---------- About ---------- */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-2 img { border-radius: 20px; box-shadow: var(--shadow-lg); }
.split-2 h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 800; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 24px; }
.stat { text-align: center; padding: 32px; border-radius: var(--radius); background: var(--blue-50); }
.stat strong { display: block; font-family: var(--head); font-weight: 900; font-size: 34px; color: var(--blue-600); }
.stat span { color: var(--ink-70); font-weight: 600; }

/* ---------- Forms (signup + contact) ---------- */
.form-card { max-width: 640px; margin: -56px auto 0; position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 44px; }
.form-card h2 { font-size: 30px; font-weight: 800; margin-bottom: 8px; }
.form-card > p { color: var(--ink-70); margin-bottom: 28px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--ink); }
.field label .req { color: var(--ink); }
.input, .field input, .field select, .field textarea { width: 100%; height: 44px; border: 1px solid rgba(26, 26, 26, .2); border-radius: 6px; padding: 4px 16px; font-family: var(--body); font-size: 14.5px; color: var(--ink); background: #fff; transition: border-color .2s, box-shadow .2s; }
.field textarea { height: auto; min-height: 140px; padding: 12px 16px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(26, 26, 26, .45); }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(9, 175, 222, .15); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #DC2626; }
.field .error { display: none; color: #DC2626; font-size: 13px; margin-top: 6px; }
.field.has-error .error { display: block; }
.phone-group { display: grid; grid-template-columns: 150px 1fr; gap: 10px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--ink-70); margin-bottom: 18px; }
.check input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }
.form-note { text-align: center; font-size: 13px; color: var(--ink-60); margin: 16px 0 0; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 16px; border-radius: 8px; margin-bottom: 18px; font-size: 14.5px; }
.form-alert.is-error { display: block; background: #FEF2F2; color: #991B1B; border: 1px solid #FECACA; }
.form-success { display: none; text-align: center; padding: 24px 0; }
.form-success__icon { width: 72px; height: 72px; border-radius: 50%; background: #DCFCE7; color: #16A34A; display: grid; place-items: center; margin: 0 auto 18px; }
.form-success__icon svg { width: 36px; height: 36px; }
.form-success h2 { font-size: 26px; }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 900px; margin: 64px auto 0; text-align: center; }
.benefit__icon { width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; font-weight: 800; }
.benefit h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.benefit p { font-size: 14px; color: var(--ink-70); margin: 0; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 40px; align-items: start; }
.info-list { display: grid; gap: 16px; }
.info-item { display: flex; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.info-item__icon { width: 46px; height: 46px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex-shrink: 0; }
.info-item__icon svg { width: 22px; height: 22px; }
.info-item h3 { font-size: 15px; margin-bottom: 2px; }
.info-item p, .info-item a { margin: 0; color: var(--ink-70); font-size: 15px; }
.contact-grid .form-card { margin: 0; max-width: none; }
.regional { margin-top: 24px; }
.regional table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.regional td { padding: 10px 0; border-bottom: 1px solid var(--line); }
.regional td:last-child { text-align: right; font-weight: 700; }

/* ---------- Prose (privacy / about) ---------- */
.prose { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: 26px; font-weight: 800; margin-top: 1.8em; }
.prose p, .prose li { color: #333; }
.notice { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin-bottom: 32px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-soft); padding: 72px 0 0; }
.footer-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 48px; }
.footer-brand img { height: 120px; width: auto; margin-bottom: 18px; }
.footer-brand p { color: var(--ink-70); font-size: 15px; max-width: 360px; }
.footer-contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-70); }
.footer-contact svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; margin-top: 2px; }
.footer-contact a { color: var(--ink-70); }
.footer-contact a:hover { color: var(--blue); }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.footer-col { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: 0 4px 16px rgba(15, 23, 42, .04); }
.footer-col h2 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-col a { color: var(--ink-70); font-size: 14px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--line); padding: 22px 0; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13.5px; color: var(--ink-60); }
.footer-langs { display: flex; gap: 6px; flex-wrap: wrap; }
.footer-langs a { color: var(--ink-60); font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.footer-langs a[aria-current="true"], .footer-langs a:hover { background: #fff; color: var(--blue); }
.socials { display: flex; gap: 8px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: #fff; }
.socials a:hover { color: #fff; background: var(--blue); }
.socials svg { width: 17px; height: 17px; }

.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 25px rgba(34, 197, 94, .45); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); color: #fff; }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Cookie notice ---------- */
.cookie-notice { position: fixed; right: 20px; bottom: 92px; z-index: 95; width: min(400px, calc(100% - 40px)); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--blue); border-radius: 12px; box-shadow: var(--shadow-lg); padding: 18px 18px 16px; font-size: 14px; color: var(--ink-70); animation: cookieIn .35s ease-out; }
.cookie-notice[hidden] { display: none !important; }
.cookie-notice p { margin: 0 0 12px; }
.cookie-notice a { color: var(--blue-700); }
.cookie-notice__actions { display: flex; justify-content: flex-end; gap: 10px; flex-wrap: wrap; }
.cookie-notice__actions .btn { padding: 10px 22px; font-size: 14px; min-width: 112px; justify-content: center; }
.cookie-notice__reject { border: 2px solid var(--blue) !important; color: var(--blue-700) !important; background: #fff !important; }
.cookie-notice__close { position: absolute; top: 6px; right: 8px; width: 30px; height: 30px; border: 0; background: none; font-size: 22px; line-height: 1; color: var(--ink-60); cursor: pointer; border-radius: 6px; }
.cookie-notice__close:hover { color: var(--ink); background: var(--bg-soft); }
@keyframes cookieIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) { .cookie-notice { right: 10px; left: 10px; width: auto; bottom: 88px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .glass-grid { grid-template-columns: repeat(2, 1fr); }
  .kf { grid-template-columns: 1fr; }
  .int, .dark .split, .split-2, .contact-grid { grid-template-columns: 1fr; }
  .fgrid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .why__top { grid-template-columns: 1fr; }
  .why__label { justify-self: start; }
}
@media (max-width: 760px) {
  .section { padding: 72px 0; }
  .hero { padding: 72px 0 84px; }
  .hero__float { display: none; }
  .hero__ctas .btn { width: 100%; min-width: 0; }
  .glass-grid, .kf__list, .fgrid, .tests, .values, .benefits, .included, .footer-cols { grid-template-columns: 1fr; }
  .logo-panel { grid-template-columns: repeat(3, 1fr); padding: 18px; }
  .form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .phone-group { grid-template-columns: 120px 1fr; }
  .calc { padding: 28px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .wa-float, .cta-band { display: none !important; }
}

/* ---------- Utilities (no inline styles, so the strict CSP works) ---------- */
.pt-0 { padding-top: 0 !important; }
.pt-sm { padding-top: 28px !important; }
.mt-md { margin-top: 28px !important; }
.m-0 { margin: 0 !important; }
.bg-soft { background: var(--bg-soft); }
.h-md { font-size: 28px; font-weight: 800; }
.h-sm { font-size: 17px; }
.h-card { font-size: 19px; font-weight: 800; }
.h-box { font-size: 21px; font-weight: 800; }
.page-hero--404 { padding: 120px 0; }

/* ---- 2026-11 PT sales-team update ---- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* feature-card icons (replace 01/02/03 numbering) */
.num-card__icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--blue-100); color: var(--blue-600); margin-bottom: 20px; }
.num-card__icon svg { width: 24px; height: 24px; }
.badge-new { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 3px 9px; border-radius: 999px; background: var(--blue); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
/* hero rotating word */
.rotator { display: inline-grid; justify-items: center; max-width: 100%; color: var(--blue); }
.rotator__word { grid-area: 1 / 1; opacity: 0; transform: translateY(.25em); transition: opacity .45s, transform .45s; }
.rotator__word.is-on { opacity: 1; transform: none; }
.rotator--plain { color: inherit; justify-items: start; }
@media (prefers-reduced-motion: reduce) { .rotator__word { transition: none; } }
/* grouped integrations on home (PT) */
.int-groups { display: grid; gap: 22px; }
.int-group h3 { font-size: 15px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-70); margin-bottom: 10px; }
.logo-panel--sm { list-style: none; margin: 0; padding: 16px; }
.logo-panel--sm .logo-tile { aspect-ratio: auto; min-height: 64px; font-size: 13px; }
.narrow { max-width: 820px; }
/* long words (e.g. PT "impulsionam") must never push the page sideways on phones */
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 600px) { h1, h2, h3 { hyphens: auto; } }
@media (max-width: 600px) {
  .int h2 { font-size: clamp(28px, 8.5vw, 40px); }
  .logo-panel--sm { grid-template-columns: repeat(2, 1fr); }
}
.int > *, .split > *, .split-2 > * { min-width: 0; } /* grid children may shrink below their content width on phones */
@media (max-width: 600px) {
  .logo-panel { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 14px; }
  .logo-tile { font-size: 12px; overflow-wrap: anywhere; }
  .logo-panel--sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.kf__list .num-card:last-child:nth-child(even) { grid-column: 1 / -1; } /* an odd card left over at the end spans the full row */

/* ---- partner logo cards (Integrations page) ---- */
.pcards { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.pcard { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 14px 10px 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; text-align: center; box-shadow: 0 4px 12px rgba(15, 23, 42, .04); transition: border-color .2s, box-shadow .2s; }
.pcard:hover { border-color: var(--blue-100); box-shadow: 0 8px 20px rgba(15, 23, 42, .08); }
.pcard__logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; }
.pcard__logo img { max-width: 100%; filter: grayscale(1) contrast(1.35) brightness(.88); opacity: .8; transition: filter .25s, opacity .25s; }
.pcard:hover .pcard__logo img { filter: none; opacity: 1; }
.pcard__logo--text { font-family: var(--head); font-weight: 800; font-size: 15px; line-height: 1.25; color: #333; }
.pcard__name { font-size: 12.5px; line-height: 1.3; color: var(--ink-60); }

/* homepage integration tiles with partner logos (no captions; names are in the alt text) */
.logo-tile--img img { max-width: 100%; height: auto; filter: grayscale(1) contrast(1.35) brightness(.88); opacity: .8; transition: filter .25s, opacity .25s; }
.logo-tile--img:hover img { filter: none; opacity: 1; }
