/* ==========================================================================
   GTECH Solutions — site styles
   Brand palette (blue + gold) derived from the logo.
   ========================================================================== */

:root {
  --brand-50:  #eef5ff;
  --brand-100: #d9e8ff;
  --brand-200: #bcd6ff;
  --brand-300: #8ebbff;
  --brand-700: #0b4da2;
  --brand-800: #0a3d80;
  --brand-900: #0a2a5e;
  --brand-950: #061c40;

  --gold-50:  #fff8eb;
  --gold-100: #fdecc8;
  --gold-200: #fbd88f;
  --gold-400: #f5a623;
  --gold-500: #e0951c;

  --ink:     #0f1b2d;
  --text:    #475569;
  --text-muted: #64748b;
  --line:    #e2e8f0;
  --line-soft: #eef2f7;
  --bg:      #ffffff;
  --bg-alt:  #f8fafc;

  --radius:   14px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow-card: 0 1px 2px rgba(15,27,45,.04), 0 12px 32px -12px rgba(15,27,45,.18);
  --shadow-hover: 0 2px 6px rgba(15,27,45,.06), 0 24px 48px -16px rgba(11,77,162,.28);

  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-head: "Poppins", var(--font-body);
  --container: 1180px;
}

/* ---- Reset ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; font-weight: 700; }
::selection { background: rgba(11,77,162,.15); color: var(--brand-900); }

/* ---- Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

.section { padding: 80px 0; }
@media (min-width: 768px) { .section { padding: 112px 0; } }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 640px; margin: 0 auto; text-align: center; }
.section-head.left { margin: 0; text-align: left; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-top: 16px; }
.section-head p { margin-top: 16px; font-size: 1rem; color: var(--text); }
.section-head.on-dark h2 { color: #fff; }
.section-head.on-dark p { color: #cbd5e1; }

/* ---- Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .01em;
  padding: 13px 24px; border-radius: var(--radius-lg); border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s, box-shadow .18s;
}
.btn svg { width: 16px; height: 16px; }
.btn-sm { padding: 10px 18px; font-size: .8rem; }
.btn-primary { background: var(--gold-400); color: var(--ink); box-shadow: 0 10px 30px -10px rgba(245,166,35,.7); }
.btn-primary:hover { background: var(--gold-500); }
.btn-dark { background: var(--brand-700); color: #fff; }
.btn-dark:hover { background: var(--brand-800); }
.btn-outline { background: rgba(255,255,255,.05); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--brand-50); border-color: var(--brand-300); }
.btn:focus-visible { outline: 2px solid var(--brand-700); outline-offset: 2px; }

/* ---- Eyebrow pill ------------------------------------------------------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: .72rem;
  text-transform: uppercase; letter-spacing: .14em;
  padding: 6px 14px; border-radius: var(--radius-pill);
  background: var(--brand-50); color: var(--brand-700); border: 1px solid var(--brand-100);
}
.eyebrow.on-dark {
  background: rgba(255,255,255,.05); color: var(--gold-400); border-color: rgba(255,255,255,.15);
}

/* ---- Header ------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid transparent;
  transition: border-color .2s, background-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1.1rem; color: var(--ink); }
.brand-name span { color: var(--brand-700); }
.brand-sub { font-size: .66rem; text-transform: uppercase; letter-spacing: .22em; color: var(--gold-500); }

.nav-desktop { display: none; align-items: center; gap: 32px; }
.nav-desktop a { font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--text); transition: color .15s; }
.nav-desktop a:hover, .nav-desktop a.is-active { color: var(--brand-700); }
.header-cta { display: none; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line);
  border-radius: 12px; background: #fff; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--ink); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile { border-top: 1px solid var(--line-soft); background: #fff; }
.nav-mobile .container { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; padding-bottom: 16px; }
.nav-mobile a { font-family: var(--font-head); font-weight: 500; font-size: .95rem; color: #334155; padding: 12px; border-radius: 12px; }
.nav-mobile a:hover { background: var(--brand-50); color: var(--brand-700); }
.nav-mobile .btn { margin-top: 8px; }

@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-cta { display: flex; }
  .nav-toggle, .nav-mobile { display: none; }
}

/* ---- Hero ------------------------------------------------------------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 560px;
  background: linear-gradient(180deg, var(--brand-950) 0%, var(--brand-900) 100%);
}
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, rgba(6,28,64,.95) 0%, rgba(6,28,64,.7) 52%, rgba(10,42,94,.1) 100%);
}
.hero-inner { width: 100%; padding-top: 72px; padding-bottom: 72px; }
@media (min-width: 768px) { .hero-inner { padding-top: 88px; padding-bottom: 88px; } }
.hero-content { max-width: 720px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 3.75rem); margin-top: 24px; line-height: 1.08; }
.hero h1 .accent { color: var(--gold-400); }
.hero p.lead { margin-top: 24px; font-size: 1.125rem; color: #cbd5e1; max-width: 620px; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }
.hero-note { margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; font-size: .875rem; color: #94a3b8; }
.hero-note svg { width: 16px; height: 16px; color: var(--gold-400); }

/* ---- About ---------------------------------------------------------------- */
.about-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.about-copy h2 { font-size: clamp(1.9rem, 4vw, 2.4rem); margin-top: 16px; }
.about-copy p { margin-top: 18px; }
.about-list { margin-top: 24px; list-style: none; padding: 0; display: grid; gap: 12px; }
.about-list li { display: flex; align-items: flex-start; gap: 12px; font-size: .9rem; color: var(--ink); }
.about-list svg { width: 20px; height: 20px; color: var(--brand-700); flex-shrink: 0; margin-top: 1px; }
.about-media { position: relative; }
.about-media .frame {
  overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line);
  box-shadow: var(--shadow-card); aspect-ratio: 4 / 3;
}
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; left: -16px; bottom: -20px; background: var(--brand-700); color: #fff;
  padding: 16px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover);
}
.about-badge strong { font-family: var(--font-head); font-size: 1.6rem; display: block; line-height: 1; }
.about-badge span { font-size: .72rem; color: var(--brand-100); }
@media (max-width: 560px) { .about-badge { display: none; } }

/* ---- Cards grid ------------------------------------------------------- */
.grid-3 { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; box-shadow: var(--shadow-card);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--brand-200); box-shadow: var(--shadow-hover); }
.card-icon {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: var(--radius);
  background: var(--brand-50); color: var(--brand-700); transition: background-color .2s, color .2s;
}
.card:hover .card-icon { background: var(--brand-700); color: #fff; }
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.1rem; margin-top: 20px; }
.card p { margin-top: 8px; font-size: .9rem; }

/* ---- Reasons ------------------------------------------------------------ */
.reasons { display: grid; gap: 40px 32px; margin-top: 56px; }
@media (min-width: 640px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .reasons { grid-template-columns: repeat(3, 1fr); } }
.reason { display: flex; gap: 16px; }
.reason-icon {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--gold-50); color: var(--gold-500); border: 1px solid var(--gold-200);
}
.reason-icon svg { width: 20px; height: 20px; }
.reason h3 { font-size: 1rem; }
.reason p { margin-top: 6px; font-size: .9rem; }

/* ---- Packages --------------------------------------------------------- */
.packages { display: grid; gap: 24px; margin-top: 56px; }
@media (min-width: 1000px) { .packages { grid-template-columns: repeat(3, 1fr); } }
.pkg {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px; box-shadow: var(--shadow-card);
}
.pkg.featured { border-color: var(--brand-700); box-shadow: var(--shadow-hover); outline: 1px solid var(--brand-700); }
.pkg-flag {
  position: absolute; top: -12px; left: 32px;
  background: var(--brand-700); color: #fff; font-family: var(--font-head);
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  padding: 4px 12px; border-radius: var(--radius-pill);
}
.pkg h3 { font-size: 1.1rem; }
.pkg-price { margin-top: 12px; display: flex; align-items: baseline; gap: 6px; }
.pkg-price strong { font-family: var(--font-head); font-size: 1.9rem; color: var(--ink); }
.pkg-price span { font-size: .875rem; color: var(--text-muted); }
.pkg ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; flex: 1; }
.pkg li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; }
.pkg li svg { width: 16px; height: 16px; color: var(--brand-700); flex-shrink: 0; margin-top: 3px; }
.pkg .btn { margin-top: 32px; }

/* ---- CTA band ------------------------------------------------------------ */
.cta { background: var(--brand-900); }
.cta .container { display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 64px; padding-bottom: 64px; text-align: center; }
.cta h2 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.4rem); max-width: 760px; }
.cta p { color: #cbd5e1; max-width: 620px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; }

/* ---- Contact page ---------------------------------------------------- */
.page-hero { background: var(--brand-950); }
.page-hero .container { padding-top: 80px; padding-bottom: 88px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3rem); margin-top: 20px; max-width: 760px; }
.page-hero p { margin-top: 20px; font-size: 1.125rem; color: #cbd5e1; max-width: 620px; }

.contact-grid { display: grid; gap: 56px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.1fr; } }
.contact-info h2 { font-size: 1.5rem; }
.contact-info > p { margin-top: 12px; font-size: .9rem; }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 20px; }
.contact-list li { display: flex; align-items: flex-start; gap: 16px; }
.contact-list .ci {
  flex-shrink: 0; width: 44px; height: 44px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-50); color: var(--brand-700);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list .cl { font-family: var(--font-head); font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.contact-list .cv { color: var(--ink); }
.contact-list a.cv:hover { color: var(--brand-700); }

.contact-aside { margin-top: 40px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.contact-aside h3 { font-size: 1rem; }
.contact-aside p { margin-top: 6px; font-size: .9rem; }
.contact-aside .row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); padding: 28px; }
@media (min-width: 640px) { .contact-card { padding: 36px; } }
.contact-card h2 { font-size: 1.5rem; }
.contact-card > p { margin-top: 8px; font-size: .9rem; }

.form { display: grid; gap: 16px; margin-top: 24px; }
.field { display: grid; gap: 6px; }
.field label { font-family: var(--font-head); font-weight: 500; font-size: .875rem; color: var(--ink); }
.field input, .field textarea {
  font: inherit; color: var(--ink); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand-300); box-shadow: 0 0 0 3px var(--brand-50); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert { border-radius: var(--radius); padding: 14px 16px; font-size: .9rem; }
.alert-ok { background: var(--brand-50); border: 1px solid var(--brand-100); color: var(--brand-900); }
.alert-err { background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; }

/* ---- Footer -------------------------------------------------------------- */
.site-footer { background: var(--brand-950); color: #cbd5e1; }
.footer-grid { display: grid; gap: 40px; padding: 56px 20px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); padding: 56px 32px; } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-logo { display: flex; align-items: center; gap: 12px; }
.footer-logo img { width: 40px; height: 40px; }
.footer-logo span { font-family: var(--font-head); font-weight: 600; font-size: 1rem; color: #fff; }
.footer-logo span span { color: var(--gold-400); }
.footer-brand p { margin-top: 16px; font-size: .875rem; color: #94a3b8; max-width: 280px; }
.footer-reg { margin-top: 16px !important; font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-400) !important; }
.footer-col h3 { font-family: var(--font-head); font-size: .82rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #fff; }
.footer-col ul { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.footer-col a { font-size: .9rem; color: #94a3b8; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-contact { margin-top: 16px; display: grid; gap: 12px; }
.footer-contact li, .footer-contact { font-size: .9rem; color: #94a3b8; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; }
.footer-contact svg, .i-sm { width: 16px; height: 16px; color: var(--gold-400); flex-shrink: 0; margin-top: 2px; }
.footer-wa { margin-top: 20px; width: 100%; }
.footer-bar { border-top: 1px solid rgba(255,255,255,.1); }
.footer-bar .container { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; padding-bottom: 24px; font-size: .78rem; color: #64748b; }
@media (min-width: 640px) { .footer-bar .container { flex-direction: row; justify-content: space-between; } }

/* ---- 404 -------------------------------------------------------------- */
.err { min-height: 60vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 12px; padding: 96px 20px; }
.err .code { font-family: var(--font-head); font-size: 4rem; font-weight: 700; color: var(--brand-700); }
.err p { max-width: 420px; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
