:root {
  --ink: #142d2c;
  --ink-2: #1d3f3d;
  --paper: #fbf8f1;
  --warm: #f4eddf;
  --sand: #e8ddcb;
  --coral: #f06754;
  --coral-dark: #d94e3c;
  --yellow: #ffcf63;
  --sky: #bde7e9;
  --muted: #62716c;
  --line: rgba(20, 45, 44, 0.15);
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
  --mono: 'DM Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, textarea, select {
  font: inherit;
}

.section-shell {
  width: min(1280px, calc(100% - 80px));
  margin-inline: auto;
}

/* Header */
.announcement-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 60px 0 20px;
  height: 44px;
  color: var(--ink);
  background: var(--yellow);
  font: 500 10px var(--mono);
  letter-spacing: 0.055em;
  position: relative;
}

.announcement-bar .spark {
  font-size: 14px;
}

.announcement-bar a {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.announcement-close {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: none;
  font-size: 20px;
  cursor: pointer;
  color: var(--ink);
}

.site-header {
  height: 86px;
  display: flex;
  align-items: center;
  width: min(1370px, calc(100% - 64px));
  margin: auto;
  position: relative;
  z-index: 11;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  width: max-content;
}

.brand-mark {
  width: 37px;
  height: 37px;
}

.brand span {
  display: flex;
  flex-direction: column;
  letter-spacing: -0.06em;
  line-height: 0.73;
}

.brand b {
  font-size: 17px;
  font-weight: 700;
}

.brand small {
  font-family: var(--mono);
  font-size: 6px;
  font-weight: 500;
  letter-spacing: 0.39em;
  margin: 5px 0 0 2px;
}

.desktop-nav {
  display: flex;
  gap: 34px;
  align-items: center;
  margin-left: auto;
  margin-right: 40px;
}

.desktop-nav a {
  font-size: 13px;
  font-weight: 600;
  transition: color 0.2s;
}

.desktop-nav a:hover {
  color: var(--coral);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-book-button {
  color: white;
  background: var(--ink);
  border: 0;
  border-radius: 30px;
  padding: 12px 17px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 12px rgba(20, 45, 44, 0.12);
  transition: transform 0.2s, background 0.2s;
}

.header-book-button:hover {
  transform: translateY(-2px);
  background: var(--coral);
}

.header-book-button span {
  margin-left: 5px;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  padding: 5px 0 5px 5px;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 24px;
  margin: 5px 0;
  background: var(--ink);
}

/* Hero */
.hero {
  position: relative;
  min-height: 650px;
  color: white;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url('https://cdn.regiondo.net/media/catalog/product/cache/0/thumbnail/1920x/8a02aedcaf38ad3a98187ab0a1dede95/b/i/big-ticket-image-6a7b28f7cd4bb719308304-cropped600-400/sintra-pena-cabo-da-roca--cascais-tour-10e9d.jpeg');
  background-size: cover;
  background-position: center;
  transform: scale(1.008);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 35, 34, 0.90) 0%, rgba(12, 38, 37, 0.68) 37%, rgba(8, 27, 26, 0.42) 72%), linear-gradient(0deg, rgba(7, 27, 27, 0.55), transparent 40%);
}

.hero-content {
  position: relative;
  padding-top: 137px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 21px;
  color: var(--coral);
  font: 500 10px/1.1 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span {
  display: inline-block;
  width: 22px;
  height: 1px;
  background: currentColor;
}

.eyebrow-light {
  color: #ffdf8c;
}

.hero h1, h2, h3, p {
  margin-top: 0;
}

.hero h1 {
  max-width: 730px;
  margin-bottom: 24px;
  color: white;
  font: 600 clamp(55px, 6.6vw, 94px)/0.95 var(--serif);
  letter-spacing: -0.058em;
}

.hero h1 em, h2 em {
  font-weight: 500;
}

.hero-copy {
  width: 415px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  line-height: 1.55;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 6px;
  font: 600 12px/1 var(--sans);
}

.text-link span {
  font-size: 15px;
  transition: transform 0.2s;
}

.text-link:hover span {
  transform: translate(3px, 3px);
}

.text-link-light {
  color: white;
  border-color: rgba(255, 255, 255, 0.6);
}

.hero-bottom {
  position: absolute;
  bottom: 31px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255, 255, 255, 0.8);
  font: 500 9px var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-bottom p:last-child {
  margin-left: auto;
}

.hero-bottom p {
  margin: 0;
}

.hero-scroll-line {
  flex: 0 1 360px;
  height: 1px;
  background: rgba(255, 255, 255, 0.48);
}

/* Tours Section */
.tours-section {
  padding: 93px 0 100px;
  background: var(--warm);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 41px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.round-link {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  font: 600 12px var(--sans);
}

.round-link i {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  width: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-style: normal;
  font-size: 16px;
  transition: 0.2s;
}

.round-link:hover i {
  color: white;
  background: var(--ink);
  transform: rotate(45deg);
}

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tour-card {
  position: relative;
}

.tour-card-image {
  position: relative;
  display: block;
  height: 380px;
  overflow: hidden;
  background: #d9d5cb;
}

.tour-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}

.tour-card:hover .tour-card-image img {
  transform: scale(1.05);
}

.tour-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.92);
  font: 500 8px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tour-card-body {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  padding-top: 16px;
}

.tour-category {
  margin: 0 0 4px;
  color: var(--coral);
  font: 500 9px var(--mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tour-card h3 {
  margin: 0;
  font: 600 26px/0.97 var(--serif);
  letter-spacing: -0.05em;
}

.circle-arrow {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 16px;
  transition: 0.2s;
}

.circle-arrow:hover {
  border-color: var(--coral);
  color: white;
  background: var(--coral);
}

.tour-description {
  min-height: 40px;
  margin: 13px 0;
  color: #586662;
  font-size: 12px;
  line-height: 1.5;
}

.tour-meta {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  color: #65716d;
  font: 500 8px var(--mono);
}

.tour-meta b {
  margin-left: auto;
  color: var(--ink);
  font-weight: 500;
}

/* Why Section */
.why-section {
  padding: 100px 0;
  background: var(--paper);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-card {
  padding: 28px;
  background: #e8dfd0;
}

.why-card:nth-child(2) {
  background: var(--sky);
}

.why-card:nth-child(3) {
  background: var(--yellow);
}

.why-card .why-number {
  display: block;
  margin-bottom: 52px;
  color: var(--coral);
  font: 600 33px/0.9 var(--serif);
  letter-spacing: -0.05em;
}

.why-card h3 {
  margin: 0 0 10px;
  font: 600 29px/0.98 var(--serif);
  letter-spacing: -0.05em;
}

.why-card p {
  margin: 0;
  color: #52615e;
  font-size: 12px;
  line-height: 1.55;
}

/* Footer */
.site-footer {
  margin-top: 0;
  color: var(--ink);
  background: #e4dccd;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.3fr;
  gap: 40px;
  padding-top: 70px;
  padding-bottom: 58px;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.footer-links div {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links b, .newsletter b {
  margin-bottom: 6px;
  font: 600 10px var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  color: #53615e;
  font-size: 12px;
}

.footer-links a:hover {
  color: var(--coral);
}

.newsletter {
  justify-self: end;
  width: min(100%, 355px);
}

.newsletter p {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 0 0 14px;
}

.newsletter p span {
  color: #65716d;
  font-size: 11px;
  line-height: 1.5;
}

.newsletter label {
  display: flex;
  border-bottom: 1px solid var(--ink);
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  padding: 8px 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.newsletter input::placeholder {
  color: #65716d;
}

.newsletter button {
  border: 0;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.footer-bottom {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid rgba(20, 45, 44, 0.16);
  color: #62706c;
  font: 500 8px var(--mono);
  letter-spacing: 0.04em;
}

.footer-bottom > span:nth-child(2) {
  margin: auto;
}

.footer-bottom div {
  display: flex;
  gap: 17px;
}

.footer-bottom a:hover {
  color: var(--coral);
}

/* Responsive */
@media (max-width: 1050px) {
  .section-shell {
    width: min(100% - 50px, 980px);
  }
  .site-header {
    width: calc(100% - 50px);
  }
  .desktop-nav {
    gap: 20px;
    margin-right: 22px;
  }
}

@media (max-width: 760px) {
  .section-shell {
    width: calc(100% - 36px);
  }
  .announcement-bar {
    padding: 0 36px 0 14px;
    height: 40px;
    text-align: center;
    font-size: 8px;
    line-height: 1.3;
  }
  .announcement-close {
    right: 9px;
  }
  .site-header {
    width: calc(100% - 36px);
    height: 70px;
  }
  .brand-mark {
    width: 32px;
    height: 32px;
  }
  .brand b {
    font-size: 15px;
  }
  .desktop-nav, .header-book-button {
    display: none;
  }
  .header-actions {
    margin-left: auto;
  }
  .menu-toggle {
    display: block;
  }
  .hero {
    min-height: 623px;
  }
  .hero-image {
    background-position: 56% center;
  }
  .hero-overlay {
    background: linear-gradient(90deg, rgba(7, 30, 29, 0.88), rgba(7, 30, 29, 0.52)), linear-gradient(0deg, rgba(7, 25, 24, 0.60), transparent 55%);
  }
  .hero-content {
    padding-top: 106px;
  }
  .hero h1 {
    font-size: 55px;
  }
  .hero-copy {
    width: auto;
    max-width: 358px;
    font-size: 14px;
  }
  .hero-bottom {
    bottom: 19px;
    gap: 9px;
    font-size: 7px;
  }
  .hero-bottom p:last-child {
    display: none;
  }
  .hero-scroll-line {
    flex: 1;
  }
  .tours-section {
    padding: 68px 0 71px;
  }
  .section-heading {
    align-items: start;
    margin-bottom: 32px;
  }
  .round-link span {
    display: none;
  }
  .round-link {
    margin-top: 8px;
  }
  .tour-grid {
    grid-template-columns: 1fr;
    gap: 39px;
  }
  .tour-card-image {
    height: min(115vw, 480px);
  }
  .tour-card h3 {
    font-size: 28px;
  }
  .tour-description {
    margin-top: 12px;
  }
  .why-section {
    padding: 70px 0;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .why-card .why-number {
    margin-bottom: 32px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 37px 20px;
    padding-top: 56px;
    padding-bottom: 36px;
  }
  .footer-links {
    grid-column: span 2;
  }
  .footer-bottom {
    flex-wrap: wrap;
    row-gap: 8px;
    font-size: 7px;
  }
  .footer-bottom > span:nth-child(2) {
    margin: 0;
    width: 100%;
    order: 3;
  }
  .footer-bottom div {
    margin-left: auto;
  }
  .newsletter {
    justify-self: stretch;
    width: auto;
  }
}
