/*
Theme Name: SopidoTech LTD
Theme URI: https://sopidotech.com/
Author: SopidoTech LTD
Author URI: https://sopidotech.com/
Description: Production classic WordPress theme for SopidoTech LTD, preserving the supplied corporate design, responsive behavior and Tools experience.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: sopidotech
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: classic-theme, accessibility-ready, custom-logo, custom-menu, featured-images, translation-ready
*/

:root {
  --brand-blue: #0022E1;
  --brand-navy: #000E3A;
  --brand-black: #000000;
  --brand-gold: #FFE070;
  --brand-white: #FFFFFF;
  --ink: #11182b;
  --muted: #61708b;
  --line: #dfe5ef;
  --surface: #f4f7ff;
  --surface-blue: #eaf0ff;
  --surface-gold: #fff9df;
  --shadow: 0 18px 50px rgba(0, 14, 58, .10);
  --shadow-soft: 0 10px 28px rgba(0, 14, 58, .07);
  --radius: 14px;
  --max-width: 1180px;
  --header-height: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@supports (overflow: clip) { html { overflow-x: clip; } }
body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #fff;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; overscroll-behavior: none; touch-action: none; }
html.menu-open { overflow: hidden; overscroll-behavior: none; }
img, svg { display: block; }
img { max-width: 100%; height: auto; border-radius: var(--radius); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 16px;
}
.skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--brand-gold);
  color: #000;
  font-weight: 800;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid rgba(0, 34, 225, .28); outline-offset: 3px; }

/* Header */
.site-header {
  position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;

    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid rgba(223, 229, 239, 0.95);

    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);

    transition:
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(0, 14, 58, .09); }
.nav-wrap {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 190px; height: auto; border-radius: 0; }
.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  min-width: 0;
}
.nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: var(--radius);
  color: #29344e;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav a:hover, .nav a:focus-visible, .nav a.is-active { background: var(--surface-blue); color: var(--brand-blue); }
.nav .nav-cta {
  margin-left: 7px;
  padding-inline: 15px;
  background: var(--brand-blue);
  color: #fff;
  box-shadow: 0 9px 22px rgba(0, 34, 225, .18);
}
.nav .nav-cta:hover, .nav .nav-cta:focus-visible { background: var(--brand-navy); color: #fff; transform: translateY(-1px); }
.nav-toggle {
  display: none;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  cursor: pointer;
}
.nav-toggle span { display: block; width: 22px; height: 2px; margin: 4px auto; border-radius: 4px; background: var(--brand-navy); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Type and buttons */
h1, h2, h3 { margin: 0; color: var(--brand-navy); font-weight: 800; line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 780px; font-size: clamp(2.45rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0; }
.lead { max-width: 680px; color: #56637c; font-size: 1.125rem; }
.eyebrow, .kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--brand-blue);
  font-size: .75rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; flex: 0 0 28px; background: var(--brand-gold); }
.kicker { display: block; margin-bottom: 10px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  color: inherit;
  font-size: .875rem;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary, .btn-explore { background: var(--brand-blue); color: #fff; box-shadow: 0 12px 24px rgba(0, 34, 225, .18); }
.btn-primary:hover, .btn-primary:focus-visible, .btn-explore:hover, .btn-explore:focus-visible { background: var(--brand-navy); color: #fff; }
.btn-secondary { border-color: #cfd7e6; background: #fff; color: var(--brand-blue); }
.btn-secondary:hover, .btn-secondary:focus-visible { border-color: var(--brand-blue); background: var(--surface-blue); }
.btn-gold { background: var(--brand-gold); color: #000; }
.btn-gold:hover, .btn-gold:focus-visible { background: #ffe991; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 68px 0 78px; background: linear-gradient(135deg, #fff 0%, #f6f8ff 55%, #e9efff 100%); }
.hero::before { content: ""; position: absolute; top: -150px; right: -160px; width: 360px; height: 360px; border-radius: 50%; background: rgba(0, 34, 225, .07); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr); gap: 52px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero h1 span { color: var(--brand-blue); }
.hero .lead { margin: 24px 0 28px; }
.hero-media { position: relative; min-width: 0; }
.hero-media::after { content: ""; position: absolute; right: -18px; bottom: -18px; z-index: 0; width: 140px; height: 140px; border-radius: 28px; background: var(--brand-gold); }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1280 / 698; object-fit: cover; box-shadow: var(--shadow); }
.hero-note { margin-top: 13px; color: #6a758c; font-size: .8125rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 26px; }
.stat { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .82); }
.stat strong { display: block; color: var(--brand-navy); font-size: .9375rem; }
.stat span { display: block; margin-top: 4px; color: var(--muted); font-size: .75rem; line-height: 1.5; }

/* Sections, grids, cards */
.section { position: relative; padding: 88px 0; }
.section.alt { background: linear-gradient(180deg, #f7f9ff 0%, #edf2ff 100%); }
.section.alt::before { content: ""; position: absolute; top: 0; left: 0; width: 96px; height: 5px; border-radius: 0 8px 8px 0; background: var(--brand-blue); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 34px; }
.section-head > div, .section-head > p { min-width: 0; }
.section-head > p { max-width: 620px; color: var(--muted); }
.grid-3, .grid-4, .service-grid, .portfolio-grid, .feature-grid, .process, .gateway { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.process { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gateway { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.card, .service-card, .portfolio-item { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-top: 3px solid var(--brand-gold); border-radius: var(--radius); background: #fff; box-shadow: 0 7px 24px rgba(15, 31, 68, .045); }
.card { padding: 24px; }
.card:hover, .service-card:hover, .portfolio-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card, .service-card, .portfolio-item { transition: transform .2s ease, box-shadow .2s ease; }
.card p, .service-card p, .portfolio-copy p { margin-top: 9px; color: var(--muted); }
.icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid #d6def4; border-radius: var(--radius); background: var(--surface-blue); color: var(--brand-blue); font-size: .8125rem; font-weight: 900; }
.service-card { padding: 25px; }
.service-card .tag { display: inline-flex; margin-bottom: 15px; padding: 6px 9px; border-radius: 999px; background: var(--surface-blue); color: var(--brand-blue); font-size: .625rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.service-card h3 { font-size: 1.3125rem; }
.service-card ul { padding-left: 18px; color: #5c6880; font-size: .875rem; }
.service-card .more, .more { display: inline-flex; align-items: center; gap: 7px; margin-top: 17px; color: var(--brand-blue); font-size: .875rem; font-weight: 900; }
.more:hover { color: var(--brand-navy); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; margin-bottom: 16px; border: 1px solid #d8e0f4; border-radius: var(--radius); background: linear-gradient(135deg, #eef2ff, #fff8d7); color: var(--brand-blue); }
.service-icon img { width: 28px; height: 28px; border-radius: 0; object-fit: contain; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 54px; align-items: center; }
.split > * { min-width: 0; }
.split img { width: 100%; box-shadow: var(--shadow); }
.checklist { display: grid; gap: 12px; margin: 23px 0 0; padding: 0; list-style: none; }
.checklist li { display: flex; gap: 11px; align-items: flex-start; }
.checklist li::before { content: "✓"; flex: 0 0 24px; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-blue); color: var(--brand-blue); font-weight: 900; }
.portfolio-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 14px 14px 0 0; }
.portfolio-copy { padding: 20px; }
.portfolio-meta { color: var(--brand-blue); font-size: .6875rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

/* Page hero and CTA */
.page-hero { position: relative; overflow: hidden; padding: 66px 0; color: #fff; background: linear-gradient(135deg, var(--brand-navy), #09256d); }
.page-hero::after { content: ""; position: absolute; right: -100px; bottom: -140px; width: 330px; height: 330px; border-radius: 50%; background: rgba(0, 34, 225, .4); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; }
.page-hero p { max-width: 740px; margin-top: 15px; color: #d6deed; font-size: 1.125rem; }
.breadcrumbs { margin-bottom: 18px; color: #aebbd2; font-size: .8125rem; }
.breadcrumbs a { color: #fff; }
.cta { position: relative; overflow: hidden; padding: 50px; border-radius: var(--radius); color: #fff; background: var(--brand-navy); }
.cta::after { content: ""; position: absolute; top: -120px; right: -90px; width: 270px; height: 270px; border-radius: 50%; background: rgba(255, 224, 112, .12); }
.cta h2 { max-width: 720px; color: #fff; }
.cta p { max-width: 680px; margin-top: 10px; color: #cbd5e8; }
.cta .actions { position: relative; z-index: 1; margin-top: 24px; }
.detail-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.detail-hero > * { min-width: 0; }
.detail-hero img { width: 100%; box-shadow: 0 22px 50px rgba(0, 0, 0, .22); }
.faq { display: grid; gap: 10px; }
.faq details { padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.faq summary { color: var(--brand-navy); font-weight: 800; cursor: pointer; }
.note { padding: 18px 20px; border-left: 4px solid var(--brand-gold); border-radius: 0 var(--radius) var(--radius) 0; background: var(--surface-gold); color: #5c553c; }
.legal { max-width: 850px; }
.legal h2 { margin-top: 38px; font-size: 1.875rem; }
.legal p, .legal li { color: #58637a; }
.legal ul { padding-left: 20px; }
.gateway .card { min-height: 220px; display: flex; flex-direction: column; justify-content: space-between; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 22px; }
.contact-panel { padding: 30px; border-radius: var(--radius); color: #fff; background: linear-gradient(145deg, var(--brand-navy), #06184c); }
.contact-panel h2 { color: #fff; }
.contact-panel p { color: #cbd5e8; }
.contact-list { display: grid; gap: 14px; margin-top: 24px; }
.contact-item { display: flex; gap: 12px; align-items: flex-start; }
.contact-item b { display: block; }
.contact-item span { display: block; color: #cbd5e8; font-size: .875rem; }
.contact-form { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-soft); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: grid; gap: 7px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 800; }
.field input, .field select, .field textarea { width: 100%; min-width: 0; min-height: 48px; padding: 12px 13px; border: 1px solid #d3dbe9; border-radius: var(--radius); outline: none; background: #fff; color: var(--ink); }
.field textarea { min-height: 155px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand-blue); box-shadow: 0 0 0 4px rgba(0, 34, 225, .09); }
.form-status { display: none; margin-top: 14px; padding: 12px 14px; border-radius: var(--radius); background: var(--surface-blue); color: var(--brand-navy); }
.form-status.show { display: block; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* WhatsApp */
.whatsapp { position: fixed; right: 18px; bottom: 105px; z-index: 190; width: 58px; height: 58px; display: grid; place-items: center; border: 3px solid #fff; border-radius: 50%; background: #25D366; box-shadow: 0 15px 32px rgba(0, 0, 0, .22); transition: transform .2s ease, box-shadow .2s ease; }
.whatsapp img { width: 30px; height: 30px; border-radius: 0; filter: brightness(0) invert(1); }
.whatsapp:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 18px 38px rgba(0, 0, 0, .28); }
.whatsapp-pulse { position: absolute; inset: -5px; border: 2px solid rgba(37, 211, 102, .25); border-radius: 50%; pointer-events: none; animation: waPulse 2.5s infinite; }
@keyframes waPulse { 0%, 70%, 100% { opacity: 0; transform: scale(.88); } 20% { opacity: 1; } 45% { opacity: 0; transform: scale(1.15); } }

/* Footer */
.site-footer { padding: 64px 0 24px; background: #050b21; color: #d9e0ef; }
.footer-grid { display: grid; grid-template-columns: 1.45fr repeat(3, minmax(0, 1fr)); gap: 34px; }
.footer-brand img { width: 190px; margin-bottom: 14px; border-radius: 0; }
.footer-brand p { max-width: 390px; color: #aeb8cd; }
.footer-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.footer-whatsapp { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius); color: #fff; font-size: .875rem; font-weight: 850; }
.footer-whatsapp:hover { border-color: #25D366; color: #25D366; }
.footer-title { margin-bottom: 14px; color: #fff; font-weight: 900; }
.footer-links { display: grid; gap: 9px; }
.footer-links a { color: #aeb8cd; font-size: .875rem; }
.footer-links a:hover { color: var(--brand-gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); color: #8792aa; font-size: .8125rem; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* Responsive layout */
@media (max-width: 1120px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    top: var(--mobile-nav-top, var(--header-height));
    left: 0;
    right: 0;
    width: 100vw;
    height: calc(100vh - var(--mobile-nav-top, var(--header-height)));
    height: calc(100dvh - var(--mobile-nav-top, var(--header-height)));
    display: none;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 4px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 12px 12px calc(24px + env(safe-area-inset-bottom));
    border: 0;
    border-top: 1px solid var(--line);
    border-radius: 0;
    background: #fff;
    box-shadow: 0 18px 40px rgba(0,14,58,.16);
    z-index: 1990;
  }
  .nav.open { display: flex; }
  .nav a { justify-content: flex-start; width: 100%; min-height: 48px; padding: 12px 14px; flex: 0 0 auto; }
  .nav .nav-cta { justify-content: center; margin: 8px 0 0; width: 100%; }
  .hero-grid, .split, .detail-hero, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-media { max-width: 820px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.5fr repeat(2, minmax(0, 1fr)); }
  .footer-brand { grid-row: span 2; }
}

@media (max-width: 760px) {
  :root { --header-height: 68px; }
  .container { padding-inline: 12px; }
  .brand img { width: 150px; }
  .hero { padding: 46px 0 58px; }
  .hero h1 { font-size: clamp(2.25rem, 11vw, 3.25rem); }
  .hero .lead, .page-hero p { font-size: 1rem; }
  .hero-media::after { right: -10px; bottom: -10px; width: 90px; height: 90px; border-radius: 20px; }
  .stats { grid-template-columns: 1fr; }
  .actions { width: 100%; }
  .actions .btn { width: 100%; flex: 1 1 100%; }
  .section { padding: 64px 0; }
  .section-head { display: block; margin-bottom: 26px; }
  .section-head > p { margin-top: 12px; }
  .grid-4, .grid-3, .service-grid, .portfolio-grid, .feature-grid, .process, .gateway { grid-template-columns: minmax(0, 1fr); }
  .card, .service-card { padding: 21px; }
  .cta { padding: 32px 22px; }
  .page-hero { padding: 52px 0; }
  .page-hero h1 { font-size: clamp(2.2rem, 10vw, 3.1rem); }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .field.full { grid-column: auto; }
  .contact-form, .contact-panel { padding: 22px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; }
  .footer-bottom { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
  .footer-bottom span { display: block; margin-top: 6px; }
  .whatsapp { right: 14px; bottom: 88px; width: 56px; height: 56px; }
  .whatsapp img { width: 29px; height: 29px; }
}

@media (max-width: 440px) {
  .brand img { width: 132px; }
  .nav-wrap { gap: 10px; }
  .hero { padding-top: 40px; }
  .btn { width: 100%; }
  .section { padding: 56px 0; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-brand { grid-column: auto; }
  .footer-actions .btn, .footer-whatsapp { width: 100%; }
  .whatsapp { bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .whatsapp-pulse { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.detail-service-icon { margin-bottom: 20px; }

/* About / portfolio / case studies */
.about-hero { padding: 74px 0 82px; background: linear-gradient(135deg,#000e3a 0%,#071858 58%,#0022e1 100%); color:#fff; }
.about-hero-grid { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr); gap:48px; align-items:center; }
.about-hero h1 { color:#fff; max-width:900px; font-size:clamp(2.6rem,6vw,5.2rem); }
.about-hero .lead { color:#dbe4ff; margin:22px 0 28px; }
.about-hero-card { min-height:300px; padding:34px; display:flex; flex-direction:column; justify-content:end; border:1px solid rgba(255,255,255,.2); border-radius:20px; background:linear-gradient(145deg,rgba(255,255,255,.12),rgba(255,224,112,.08)); box-shadow:0 24px 70px rgba(0,0,0,.25); }
.about-hero-badge { display:inline-flex; width:max-content; max-width:100%; padding:9px 13px; border-radius:999px; background:var(--brand-gold); color:#000; font-size:.75rem; font-weight:900; text-transform:uppercase; letter-spacing:.06em; }
.about-hero-card p { margin-top:16px; color:#fff; font-size:1.15rem; font-weight:750; }
.about-facts { display:grid; grid-template-columns:repeat(2,1fr); gap:1px; padding:0; overflow:hidden; background:var(--line); }
.about-facts div { padding:24px; background:#fff; }
.about-facts strong,.about-facts span { display:block; }.about-facts strong{color:var(--brand-navy);font-size:1.1rem}.about-facts span{margin-top:6px;color:var(--muted);font-size:.9rem}
.step-no { display:inline-flex; min-width:38px; min-height:38px; align-items:center; justify-content:center; margin-bottom:15px; border-radius:999px; background:var(--surface-blue); color:var(--brand-blue); font-size:.72rem; font-weight:900; }
.team-grid { display:grid; grid-template-columns:1.25fr 1fr 1fr; gap:18px; }
.team-card { min-width:0; padding:24px; border:1px solid var(--line); border-radius:var(--radius); background:#fff; box-shadow:var(--shadow-soft); }
.team-card img { width:100%; aspect-ratio:1/1; object-fit:cover; margin-bottom:20px; }
.team-card.featured { padding:0; overflow:hidden; }.team-card.featured > div{padding:0 24px 26px}.team-role{display:block;color:var(--brand-blue);font-size:.72rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}.team-card p{margin-top:9px;color:var(--muted)}.team-card small{display:block;margin-top:14px;color:#7b8496;font-size:.75rem}.team-avatar{width:86px;height:86px;display:grid;place-items:center;margin-bottom:22px;border-radius:50%;background:var(--surface-gold);color:#8a6a00;font-weight:900;font-size:1.2rem}.team-avatar.blue{background:var(--surface-blue);color:var(--brand-blue)}
.portfolio-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:26px}.portfolio-filter{border:1px solid var(--line);background:#fff;color:var(--brand-navy);padding:10px 14px;border-radius:999px;font-size:.82rem;font-weight:850;cursor:pointer}.portfolio-filter:hover,.portfolio-filter.is-active{background:var(--brand-blue);border-color:var(--brand-blue);color:#fff}
.portfolio-showcase{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.case-card{overflow:hidden;border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:var(--shadow-soft);transition:transform .2s ease,box-shadow .2s ease}.case-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.case-card img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0}.case-card-body{padding:24px}.case-card-body>span{color:var(--brand-blue);font-size:.72rem;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.case-card-body h2{font-size:1.55rem;margin-top:8px}.case-card-body p{margin:10px 0 15px;color:var(--muted)}.case-card-body strong{color:var(--brand-blue);font-size:.9rem}.case-hero{padding:74px 0 50px;background:linear-gradient(135deg,#000e3a,#081957)}.case-hero h1{color:#fff}.case-hero .lead{margin-top:20px;color:#dbe4ff}.case-hero-media{max-width:1100px}.case-hero-media img{width:100%;max-height:680px;object-fit:cover;box-shadow:var(--shadow)}.case-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.case-gallery figure{margin:0;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;background:#fff}.case-gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:0}.case-gallery figcaption{padding:13px 16px;color:var(--muted);font-size:.85rem}.case-card[hidden]{display:none}

/* Consistent SOPIDOTECH card branding */
.case-card, .blog-card, .article-side-card, .tool-card, .category-card, .category-tool-section, .contact-form, .contact-panel, .side-card, .feature-list > div, .team-card, .about-hero-card, .stat, .info-panel { border-top: 3px solid var(--brand-gold); }
/* Legal */
.legal{max-width:900px}.legal h2{font-size:1.65rem;margin:34px 0 10px}.legal h3{margin:24px 0 8px}.legal p,.legal li{color:#4f5d76}.legal p+p{margin-top:12px}.legal ul,.legal ol{padding-left:22px}.legal a{color:var(--brand-blue);font-weight:700;text-decoration:underline;text-underline-offset:3px}
/* Cookie consent */
.cookie-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:500;max-width:1120px;margin:auto;padding:18px;border:1px solid #d8dfed;border-top:3px solid var(--brand-gold);border-radius:18px;background:#fff;box-shadow:0 24px 70px rgba(0,14,58,.24)}.cookie-banner[hidden],.cookie-modal[hidden]{display:none!important}.cookie-inner{display:flex;gap:24px;align-items:center;justify-content:space-between}.cookie-kicker{color:var(--brand-blue);font-size:.7rem;font-weight:900;letter-spacing:.1em;text-transform:uppercase}.cookie-banner h2,.cookie-dialog h2{font-size:1.45rem;margin:4px 0 6px}.cookie-banner p,.cookie-dialog p{color:var(--muted);font-size:.88rem}.cookie-region-note{margin-top:5px;font-size:.78rem!important}.cookie-actions{display:flex;flex-wrap:wrap;gap:8px;flex:0 0 auto}.cookie-modal{position:fixed;inset:0;z-index:600;display:grid;place-items:center;padding:16px;background:rgba(0,14,58,.55)}.cookie-dialog{position:relative;width:min(620px,calc(100vw - 32px));max-height:min(82dvh,760px);overflow:auto;padding:24px;border:1px solid #dfe5ef;border-top:4px solid var(--brand-gold);border-radius:18px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.28)}.cookie-close{position:absolute;right:14px;top:12px;width:36px;height:36px;border:0;border-radius:50%;background:#f2f5fb;color:var(--brand-navy);font-size:1.35rem;line-height:1;cursor:pointer}.cookie-choice{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:14px 0;border-bottom:1px solid var(--line)}.cookie-choice div{display:grid;gap:4px;min-width:0}.cookie-choice span{color:var(--muted);font-size:.8rem}.cookie-choice>b{font-size:.75rem;color:var(--brand-blue);text-align:right}.switch{position:relative;width:50px;height:28px;flex:0 0 50px}.switch input{position:absolute;opacity:0}.switch span{position:absolute;inset:0;border-radius:999px;background:#cbd3e2;cursor:pointer}.switch span:after{content:"";position:absolute;width:22px;height:22px;left:3px;top:3px;border-radius:50%;background:#fff;transition:.2s}.switch input:checked+span{background:var(--brand-blue)}.switch input:checked+span:after{transform:translateX(22px)}.cookie-dialog-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:18px}.cookie-small{margin-top:13px;font-size:.75rem!important}.cookie-small a{color:var(--brand-blue);text-decoration:underline}
.consent-check{display:flex;gap:10px;align-items:flex-start;margin:16px 0;color:#55627a;font-size:.8rem;line-height:1.5}.consent-check input{margin-top:4px;flex:0 0 auto}.consent-check a{color:var(--brand-blue);font-weight:800;text-decoration:underline}.form-status.success{background:#eaf8ef;color:#155c2a}.form-status.error{background:#fff0f0;color:#8b1a1a}
@media (max-width:760px){.container{padding-inline:14px}.section{padding:64px 0}.page-hero{padding:52px 0}.hero{padding:50px 0 58px}.hero-grid{gap:30px}.stats{grid-template-columns:1fr}.cta{padding:32px 22px}.contact-panel,.contact-form{padding:22px}.form-grid{grid-template-columns:1fr}.cookie-banner{left:10px;right:10px;bottom:10px;padding:15px;border-radius:16px}.cookie-modal{padding:10px}.cookie-dialog{width:min(560px,calc(100vw - 20px));max-height:80dvh;padding:20px;border-top-width:3px;border-radius:16px}.cookie-dialog h2{font-size:1.28rem}.cookie-choice{gap:12px;padding:12px 0}.cookie-choice span{font-size:.76rem}.cookie-dialog-actions{gap:8px}.about-hero{padding:52px 0 62px}.about-hero-grid,.team-grid,.portfolio-showcase,.case-gallery{grid-template-columns:1fr}.about-hero h1{font-size:clamp(2.35rem,11vw,3.5rem)}.about-facts{grid-template-columns:1fr}.cookie-inner{display:block}.cookie-actions{margin-top:15px}.cookie-actions .btn{width:100%}.cookie-dialog-actions{display:grid}.cookie-dialog-actions .btn{width:100%}.case-hero{padding:55px 0 38px}}

/* Final responsive hardening */
.btn, .article-tool-box .btn, .article-service-cta .btn, .hostinger-promo .btn { min-width: 0; max-width: 100%; overflow-wrap: anywhere; word-break: normal; white-space: normal; line-height: 1.3; }
.contact-form, .contact-panel, .article-tool-box, .article-service-cta, .hostinger-promo { min-width: 0; }
@media (max-width:1120px){ .nav-toggle { position:relative; z-index:220; } }
@media (max-width:640px){ .nav { padding-inline:10px; } .nav a { font-size:1rem; min-height:50px; } .article-tool-box .btn, .article-service-cta .btn, .hostinger-promo .btn { width:100%; flex:1 1 100%; } .article-share { display:block; } .article-share strong { display:block; margin-bottom:9px; } .article-share-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:7px; width:100%; } .article-share-actions a { min-width:0; overflow-wrap:anywhere; } }
@media (max-width:380px){ .article-share-actions { grid-template-columns:1fr; } }

/* Cloudflare Turnstile / secure contact form */
.turnstile-wrap{margin:18px 0 8px;min-height:66px;display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.turnstile-notice{padding:10px 12px;border:1px solid #f0d48a;border-radius:10px;background:#fff9df;color:#5d4b12;font-size:.82rem}
.cf-turnstile{max-width:100%;overflow:hidden}

/* Cloudflare Turnstile / secure contact form */
.turnstile-wrap{margin:18px 0 8px;min-height:66px;display:flex;align-items:flex-start;flex-direction:column;gap:8px}
.turnstile-notice{padding:10px 12px;border:1px solid #f0d48a;border-radius:10px;background:#fff9df;color:#5d4b12;font-size:.82rem}
.cf-turnstile{max-width:100%;overflow:hidden}
