/* IIEB — Integración e Inteligencia Empresarial Business
   Swiss Design corporate system */

:root {
  --blue: #0B2D5C;
  --blue-mid: #1A4A8A;
  --blue-soft: #E8EEF6;
  --black: #1C1C1C;
  --gray-900: #2A2A2A;
  --gray-600: #5C5C5C;
  --gray-400: #8A8A8A;
  --gray-200: #E5E5E5;
  --gray-100: #F4F5F7;
  --white: #FFFFFF;
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --font: "Public Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--gray-900);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ——— Typography ——— */
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

h1, h2, h3, h4 {
  color: var(--black);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  font-weight: 500;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 500;
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.375rem);
}

.lead {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--gray-600);
  max-width: 38rem;
  line-height: 1.7;
}

.text-muted {
  color: var(--gray-600);
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--gray-200);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.logo-mark {
  width: 2.25rem;
  height: 2.25rem;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--blue);
}

.logo-text span {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--blue);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.5rem;
  height: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--black);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 2px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s, border-color 0.25s, transform 0.25s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue-mid);
}

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-ghost:hover {
  background: var(--white);
  color: var(--blue);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}

/* ——— Hero ——— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--blue);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11, 45, 92, 0.92) 0%,
    rgba(11, 45, 92, 0.72) 48%,
    rgba(11, 45, 92, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: clamp(4rem, 12vh, 7rem) 0;
  color: var(--white);
  max-width: 40rem;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.7);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.85);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-meta div strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.hero-meta div span {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ——— Sections ——— */
.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-header {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  max-width: 40rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-alt {
  background: var(--gray-100);
}

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-blue h2,
.section-blue h3 {
  color: var(--white);
}

.section-blue .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.section-blue .text-muted,
.section-blue .lead {
  color: rgba(255, 255, 255, 0.75);
}

/* ——— Services grid ——— */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--gray-200);
  border: 1px solid var(--gray-200);
}

.service-card {
  background: var(--white);
  padding: 2rem 1.75rem;
  transition: background 0.3s var(--ease);
}

.service-card:hover {
  background: var(--blue-soft);
}

.service-card .num {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.25rem;
}

.service-card .link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-card .link::after {
  content: "→";
  transition: transform 0.2s;
}

.service-card:hover .link::after {
  transform: translateX(4px);
}

/* ——— Benefits ——— */
.benefits-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.benefit-item {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.25rem;
  align-items: start;
}

.benefit-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 2px;
}

.benefit-item h3 {
  margin-bottom: 0.35rem;
}

.benefit-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.benefits-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 2px;
}

.benefits-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ——— Process ——— */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}

.process-step {
  padding: 2rem 1.5rem 2rem 0;
  border-top: 2px solid var(--blue);
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--blue);
  margin-bottom: 1.25rem;
}

.process-step h3 {
  margin-bottom: 0.65rem;
}

.process-step p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ——— Industries ——— */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.industry-tag {
  padding: 0.65rem 1.15rem;
  border: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color 0.2s, color 0.2s;
}

.industry-tag:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ——— Stats ——— */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-item strong {
  display: block;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item span {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.7);
}

/* ——— Cases ——— */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.case-card {
  padding: 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 2px;
}

.case-card .sector {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}

.case-card h3 {
  margin-bottom: 0.75rem;
}

.case-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
}

.case-result {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-200);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--black);
}

/* ——— Testimonials ——— */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.testimonial {
  padding: 2.25rem;
  background: var(--white);
  border-left: 3px solid var(--blue);
}

.testimonial blockquote {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--black);
  margin-bottom: 1.75rem;
}

.testimonial cite {
  display: block;
  font-style: normal;
}

.testimonial cite strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--black);
}

.testimonial cite span {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

/* ——— Clients ——— */
.clients-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  align-items: center;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 4rem;
  padding: 0.75rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
  text-align: center;
}

/* ——— FAQ ——— */
.faq-list {
  max-width: 48rem;
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  text-align: left;
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--black);
  cursor: pointer;
}

.faq-item button span {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--blue);
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open button span {
  transform: rotate(45deg);
}

.faq-panel {
  display: none;
  padding: 0 0 1.5rem;
  color: var(--gray-600);
  font-size: 0.96875rem;
  max-width: 42rem;
}

.faq-item.is-open .faq-panel {
  display: block;
}

/* ——— Blog cards ——— */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog-card article {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 1.25rem;
  background: var(--gray-100);
}

.blog-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.blog-card:hover .thumb img {
  transform: scale(1.04);
}

.blog-card .meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.65rem;
}

.blog-card h3 {
  margin-bottom: 0.65rem;
  transition: color 0.2s;
}

.blog-card:hover h3 {
  color: var(--blue);
}

.blog-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  flex: 1;
}

/* ——— CTA band ——— */
.cta-band {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  text-align: center;
}

.cta-band h2 {
  margin-bottom: 1rem;
}

.cta-band .lead {
  margin-inline: auto;
}

.cta-band .btn-group {
  justify-content: center;
}

/* ——— Page hero (inner) ——— */
.page-hero {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0 3rem;
  border-bottom: 1px solid var(--gray-200);
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.breadcrumb a:hover {
  color: var(--blue);
}

.breadcrumb span[aria-hidden] {
  color: var(--gray-200);
}

/* ——— About ——— */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 4.5rem);
  align-items: start;
}

.about-grid img {
  width: 100%;
  border-radius: 2px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.value-card {
  padding: 1.75rem;
  border-top: 2px solid var(--blue);
}

.value-card h3 {
  margin-bottom: 0.65rem;
}

.value-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.timeline-item .year {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9375rem;
}

.timeline-item h3 {
  margin-bottom: 0.35rem;
}

.timeline-item p {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

/* ——— Service detail ——— */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--gray-200);
  align-items: center;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 2px;
}

.service-detail ul {
  margin-top: 1.25rem;
}

.service-detail li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.service-detail li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--blue);
  border-radius: 1px;
}

/* ——— Contact ——— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info h2 {
  margin-bottom: 1rem;
}

.contact-details {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-details dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.35rem;
}

.contact-details dd {
  color: var(--black);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--blue);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 2px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--black);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: 2px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-note {
  font-size: 0.8125rem;
  color: var(--gray-400);
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 2px;
}

.form-success.is-visible {
  display: block;
}

.map-wrap {
  margin-top: 4rem;
}

.map-wrap iframe,
#map {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 2px;
  background: var(--gray-100);
  z-index: 1;
}

.leaflet-container {
  font-family: var(--font);
  border-radius: 2px;
}

.iieb-marker-wrap {
  background: transparent;
  border: 0;
}

.iieb-marker {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(11, 45, 92, 0.35);
}

/* ——— Legal ——— */
.legal-content {
  max-width: 46rem;
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  margin: 1.75rem 0 0.75rem;
}

.legal-content p,
.legal-content li {
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 0 0 1.25rem 1.25rem;
  list-style: disc;
}

.legal-content a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ——— Footer ——— */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text strong {
  color: var(--white);
}

.footer-brand p {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  max-width: 18rem;
  line-height: 1.6;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-col a {
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.8125rem;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* ——— Cookie bar ——— */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem var(--gutter);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease);
}

.cookie-bar.is-visible {
  transform: translateY(0);
}

.cookie-inner {
  width: min(100%, var(--max));
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cookie-inner p {
  font-size: 0.875rem;
  max-width: 40rem;
}

.cookie-inner a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
}

/* ——— Reveal animations ——— */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ——— Responsive ——— */
@media (max-width: 1024px) {
  .services-grid,
  .cases-grid,
  .blog-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-step {
    padding-right: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .clients-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-detail,
  .service-detail:nth-child(even) {
    direction: ltr;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-cta {
    padding: 0.65rem 1rem;
    font-size: 0.8125rem;
  }

  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--gray-100);
  }

  .benefits-row,
  .about-grid,
  .contact-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .benefits-visual {
    aspect-ratio: 16/10;
    order: -1;
  }

  .services-grid,
  .cases-grid,
  .blog-grid,
  .values-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .clients-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-meta {
    gap: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
