/* Hallmark · v2.0.0 · built: the project · redesign: polish · genre: editorial · shape: kept · theme: Webycia brand · nav: one row, wordmark and CTA · footer: four columns and contact card · hero: kept, typography reset · signature: warm paper, navy ink, one orange accent */
/* critique: The pages were wearing the template's tells, a gradient headline, a pulsing pill, glow orbs and a coloured word in every title; the polish keeps the layout and lets navy type, hairlines and one orange accent carry the page. */
/* Hallmark · waive 74 · the Tailwind palette classes are the project's existing system · new rules use the :root tokens below */
/* Hallmark · reworded "¿Por qué elegir Web&cia frente a plataformas no-code o soluciones DIY de IA?" to "¿Por qué elegir Webycia frente a plataformas no-code o soluciones DIY de IA?" · the written brand is unified as Webycia */
/* Hallmark · reworded "¿Web&cia solo hace consultoría o también desarrolla e implementa soluciones de IA?" to "¿Webycia solo hace consultoría o también desarrolla e implementa soluciones de IA?" · the written brand is unified as Webycia */
/* Hallmark · reworded "¿En qué se diferencia Web&cia de otras empresas de IA?" to "¿En qué se diferencia Webycia de otras empresas de IA?" · the written brand is unified as Webycia */
/* Hallmark · reworded "¿Qué tecnologías y modelos de IA utilizamos en Web&cia en nuestros desarrollos?" to "¿Qué tecnologías y modelos de IA utilizamos en Webycia en nuestros desarrollos?" · the written brand is unified as Webycia */
/* Hallmark · reworded "¿Las soluciones de IA de Web&cia cumplen con GDPR y otras regulaciones?" to "¿Las soluciones de IA de Webycia cumplen con GDPR y otras regulaciones?" · the written brand is unified as Webycia */

:root {
  --wc-navy: #0D2B5B;
  --wc-navy-deep: #09203f;
  --wc-navy-soft: #1a4a94;
  --wc-orange: #F28C26;
  --wc-accent-ink: #A94E0C;
  --wc-warm: #F8F7F5;
  --wc-paper: #FDFCFA;
  --wc-ink: #2F3540;
  --wc-ink-muted: #5C6470;
  --wc-ink-light: #C9CDD4;
  --wc-green-ink: #15803D;
  --wc-blue-ink: #1D4ED8;
  --wc-purple-ink: #6D28D9;
  --wc-amber-ink: #B45309;
  --wc-amber-deep: #92400E;
  --wc-emerald-ink: #047857;
  --wc-line: #E7E2DA;
  --wc-line-strong: #D8D1C7;
  --wc-field-line: #7A828E;
  --wc-focus: #0D2B5B;
  --wc-focus-dark: #F8F7F5;
  --wc-glass: rgba(255, 255, 255, 0.7);
  --wc-glass-line: rgba(255, 255, 255, 0.3);
  --wc-glow-orange: rgba(242, 140, 38, 0.12);
  --wc-glow-navy: rgba(13, 43, 91, 0.05);
  --wc-shadow-sm: 0 1px 2px rgba(13, 43, 91, 0.05);
  --wc-shadow-md: 0 1px 2px rgba(13, 43, 91, 0.04), 0 10px 24px -18px rgba(13, 43, 91, 0.22);
  --wc-shadow-lg: 0 1px 2px rgba(13, 43, 91, 0.04), 0 18px 40px -28px rgba(13, 43, 91, 0.28);
  --wc-radius-xs: 3px;
  --wc-radius-sm: 6px;
  --wc-radius-md: 8px;
  --wc-radius-lg: 10px;
}

/* ---------- Surface and measure ---------- */

html,
body {
  overflow-x: clip;
  background-color: var(--wc-warm);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--wc-ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wc-main {
  background-color: var(--wc-warm) !important;
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  overflow-x: clip;
}

::selection {
  background: var(--wc-orange);
  color: var(--wc-navy);
}

main > section.py-20,
main > section.py-24,
main > section.py-32,
main > div > section.py-20,
main > div > section.py-24,
main > div > section.py-32 {
  padding-top: clamp(5.5rem, 7vw, 7.5rem) !important;
  padding-bottom: clamp(5.5rem, 7vw, 7.5rem) !important;
}

/* The remembered template ornament: glows and blurred colour blobs. */
[class*="blur-["],
.hero-glow {
  display: none !important;
}

/* ---------- Type ---------- */

h1,
h2,
h3,
h4 {
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.15;
  text-wrap: balance;
  overflow-wrap: break-word;
  min-width: 0;
}

h1 {
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  line-height: 1.12;
}

h1.font-black,
h1.font-bold,
h2.font-black,
h2.font-bold,
h3.font-black,
h3.font-bold,
h4.font-black,
h4.font-bold {
  font-weight: 600 !important;
}

h1.tracking-tight,
h2.tracking-tight,
h3.tracking-tight {
  letter-spacing: -0.035em !important;
}

p,
li {
  text-wrap: pretty;
}

.text-gray-400 {
  color: var(--wc-ink-muted) !important;
}

.bg-navy .text-gray-400,
.bg-navy .text-gray-500,
.bg-navy .text-gray-600 {
  color: var(--wc-ink-light) !important;
}

.text-green-500 { color: var(--wc-green-ink) !important; }
.text-blue-500 { color: var(--wc-blue-ink) !important; }
.text-purple-500 { color: var(--wc-purple-ink) !important; }
.text-amber-500 { color: var(--wc-amber-ink) !important; }
.text-amber-600 { color: var(--wc-amber-deep) !important; }
.text-emerald-500 { color: var(--wc-emerald-ink) !important; }

/* Orange is an accent; on light paper it needs a darker ink to stay readable. */
.text-primary {
  color: var(--wc-accent-ink) !important;
}

.text-primary[class*="bg-white/10"],
.text-primary[class*="bg-white/15"],
.bg-navy .text-primary,
.price-gradient .text-primary {
  color: var(--wc-orange) !important;
}

.hover\:text-primary:hover,
.group:hover .group-hover\:text-primary {
  color: var(--wc-accent-ink) !important;
}

.bg-navy .hover\:text-primary:hover,
.price-gradient .hover\:text-primary:hover {
  color: var(--wc-orange) !important;
}

/* Card kickers sit on photographs: a solid navy chip keeps them readable. */
.text-primary[class*="bg-white/10"],
.text-primary[class*="bg-white/15"] {
  background: var(--wc-navy) !important;
  border-color: transparent !important;
  color: var(--wc-orange) !important;
  padding: 0.3rem 0.65rem !important;
  border-radius: 999px !important;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Carousel controls sit over the image, never over the card's text. */
button[onclick*="left:-400"],
button[onclick*="left:400"] {
  top: 30% !important;
}

/* The hero keeps the third action as a quiet link, not a third button. */
#main-content > section:first-of-type a[href*="onrender.com"] {
  border: 0 !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  color: var(--wc-navy) !important;
  box-shadow: none !important;
}

#main-content > section:first-of-type a[href*="onrender.com"]:hover {
  color: var(--wc-accent-ink) !important;
}

/* ---------- Controls ---------- */

a,
button,
input,
select,
textarea,
summary {
  transition-property: color, background-color, border-color, opacity, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

:focus-visible {
  outline: 2px solid var(--wc-focus);
  outline-offset: 3px;
  border-radius: var(--wc-radius-xs);
}

.bg-navy :focus-visible {
  outline-color: var(--wc-focus-dark);
}

/* Brand orange is the CTA ground; navy ink on it passes contrast at every size. */
.bg-primary,
.bg-primary.text-white,
a.bg-primary,
button.bg-primary {
  color: var(--wc-navy) !important;
}

a.bg-primary:hover,
button.bg-primary:hover {
  background-color: var(--wc-orange) !important;
  box-shadow: var(--wc-shadow-md);
}

.hover\:bg-primary:hover {
  color: var(--wc-navy) !important;
}

.hover\:-translate-y-1:hover,
.hover\:-translate-y-0\.5:hover,
.active\:scale-95:active,
.group:hover .group-hover\:scale-105,
.group:hover .group-hover\:scale-110 {
  transform: none !important;
}

.group:hover .group-hover\:bg-primary {
  background-color: var(--wc-navy) !important;
}

input,
select,
textarea,
input.border-gray-300,
select.border-gray-300,
textarea.border-gray-300 {
  background-color: var(--wc-paper) !important;
  border-color: var(--wc-field-line) !important;
  color: var(--wc-ink) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--wc-ink-muted);
  opacity: 1;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
}

/* Eight-state control finish without the template's lift. */
.bg-primary {
  box-shadow: var(--wc-shadow-sm);
}

/* ---------- Edges and shadows ---------- */

.rounded-lg {
  border-radius: var(--wc-radius-sm) !important;
}

.rounded-xl {
  border-radius: var(--wc-radius-md) !important;
}

.rounded-2xl {
  border-radius: var(--wc-radius-lg) !important;
}

.rounded-3xl {
  border-radius: 12px !important;
}

.border-gray-50,
.border-gray-100 {
  border-color: var(--wc-line) !important;
}

.border-gray-200,
.border-gray-300 {
  border-color: var(--wc-line-strong) !important;
}

.shadow-sm {
  box-shadow: var(--wc-shadow-sm) !important;
}

.shadow,
.shadow-md {
  box-shadow: var(--wc-shadow-md) !important;
}

.shadow-lg,
.shadow-xl,
.shadow-2xl {
  box-shadow: var(--wc-shadow-lg) !important;
}

.hover\:shadow-md:hover,
.hover\:shadow-lg:hover,
.hover\:shadow-xl:hover,
.hover\:shadow-2xl:hover {
  box-shadow: var(--wc-shadow-lg) !important;
}

/* ---------- Header ---------- */

header {
  background-color: var(--wc-paper);
}

header nav {
  flex-wrap: nowrap;
  gap: 1.35rem;
}

header nav > * + * {
  margin-left: 0 !important;
}

header nav > a {
  color: var(--wc-ink) !important;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

header nav > a:hover {
  color: var(--wc-navy) !important;
}

header nav > a.text-primary {
  color: var(--wc-navy) !important;
  box-shadow: inset 0 -2px 0 var(--wc-orange);
}

header nav > a.text-navy {
  color: var(--wc-navy) !important;
}

header nav span[class*="text-[9px]"],
#mobile-drawer span[class*="text-[9px]"] {
  background: var(--wc-orange) !important;
  border-color: var(--wc-orange) !important;
  color: var(--wc-navy) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em;
}

/* ---------- Footer ---------- */

footer h4 {
  font-size: 0.8125rem !important;
  letter-spacing: 0.01em;
  color: var(--wc-navy);
}

footer li a > span[class*="rounded-full"] {
  display: none !important;
}

/* ---------- Imagery ---------- */

img {
  max-width: 100%;
}

img[src*="images.unsplash.com"],
img[src*="aida-public"] {
  filter: saturate(0.82) contrast(1.02);
}

/* ---------- Reveal safety and motion ---------- */

[hidden] {
  display: none !important;
}

.reveal,
.reveal-visible,
.animate-on-scroll {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
