/* ============================================
   JOSEMA CAMPO · ABOGADO
   Refined editorial legal aesthetic
   ============================================ */

:root {
  --c-ink: #0e1f3a;            /* deep navy */
  --c-ink-2: #1a3158;
  --c-bg: #ffffff;             /* pure white */
  --c-bg-2: #f7f8f9;           /* near-white, very subtle alt */
  --c-surface: #ffffff;
  --c-text: #1f2933;
  --c-text-soft: #4a5568;
  --c-rule: #e5e7eb;
  --c-rule-soft: #f0f1f3;
  --c-accent: #6b7280;         /* gray accent (was brass) */
  --c-accent-2: #4b5563;       /* darker gray for hovers */
  --c-accent-light: #9ca3af;   /* light gray for dark backgrounds */
  --c-wa: #25d366;
  --c-wa-dark: #128c7e;

  --f-display: "Fraunces", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --shadow-sm: 0 1px 2px rgba(14, 31, 58, .06), 0 4px 12px rgba(14, 31, 58, .04);
  --shadow-md: 0 4px 16px rgba(14, 31, 58, .08), 0 12px 32px rgba(14, 31, 58, .08);
  --shadow-lg: 0 12px 32px rgba(14, 31, 58, .12), 0 32px 64px rgba(14, 31, 58, .12);

  --radius: 4px;
  --radius-lg: 12px;

  --max: 1180px;
}

/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { padding: 0; list-style: none; margin: 0; }
h1, h2, h3, h4, h5 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.01em; }

/* ============ LAYOUT ============ */
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; position: relative; }
@media (max-width: 768px) { .section { padding: 4rem 0; } }

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 24px; height: 1px;
  background: var(--c-accent);
  vertical-align: middle;
  margin-right: 12px;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}
.section-head .eyebrow::before { display: none; }
.section-head h2 {
  font-family: var(--f-display);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--c-ink);
  font-weight: 500;
  letter-spacing: -.02em;
}
.section-head h2 em {
  font-style: italic;
  color: var(--c-accent);
}
.section-head p {
  margin-top: 1rem;
  color: var(--c-text-soft);
  font-size: 1.075rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 1.6rem;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: .02em;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-sm { padding: .55rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--c-ink);
  color: var(--c-bg-2);
}
.btn-primary:hover { background: var(--c-ink-2); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-ghost {
  background: transparent;
  color: var(--c-ink);
  border-color: var(--c-ink);
}
.btn-ghost:hover { background: var(--c-ink); color: var(--c-bg-2); }

.btn-whatsapp {
  background: var(--c-wa);
  color: #fff;
}
.btn-whatsapp:hover { background: var(--c-wa-dark); transform: translateY(-1px); }

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(251, 249, 244, 0);
  backdrop-filter: blur(0px);
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(251, 249, 244, .92);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--c-rule-soft);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 2rem;
}

.brand { display: flex; align-items: center; gap: .8rem; }
.brand-mark {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  background: var(--c-ink);
  color: #ffffff;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.brand-mark svg {
  width: 28px;
  height: 28px;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 4px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 1px;
  pointer-events: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -.01em;
}
.brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-top: 2px;
}

.nav-desktop {
  display: flex;
  gap: 2.2rem;
  margin-left: auto;
  margin-right: 1.2rem;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: .25rem 0;
  transition: color .2s;
}
.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 1px; width: 0;
  background: var(--c-accent);
  transition: width .3s ease;
}
.nav-desktop a:hover { color: var(--c-accent); }
.nav-desktop a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--c-ink);
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-rule-soft);
  padding: 1rem 1.5rem 1.5rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: .85rem 0;
  border-bottom: 1px solid var(--c-rule-soft);
  font-weight: 500;
  color: var(--c-ink);
}
.nav-mobile a:last-child { border-bottom: none; }

@media (max-width: 960px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .header-inner .btn-whatsapp { display: none; }
}

/* ============ HERO ============ */
.hero {
  position: relative;
  padding: 11rem 0 6rem;
  overflow: hidden;
  background: linear-gradient(180deg, var(--c-bg-2) 0%, var(--c-bg) 100%);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 0%, rgba(107, 114, 128, .08), transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(14, 31, 58, .06), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 960px) {
  .hero { padding: 8rem 0 4rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
}

.hero-text h1 {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.75rem);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -.025em;
  line-height: 1.05;
  margin-top: .5rem;
}
.hero-text h1 em {
  font-style: italic;
  color: var(--c-accent);
  font-weight: 400;
}
.hero-text h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--c-text-soft);
  margin-top: 1rem;
}
.hero-lead {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-ink);
  margin-top: 1.8rem;
  padding-left: 1rem;
  border-left: 2px solid var(--c-accent);
}
.hero-body {
  margin-top: 1.2rem;
  color: var(--c-text-soft);
  max-width: 560px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .9rem;
  margin-top: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--c-rule);
}
.hero-stats li { text-align: left; }
.hero-stats strong {
  display: block;
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--c-ink);
  line-height: 1;
}
.hero-stats strong span {
  color: var(--c-accent);
  font-style: italic;
  font-weight: 400;
}
.hero-stats li > span {
  display: block;
  margin-top: .4rem;
  font-size: 0.82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-text-soft);
}
@media (max-width: 520px) {
  .hero-stats { grid-template-columns: 1fr; gap: 1rem; }
}

.hero-image { position: relative; }
.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
  background: var(--c-bg-2);
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  z-index: 2;
  pointer-events: none;
}
.portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.portrait-tag {
  position: absolute;
  bottom: 1.5rem; left: 1.5rem;
  background: rgba(14, 31, 58, .92);
  backdrop-filter: blur(8px);
  color: var(--c-bg-2);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  padding: .55rem 1rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: .55rem;
  z-index: 3;
}
.portrait-tag .dot {
  width: 6px; height: 6px;
  background: var(--c-accent-light);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .55; transform: scale(1.4); }
}

/* ============ SERVICIOS ============ */
.services {
  background: var(--c-bg-2);
  border-top: 1px solid var(--c-rule);
  border-bottom: 1px solid var(--c-rule);
}
.services-block { margin-bottom: 4rem; }
.services-block:last-child { margin-bottom: 0; }
.services-block-title {
  font-family: var(--f-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-rule);
}
.services-block-title span {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--c-accent);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: #ffffff;
  border: 1px solid var(--c-rule);
  padding: 2rem 1.75rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform .35s cubic-bezier(.2,.7,.3,1), box-shadow .35s ease, border-color .35s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-accent);
}
.service-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 0.95rem;
  color: var(--c-accent);
  margin-bottom: 1rem;
  letter-spacing: .05em;
}
.service-card h4 {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--c-ink);
  margin-bottom: .9rem;
  line-height: 1.25;
}
.service-card p {
  font-size: 0.94rem;
  color: var(--c-text-soft);
  margin: 0;
  line-height: 1.65;
}

/* ============ ABOUT ============ */
.about { background: var(--c-bg); }
.about-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}
.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-lg);
}
.about-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(14, 31, 58, .25));
  z-index: 1;
  pointer-events: none;
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-image > svg.hs-illu {
  display: block;
  width: 100%;
  height: 100%;
}

.about-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
}
.about-text p {
  color: var(--c-text-soft);
  margin-bottom: 1.1rem;
  font-size: 1.005rem;
}
.about-text p:last-of-type { margin-bottom: 1.8rem; }
.check-list {
  margin-top: 1.5rem;
  border-top: 1px solid var(--c-rule);
  padding-top: 1.5rem;
}
.check-list li {
  position: relative;
  padding: .55rem 0 .55rem 2rem;
  font-weight: 500;
  color: var(--c-ink);
  font-size: 0.97rem;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 18px;
  margin-top: -9px;
  border: 1.5px solid var(--c-accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='none' stroke='%23b08a4a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12l5 5L20 7'/></svg>");
  background-size: 11px;
  background-position: center;
  background-repeat: no-repeat;
}

.collab { margin-top: 5rem; }
.collab-card {
  background: var(--c-ink);
  color: var(--c-bg-2);
  padding: 3.5rem clamp(1.5rem, 4vw, 4rem);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.collab-card::before {
  content: "❝";
  position: absolute;
  top: -2rem; right: 2rem;
  font-family: var(--f-display);
  font-size: 14rem;
  line-height: 1;
  color: var(--c-accent-light);
  opacity: .14;
  pointer-events: none;
}
.collab-card h3 {
  font-family: var(--f-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 500;
  margin-bottom: 1.5rem;
  letter-spacing: -.01em;
}
.collab-card p {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 1rem;
  max-width: 780px;
  font-size: 1.005rem;
}
.collab-card p:last-child { margin-bottom: 0; }

/* ============ PROCESO ============ */
.process { background: var(--c-bg-2); border-top: 1px solid var(--c-rule); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  position: relative;
}
.process-steps::before {
  content: "";
  position: absolute;
  top: 38px; left: 12%; right: 12%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--c-rule) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (max-width: 800px) {
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-steps li {
  background: #ffffff;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--c-rule-soft);
  position: relative;
  z-index: 1;
  transition: transform .3s ease, box-shadow .3s ease;
}
.process-steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 56px; height: 56px;
  background: var(--c-ink);
  color: var(--c-bg-2);
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  border-radius: 50%;
  margin: 0 auto 1.3rem;
  position: relative;
}
.step-num::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid var(--c-accent);
  border-radius: 50%;
}
.process-steps h4 {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--c-ink);
  text-align: center;
  margin-bottom: .6rem;
}
.process-steps p {
  color: var(--c-text-soft);
  font-size: 0.9rem;
  text-align: center;
  margin: 0;
}

/* ============ CONTACTO ============ */
.contact { background: var(--c-bg); }
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info h2 {
  font-family: var(--f-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--c-ink);
  letter-spacing: -.02em;
  margin-bottom: 1rem;
}
.contact-lead {
  color: var(--c-text-soft);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.contact-list { margin-bottom: 2rem; }
.contact-list li {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--c-rule-soft);
}
.contact-list li:last-child { border-bottom: none; }
.contact-icon {
  width: 42px; height: 42px;
  background: #ffffff;
  color: var(--c-ink);
  display: grid; place-items: center;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid var(--c-rule);
}
.contact-list .contact-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 2px;
}
.contact-list a {
  font-weight: 500;
  color: var(--c-ink);
  transition: color .2s;
}
.contact-list a:hover { color: var(--c-accent); }
.contact-foot {
  margin-top: 1.5rem;
  font-size: 0.86rem;
  color: var(--c-text-soft);
  font-style: italic;
  line-height: 1.6;
}

.contact-form {
  background: #ffffff;
  border: 1px solid var(--c-rule);
  padding: 2.5rem clamp(1.5rem, 3vw, 2.5rem);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin-bottom: .55rem;
}
.field label span { color: var(--c-accent); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-rule);
  border-radius: var(--radius);
  font-size: 0.95rem;
  color: var(--c-text);
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--f-body);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(107, 114, 128, .15);
}
.field input.invalid,
.field textarea.invalid,
.field select.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, .12);
}
.contact-form .btn-primary {
  background: var(--c-wa);
  color: #fff;
  margin-top: .5rem;
}
.contact-form .btn-primary:hover { background: var(--c-wa-dark); }
.form-note {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--c-text-soft);
  text-align: center;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--c-ink);
  color: rgba(255, 255, 255, .8);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

.brand-footer .brand-mark { background: var(--c-accent); }
.brand-footer .brand-name { color: #ffffff; }
.brand-footer .brand-sub { color: var(--c-accent-light); }

.footer-tag {
  margin-top: 1.2rem;
  color: rgba(255, 255, 255, .85);
  font-size: 0.95rem;
}
.footer-meta {
  margin-top: .5rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .5);
}
.site-footer h5 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-accent-light);
  margin-bottom: 1.1rem;
}
.site-footer ul li { margin-bottom: .65rem; }
.site-footer ul a {
  color: rgba(255, 255, 255, .75);
  font-size: 0.92rem;
  transition: color .2s;
}
.site-footer ul a:hover { color: #ffffff; }

.footer-bottom {
  padding-top: 1.8rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, .5);
  text-align: center;
}

/* ============ WHATSAPP FLOAT ============ */
.wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  width: 60px; height: 60px;
  background: var(--c-wa);
  border-radius: 50%;
  display: grid; place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  z-index: 90;
  transition: transform .3s ease, box-shadow .3s ease;
}
.wa-float:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgba(37, 211, 102, .5); }
.wa-float::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--c-wa);
  opacity: .35;
  z-index: -1;
  animation: wa-pulse 2.5s ease-out infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============ REVEAL ON SCROLL ============ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============ A11Y ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  html { scroll-behavior: auto; }
}

::selection { background: var(--c-accent); color: var(--c-bg-2); }
