:root {
  --red: #ff3333;
  --ink: #111;
  --muted: #5f5f5f;
  --line: #e8e8e8;
  --content: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: #fff; font-family: Roboto, Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open, body.modal-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 1000; left: 12px; top: -60px; padding: 10px 14px; color: #fff; background: #111; }
.skip-link:focus { top: 12px; }

.site-header { position: relative; height: 90px; background: #fff; z-index: 60; }
.site-header__inner { width: min(var(--content), calc(100% - 48px)); height: 90px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.site-header__logo img { width: 200px; height: auto; }
.site-header__menu-button { width: 45px; height: 45px; padding: 10px 5px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.site-header__menu-button img { width: 35px; height: auto; }
.site-menu { position: fixed; z-index: 102; top: 0; right: 0; width: min(360px, 84vw); height: 100dvh; padding: 82px 42px 36px; background: #fff; box-shadow: -12px 0 30px rgba(0,0,0,.12); }
.site-menu[hidden], .site-menu__overlay[hidden] { display: none; }
.site-menu nav { display: grid; gap: 22px; }
.site-menu nav a { font-size: 24px; line-height: 1.1; text-decoration: none; color: #3a3a3a; }
.site-menu nav a:hover, .site-menu nav a:focus-visible { color: var(--red); }
.site-menu__close { position: absolute; right: 24px; top: 20px; width: 48px; height: 48px; border: 0; color: #333; background: transparent; font: 300 44px/1 Arial, sans-serif; cursor: pointer; }
.site-menu__overlay { position: fixed; z-index: 101; inset: 0; border: 0; background: rgba(232,232,232,.66); cursor: default; }

.hero { padding: 34px 24px 28px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.hero__eyebrow { margin: 0 0 20px; font-size: 13px; line-height: 1.2; font-weight: 700; letter-spacing: .22em; }
.hero h1 { margin: 0 0 18px; font-size: 44px; line-height: 1.15; font-weight: 700; }
.hero > p:last-child { max-width: 980px; margin: 0; color: #555; font-size: 20px; line-height: 1.5; }
.breadcrumbs { padding: 12px 20px 28px; display: flex; align-items: center; justify-content: center; gap: 15px; color: #666; font-size: 14px; }
.breadcrumbs a { text-decoration: none; }
.category-links { padding: 0 20px 30px; display: flex; justify-content: center; align-items: center; gap: 37px; }
.category-links a { font-size: 12px; font-weight: 800; text-transform: uppercase; text-decoration: none; }
.intro { padding: 0 24px 64px; display: flex; justify-content: center; }
.intro p { max-width: 860px; margin: 0; text-align: center; color: #4f4f4f; font-size: 20px; line-height: 1.48; }
.rating { min-height: 196px; padding: 54px 24px 46px; text-align: center; }
.rating p { margin: 0 0 9px; color: #666; font-size: 23px; }
.rating p span { color: #ffcf32; letter-spacing: .03em; }
.rating small { color: #aaa; font-size: 13px; }
.rating a { color: #f2a7a7; text-decoration: none; }

.catalog-section { scroll-margin-top: 20px; padding: 30px 0 0; }
.section-heading { min-height: 172px; padding: 16px 24px 52px; text-align: center; }
.section-heading h2 { margin: 0 0 18px; font-size: 38px; line-height: 1.15; }
.section-heading p { max-width: 900px; margin: 0 auto; color: #555; font-size: 18px; line-height: 1.55; }
.tour-grid { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 94px 40px; }
.tour-card { position: relative; min-width: 0; text-align: center; cursor: pointer; }
.tour-card__image { position: relative; display: block; aspect-ratio: 2 / 1; overflow: hidden; background: #eee; text-decoration: none; }
.tour-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.tour-card:hover .tour-card__image img { transform: scale(1.015); }
.tour-card__mark { position: absolute; top: 0; right: 9px; width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 12px; line-height: 1.05; text-align: center; }
.tour-card__body { padding: 18px 22px 0; }
.tour-card h3 { margin: 0 0 12px; font-size: 24px; line-height: 1.25; }
.tour-card h3 a { text-decoration: none; }
.tour-card h3 a::after { content: ""; position: absolute; z-index: 2; inset: 0; }
.tour-card h3 a:focus-visible { outline: none; }
.tour-card h3 a:focus-visible::after { outline: 3px solid var(--red); outline-offset: 5px; }
.tour-card p { margin: 0 auto 16px; color: #555; font-size: 15px; line-height: 1.55; }
.tour-card__price { display: block; color: #e8443d; font-size: 21px; line-height: 1.2; }
.tour-card--wide { grid-column: 1 / -1; width: min(760px, 100%); justify-self: center; }
#buenos-aires .tour-grid { margin-bottom: 46px; }
#nearby { padding-top: 50px; }
#nearby .tour-grid { margin-bottom: 74px; }
#argentina { padding-top: 25px; }
#argentina .tour-grid { padding-bottom: 80px; }

.options { padding: 22px 0 76px; text-align: center; }
.options h2 { margin: 0 0 62px; color: #484848; font-size: 24px; line-height: 1.45; font-weight: 400; }
.options__grid { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px; }
.options article { position: relative; min-height: 250px; padding: 48px 18px 28px; color: #fff; display: flex; flex-direction: column; justify-content: center; background-image: linear-gradient(rgba(0,0,0,.4), rgba(0,0,0,.6)), var(--option-image); background-size: cover; background-position: center; }
.options h3 { margin: 0 0 30px; font-size: 20px; line-height: 1.25; }
.options p { margin: 0; color: #ddd; font-size: 14px; }
.reviews { padding: 0 0 92px; text-align: center; }
.reviews > h2 { margin: 0 0 95px; font-size: 40px; line-height: 1.15; }
.reviews__grid { width: min(var(--content), calc(100% - 48px)); margin: 0 auto 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.reviews article { position: relative; min-height: 352px; padding: 54px 28px 28px; border: 2px solid var(--red); text-align: center; }
.reviews article > img { position: absolute; top: -31px; left: 50%; width: 60px; height: 60px; transform: translateX(-50%); border-radius: 50%; object-fit: cover; }
.reviews h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.35; }
.reviews h3 span { color: var(--red); }
.reviews small { display: block; min-height: 38px; color: #a0a0a0; font-size: 12px; line-height: 1.35; }
.reviews small a, .reviews article > a { color: #dd7777; text-decoration: none; }
.reviews article p { margin: 12px 0 0; color: #555; font-size: 15px; line-height: 1.55; }
.reviews article > a { display: inline-block; margin-top: 4px; font-size: 17px; }
.outline-button { display: inline-flex; min-width: 272px; min-height: 58px; padding: 14px 22px; justify-content: center; align-items: center; border: 2px solid var(--red); color: #111; background: #fff; font-weight: 700; text-decoration: none; cursor: pointer; }
.outline-button:hover, .outline-button:focus-visible { color: #fff; background: var(--red); }
.terms { max-width: 780px; margin: 0 auto 130px; padding: 0 24px; text-align: center; color: #555; font-size: 20px; line-height: 1.55; }
.terms p { margin: 0 0 4px; }

.consultation { position: relative; min-height: 290px; padding: 42px 24px; display: flex; justify-content: center; align-items: center; color: #fff; background-image: linear-gradient(rgba(0,0,0,.62), rgba(0,0,0,.62)), url('/legacy/sights-assets/skype-consultation.jpg'); background-size: cover; background-position: center; text-align: center; text-decoration: none; }
.consultation span { display: grid; gap: 34px; }
.consultation strong { font-size: 48px; line-height: 1.1; }
.consultation small { font-size: 22px; line-height: 1.35; }
.contacts { padding: 100px 24px 105px; text-align: center; }
.contacts h2 { margin: 0 0 25px; font-size: 48px; line-height: 1.15; font-weight: 300; }
.contacts > p { max-width: 820px; margin: 0 auto 28px; color: #666; font-size: 16px; line-height: 1.5; }
.contacts__messengers { margin: 34px 0 45px; display: flex; justify-content: center; gap: 94px; }
.contacts__messengers a { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: #44c55a; font-size: 48px; text-decoration: none; }
.contacts__messengers a:last-child { background: #43a9db; }
.contacts .outline-button { margin-top: 35px; border-color: #111; }

.share-rail { position: fixed; z-index: 45; top: 39%; right: 0; display: grid; }
.share-rail a { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; background: #415a91; font: 700 20px/1 Arial, sans-serif; text-decoration: none; }
.share-rail a:nth-child(2) { background: #2f82ee; font-size: 15px; }
.share-rail a:nth-child(3) { background: #000; }
.floating-contact { position: fixed; z-index: 50; right: 63px; bottom: 20px; height: 62px; border: 0; background: transparent; display: flex; align-items: center; cursor: pointer; }
.floating-contact span { margin-right: 5px; padding: 13px 17px; color: #fff; background: #333; font-size: 14px; font-weight: 700; }
.floating-contact b { width: 62px; height: 62px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; color: #fff; background: var(--red); box-shadow: 0 0 20px rgba(0,0,0,.24); font-size: 22px; }

.site-footer { padding: 28px 0 0; background: #fff; border-top: 1px solid #eee; }
.site-footer__grid { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; display: grid; grid-template-columns: 1.05fr 1.5fr 1.25fr 1.1fr; gap: 40px; }
.site-footer__brand { width: 190px; margin: 0 0 18px; }
.site-footer__tripadvisor { width: 159px; height: auto; margin-bottom: 28px; }
.site-footer__socials { display: flex; gap: 10px; margin: 0 0 27px; }
.site-footer__socials a { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--red); font-size: 12px; font-weight: 700; text-decoration: none; }
.site-footer h2 { margin: 0 0 18px; font-size: 16px; line-height: 1.2; letter-spacing: .04em; }
.site-footer__grid > div > a:not(:has(img)) { display: block; margin: 0 0 14px; color: #333; font-size: 14px; line-height: 1.25; }
.site-footer__identity p { margin: 0 0 20px; color: #666; font-size: 12px; line-height: 1.5; }
.site-footer__identity p a { color: var(--red); }
.site-footer__legal { margin-top: 58px; padding: 0 24px 28px; color: #777; font-size: 12px; line-height: 1.45; text-align: center; }
.site-footer__legal a { color: #dd7777; }

.form-modal { width: min(560px, calc(100% - 30px)); max-height: calc(100dvh - 30px); padding: 42px 48px; border: 0; color: #111; background: #fff; overflow: auto; }
.form-modal::backdrop { background: rgba(0,0,0,.65); }
.form-modal__close { position: absolute; right: 12px; top: 7px; width: 42px; height: 42px; border: 0; background: transparent; font: 300 36px/1 Arial, sans-serif; cursor: pointer; }
.form-modal h2 { margin: 0 0 10px; text-align: center; font-size: 30px; }
.form-modal > p { margin: 0 0 26px; color: #666; text-align: center; }
.form-modal form label { display: grid; gap: 8px; margin-bottom: 13px; color: #444; font-size: 14px; }
.form-modal input, .form-modal textarea { width: 100%; padding: 15px 16px; border: 1px solid #111; border-radius: 5px; background: #fff; }
.form-modal textarea { resize: vertical; }
.form-modal form button { width: 100%; min-height: 52px; border: 2px solid var(--red); background: #fff; font-weight: 700; cursor: pointer; }
.form-modal form button:hover, .form-modal form button:focus-visible { color: #fff; background: var(--red); }
.form-modal > small { display: block; margin-top: 18px; color: #777; line-height: 1.4; text-align: center; }
.form-modal .js-successbox { margin: 20px 0; color: #16823a; text-align: center; }
.rli-native-form-message { margin: 0 0 18px; text-align: center; }

@media (max-width: 960px) {
  .hero { padding: 32px 20px 26px; }
  .hero__eyebrow { margin-bottom: 18px; }
  .hero h1 { font-size: 38px; }
  .tour-grid { gap: 70px 30px; }
  .tour-card h3 { font-size: 21px; }
  .options__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .reviews__grid { gap: 24px; }
  .reviews article { padding-inline: 18px; }
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .site-footer__identity { grid-row: span 2; }
}

@media (max-width: 680px) {
  .site-header, .site-header__inner { height: 76px; }
  .site-header__inner { width: calc(100% - 30px); }
  .site-header__logo img { width: 158px; }
  .site-header__menu-button img { width: 31px; }
  .hero { padding: 28px 20px 24px; }
  .hero__eyebrow { margin-bottom: 16px; font-size: 11px; }
  .hero h1 { margin-bottom: 16px; font-size: 32px; }
  .hero > p:last-child { font-size: 16px; }
  .breadcrumbs { padding: 8px 20px 22px; font-size: 12px; }
  .category-links { gap: 15px; padding: 0 10px 26px; flex-wrap: wrap; }
  .category-links a { font-size: 10px; }
  .intro { padding: 0 20px 48px; }
  .intro p { font-size: 18px; }
  .rating { min-height: 150px; padding: 36px 20px; }
  .rating p { font-size: 19px; }
  .section-heading { min-height: 0; padding: 30px 20px 40px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading p { font-size: 16px; }
  .tour-grid { width: calc(100% - 30px); grid-template-columns: 1fr; gap: 58px; }
  .tour-card--wide { grid-column: auto; width: 100%; }
  .tour-card__body { padding-inline: 8px; }
  .tour-card h3 { font-size: 21px; }
  .tour-card p { font-size: 15px; }
  .options { padding-top: 0; }
  .options h2 { margin-bottom: 40px; font-size: 21px; }
  .options__grid { width: calc(100% - 30px); grid-template-columns: 1fr 1fr; gap: 14px; }
  .options article { min-height: 190px; padding: 30px 10px 20px; }
  .options h3 { font-size: 17px; }
  .reviews > h2 { margin-bottom: 70px; font-size: 32px; }
  .reviews__grid { width: calc(100% - 30px); grid-template-columns: 1fr; gap: 70px; }
  .reviews article { min-height: 0; }
  .terms { margin-bottom: 85px; font-size: 18px; }
  .consultation { min-height: 250px; }
  .consultation strong { font-size: 36px; }
  .consultation small { font-size: 17px; }
  .contacts { padding: 75px 20px 90px; }
  .contacts h2 { font-size: 36px; }
  .contacts__messengers { gap: 45px; }
  .contacts__messengers a { width: 82px; height: 82px; }
  .share-rail { display: none; }
  .floating-contact { right: 14px; }
  .floating-contact span { display: none; }
  .site-footer__grid { width: calc(100% - 36px); grid-template-columns: 1fr; }
  .site-footer__identity { grid-row: auto; }
  .site-footer__legal { margin-top: 36px; }
  .form-modal { padding: 40px 22px 28px; }
}
