@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Newsreader:ital,wght@0,400;0,500;1,400;1,500&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { overflow-x: hidden; }
body { overflow-x: hidden; position: relative; }

:root {
  --orange: #c85a1e;
  --orange-dark: #a54614;
  --green: #4a8f3e;
  --green-dark: #3a7230;
  --ink: #211f1a;
  --ink-60: rgba(33,31,26,.6);
  --ink-50: rgba(33,31,26,.5);
  --ink-40: rgba(33,31,26,.4);
  --ink-08: rgba(33,31,26,.08);
  --cream: #f7f4ee;
  --white: #fff;
}

body {
  background: var(--cream);
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--ink);
  min-height: 100vh;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-dark); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ── Animations ── */
@keyframes fadeDown  { from { opacity:0; transform:translateY(-12px) } to { opacity:1; transform:translateY(0) } }
@keyframes fadeUp    { from { opacity:0; transform:translateY(28px)  } to { opacity:1; transform:translateY(0) } }
@keyframes scaleIn   { from { opacity:0; transform:scale(.93)        } to { opacity:1; transform:scale(1)     } }
@keyframes floatSlow { 0%,100% { transform:translateY(0) } 50% { transform:translateY(-10px) } }

/* ── Topbar highlight ── */
.topbar-highlight {
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .02em;
  animation: fadeDown .5s ease both;
}
.topbar-highlight-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
  padding: 10px 40px;
  flex-wrap: wrap;
}
.topbar-highlight a,
.topbar-highlight span {
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  opacity: .95;
  transition: opacity .2s;
}
.topbar-highlight a:hover { opacity: 1; color: #fff; }

/* ── Topbar ── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 40px;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--ink-50);
  background: var(--white);
  border-bottom: 1px solid var(--ink-08);
  position: relative;
  z-index: 10;
  animation: fadeDown .6s ease both;
}
.topbar-contacts { display: flex; gap: 24px; }
.topbar a { color: var(--ink-50); }
.topbar a:hover { color: var(--orange); }

/* ── Hero ── */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2px 24px 56px;
  position: relative;
  z-index: 1;
}
.hero-logo img {
  height: 42px;
  max-width: 85vw;
  width: auto;
  animation: scaleIn .7s cubic-bezier(.2,.8,.2,1) .1s both;
}
.hero-tagline {
  margin-top: 22px;
  font-size: 15px;
  color: var(--ink-60);
  max-width: 480px;
  text-align: center;
  line-height: 1.55;
  animation: fadeUp .7s ease .25s both;
}

/* ── Floating blobs ── */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatSlow 6s ease-in-out infinite;
}
.blob-orange { top: 110px; left: -80px; width: 220px; height: 220px; background: radial-gradient(circle,rgba(200,90,30,.12),transparent 70%); }
.blob-green  { top: 280px; right:-80px; width: 260px; height: 260px; background: radial-gradient(circle,rgba(74,143,62,.10),transparent 70%); animation-delay: 1.4s; }

/* ── Main wrapper ── */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 88px);
  max-width: 100%;
}

/* ── Cards grid ── */
.cards {
  display: flex;
  gap: 24px;
  padding: 56px 40px 80px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

.card {
  width: clamp(300px, calc(50% - 12px), 580px);
  background: var(--white);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(33,31,26,.18);
  animation: fadeUp .8s cubic-bezier(.2,.8,.2,1) both;
  transition: transform .45s cubic-bezier(.2,.8,.2,1), box-shadow .45s ease;
  will-change: transform;
}
.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 36px 72px -24px rgba(33,31,26,.26);
}
.card:nth-child(1) { animation-delay: .35s; }
.card:nth-child(2) { animation-delay: .50s; }

.card-img {
  height: 340px;
  overflow: hidden;
  position: relative;
}
.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.card-img img.img-eventos {
  object-position: center 35%;
}
.card:hover .card-img img { transform: scale(1.06); }

.card-marca {
  position: absolute;
  right: -10px;
  top: 70%;
  transform: translateY(-50%);
  pointer-events: none;
  width: 52%;
}
.card-marca img {
  width: 80%;
  height: auto;
  opacity: .10;
  mix-blend-mode: multiply;
  display: block;
}

.card-body { padding: 40px 44px 44px; position: relative; overflow: hidden; }

.eyebrow {
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  margin-bottom: 12px;
  display: inline-block;
  position: relative;
}
.eyebrow::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width .5s cubic-bezier(.2,.8,.2,1);
}
.card:hover .eyebrow::after { width: 100%; }

.eyebrow-orange { color: var(--orange); }
.eyebrow-green  { color: var(--green); }

.card-title {
  font-family: 'Newsreader', serif;
  font-size: 28px;
  line-height: 1.25;
  font-weight: 500;
  margin-bottom: 14px;
}
.card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-60);
  margin: 0 0 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 999px;
  transition: gap .3s ease, filter .3s ease;
}
.btn:hover { gap: 14px; filter: brightness(1.08); color: var(--white); }
.btn-orange { background: var(--orange); }
.btn-green  { background: var(--green); }

.btn-arrow { transition: transform .3s cubic-bezier(.2,.8,.2,1); display: inline-block; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ── Footer ── */
footer {
  background: var(--white);
  border-top: 1px solid var(--ink-08);
  padding: 22px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--ink-40);
  position: relative;
  z-index: 1;
}

.footer-lexinfo {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-40);
  font-size: 11px;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .25s;
}
.footer-lexinfo:hover { color: var(--orange); }
.footer-lexinfo img {
  height: 20px;
  opacity: .5;
  transition: opacity .25s;
}
.footer-lexinfo:hover img { opacity: .85; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .card { width: 100%; max-width: 600px; }
}

@media (max-width: 768px) {
  .topbar-highlight-inner { gap: 14px; padding: 10px 16px; flex-direction: column; text-align: center; }
  .topbar {
    flex-direction: column;
    gap: 6px;
    padding: 10px 20px;
    text-align: center;
  }
  .topbar-contacts { flex-direction: column; gap: 4px; align-items: center; }
  .hero { padding: 40px 20px 36px; }
  .hero-logo img { height: auto; max-height: 52px; max-width: 80vw; }
  .cards { padding: 0 16px 48px; gap: 20px; }
  .card-body { padding: 24px 24px 28px; }
  footer { flex-direction: column; gap: 12px; padding: 18px 20px; text-align: center; }
}
