:root {
  --color-dark: #1a1a1a;
  --color-dark-2: #111111;
  --color-panel: #242424;
  --color-panel-2: #202020;
  --color-primary: #467B9D;
  --color-primary-dark: #0F2E44;
  --color-primary-button: #2F5F7D;
  --color-accent: #F6A21A;
  --color-accent-hover: #E8920F;
  --color-white: #FFFFFF;
  --color-text: #F8FAFC;
  --color-muted: #B8C2CC;
  --color-border: #343434;
  --color-green: #15976B;
  --font-title: "Rethink Sans", sans-serif;
  --font-body: "Rethink Sans", sans-serif;
  --font-accent: "Saira", sans-serif;
  --weight-title: 800;
  --weight-heading: 700;
  --weight-subheading: 600;
  --weight-accent: 500;
  --weight-body: 400;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-dark);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: var(--weight-body);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
.brand,
.navbar {
  font-family: var(--font-title);
}

.main-nav,
.header-cta,
.btn,
.eyebrow,
.hero-sequence button,
.stat-card strong,
.service-number,
.service-card a,
.process-grid strong,
.feature-list span {
  font-family: var(--font-accent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(20px, 4vw, 72px);
  background: var(--color-dark);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  font-weight: var(--weight-accent);
  letter-spacing: .03em;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand span {
  font-size: 1.2rem;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.6vw, 42px);
  margin-left: auto;
  font-weight: var(--weight-accent);
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.main-nav a {
  color: var(--color-muted);
}

.main-nav a:hover {
  color: var(--color-accent);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 128px;
  height: 44px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: var(--weight-accent);
}

.header-cta:hover {
  background: var(--color-accent-hover);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: rgba(36, 36, 36, .92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--color-white);
}

.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 82px;
  overflow: hidden;
  background: var(--color-dark);
}

.hero-slide {
  position: absolute;
  inset: 82px 0 0 0;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 0 clamp(22px, 5vw, 96px);
  opacity: 0;
  visibility: hidden;
  transform: scale(1.01);
  min-width: 0;
  transition: opacity .45s ease, transform .45s ease, visibility .45s ease;
  background: var(--color-dark);
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, .98) 0%, rgba(26, 26, 26, .86) 38%, rgba(26, 26, 26, .42) 66%, rgba(26, 26, 26, .1) 100%),
    linear-gradient(180deg, rgba(26, 26, 26, .22), rgba(26, 26, 26, .26));
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  min-width: 0;
  padding: 42px 0;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent);
  font-weight: var(--weight-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .85rem;
}

.hero h1,
.bocado-landing-hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(2.5rem, 5vw, 5.4rem);
  font-weight: var(--weight-title);
  line-height: .98;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero p,
.bocado-landing-hero p {
  max-width: 560px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  line-height: 1.7;
  text-wrap: pretty;
}

.bocado-inline-logo {
  width: 180px;
  max-height: 70px;
  object-fit: contain;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--color-white);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: var(--weight-accent);
  letter-spacing: .02em;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--color-accent-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border-color: var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-panel);
}

.hero-sequence {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 4vw, 72px);
  top: 50%;
  display: grid;
  gap: 14px;
  transform: translateY(-50%);
}

.hero-sequence button {
  width: 70px;
  height: 42px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: rgba(255, 255, 255, .42);
  background: transparent;
  font-size: 1rem;
  font-weight: var(--weight-accent);
  cursor: pointer;
}

.hero-sequence button.is-active {
  color: var(--color-primary-dark);
  background: var(--color-accent);
}

.hero-controls {
  position: absolute;
  z-index: 5;
  right: clamp(18px, 4vw, 72px);
  bottom: clamp(24px, 5vh, 58px);
  display: flex;
  gap: 14px;
}

.control-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: rgba(26, 26, 26, .85);
  color: var(--color-white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.control-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.stats-section {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 46px 20px 20px;
}

.stat-card {
  padding: 28px;
  background: var(--color-panel);
  border: 1px solid var(--color-border);
}

.stat-card strong {
  display: block;
  color: var(--color-accent);
  font-weight: var(--weight-heading);
  font-size: 2.2rem;
}

.stat-card span {
  color: var(--color-muted);
  font-size: .95rem;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 36px;
}

.section-heading h2,
.section h2,
.cta-section h2 {
  margin: 14px 0;
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3vw, 3.4rem);
  font-weight: var(--weight-heading);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-heading p,
.section p,
.cta-section p {
  color: var(--color-muted);
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.service-card,
.process-grid article {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-panel);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.service-card::before,
.process-grid article::before,
.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(246, 162, 26, .18), transparent 34%);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
}

.service-card:hover,
.process-grid article:hover,
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(246, 162, 26, .58);
  box-shadow: 0 24px 54px rgba(0, 0, 0, .24);
}

.service-card:hover::before,
.process-grid article:hover::before,
.contact-card:hover::before {
  opacity: 1;
}

.service-card-featured {
  background: var(--color-primary-dark);
  border-color: var(--color-primary);
}

.service-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-primary-dark);
  font-weight: var(--weight-subheading);
}

.service-card h3,
.process-grid h3 {
  margin: 0 0 12px;
  font-family: var(--font-title);
  font-weight: var(--weight-subheading);
  font-size: 1.25rem;
}

.service-card p,
.process-grid p {
  margin: 0;
  font-size: .96rem;
}

.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-accent);
  font-weight: var(--weight-accent);
}

.bocado-preview,
.state-section,
.cta-section {
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-panel-2);
}

.bocado-preview {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: center;
  padding: 48px;
}

.bocado-logo-box {
  display: grid;
  place-items: center;
  min-height: 260px;
  border-radius: 24px;
  background: var(--color-white);
}

.bocado-logo-box img {
  width: min(320px, 82%);
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.feature-list span {
  display: inline-flex;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  color: var(--color-text);
  background: var(--color-dark);
  font-weight: var(--weight-accent);
  font-size: .92rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.process-grid article {
  min-height: 220px;
}

.process-grid strong {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--color-accent);
  font-weight: var(--weight-heading);
  font-size: 1.4rem;
}

.state-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 42px;
}

.cta-section {
  width: min(1180px, calc(100% - 40px));
  margin: 24px auto 70px;
  padding: 60px 40px;
  text-align: center;
}

.cta-section p {
  max-width: 660px;
  margin: 0 auto 28px;
}

.site-footer {
  padding: 72px clamp(24px, 5vw, 72px) 40px;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  background: var(--color-dark-2);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.45fr .9fr 1.35fr .65fr;
  gap: clamp(28px, 4vw, 58px);
  align-items: start;
  max-width: 1180px;
  margin: 0 auto;
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-brand {
  display: grid;
  gap: 16px;
}

.footer-logos {
  display: grid;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  width: fit-content;
  color: var(--color-white);
  text-decoration: none;
}

.footer-logo-idekhea {
  gap: 12px;
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: var(--weight-heading);
  letter-spacing: .08em;
}

.footer-logo-idekhea img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.footer-logo-bocado {
  width: 190px;
}

.footer-logo-bocado img {
  width: 100%;
  height: auto;
}

.footer-slogan {
  color: var(--color-muted);
  font-family: var(--font-accent);
  font-size: .78rem;
  font-weight: var(--weight-accent);
  letter-spacing: .16em;
  line-height: 1.5;
  text-transform: uppercase;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: var(--color-white);
  font-family: var(--font-accent);
  font-size: .82rem;
  font-weight: var(--weight-subheading);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.footer-column a {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 9px 0;
  color: var(--color-text);
  font-family: var(--font-accent);
  font-size: .86rem;
  font-weight: var(--weight-accent);
  letter-spacing: .04em;
  transition: color .22s ease, transform .22s ease;
}

.footer-column a:hover {
  color: var(--color-accent);
  transform: translateX(5px);
}

.footer-location p {
  color: var(--color-muted);
  line-height: 1.55;
}

.whatsapp-link::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 9px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .12);
}

.footer-map {
  height: 150px;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: var(--color-panel);
}

.footer-map iframe,
.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(.78) contrast(1.04) brightness(.86);
  transition: filter .35s ease, transform .55s ease;
}

.footer-map:hover iframe,
.contact-map-card:hover iframe {
  filter: saturate(1) contrast(1) brightness(.98);
  transform: scale(1.025);
}

.map-link {
  color: var(--color-accent) !important;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, .58);
  border-radius: 50%;
  color: var(--color-white);
  transition: background .22s ease, color .22s ease, transform .22s ease, border-color .22s ease;
}

.social-links svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-links a:hover {
  color: var(--color-primary-dark);
  background: var(--color-accent);
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.footer-divider {
  max-width: 1180px;
  height: 1px;
  margin: 58px auto 34px;
  border: 0;
  background: rgba(255, 255, 255, .22);
}

.footer-bottom {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--color-muted);
  text-align: center;
}

.copyright {
  margin: 0;
  font-family: var(--font-accent);
  font-size: .92rem;
  font-weight: var(--weight-accent);
}

.contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .45fr);
  gap: 30px;
  align-items: center;
  min-height: 78vh;
  padding: 132px clamp(20px, 5vw, 90px) 70px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, .98), rgba(26, 26, 26, .82)),
    url("../assets/hero-redes.jpg") center / cover no-repeat;
}

.contact-hero::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 24%;
  width: min(36vw, 440px);
  aspect-ratio: 1;
  border: 1px solid rgba(246, 162, 26, .34);
  border-radius: 50%;
  box-shadow: 0 0 80px rgba(246, 162, 26, .16);
  animation: slowSpin 16s linear infinite;
}

.contact-hero-content,
.contact-pulse-card {
  position: relative;
  z-index: 1;
}

.contact-hero h1 {
  max-width: 820px;
  margin: 18px 0;
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: var(--weight-title);
  line-height: 1;
}

.contact-hero p {
  max-width: 650px;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.7;
}

.contact-pulse-card {
  align-self: end;
  padding: 28px;
  border: 1px solid rgba(246, 162, 26, .5);
  border-radius: 22px;
  background: rgba(26, 26, 26, .72);
  backdrop-filter: blur(16px);
  box-shadow: 0 28px 60px rgba(0, 0, 0, .3);
  animation: floatCard 5s ease-in-out infinite;
}

.contact-pulse-card span {
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-weight: var(--weight-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.contact-pulse-card strong {
  display: block;
  margin-top: 12px;
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.6rem;
  line-height: 1.15;
}

.contact-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--color-border);
  border-radius: 22px;
  background: var(--color-panel);
  transition: transform .32s ease, border-color .32s ease, box-shadow .32s ease;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 16px;
  background: rgba(246, 162, 26, .13);
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-size: 1.4rem;
  font-weight: var(--weight-heading);
}

.contact-icon svg {
  width: 32px;
  height: 32px;
  fill: #25D366;
}

.contact-card h2 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-family: var(--font-title);
  font-size: 1.35rem;
  font-weight: var(--weight-subheading);
}

.contact-card p {
  color: var(--color-muted);
  line-height: 1.7;
}

.contact-card a {
  display: inline-flex;
  margin-top: 12px;
  color: var(--color-accent);
  font-family: var(--font-accent);
  font-weight: var(--weight-accent);
}

.contact-map-card {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 24px;
  background: var(--color-panel);
}

.contact-map-card iframe {
  height: min(58vh, 520px);
  min-height: 340px;
}

.contact-map-card .btn {
  margin: 22px;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .75s ease, transform .75s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: var(--font-body);
}

.whatsapp-launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 0;
  border-radius: 50%;
  background: #25D366;
  cursor: pointer;
  box-shadow: 0 18px 44px rgba(37, 211, 102, .38);
  transition: transform .25s ease, box-shadow .25s ease;
}

.whatsapp-launcher svg {
  width: 34px;
  height: 34px;
  fill: var(--color-white);
  animation: whatsappBeat 2s ease-in-out infinite;
}

.whatsapp-launcher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid rgba(37, 211, 102, .45);
  border-radius: inherit;
  animation: chatRing 2.4s ease-out infinite;
}

.whatsapp-launcher:hover {
  transform: translateY(-4px) rotate(-5deg);
  box-shadow: 0 24px 52px rgba(37, 211, 102, .48);
}

.whatsapp-widget.is-open .whatsapp-launcher {
  transform: rotate(90deg) scale(.92);
}

.whatsapp-panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(360px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 18px;
  background: var(--color-white);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .34);
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px) scale(.96);
  transform-origin: right bottom;
  transition: opacity .24s ease, transform .24s ease, visibility .24s ease;
}

.whatsapp-widget.is-open .whatsapp-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.whatsapp-panel-head {
  position: relative;
  padding: 18px 52px 18px 18px;
  background: var(--color-primary-dark);
  color: var(--color-white);
}

.whatsapp-panel-head strong,
.whatsapp-panel-head small {
  display: block;
}

.whatsapp-panel-head small {
  margin-top: 3px;
  color: rgba(255, 255, 255, .72);
}

.whatsapp-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .14);
}

.whatsapp-close {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: var(--color-white);
  font-size: 1.25rem;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.whatsapp-close:hover {
  background: rgba(255, 255, 255, .22);
  transform: rotate(90deg);
}

.whatsapp-chat-body {
  padding: 18px;
  background: #F3F6F4;
}

.whatsapp-message {
  width: 88%;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 4px 14px 14px 14px;
  background: var(--color-white);
  color: #1A1A1A;
  font-size: .88rem;
  line-height: 1.55;
  box-shadow: 0 8px 22px rgba(31, 41, 51, .07);
  animation: messageIn .32s ease both;
}

.whatsapp-chat-form {
  display: grid;
  gap: 10px;
}

.whatsapp-chat-form textarea {
  width: 100%;
  min-height: 88px;
  padding: 12px;
  resize: none;
  border: 1px solid #D4D9DE;
  border-radius: 12px;
  background: var(--color-white);
  color: #1A1A1A;
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.whatsapp-chat-form textarea:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 4px rgba(37, 211, 102, .12);
}

.whatsapp-send {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #25D366;
  color: #082916;
  font-family: var(--font-accent);
  font-weight: var(--weight-subheading);
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}

.whatsapp-send:hover {
  transform: translateY(-2px);
  background: #2DE172;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes slowSpin {
  to { transform: rotate(360deg); }
}

@keyframes chatRing {
  0% { opacity: .7; transform: scale(.86); }
  75%, 100% { opacity: 0; transform: scale(1.24); }
}

@keyframes whatsappBeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.16); }
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.bocado-landing-hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 32px;
  align-items: center;
  min-height: 100vh;
  padding: 132px clamp(20px, 5vw, 90px) 70px;
  background: var(--color-dark);
}

.bocado-landing-logo {
  width: 260px;
  padding: 18px 22px;
  border-radius: 18px;
  background: var(--color-white);
}

.bocado-landing-media {
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: 28px;
  background: var(--color-dark-2);
}

.bocado-landing-media img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  object-position: center;
}

.bocado-modules {
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .main-nav {
    gap: 18px;
    font-size: .78rem;
  }

  .service-grid,
  .bocado-modules {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .stats-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top,
  .contact-options {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-location {
    grid-column: 1 / -1;
  }

  .hero-content {
    width: min(620px, 100%);
  }
}

@media (max-width: 820px) {
  .site-header {
    height: 72px;
    padding: 0 18px;
  }

  .menu-toggle {
    position: absolute;
    top: 14px;
    right: 18px;
    z-index: 70;
    display: grid;
    place-content: center;
    gap: 4px;
    margin-left: 0;
  }

  .menu-toggle span {
    margin: 0 auto;
  }

  .main-nav:not(.always-visible) {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 14px 18px;
    background: var(--color-dark);
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-130%);
    transition: transform .25s ease;
  }

  .main-nav:not(.always-visible).is-open {
    transform: translateY(0);
  }

  .main-nav:not(.always-visible) a {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .always-visible {
    display: none;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 760px;
    padding-top: 72px;
  }

  .hero-slide {
    inset: 72px 0 0 0;
    width: 100%;
    max-width: 100vw;
    min-height: 688px;
    align-items: flex-start;
    padding: 36px 20px 88px;
  }

  .hero-slide::before {
    background:
      linear-gradient(180deg, rgba(26, 26, 26, .96) 0%, rgba(26, 26, 26, .76) 48%, rgba(26, 26, 26, .2) 100%),
      linear-gradient(90deg, rgba(26, 26, 26, .78), rgba(26, 26, 26, .08));
  }

  .hero-content {
    flex: 0 1 calc(100vw - 40px);
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
    padding-top: 10px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero h1,
  .bocado-landing-hero h1 {
    font-size: clamp(1.85rem, 7.6vw, 3.1rem);
    line-height: 1.04;
  }

  .hero p,
  .bocado-landing-hero p {
    max-width: 100%;
    font-size: .98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-sequence {
    top: auto;
    bottom: 24px;
    left: 20px;
    right: auto;
    display: flex;
    transform: none;
  }

  .hero-sequence button {
    width: 48px;
    height: 34px;
    font-size: .78rem;
  }

  .hero-controls {
    right: 20px;
    bottom: 18px;
  }

  .stats-section,
  .process-grid,
  .service-grid,
  .bocado-modules,
  .footer-top,
  .contact-options {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(100% - 32px, 680px);
    padding: 58px 0;
  }

  .bocado-preview,
  .state-section {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .state-section {
    display: grid;
  }

  .bocado-logo-box {
    min-height: 190px;
  }

  .site-footer {
    padding: 42px 16px 24px;
  }

  .footer-top {
    gap: 30px;
  }

  .footer-location {
    grid-column: auto;
  }

  .contact-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 116px 20px 58px;
  }

  .contact-hero h1 {
    font-size: clamp(2rem, 9vw, 3.4rem);
  }

  .contact-pulse-card {
    align-self: auto;
  }

  .contact-map-card iframe {
    min-height: 320px;
  }

  .whatsapp-widget {
    right: 14px;
    bottom: 14px;
  }

  .whatsapp-launcher {
    width: 56px;
    height: 56px;
  }

  .whatsapp-panel {
    bottom: 68px;
  }

  .bocado-landing-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 116px;
  }

  .bocado-landing-media img {
    min-height: 320px;
  }
}

@media (max-width: 520px) {
  .brand span {
    font-size: 1rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .btn {
    width: 100%;
  }

  .hero {
    min-height: 840px;
  }

  .hero-slide {
    min-height: 768px;
    padding-bottom: 84px;
  }

  .hero h1,
  .bocado-landing-hero h1 {
    font-size: clamp(1.78rem, 7.25vw, 2.35rem);
  }

  .hero h1,
  .hero p,
  .hero-actions {
    max-width: 350px;
  }

  .hero-media img {
    object-position: 70% center;
  }

  .hero-controls {
    display: none;
  }

  .service-card,
  .process-grid article {
    min-height: auto;
  }

  .cta-section {
    width: min(100% - 32px, 680px);
    padding: 42px 24px;
  }

  .contact-card {
    border-radius: 18px;
  }
}

@media (max-width: 380px) {
  .hero h1,
  .hero p,
  .hero-actions {
    max-width: 320px;
  }
}
