@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;
}

/* =========================
   MÉTODO
========================= */

.method-page {
  width: 100%;
  padding: 34px 70px 54px;
  overflow: hidden;
}

.method-hero {
  max-width: 1640px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}

.method-copy {
  padding-top: 6px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  color: #222;
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 46px;
  transition: 0.25s ease;
}

.back-link:hover {
  color: var(--wine);
  transform: translateX(-4px);
}

.section-kicker {
  color: var(--wine);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 22px;
}

.method-copy h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(58px, 5.1vw, 84px);
  line-height: 0.98;
  font-weight: 600;
  letter-spacing: -2px;
  margin-bottom: 28px;
}

.title-line {
  width: 52px;
  height: 2px;
  display: block;
  background: var(--wine);
  margin-bottom: 26px;
}

.method-intro {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.7;
  color: #34343a;
}

.method-image {
  width: 100%;
  height: 315px;
  border-radius: 12px;
  overflow: hidden;
}

.method-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================
   PROCESO
========================= */

.process-section {
  max-width: 1640px;
  margin: 34px auto 36px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 38px;
  position: relative;
}

.process-item {
  position: relative;
}

.process-item:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 42px;
  right: -30px;
  color: #b8bbc3;
  font-size: 28px;
  font-weight: 300;
}

.process-icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff 0%, #f4f4f6 72%, #eeeeef 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.process-icon svg {
  width: 48px;
  height: 48px;
  color: var(--wine);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-number {
  display: block;
  color: var(--wine);
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 9px;
}

.process-item h2 {
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.process-item p {
  font-size: 14px;
  line-height: 1.75;
  color: #3f3f47;
}

/* =========================
   NOTA INFERIOR
========================= */

.method-note {
  max-width: 1640px;
  min-height: 98px;
  margin: 0 auto;
  padding: 20px 64px;
  border-radius: 10px;
  background: linear-gradient(90deg, #f7f7f8 0%, #ffffff 48%, #f8f8fa 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
}

.note-left {
  display: flex;
  align-items: center;
  gap: 28px;
}

.note-icon {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(147, 5, 38, 0.8);
  border-radius: 50%;
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex: 0 0 auto;
}

.note-left strong {
  font-size: 15px;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}

.note-left p {
  font-size: 15px;
  color: #33333b;
}

.note-quote {
  min-height: 62px;
  padding-left: 46px;
  border-left: 1px solid #d4d4db;
  display: flex;
  align-items: center;
  gap: 24px;
}

.note-quote span {
  color: var(--wine);
  font-family: "Playfair Display", serif;
  font-size: 54px;
  line-height: 1;
  font-weight: 700;
}

.note-quote p {
  max-width: 420px;
  font-size: 15px;
  line-height: 1.6;
  color: #33333b;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1400px) {
  .method-page {
    padding-left: 54px;
    padding-right: 54px;
  }

  .method-hero {
    gap: 50px;
  }

  .process-section {
    gap: 26px;
  }

  .process-item:not(:last-child)::after {
    right: -23px;
  }
}

@media (max-width: 1200px) {
  .site-header {
    padding: 18px 28px;
    grid-template-columns: 190px 1fr auto;
  }

  .main-nav {
    gap: 24px;
  }

  .method-hero {
    grid-template-columns: 1fr;
  }

  .method-image {
    height: 360px;
  }

  .process-section {
    grid-template-columns: repeat(3, 1fr);
    gap: 46px 36px;
  }

  .process-item:nth-child(3)::after,
  .process-item:nth-child(6)::after {
    display: none;
  }

  .process-item:not(:last-child)::after {
    right: -25px;
  }

  .method-note {
    grid-template-columns: 1fr;
    padding: 28px 36px;
  }

  .note-quote {
    border-left: 0;
    border-top: 1px solid #d4d4db;
    padding-left: 0;
    padding-top: 24px;
  }
}

@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;
  }

  .method-page {
    padding: 34px 28px 48px;
  }

  .back-link {
    margin-bottom: 34px;
  }

  .method-copy h1 {
    font-size: 56px;
    letter-spacing: -1.4px;
  }

  .method-intro {
    font-size: 17px;
  }

  .method-image {
    height: 280px;
  }

  .process-section {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .process-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 22px;
    align-items: start;
  }

  .process-item:not(:last-child)::after {
    display: none;
  }

  .process-icon {
    grid-row: span 3;
    margin-bottom: 0;
  }

  .process-number {
    margin-top: 4px;
  }

  .method-note {
    padding: 26px 24px;
  }

  .note-left {
    align-items: flex-start;
  }
}

@media (max-width: 520px) {
  .logo-main {
    font-size: 27px;
  }

  .method-page {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section-kicker {
    font-size: 13px;
  }

  .method-copy h1 {
    font-size: 44px;
  }

  .method-image {
    height: 220px;
  }

  .process-item {
    grid-template-columns: 72px 1fr;
    column-gap: 18px;
  }

  .process-icon {
    width: 68px;
    height: 68px;
  }

  .process-icon svg {
    width: 40px;
    height: 40px;
  }

  .note-left {
    flex-direction: column;
    gap: 16px;
  }

  .note-quote {
    gap: 16px;
  }

  .note-quote span {
    font-size: 44px;
  }
}