:root {
  --teal-dark: #1a6b6b;
  --teal-mid: #2a9090;
  --teal-light: #7ec8c8;
  --teal-pale: #f0f9f9;
  --gold: #c9a96e;
  --text-dark: #1a3333;
  --text-mid: #3d6060;
  --text-light: #6a9a9a;
  --white: #ffffff;
  --bg: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Jost", sans-serif;
  background: #ffffff;
  color: var(--text-dark);
  overflow-x: hidden;
}

.logo-mark svg {
  display: block;
}
.logo-text-block {
  display: flex;
  flex-direction: column;
}
.logo-acronym {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-dark);
  line-height: 1;
  letter-spacing: 0.05em;
}
.logo-full {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-mid);
  letter-spacing: 0.03em;
  line-height: 1.3;
  max-width: 200px;
}

.hero-logos {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.hero-logo-athta {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.85);
}
.hero-logo-cptyc {
  height: 52px;
  width: auto;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 144, 144, 0.12);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  transition: box-shadow 0.3s;
}
nav.scrolled {
  box-shadow: 0 4px 24px rgba(26, 107, 107, 0.1);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.nav-logo img {
  height: 52px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
}
.nav-links a {
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color 0.25s;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--teal-mid);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--teal-dark);
}
.nav-links a:hover::after {
  width: 100%;
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border: 1px solid rgba(42, 144, 144, 0.15);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(26, 107, 107, 0.12);
  min-width: 220px;
  padding: 8px 0;
  z-index: 200;
}
.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.82rem;
  color: var(--text-mid);
  text-transform: none;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.dropdown-menu a::after {
  display: none;
}
.dropdown-menu a:hover {
  background: var(--teal-pale);
  color: var(--teal-dark);
}
.dropdown-label {
  cursor: default;
}
.dropdown-label::after {
  content: " ▾";
  font-size: 0.7em;
}

/* ── HERO ── */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      160deg,
      rgba(255, 255, 255, 0.08) 0%,
      rgba(200, 200, 200, 0.12) 100%
    ),
    url("../images/bg-a9789acfb6da.jpg") center bottom/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 60%,
    rgba(42, 144, 144, 0.1) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  color: white;
  padding: 0 60px;
  max-width: 480px;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-eyebrow {
  font-family: "Jost", sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #0d4a4a;
  margin-bottom: 12px;
}
.hero h1 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.1;
  margin-bottom: 8px;
  color: #0d4a4a;
}
.hero h1 em {
  color: var(--teal-dark);
  font-style: italic;
  color: var(--teal-light);
}
.hero-subtitle {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: clamp(0.95rem, 1.6vw, 1.2rem);
  color: var(--teal-mid);
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.badge {
  border: 1px solid #0d4a4a;
  border-radius: 100px;
  padding: 7px 18px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #0d4a4a;
  font-weight: 500;
}
.hero-cta {
  display: inline-block;
  background: var(--teal-mid);
  color: white;
  text-decoration: none;
  padding: 14px 40px;
  border-radius: 100px;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  transition:
    background 0.3s,
    transform 0.3s;
}
.hero-cta:hover {
  background: var(--teal-dark);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--teal-mid);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero-scroll span {
  font-size: 1.2rem;
}
@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

/* ── SECTIONS ── */
section {
  padding: 90px 40px;
}
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--teal-dark);
  margin-bottom: 16px;
}
.section-desc {
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 60px;
}
.centered {
  text-align: center;
}
.centered .section-desc {
  margin-left: auto;
  margin-right: auto;
}

/* ── CURSOS GRID ── */
.cursos-section {
  background: white;
}
.cursos-section + .cursos-section {
  background: #ffffff;
}

.tab-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}
.tab-btn {
  border: 1.5px solid var(--teal-mid);
  background: transparent;
  color: var(--teal-mid);
  padding: 10px 26px;
  border-radius: 100px;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s;
}
.tab-btn:hover,
.tab-btn.active {
  background: var(--teal-mid);
  color: white;
}

.cursos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.curso-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 107, 107, 0.07);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.curso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(26, 107, 107, 0.14);
}
.curso-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.curso-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.curso-tag {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal-mid);
  font-weight: 500;
  margin-bottom: 8px;
}
.curso-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--teal-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.curso-desc {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-mid);
  font-weight: 300;
  flex: 1;
}
.curso-btn {
  display: block;
  margin-top: 20px;
  border: 1.5px solid var(--teal-mid);
  color: var(--teal-mid);
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s;
}
.curso-btn:hover {
  background: var(--teal-mid);
  color: white;
}

/* hidden tab content */
.tab-content {
  display: none;
}
.tab-content.active {
  display: block;
}

/* ── NOSOTROS ── */
#nosotros {
  background: linear-gradient(135deg, var(--teal-dark) 0%, #0d4a4a 100%);
  color: white;
}
#nosotros .section-label {
  color: var(--teal-light);
}
#nosotros .section-title {
  color: white;
}
.nosotros-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.nosotros-text p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}
.directora-bloque {
  margin-top: 36px;
  padding: 24px 28px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 3px solid var(--teal-light);
  border-radius: 0 12px 12px 0;
}
.directora-nombre {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.directora-titulo {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--teal-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.directora-bio {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}
.nosotros-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.value-item {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(126, 200, 200, 0.2);
  border-radius: 12px;
  padding: 24px 20px;
}
.value-icon {
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.value-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--teal-light);
  margin-bottom: 6px;
}
.value-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  font-weight: 300;
}

/* ── TESTIMONIOS ── */
#testimonios {
  background: #ffffff;
}
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.testimonio-card {
  background: white;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(26, 107, 107, 0.06);
  position: relative;
}
.testimonio-card::before {
  content: '"';
  font-family: "Cormorant Garamond", serif;
  font-size: 5rem;
  color: var(--teal-light);
  position: absolute;
  top: 10px;
  left: 24px;
  line-height: 1;
  opacity: 0.4;
}
.testimonio-text {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-mid);
  font-weight: 300;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonio-autor {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal-dark);
  letter-spacing: 0.05em;
}
.testimonio-curso {
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 300;
}

/* ── CONTACTO ── */
#contacto {
  background: white;
}
.contacto-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.contacto-info p {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 28px;
}
.contacto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.contacto-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--teal-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.contacto-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 500;
}
.contacto-value {
  font-size: 0.9rem;
  color: var(--teal-dark);
  font-weight: 400;
}
.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  border: 1.5px solid rgba(42, 144, 144, 0.2);
  border-radius: 8px;
  padding: 12px 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: #ffffff;
  transition: border-color 0.25s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal-mid);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-submit {
  background: var(--teal-mid);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 14px;
  font-family: "Jost", sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s;
}
.form-submit:hover {
  background: var(--teal-dark);
}
.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.form-feedback {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.5;
}
.form-feedback--ok {
  background: #e6f9ee;
  color: #1a6b3a;
  border: 1px solid #a3d9b5;
}
.form-feedback--error {
  background: #fdf0f0;
  color: #8b1a1a;
  border: 1px solid #f0b8b8;
}

/* ── FOOTER ── */
footer {
  background: var(--text-dark);
  padding: 40px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  gap: 40px;
}
.footer-logo-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 130px;
}
.footer-logo-right {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-acronym {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--teal-light);
  letter-spacing: 0.05em;
  line-height: 1;
}
.footer-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 0.75rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
  margin-top: 4px;
}
.footer-center {
  text-align: center;
  flex: 1;
}
.footer-reconocido {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
  font-weight: 300;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: white;
  transition: all 0.2s;
}
.social-btn svg { display: block; flex-shrink: 0; }
.social-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: white;
}
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 16px auto;
  max-width: 300px;
}
.footer-copy {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  font-weight: 300;
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--teal-dark);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .contacto-form {
    width: 90vw;
  }
  nav {
    padding: 0 20px;
    width: 100vw;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: white;
    padding: 8px 0 20px;
    gap: 0;
    border-bottom: 1px solid rgba(42, 144, 144, 0.12);
    box-shadow: 0 8px 24px rgba(26, 107, 107, 0.1);
    z-index: 99;
    list-style: none;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links li {
    border-bottom: 1px solid rgba(42, 144, 144, 0.08);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 0.88rem;
  }
  .dropdown:hover .dropdown-menu {
    display: none;
  }
  .dropdown.open .dropdown-menu {
    display: block;
  }
  .dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    min-width: auto;
    background: var(--teal-pale);
    padding: 0;
  }
  .dropdown-menu a {
    padding: 10px 36px;
  }

  section {
    padding: 60px 20px !important;
  }

  .hero-content {
    padding: 0 24px;
    max-width: 100%;
  }
  .hero-logos {
    padding: 12px 20px;
  }
  .hero-logo-athta,
  .hero-logo-cptyc {
    height: 36px;
  }

  .nosotros-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .nosotros-values {
    grid-template-columns: 1fr 1fr;
  }
  .contacto-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 28px;
  }
  .footer-logo-left,
  .footer-logo-right {
    min-width: unset;
  }
  .footer-name {
    max-width: 220px;
  }
}

.libros-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}
.libro-card {
  background: white;
  border: 1px solid rgba(42, 144, 144, 0.15);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 107, 107, 0.07);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  flex-direction: column;
}
.libro-card:hover {
  transform: translateY(-6px);
}
.libro-img-placeholder {
  width: 100%;
  height: 340px;
  background: linear-gradient(135deg, #f0f9f9 0%, #d4eeee 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.libro-img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  background: #f8f8f8;
  display: block;
}
.libro-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.libro-titulo {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1a6b6b;
  margin-bottom: 10px;
  line-height: 1.3;
}
.libro-resena {
  font-size: 0.85rem;
  line-height: 1.7;
  color: #3d6060;
  font-weight: 300;
  flex: 1;
  margin-bottom: 14px;
}
.libro-precio {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 14px;
}
.precio-arg {
  font-size: 0.85rem;
  font-weight: 500;
  color: #1a6b6b;
}
.precio-ext {
  font-size: 0.85rem;
  font-weight: 400;
  color: #6a9a9a;
}
.libro-btn {
  display: block;
  background: #25d366;
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 0.82rem;
  text-decoration: none;
  font-weight: 500;
}
.libro-btn:hover {
  background: #1ebe5d;
}
@media (max-width: 900px) {
  .libros-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .libros-grid {
    grid-template-columns: 1fr !important;
  }
}

.btn-login {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--teal-mid, #2a9090);
  color: white !important;
  border-radius: 100px;
  padding: 9px 22px;
  font-family: "Jost", sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition:
    background 0.25s,
    transform 0.2s;
  box-shadow: 0 3px 12px rgba(42, 144, 144, 0.25);
}
.btn-login:hover {
  background: #1a6b6b;
  transform: translateY(-1px);
  box-shadow: 0 5px 18px rgba(42, 144, 144, 0.35);
}

.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.55);
}
.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: white;
}
.whatsapp-tooltip {
  position: fixed;
  bottom: 38px;
  right: 98px;
  z-index: 998;
  background: #1a3333;
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.whatsapp-float:hover + .whatsapp-tooltip,
.whatsapp-tooltip:hover {
  opacity: 1;
}

.frase-banner {
  background: linear-gradient(135deg, #1a6b6b 0%, #2a9090 100%);
  padding: 48px 40px;
  text-align: center;
}
.frase-banner p {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 400;
  font-style: italic;
  color: white;
  letter-spacing: 0.03em;
  line-height: 1.5;
  margin: 0;
  opacity: 0.95;
}
.frase-banner span {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 0 12px;
  vertical-align: middle;
}

.ver-mas-btn {
  display: block;
  width: fit-content;
  margin: 40px auto 0;
  background: transparent;
  color: var(--teal-dark);
  border: 2px solid var(--teal-dark);
  padding: 13px 36px;
  border-radius: 30px;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.ver-mas-btn:hover {
  background: var(--teal-dark);
  color: white;
}
