@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:wght@500;600;700&display=swap");

:root {
  --wine: #930526;
  --wine-dark: #76031e;
  --blue: #123879;
  --text: #232326;
  --muted: #5d5d66;
  --light: #f7f7f8;
  --border: #e5e0e2;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(40, 35, 38, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #ffffff;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  width: 100%;
  display: block;
}

/* =========================
   HEADER
========================= */

.site-header {
  width: 100%;
  min-height: 92px;
  padding: 18px 60px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 28px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -1px;
}

.logo-main span {
  color: var(--wine);
}

.logo-sub {
  margin-top: 5px;
  font-size: 13px;
  color: #333;
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.main-nav a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: #222;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0;
  height: 2px;
  background: var(--wine);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 38px;
}

.header-btn {
  padding: 17px 32px;
  border: 1px solid var(--wine);
  color: var(--wine);
  border-radius: 5px;
  font-size: 15px;
  font-weight: 600;
  transition: 0.25s ease;
}

.header-btn:hover {
  background: var(--wine);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  width: 26px;
  height: 2px;
  background: var(--text);
  display: block;
  margin: 6px auto;
  transition: 0.25s ease;
}

/* =========================
   TALLERES
========================= */

.workshops-page {
  width: 100%;
  overflow: hidden;
  background: #ffffff;
}

.workshops-hero {
  min-height: 470px;
  display: grid;
  grid-template-columns: minmax(620px, 44%) 56%;
  align-items: center;
  border-bottom: 1px solid #e8e8ed;
  background: #ffffff;
}

.workshops-copy {
  padding-left: 64px;
  padding-right: 44px;
  position: relative;
  z-index: 3;
}

.workshops-copy h1 {
  max-width: 650px;
  font-family: "Playfair Display", serif;
  font-size: clamp(64px, 5.6vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -2.4px;
  margin-bottom: 32px;
}

.workshops-copy h1 span {
  color: var(--wine);
}

.workshops-copy p {
  max-width: 610px;
  font-size: 18px;
  line-height: 1.65;
  color: #3f3f47;
}

.workshops-image {
  width: 100%;
  height: 470px;
  position: relative;
  overflow: hidden;
}

.workshops-image::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.66) 38%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.workshops-image::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 16%;
  background: linear-gradient(
    0deg,
    #ffffff 0%,
    rgba(255, 255, 255, 0.46) 44%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 2;
  pointer-events: none;
}

.workshops-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* =========================
   INFO CARDS
========================= */

.workshops-info {
  max-width: 1580px;
  margin: 0 auto;
  padding: 46px 64px 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 54px;
}

.info-card {
  min-height: 210px;
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 26px;
  position: relative;
}

.info-card:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: -27px;
  width: 1px;
  height: 210px;
  background: #dedee4;
}

.info-icon {
  width: 58px;
  height: 58px;
  color: var(--wine);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  font-size: 36px;
  line-height: 1;
}

.info-card h2 {
  font-family: "Playfair Display", serif;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 20px;
}

.info-card p {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.7;
  color: #3f3f47;
  margin-bottom: 18px;
}

.formats-card ul {
  list-style: none;
  max-width: 520px;
}

.formats-card li {
  position: relative;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #3f3f47;
  margin-bottom: 22px;
}

.formats-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 5px;
  height: 5px;
  background: var(--wine);
  border-radius: 50%;
}

.formats-card strong {
  font-weight: 500;
}

.workshops-cta {
  max-width: 1580px;
  margin: 0 auto;
  padding: 0 64px 52px;
  display: flex;
  justify-content: center;
}

.cta-button {
  width: 360px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: linear-gradient(180deg, #a60829 0%, #930526 100%);
  color: #ffffff;
  font-family: "Playfair Display", serif;
  font-size: 20px;
  font-weight: 500;
  box-shadow: 0 18px 32px rgba(147, 5, 38, 0.18);
  transition: 0.25s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  background: linear-gradient(180deg, #b4092d 0%, #76031e 100%);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1400px) {
  .workshops-hero {
    grid-template-columns: minmax(560px, 43%) 57%;
  }

  .workshops-copy {
    padding-left: 52px;
    padding-right: 38px;
  }

  .workshops-copy h1 {
    font-size: clamp(58px, 5vw, 84px);
  }

  .workshops-info {
    padding-left: 52px;
    padding-right: 52px;
    gap: 42px;
  }

  .info-card:not(:last-child)::after {
    right: -21px;
  }
}

@media (max-width: 1200px) {
  .site-header {
    padding: 18px 28px;
    grid-template-columns: 190px 1fr auto;
  }

  .main-nav {
    gap: 24px;
  }

  .workshops-hero {
    grid-template-columns: 1fr;
  }

  .workshops-copy {
    padding: 58px 52px 36px;
  }

  .workshops-image {
    height: 390px;
  }

  .workshops-image::before {
    display: none;
  }

  .workshops-image::after {
    height: 14%;
  }

  .workshops-info {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .info-card {
    min-height: auto;
  }

  .info-card:not(:last-child)::after {
    display: none;
  }

  .info-card p,
  .formats-card ul {
    max-width: 100%;
  }

  .workshops-cta {
    padding-left: 52px;
    padding-right: 52px;
  }
}

@media (max-width: 900px) {
  .site-header {
    min-height: 78px;
    grid-template-columns: 1fr auto;
  }

  .menu-toggle {
    display: block;
  }

  .header-btn {
    display: none;
  }

  .main-nav {
    position: fixed;
    top: 78px;
    left: 0;
    width: 100%;
    padding: 22px;
    background: #ffffff;
    border-bottom: 1px solid #eeeeee;
    box-shadow: var(--shadow);
    display: none;
    flex-direction: column;
    gap: 10px;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    text-align: center;
    padding: 14px;
  }

  .workshops-copy {
    padding: 46px 28px 32px;
  }

  .workshops-copy h1 {
    font-size: 60px;
    letter-spacing: -1.5px;
  }

  .workshops-copy p {
    font-size: 17px;
  }

  .workshops-image {
    height: 300px;
  }

  .workshops-info {
    padding: 38px 28px 26px;
  }

  .info-card {
    grid-template-columns: 70px 1fr;
    gap: 22px;
  }

  .info-icon {
    width: 52px;
    height: 52px;
    font-size: 31px;
  }

  .workshops-cta {
    padding: 0 28px 42px;
  }

  .cta-button {
    width: 100%;
    max-width: 360px;
  }
}

@media (max-width: 520px) {
  .logo-main {
    font-size: 27px;
  }

  .workshops-copy {
    padding-left: 20px;
    padding-right: 20px;
  }

  .workshops-copy h1 {
    font-size: 46px;
  }

  .workshops-image {
    height: 240px;
  }

  .workshops-info {
    padding-left: 20px;
    padding-right: 20px;
  }

  .info-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-card h2 {
    font-size: 24px;
  }

  .workshops-cta {
    padding-left: 20px;
    padding-right: 20px;
  }
}