/* ============================================================
   Scavenger Tours Madrid — site stylesheet
   Desktop/tablet: full design images, scaled proportionally
   Mobile (<768px): rebuilt layout with real text for legibility
   ============================================================ */

:root {
  --cream: #fffbf5;
  --panel-white: #ffffff;
  --accent-brown: #b2886b;
  --accent-brown-dark: #8a6a53;
  --text-dark: #2b2b2b;
  --text-muted: #5b5b5b;
  --max-width: 1600px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
}

.site-container {
  max-width: var(--max-width);
  margin: 0 auto;
  background: #ffffff;
  overflow: hidden;
}

/* ---------------- Desktop / tablet sections ----------------
   Each section is one flattened image. width:100% + height:auto
   keeps its exact original aspect ratio at any window size. */

.desktop-section {
  display: block;
  width: 100%;
  line-height: 0; /* removes inline-image gap */
}

.desktop-section img {
  width: 100%;
  height: auto;
}

/* Clickable hotspots over baked-in icons on the flattened contact image */
.hotspot-wrap {
  position: relative;
}

.hotspot {
  position: absolute;
  border-radius: 50%;
  transition: background 0.15s ease;
}

.hotspot:hover,
.hotspot:focus-visible {
  background: rgba(0, 0, 0, 0.08);
}

/* ---------------- Mobile sections ---------------- */

.mobile-section {
  display: none; /* shown only under the breakpoint below */
}

.mobile-section .hero-photo {
  position: relative;
  width: 100%;
  line-height: 0; /* removes inline-image gap */
}

/* Real <img> instead of a CSS background: the photo always keeps its
   own native proportions, exactly like the desktop images do, instead
   of being cropped to fit a fixed box. */
.mobile-section .hero-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.mobile-section .text-panel {
  padding: 28px 24px 40px;
}

.mobile-section .text-panel.panel-white {
  background: var(--panel-white);
}

.mobile-section .text-panel.panel-cream {
  background: var(--cream);
}

.mobile-section .secondary-photo {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 22px;
}

.mobile-section p {
  margin: 0 0 14px;
  line-height: 1.55;
}

.mobile-section .txt-en {
  color: var(--text-dark);
  font-size: 1rem;
  font-style: italic;
}

.mobile-section .divider {
  width: 40px;
  height: 2px;
  background: var(--accent-brown);
  border: none;
  margin: 18px 0;
  opacity: 0.6;
}

.mobile-section .txt-es {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* Mobile sections that are a single flattened image (same treatment as
   desktop sections — width:100% + height:auto keeps exact aspect ratio) */
.mobile-flat {
  line-height: 0;
}

.mobile-flat img {
  width: 100%;
  height: auto;
}

/* Contact (mobile) */
.contact-mobile .contact-heading {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  color: var(--accent-brown);
  margin: 0 0 18px;
  font-style: normal;
}

.contact-mobile .social-row {
  display: flex;
  gap: 22px;
  margin-top: 24px;
}

.contact-mobile .social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #f2ede3;
}

.contact-mobile .social-row svg {
  width: 22px;
  height: 22px;
}

/* ---------------- Breakpoint ---------------- */

@media (max-width: 767px) {
  .desktop-section {
    display: none;
  }
  .mobile-section {
    display: block;
  }
}
