/* Ynatadas IT — sistema visivo */
:root {
  --radius-button: 9999px;
  --radius-card: 24px;
  --radius-input: 12px;
  --radius-image: 16px;
  --shadow-brand: 0 8px 24px rgba(117, 93, 0, 0.12);
  --shadow-inset: inset 0 -2px 0 rgba(0, 0, 0, 0.08);
  --step: 1rem;
  --text-body: 1rem;
  --text-small: 0.875rem;
  --text-h3: 1.25rem;
  --text-h2: 1.6rem;
  --text-h1: clamp(2rem, 4vw, 2.5rem);
  --section-y: clamp(3rem, 6vw, 5rem);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  color: var(--color-text-primary);
  background: var(--color-background);
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
.font-display {
  font-family: var(--font-display);
  color: var(--color-text-primary);
  text-wrap: balance;
}

p,
li,
.hero-sub,
.measure {
  text-wrap: pretty;
}

.num,
.phone,
.vat {
  font-variant-numeric: tabular-nums;
}

.type-h1 { font-size: var(--text-h1); line-height: 1.05; }
.type-h2 { font-size: var(--text-h2); line-height: 1.15; }
.type-h3 { font-size: var(--text-h3); line-height: 1.2; }
.type-small { font-size: var(--text-small); }

.section-pad {
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  font-weight: 700;
  margin-bottom: 0.9rem;
}

.kicker::before {
  content: "";
  width: 2.25rem;
  height: 2px;
  background: var(--color-accent);
  border-radius: 9999px;
}

.logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: contain;
}

.site-header {
  background: rgba(246, 246, 246, 0.94);
  border-bottom: 1px solid rgba(117, 93, 0, 0.14);
  backdrop-filter: blur(10px);
}

.nav-link {
  color: var(--color-text-primary);
  font-weight: 700;
  text-decoration: none;
  transition: color 180ms ease;
}

.nav-link:hover,
.nav-link:focus {
  color: var(--color-primary);
}

.mobile-panel {
  border-top: 1px solid rgba(117, 93, 0, 0.14);
}

.btn-primary,
.btn-secondary,
button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: var(--radius-button);
  background: var(--color-surface);
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: none;
  border: 0;
  box-shadow: var(--shadow-inset);
  padding: 0.82rem 1.2rem;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
  cursor: pointer;
}

.btn-primary {
  background: var(--color-surface);
  color: var(--color-primary-dark);
}

.btn-primary:hover,
.btn-primary:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
.btn-secondary:hover,
.btn-secondary:focus {
  transform: translateY(-1px);
  background: #fffaf4;
  color: var(--color-primary-dark);
}

.card {
  border-radius: var(--radius-card);
  background: var(--color-surface);
  box-shadow: var(--shadow-brand);
}

.card-row {
  height: 100%;
}

.image-rounded {
  border-radius: var(--radius-image);
  box-shadow: var(--shadow-brand);
}

input,
select,
textarea {
  border-radius: var(--radius-input);
  border: 1px solid rgba(117, 93, 0, 0.18);
  background: #fffefa;
  color: var(--color-text-primary);
  padding: 0.78rem 0.9rem;
  width: 100%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(19, 118, 172, 0.32);
  outline-offset: 2px;
  border-color: var(--color-accent);
}

label {
  color: var(--color-text-primary);
  font-weight: 700;
}

.highlight-band {
  border-top: 1px solid rgba(117, 93, 0, 0.14);
  border-bottom: 1px solid rgba(117, 93, 0, 0.14);
}

.process-number {
  font-family: var(--font-display);
  color: var(--color-primary);
  font-size: 1.45rem;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.sidebar-note {
  border-left: 3px solid var(--color-accent);
  padding-left: 1rem;
  color: var(--color-text-secondary);
}

.map-frame {
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-image);
  box-shadow: var(--shadow-brand);
  background: var(--color-surface);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  max-width: 760px;
  margin: 0 auto;
  border-radius: 24px;
  background: var(--color-surface);
  box-shadow: 0 12px 32px rgba(117, 93, 0, 0.16);
  border: 1px solid rgba(117, 93, 0, 0.14);
  padding: 1rem;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.footer-link {
  color: var(--color-text-primary);
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus {
  color: var(--color-primary);
}

.reveal {
  opacity: 0.2;
}

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

@media (min-width: 768px) {
  .mobile-toggle,
  .mobile-panel {
    display: none !important;
  }
}
