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


@font-face {
  font-family: 'Ceraph';
  src: url('../fonts/Ceraph-Roman-Trial.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Ceraph';
  src: url('../fonts/Ceraph-Italic-Trial.woff2') format('woff2');
  font-weight: normal;
  font-style: italic;
}


@font-face {
  font-family: 'PTSerif-Regular';
  src: url('../fonts/Cormorant-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
}

:root {
  --wine: #5B3E33;
  --wine-deep: #5B3E33;
  --wine-mid: #5B3E33;
  --gold: #B8985A;
  --gold-light: #D4B87A;
  --cream: #F5EDD9;
  --cream-light: #FAF5EC;
  --parchment: #EDE0C4;
  --text-dark: #5B3E33;
  --text-mid: #5B3E33;
  --text-light: #5B3E33;
  --off-white: #FDFAF5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'PTSerif-Regular', serif;
  background: var(--off-white);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1rem 4vw;
  background: rgba(253,250,245,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(184,152,90,0.2);
}

.lang-switcher { display: flex; gap: 0.5rem; align-items: center; }

.lang-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Ceraph', serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-light);
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  transition: color 0.2s, background 0.2s;
  text-transform: uppercase;
  text-decoration: none;
}

.lang-btn.active,
.lang-btn:hover {
  color: var(--wine);
  background: rgba(92,26,46,0.06);
}

.lang-divider {
  color: var(--parchment);
  line-height: 1.8;
  font-size: 0.75rem;
}

.nav-logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Ceraph', serif;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--wine);
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  nav {
    justify-content: space-between;
  }
  .nav-logo {
    position: static;
    transform: none;
    font-size: 1rem;
    letter-spacing: 0.12em;
  }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 8rem 6vw 5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: #EAD0C3;
  z-index: 0;
}

/* ─── HERO decoration: the same SVG used on both sides, the right one
       mirrored. Defined once via <symbol> in markup, referenced twice
       via <use>. Static — no animations. ─────────────────────────── */
.hero-deco-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* The hidden <svg> that holds the <symbol> definition. Kept out of
   layout so it never affects the document. */
.hero-deco-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.hero-deco {
    position: absolute;
    top: 100px;
    height: 74%;
    width: auto;
    display: block;
    pointer-events: none;
    user-select: none;
    opacity: 0;
    will-change: stroke-dashoffset, opacity;

    /* Each path is hidden by setting stroke-dashoffset equal to a long
       stroke-dasharray, then the offset animates back to 0 to "draw" the
       line. Both properties are inheritable, so they propagate through
       <use> into every path inside the symbol. */
    stroke-dasharray: 5000;
    stroke-dashoffset: 5000;
}

/* Draws ONCE on page load and stays visible.
   `forwards` keeps the final keyframe state (fully drawn) after ending. */
.hero-deco--right {
    left: -450px;
    transform: rotateZ(-90deg);
    animation: hero-draw-in 9s 1.2s ease-out both;
}
.hero-deco--left {
    right: -450px;
    transform: rotateZ(90deg);
    animation: hero-draw-in 9s 1.7s ease-out both;
}

.btn{
  display: inline-block;
  background: #5B3E33;
  color: var(--cream);
  font-family: 'PTSerif-Regular';
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
  text-decoration: none;
}

.btn:hover{
      border: 1px solid;
    background: transparent;
}

@keyframes hero-draw-in {
    /* invisible and not drawn */
    0%   { stroke-dashoffset: 5000; opacity: 0; }
    /* fade in quickly while the line is being drawn */
    15%  { opacity: 0.7; }
    /* fully drawn, fully visible — stays here thanks to fill-mode forwards */
    100% { stroke-dashoffset: 0; opacity: 0.7; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-deco {
        animation: none;
        opacity: 0.7;
        stroke-dashoffset: 0;
    }
}

.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  animation: fadeUp 1s ease both;
}

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

.hero-headline {
  display: inline-block;
  width: fit-content;
  margin: 0 auto;
  text-align: center;
}

.hero-eyebrow {
  display: block;
  width: 100%;
  font-family: 'Ceraph', serif;
  font-size: clamp(0.65rem, 2vw, 2.3rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--wine);
  margin: 0rem;
  animation: fadeUp 1s 0.1s ease both;
}

.hero-title {
  font-family: 'Ceraph', serif;
  font-size: clamp(3.5rem, 11vw, 19rem);
  font-weight: 300;
  line-height: 0.95;
  color: var(--wine);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap;
  animation: fadeUp 1s 0.2s ease both;
}

.hero-subtitle-block {
  margin: 2rem 0 3rem;
  animation: fadeUp 1s 0.35s ease both;
}

.hero-subtitle {
  font-family: 'Ceraph', serif;
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--wine);
  line-height: 1.4;
}

.hero-year {
      font-family: 'Ceraph', serif;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.25em;
    color: var(--text-mid);
    margin-top: 0.6rem;
    margin-bottom: 2rem;
}

.divider-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
  animation: fadeUp 1s 0.4s ease both;
}
.divider-ornament::before,
.divider-ornament::after {
  content: '';
  display: block;
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}
.divider-ornament::after {
  background: linear-gradient(to left, transparent, var(--gold));
}
.ornament-diamond {
  width: 6px; height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
}

.hero-tagline {
  font-family: 'Ceraph', serif;
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.7;
  animation: fadeUp 1s 0.6s ease both;
}

/* ─── ABOUT ─── */
.section-about {
  padding: 6rem 6vw;
  max-width: 1100px;
  margin: 40px auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 5rem;
  align-items: center;
  text-align: center;
  justify-items: center;
}

.about-text-block {
  max-width: 720px;
  margin: 0 auto;
}

.section-label {
      font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--gold);
    color: var(--wine);
    margin-bottom: 1rem;
    font-size: clamp(0.65rem, 1.5vw, 2.3rem);
    

}

label{
      color: var(--wine);
}

.about-heading {
  font-family: 'Ceraph', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--wine);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.about-body {
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.1;
  color: var(--text-mid);
}

.about-body em {
  font-family: 'Ceraph', serif;
  font-style: italic;
  font-size: 1.1em;
  color: var(--wine-mid);
}

.coming-soon-card {
  background: var(--wine);
  color: var(--cream-light);
  padding: 3rem;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.coming-soon-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(184,152,90,0.15);
}
.coming-soon-card::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -30px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(255,255,255,0.03);
}

.coming-soon-card .card-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
}

.coming-soon-card .card-title {
  font-family: 'Ceraph', serif;
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: var(--cream);
}

.coming-soon-card .card-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(245,237,217,0.8);
}

/* ─── FORM SECTION ─── */
.section-form-wrapper {
  background: #ead0c3;
  position: relative;
  overflow: hidden;
  padding: 7rem 6vw;
}

.section-form-wrapper::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(184,152,90,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.form-container {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.form-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
      color: var(--wine);
    margin-bottom: 1rem;
    font-size: clamp(0.65rem, 1.5vw, 2.3rem);
}

.form-heading {
      font-family: 'Ceraph', serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 400;
   
    margin-bottom: 0.75rem;
    color: var(--wine);
}

.form-cta {
  font-family: 'PTSerif-Regular';
  font-size: 3rem;
  font-weight: 300;
  color: var(--wine);
  line-height: 1;
  margin-bottom: 2.5rem;
}

/* ─── CF7 overrides ─── */
.wpcf7 { margin: 0; text-align: left;}
.wpcf7-form { width: 100%; }

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"] {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--wine);
  border-radius: 1px;
  padding: 0.7rem 1rem;
  color: var(--wine);
  font-family: 'PTSerif-Regular';
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
}

.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder {
  color: var(--wine);
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus {
  border-color: var(--cream);
  background: rgba(255,255,255,0.07);
}

.form-field{
  margin-bottom: 20px;
}

.wpcf7-form .wpcf7-acceptance {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin: 1.25rem 0 1.75rem;
  text-align: left;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { margin: 0; }

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--wine);
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.8rem;
  font-weight: 300;
  color: var(--wine);
  line-height: 1.5;
  cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wpcf7-form input[type="submit"] {
  display: inline-block;
  background: #5B3E33;
  color: var(--cream);
  font-family: 'PTSerif-Regular';
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 3rem;
  border: none;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  width: 100%;
}

.wpcf7-form input[type="submit"]:hover {
    border: 1px solid;
    background: transparent;
    transform: translateY(-1px);
}

.wpcf7-form input[type="submit"]:active { transform: translateY(0); }

.wpcf7-response-output {
  margin-top: 1.5rem !important;
    padding: 1rem 1.5rem !important;
    background: rgba(184, 152, 90, 0.15) !important;
    border: 1px solid var(--wine) !important;
    border-radius: 2px !important;
    color: var(--wine) !important;
  font-family: 'PTSerif-Regular' !important;
    font-style: italic !important;
    font-size: 0.95rem !important;
}

.wpcf7-not-valid-tip {
  color: var(--wine);
  font-size: 0.75rem;
  margin-top: 0.25rem;
  text-align: left;
}

.wpcf7-not-valid { border-color: var(--wine) !important; }

/* ─── COLLABORATORS ─── */
.section-collaborators {
  padding: 5rem 0vw;
  background: var(--cream-light);
  border-top: 1px solid var(--parchment);
  text-align: center;
}

.collab-label {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.collab-logos {
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  height: auto;
  gap: 0.75rem 2.5rem;
}

.collab-name {
  font-family: 'Ceraph', serif;
  font-size: 1.05rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  opacity: 0.7;
  transition: opacity 0.2s;
}

.collab-name:hover { opacity: 1; }

.collab-divider {
  display: inline-block;
  padding: 15px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--wine-deep);
  color: rgba(245,237,217,0.5);
  text-align: center;
  padding: 2rem;
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.05em;
}

.foot{
  color: var(--cream);
}


/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .section-about { grid-template-columns: 1fr; gap: 3rem; }

  .section-collaborators {
    padding: 5rem 14vw;
    background: var(--cream-light);
    border-top: 1px solid var(--parchment);
    text-align: center;
}
}

@media (max-width: 600px) {
  .hero-deco--right {
    left: -55%;
    transform: rotateZ(-90deg);
    animation: hero-draw-in 13s ease-in-out infinite;
}

.section-collaborators {
    padding: 5rem 0vw;
    background: var(--cream-light);
    border-top: 1px solid var(--parchment);
    text-align: center;
}

  .collab-logos {
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px;
    flex-wrap: wrap;
    gap: 0.75rem 2.5rem;
}



  .hero-deco--left {
    display: none;
  }
}

/* ─── SCROLL REVEAL ─── */
/* Sin JS, .reveal es visible siempre (fallback seguro). */
/* Con JS, la clase .js en <html> activa el estado oculto inicial. */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.collab-logo {
    height: 40px;              /* o el alto que quieras */
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.75;             /* opcional: estilo monocromo discreto */
    transition: opacity 0.2s;
  }
  .collab-logo:hover { opacity: 1; }


@media (max-width: 600px) {
  .collab-logo {
    height: 25px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.75;
    transition: opacity 0.2s;
}
}