/*
Theme Name: Superclic One Page
Theme URI: https://superclic.io/
Author: Superclic
Author URI: https://superclic.io/
Description: Bold bilingual one-page WordPress theme for Superclic software products and custom development.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: superclic
*/

:root {
  --sc-orange: #ff8908;
  --sc-orange-2: #ffb13b;
  --sc-ink: #111113;
  --sc-ink-2: #2d2b2c;
  --sc-muted: #6c6769;
  --sc-line: rgba(17, 17, 19, 0.12);
  --sc-bg: #fff8ef;
  --sc-card: rgba(255, 255, 255, 0.82);
  --sc-white: #ffffff;
  --sc-radius: 28px;
  --sc-shadow: 0 24px 70px rgba(17, 17, 19, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--sc-ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 137, 8, 0.22), transparent 34rem),
    linear-gradient(135deg, #fffaf4 0%, #fff1df 38%, #ffffff 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.screen-reader-text,
.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  z-index: 9999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  color: var(--sc-white);
  background: var(--sc-ink);
  border-radius: 999px;
}

.sc-shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.sc-site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  backdrop-filter: blur(20px);
  background: rgba(255, 248, 239, 0.78);
  border-bottom: 1px solid rgba(17, 17, 19, 0.08);
}

.sc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.sc-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

.sc-brand .custom-logo-link img {
  width: auto;
  max-height: 52px;
}

.sc-logo-fallback {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.sc-logo-mark {
  width: 54px;
  height: 54px;
  flex: 0 0 auto;
}

.sc-logo-text {
  color: #3b393a;
}

.sc-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: var(--sc-muted);
  font-size: 0.94rem;
  font-weight: 750;
}

.sc-nav a:hover {
  color: var(--sc-ink);
}

.sc-lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  background: rgba(17, 17, 19, 0.06);
  border: 1px solid rgba(17, 17, 19, 0.08);
  border-radius: 999px;
}

.sc-lang-switch button {
  border: 0;
  border-radius: 999px;
  padding: 0.55rem 0.72rem;
  color: var(--sc-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 900;
}

.sc-lang-switch button.is-active {
  color: var(--sc-white);
  background: var(--sc-ink);
}

.sc-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7rem) 0 3.5rem;
}

.sc-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.sc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  width: fit-content;
  padding: 0.46rem 0.85rem;
  margin: 0 0 1.15rem;
  color: #7b3a00;
  background: rgba(255, 137, 8, 0.14);
  border: 1px solid rgba(255, 137, 8, 0.25);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sc-kicker::before {
  width: 0.55rem;
  height: 0.55rem;
  content: "";
  background: var(--sc-orange);
  border-radius: 999px;
  box-shadow: 0 0 0 7px rgba(255, 137, 8, 0.16);
}

.sc-hero h1,
.sc-section-title {
  margin: 0;
  color: var(--sc-ink);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.sc-hero h1 {
  max-width: 780px;
  font-size: clamp(3.25rem, 8vw, 7.6rem);
}

.sc-gradient-text {
  color: var(--sc-orange);
}

.sc-lede {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: var(--sc-ink-2);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.sc-hero-actions,
.sc-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.sc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.88rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.sc-button:hover {
  transform: translateY(-2px);
}

.sc-button-primary {
  color: var(--sc-white);
  background: var(--sc-ink);
  box-shadow: 0 18px 40px rgba(17, 17, 19, 0.24);
}

.sc-button-primary:hover {
  background: #000000;
}

.sc-button-secondary {
  color: var(--sc-ink);
  background: rgba(255, 255, 255, 0.76);
  border-color: rgba(17, 17, 19, 0.12);
}

.sc-hero-panel {
  position: relative;
  padding: clamp(1.25rem, 3vw, 2rem);
  overflow: hidden;
  background: #161416;
  border-radius: 38px;
  box-shadow: var(--sc-shadow);
}

.sc-hero-panel::before {
  position: absolute;
  inset: -20% auto auto -20%;
  width: 70%;
  height: 70%;
  content: "";
  background: radial-gradient(circle, rgba(255, 137, 8, 0.85), transparent 68%);
  filter: blur(12px);
}

.sc-dashboard {
  position: relative;
  display: grid;
  gap: 1rem;
}

.sc-dashboard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--sc-white);
}

.sc-dashboard-top strong {
  font-size: 1.1rem;
}

.sc-pill {
  padding: 0.34rem 0.65rem;
  color: #171310;
  background: var(--sc-orange-2);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 950;
}

.sc-metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.sc-metric {
  min-height: 130px;
  padding: 1rem;
  color: var(--sc-white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
}

.sc-metric span {
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sc-metric strong {
  display: block;
  margin-top: 0.5rem;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.sc-metric-wide {
  grid-column: 1 / -1;
}

.sc-bars {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.9rem;
}

.sc-bar {
  height: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
}

.sc-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--sc-orange), var(--sc-orange-2));
  border-radius: inherit;
}

.sc-section {
  padding: clamp(3.5rem, 7vw, 6.5rem) 0;
}

.sc-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
}

.sc-section-title {
  max-width: 760px;
  font-size: clamp(2.35rem, 5.6vw, 5.4rem);
}

.sc-section-copy {
  max-width: 440px;
  margin: 0;
  color: var(--sc-muted);
  font-size: 1.05rem;
}

.sc-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sc-card {
  position: relative;
  min-height: 330px;
  padding: 1.25rem;
  overflow: hidden;
  background: var(--sc-card);
  border: 1px solid rgba(17, 17, 19, 0.1);
  border-radius: var(--sc-radius);
  box-shadow: 0 18px 50px rgba(17, 17, 19, 0.08);
}

.sc-card-featured {
  grid-column: span 2;
  color: var(--sc-white);
  background: #171415;
}

.sc-card::after {
  position: absolute;
  right: -4rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  content: "";
  background: rgba(255, 137, 8, 0.14);
  border-radius: 999px;
}

.sc-card-featured::after {
  background: rgba(255, 137, 8, 0.55);
}

.sc-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.sc-card p {
  position: relative;
  z-index: 1;
  margin: 1rem 0 0;
  color: var(--sc-muted);
}

.sc-card-featured p {
  color: rgba(255, 255, 255, 0.74);
}

.sc-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.55rem;
  padding: 0;
  margin: 1.35rem 0 0;
  list-style: none;
}

.sc-list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  color: inherit;
  font-weight: 750;
}

.sc-list li::before {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.48rem;
  content: "";
  background: var(--sc-orange);
  border-radius: 999px;
}

.sc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}

.sc-process {
  display: grid;
  gap: 0.75rem;
}

.sc-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--sc-line);
  border-radius: 24px;
}

.sc-step-number {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  color: var(--sc-white);
  background: var(--sc-ink);
  border-radius: 16px;
  font-weight: 950;
}

.sc-step h3 {
  margin: 0;
  font-size: 1.1rem;
}

.sc-step p {
  margin: 0.35rem 0 0;
  color: var(--sc-muted);
}

.sc-industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.sc-chip {
  padding: 0.65rem 0.85rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--sc-line);
  border-radius: 999px;
  color: var(--sc-ink-2);
  font-weight: 800;
}

.sc-contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #171415;
  border-radius: 38px;
  box-shadow: var(--sc-shadow);
}

.sc-contact-card h2 {
  margin: 0;
  color: var(--sc-white);
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: -0.07em;
}

.sc-contact-card p {
  color: rgba(255, 255, 255, 0.72);
}

.sc-contact-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.sc-contact-meta a,
.sc-contact-meta span {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--sc-white);
  font-weight: 850;
}

.sc-contact-meta a::before,
.sc-contact-meta span::before {
  width: 10px;
  height: 10px;
  content: "";
  background: var(--sc-orange);
  border-radius: 999px;
}

.sc-form-box {
  min-height: 360px;
  padding: 1.25rem;
  background: var(--sc-white);
  border-radius: 28px;
}

.sc-form-box .wpforms-container {
  margin: 0;
}

.sc-form-box .wpforms-field-label {
  color: var(--sc-ink);
  font-weight: 850;
}

.sc-form-box input,
.sc-form-box textarea,
.sc-form-box select {
  border-color: rgba(17, 17, 19, 0.18) !important;
  border-radius: 16px !important;
}

.sc-form-box button[type="submit"],
.sc-form-box input[type="submit"] {
  border-radius: 999px !important;
  background: var(--sc-orange) !important;
  border-color: var(--sc-orange) !important;
  color: var(--sc-ink) !important;
  font-weight: 950 !important;
}

.sc-form-placeholder {
  display: grid;
  min-height: 310px;
  place-items: center;
  padding: 1.25rem;
  color: var(--sc-muted);
  text-align: center;
  background: #fff7ec;
  border: 1px dashed rgba(255, 137, 8, 0.55);
  border-radius: 22px;
}

.sc-site-footer {
  padding: 2rem 0;
  color: var(--sc-muted);
}

.sc-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--sc-line);
  padding-top: 1.5rem;
}

[data-lang="en"] {
  display: none;
}

body.sc-lang-en [data-lang="es"] {
  display: none;
}

body.sc-lang-en [data-lang="en"] {
  display: revert;
}

body.sc-lang-en .sc-nav [data-lang="en"],
body.sc-lang-en .sc-button [data-lang="en"],
body.sc-lang-en .sc-kicker [data-lang="en"] {
  display: inline;
}

body.sc-lang-en .sc-list [data-lang="en"],
body.sc-lang-en .sc-industries [data-lang="en"] {
  display: contents;
}

@media (max-width: 980px) {
  .sc-nav {
    display: none;
  }

  .sc-hero-grid,
  .sc-split,
  .sc-contact-card {
    grid-template-columns: 1fr;
  }

  .sc-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .sc-shell {
    width: min(100% - 28px, 1160px);
  }

  .sc-header-inner {
    min-height: 72px;
  }

  .sc-logo-mark {
    width: 44px;
    height: 44px;
  }

  .sc-brand {
    font-size: 1.6rem;
  }

  .sc-hero {
    padding-top: 3rem;
  }

  .sc-hero h1 {
    font-size: clamp(3rem, 16vw, 4.9rem);
  }

  .sc-section-head,
  .sc-footer-inner {
    display: grid;
  }

  .sc-products-grid,
  .sc-metric-grid {
    grid-template-columns: 1fr;
  }

  .sc-card-featured,
  .sc-metric-wide {
    grid-column: auto;
  }

  .sc-contact-card {
    border-radius: 28px;
  }
}
