/* ==========================================================================
   Romeo The Cat · Landing de prelanzamiento
   ========================================================================== */

:root {
  --cream:        #FDF6EC;
  --cream-soft:   #F6EBDA;
  --cream-line:   #E7D8BF;

  --brown-950:    #211208;
  --brown-900:    #2B1608;
  --brown-800:    #3D2415;
  --brown-600:    #6B4A33;
  --brown-400:    #9C7B5E;

  --gold:         #C1863C;
  --gold-deep:    #9C6B28;
  --gold-soft:    #E9C88C;

  --white:        #FFFFFF;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body:    "Jost", "Helvetica Neue", sans-serif;

  --max-width: 1180px;
  --radius-lg: 28px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --ease: cubic-bezier(.22, .8, .28, 1);
}

/* --- Reset ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--brown-900);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--brown-950);
  margin: 0 0 .4em;
  letter-spacing: -0.01em;
}

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

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* subtle paper grain across the whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* --- Type helpers ------------------------------------------------------ */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.eyebrow-light { color: var(--gold-soft); }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.section-lead {
  max-width: 520px;
  color: var(--brown-600);
  font-size: 17px;
}
.section-lead.light { color: #D9C4AC; }

h2 { font-size: clamp(28px, 3.6vw, 40px); }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .02em;
  border: none;
  white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .25s ease;
}
.btn-primary {
  background: linear-gradient(180deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: var(--cream);
  box-shadow: 0 10px 24px -10px rgba(156, 107, 40, .65);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(156, 107, 40, .75); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { opacity: .65; cursor: default; transform: none; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background-color .4s var(--ease), padding .4s var(--ease), box-shadow .4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(253, 246, 236, .88);
  backdrop-filter: blur(10px);
  padding: 12px 0;
  box-shadow: 0 1px 0 var(--cream-line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand-logo {
  height: 116px;
  width: auto;
  display: block;
  transition: height .35s var(--ease), opacity .35s ease;
}
.brand-logo-light {
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .4));
}
.brand-logo-dark {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: drop-shadow(0 4px 10px rgba(43, 22, 8, .18));
}
.site-header.is-scrolled .brand-logo { height: 64px; }
.site-header.is-scrolled .brand-logo-light { opacity: 0; }
.site-header.is-scrolled .brand-logo-dark { opacity: 1; }

.brand { position: relative; display: inline-flex; transition: transform .3s var(--ease); }
.brand:hover { transform: scale(1.04); }

.site-nav { display: flex; align-items: center; gap: 30px; }
.site-nav a:not(.nav-cta) {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--cream);
  position: relative;
  padding-bottom: 3px;
  transition: color .3s ease;
}
.site-header.is-scrolled .site-nav a:not(.nav-cta) {
  color: var(--brown-800);
}
.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold-soft);
  transition: right .3s var(--ease);
}
.site-header.is-scrolled .site-nav a:not(.nav-cta)::after {
  background: var(--gold-deep);
}
.site-nav a:not(.nav-cta):hover::after { right: 0; }
.nav-cta {
  background: var(--brown-950);
  color: var(--cream) !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background-color .25s ease, transform .3s var(--ease);
}
.nav-cta:hover { background: var(--gold-deep); transform: translateY(-1px); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding-top: 130px;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 68% 60%;
}
@media (min-width: 641px) {
  .hero-media img { object-position: 32% 60%; }
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(280deg, rgba(23,12,4,.88) 8%, rgba(30,16,6,.66) 40%, rgba(30,16,6,.3) 66%, rgba(20,10,3,.2) 100%),
    linear-gradient(0deg, rgba(15,8,3,.55), transparent 45%);
}
.hero-fade {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 140px;
  background: linear-gradient(180deg, transparent, var(--cream));
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 90px;
  max-width: 620px;
  margin-left: auto;
  margin-right: clamp(24px, 6vw, 96px);
}
.hero h1 {
  color: var(--cream);
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  margin-bottom: .18em;
}
.hero-subtitle {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  color: var(--gold-soft);
  font-size: clamp(20px, 2.4vw, 28px);
  margin: 0;
}
.hero-lead {
  color: #EFE2CE;
  font-size: 18px;
  max-width: 460px;
  margin: 22px 0 0;
}

/* staggered reveal on load */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: revealUp .9s var(--ease) forwards;
}
.hero h1.reveal { animation-delay: .1s; }
.hero-subtitle.reveal { animation-delay: .22s; }
.hero-lead.reveal { animation-delay: .34s; }
.hero-form-card.reveal { animation-delay: .48s; }

@keyframes revealUp {
  to { opacity: 1; transform: translateY(0); }
}

/* --- Hero form card ----------------------------------------------------- */
.hero-form-card {
  margin-top: 34px;
  max-width: 460px;
  background: rgba(20, 11, 4, .4);
  border: 1px solid rgba(253, 246, 236, .16);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-lg);
  padding: 28px 28px 24px;
}
.hero-form-kicker {
  margin: 0 0 18px;
  color: #F1E4D0;
  font-size: 14.5px;
  line-height: 1.5;
}
.paw-icon {
  width: 14px;
  height: 14px;
  fill: currentColor;
  vertical-align: -1px;
  margin-left: 2px;
}
.hero-form-card .signup-form { margin-top: 0; }

/* ==========================================================================
   Signup form (reused in hero + cta-banner)
   ========================================================================== */
.form-row {
  display: flex;
  gap: 12px;
  background: rgba(253, 246, 236, .06);
  border: 1px solid rgba(253, 246, 236, .18);
  padding: 8px;
  border-radius: 999px;
}
.email-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 12px 18px;
  outline: none;
}
.email-input::placeholder { color: #B79A7C; }
.email-input:focus { color: var(--cream); }

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 14px 4px 0;
  min-height: 1.5em;
  font-size: 13.5px;
  line-height: 1.5;
  color: #C9AE8D;
}
.form-status.is-success { color: #C9E4C5; }
.form-status.is-error { color: #E9B4A2; }

.consent-note {
  margin: 14px 4px 0;
  font-size: 12.5px;
  line-height: 1.5;
  color: #C9AE8D;
}
.consent-note a {
  color: var(--gold-soft);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-note a:hover { color: var(--cream); }

/* ==========================================================================
   El porqué
   ========================================================================== */
.porque {
  padding: 120px 0 110px;
}
.porque h2 { max-width: 700px; }
.porque .section-lead { margin-top: 18px; max-width: 580px; }

.benefit-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.benefit-card {
  background: var(--white);
  border: 1px solid var(--cream-line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 44px -28px rgba(43, 22, 8, .3);
}
.benefit-icon {
  position: relative;
  display: inline-block;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
}
.benefit-icon-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 58px;
  height: 58px;
  transition: opacity .3s ease;
}
.benefit-icon-default { opacity: 1; }
.benefit-icon-hover { opacity: 0; }
.benefit-card:hover .benefit-icon-default { opacity: 0; }
.benefit-card:hover .benefit-icon-hover { opacity: 1; }
.benefit-card p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: var(--brown-800);
}

/* ==========================================================================
   La marca
   ========================================================================== */
.marca {
  padding: 30px 0 120px;
}
.story-inner {
  display: grid;
  grid-template-columns: .8fr 1fr;
  gap: 72px;
  align-items: center;
}
.story-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 30px 60px -30px rgba(43, 22, 8, .35);
  transform: rotate(-1.4deg);
}
.story-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.story-copy p {
  color: var(--brown-600);
  font-size: 17px;
  max-width: 480px;
}

/* ==========================================================================
   CTA banner (para los que llegan primero)
   ========================================================================== */
.cta-banner {
  position: relative;
  background: radial-gradient(120% 140% at 20% 0%, #402210 0%, var(--brown-950) 62%);
  color: var(--cream);
  padding: 100px 0 110px;
  overflow: hidden;
  text-align: center;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -180px; right: -160px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(193, 134, 60, .35), transparent 68%);
  pointer-events: none;
}
.cta-banner-inner { position: relative; max-width: 560px; margin: 0 auto; }
.cta-banner-icon { display: inline-block; font-size: 38px; margin-bottom: 16px; }
.cta-banner h2 { color: var(--cream); }
.cta-banner .section-lead { margin: 0 auto; }
.cta-banner .btn { margin-top: 30px; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--cream);
  padding: 56px 0 40px;
  text-align: center;
}
.footer-logo { height: 148px; margin: 0 auto 12px; }
.footer-social {
  font-size: 14px;
  color: var(--brown-600);
  margin: 0 0 8px;
}
.footer-social a {
  color: var(--gold-deep);
  font-weight: 600;
}
.footer-social a:hover { text-decoration: underline; }
.footer-contact {
  font-size: 13.5px;
  color: var(--brown-600);
  margin: 0 0 18px;
}
.footer-contact a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-copy {
  font-size: 12.5px;
  color: var(--brown-400);
  margin: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
  .benefit-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .story-inner { grid-template-columns: 1fr; gap: 44px; }
  .story-media { max-width: 380px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .site-nav a:not(.nav-cta) { display: none; }
  .brand-logo { height: 84px; }
  .site-header.is-scrolled .brand-logo { height: 52px; }
  .hero { padding-top: 108px; }
  .hero-inner { padding-top: 30px; padding-bottom: 70px; margin-left: 0; margin-right: 0; }
  .hero h1 { font-size: 34px; }
  .hero-media::after {
    background:
      linear-gradient(100deg, rgba(23,12,4,.88) 8%, rgba(30,16,6,.66) 40%, rgba(30,16,6,.3) 66%, rgba(20,10,3,.2) 100%),
      linear-gradient(0deg, rgba(15,8,3,.55), transparent 45%);
  }
  .footer-logo { height: 108px; }
  .hero-form-card { padding: 22px 20px 20px; }
  .porque { padding: 84px 0 80px; }
  .benefit-grid { grid-template-columns: 1fr; margin-top: 44px; }
  .marca { padding: 10px 0 90px; }
  .cta-banner { padding: 84px 0 90px; }
  .form-row { flex-direction: column; border-radius: var(--radius-md); }
  .btn { width: 100%; }
}
