:root {
  --ink: #062d34;
  --muted: #5c6c70;
  --teal: #0d5256;
  --teal-dark: #0a3f43;
  --green: #08a75a;
  --line: #e3e9e9;
  --soft: #f6fbfa;
  --white: #fff;
  --shadow: 0 6px 25px rgba(10, 63, 67, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: #101b1e;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(10px);
}
.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand img { width: 185px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 66px; }
.main-nav a {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .01em;
  padding: 29px 0 26px;
  border-bottom: 3px solid transparent;
}
.main-nav a:hover,
.main-nav a.active { color: var(--teal); border-color: var(--teal); }
.menu-toggle { display: none; border: 0; background: none; padding: 10px; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--ink); margin: 5px 0; }

.hero-section { padding: 32px 0 27px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(270px, 1fr); gap: 28px; }
.hero-slider {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  min-height: 390px;
  background: #d6e9ed;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.06);
}
.hero-track, .hero-slide { width: 100%; height: 100%; }
.hero-slide {
  position: absolute;
  inset: 0;
  object-fit: cover;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-slide.active { opacity: 1; }
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(13,82,86,.14);
  background: rgba(255,255,255,.88);
  color: var(--teal);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 15px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: rgba(255,255,255,.65);
  cursor: pointer;
}
.slider-dots button.active { width: 18px; background: #fff; }

.contact-card {
  border: 1px solid #dfe6e6;
  border-radius: 10px;
  padding: 38px 28px 28px;
  box-shadow: var(--shadow);
  background: #fff;
}
.contact-card h2 {
  margin: 0 0 14px;
  color: #071d25;
  font-size: 19px;
  text-transform: uppercase;
}
.contact-card p { margin: 0 0 15px; font-size: 15px; line-height: 1.55; }
.contact-kicker { font-weight: 700; }
.wa-number {
  margin: 29px 0 16px;
  min-height: 70px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 25px;
  box-shadow: 0 8px 18px rgba(8,167,90,.18);
}
.wa-icon { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--green); }
.wa-secondary {
  min-height: 58px;
  border: 1px solid #dce5e5;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
  font-size: 14px;
}
.wa-mini { color: var(--green); font-size: 20px; }

.catalog-section { padding: 43px 0 45px; border-bottom: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 29px; }
.section-heading h2 { margin: 0; font-size: 24px; color: var(--teal-dark); text-transform: uppercase; letter-spacing: -.02em; }
.view-all { color: var(--teal-dark); font-size: 16px; font-weight: 700; display: flex; gap: 13px; align-items: center; }
.view-all span { font-size: 25px; }
.book-grid {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 14px;
}
.book-card {
  border: 1px solid #e0e7e7;
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  transition: transform .2s ease, box-shadow .2s ease;
  min-width: 0;
}
.book-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(9,55,60,.12); }
.book-cover {
  width: 100%;
  aspect-ratio: .66;
  object-fit: cover;
  object-position: top center;
  background: #eef3f3;
}
.book-body { padding: 12px 9px 10px; display: flex; flex-direction: column; min-height: 113px; }
.book-title { margin: 0; font-weight: 700; line-height: 1.25; font-size: 13px; min-height: 48px; }
.detail-btn {
  margin-top: auto;
  width: 100%;
  min-height: 32px;
  border: 1px solid #bfd0d0;
  border-radius: 6px;
  background: #fff;
  color: var(--teal);
  font-weight: 800;
  font-size: 12px;
  cursor: pointer;
}
.detail-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); }

.info-footer { background: linear-gradient(100deg, #f2fbf8 0%, #fbfdfc 50%, #edf8f6 100%); padding: 41px 0 35px; }
.info-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.1fr; }
.info-block { display: grid; grid-template-columns: 68px 1fr; gap: 17px; padding: 0 37px; min-height: 225px; }
.info-block + .info-block { border-left: 1px solid #c7d8d7; }
.info-icon { width: 55px; height: 55px; border-radius: 50%; display: grid; place-items: center; color: var(--teal); font-size: 38px; }
.info-icon.whatsapp { background: var(--green); color: #fff; font-size: 28px; }
.info-block h3 { margin: 7px 0 13px; text-transform: uppercase; color: var(--teal-dark); font-size: 16px; }
.info-block p { margin: 0 0 14px; color: #263b3f; font-size: 14px; line-height: 1.62; }
.footer-wa { background: var(--green); color: #fff; border-radius: 10px; display: flex; align-items: center; gap: 12px; padding: 9px 14px; max-width: 285px; margin: 12px 0 20px; }
.footer-wa > span:first-child { font-size: 29px; }
.footer-wa strong { display: block; font-size: 20px; line-height: 1.05; }
.footer-wa small { display: block; font-size: 11px; }
.email-row { display: flex; align-items: center; gap: 13px; }
.hours { display: flex; gap: 14px; align-items: flex-start; margin-top: 23px !important; }
.copyright { background: var(--teal); color: #fff; text-align: center; padding: 14px 0; font-size: 13px; }

.book-modal {
  width: min(850px, calc(100% - 32px));
  border: 0;
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 28px 80px rgba(0,0,0,.24);
}
.book-modal::backdrop { background: rgba(4,31,35,.68); backdrop-filter: blur(4px); }
.modal-close { position: absolute; right: 14px; top: 10px; width: 37px; height: 37px; border-radius: 50%; border: 0; background: #eef4f4; font-size: 24px; cursor: pointer; z-index: 2; }
.modal-layout { display: grid; grid-template-columns: 300px 1fr; min-height: 520px; }
.modal-cover-wrap { background: #f1f6f5; display: grid; place-items: center; padding: 35px; }
.modal-cover-wrap img { max-height: 430px; width: auto; border-radius: 5px; box-shadow: 0 15px 30px rgba(0,0,0,.18); }
.modal-content { padding: 46px 44px 35px; }
.modal-category { display: inline-block; color: var(--teal); background: #e9f4f2; border-radius: 99px; padding: 6px 11px; font-size: 12px; text-transform: uppercase; font-weight: 800; }
.modal-content h2 { color: var(--ink); margin: 13px 0 14px; font-size: 30px; line-height: 1.15; }
.modal-content > p { color: #4e6266; }
.book-specs { margin: 24px 0; border-top: 1px solid var(--line); }
.book-specs div { display: grid; grid-template-columns: 140px 1fr; border-bottom: 1px solid var(--line); padding: 10px 0; }
.book-specs dt { font-weight: 700; color: var(--ink); }
.book-specs dd { margin: 0; color: #53676a; }
.modal-wa { display: inline-flex; background: var(--green); color: #fff; border-radius: 8px; padding: 13px 18px; font-weight: 800; }

@media (max-width: 1150px) {
  .main-nav { gap: 32px; }
  .book-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-slider { min-height: 330px; }
}

@media (max-width: 850px) {
  .container { width: min(100% - 32px, 720px); }
  .header-inner { height: 68px; }
  .brand img { width: 158px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 8px 16px 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 12px; border-bottom-width: 1px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slider { min-height: 340px; }
  .contact-card { padding: 26px 22px; }
  .info-grid { grid-template-columns: 1fr; }
  .info-block { min-height: auto; padding: 25px 8px; }
  .info-block + .info-block { border-left: 0; border-top: 1px solid #c7d8d7; }
  .modal-layout { grid-template-columns: 1fr; }
  .modal-cover-wrap { padding: 26px; }
  .modal-cover-wrap img { max-height: 320px; }
  .modal-content { padding: 34px 25px 28px; }
}

@media (max-width: 560px) {
  .container { width: min(100% - 22px, 520px); }
  .hero-section { padding-top: 16px; }
  .hero-slider { min-height: 210px; }
  .slider-arrow { width: 32px; height: 32px; font-size: 25px; }
  .contact-card h2 { font-size: 16px; }
  .wa-number { font-size: 20px; min-height: 60px; }
  .section-heading h2 { font-size: 19px; }
  .view-all { font-size: 13px; }
  .catalog-section { padding: 33px 0; }
  .book-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .book-title { font-size: 13px; min-height: 40px; }
  .book-body { min-height: 101px; }
  .modal-content h2 { font-size: 25px; }
  .book-specs div { grid-template-columns: 115px 1fr; font-size: 14px; }
}

.book-cover-link { display: block; }
.detail-btn { display: grid; place-items: center; text-decoration: none; }
