/* =============================================================
   CONTACTS.CSS
   Secções:
     01 · Reset & Base
     02 · Scrollbar
     03 · Navbar
     04 · Nav Indicator
     05 · Hamburger Menu
     06 · Contact Header
     07 · Contact Cards
     08 · Map Box
     09 · Feedback Button
     10 · Contact Form
     11 · Social Icons
     12 · Page Loader
     13 · Audio Player Persistente
     14 · Scroll Top
     16 · Footer
     18 · Responsivo — Tablet / Mobile (≤ 768px)
     19 · Responsivo — Mobile pequeno (≤ 700px)
     20 · Responsivo — Telemóvel pequeno (≤ 420px)
============================================================= */

/* ─────────────────────────────────────────────────────────────
   01 · RESET & BASE
───────────────────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #111;
  font-family: Arial, sans-serif;
}

/* ─────────────────────────────────────────────────────────────
   02 · SCROLLBAR
───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #d5a83d; border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: #f4c84a; }

* {
  scrollbar-width: thin;
  scrollbar-color: #d5a83d transparent;
}

/* ─────────────────────────────────────────────────────────────
   03 · NAVBAR
───────────────────────────────────────────────────────────── */
.navbar {
  width: 100%;
  height: 125px;
  background: #090606;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 42px;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid transparent;
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    backdrop-filter 0.35s ease,
    box-shadow 0.35s ease;
}

.navbar.scrolled {
  background: rgba(9, 6, 6, 0.16);
  border-bottom: 1px solid rgba(217, 165, 47, 0.16);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.logo img {
  width: 90px;
  height: auto;
  display: block;
  flex-shrink: 0;
  transform: translateX(350px);
}

nav {
  display: flex;
  gap: 38px;
  position: relative;
}

nav a {
  color: #8f8983;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: 0.2s ease;
}

nav a:hover      { color: #d5a83d; }
nav a.nav-active { color: #d5a83d; }

.contact {
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-350px);
}

.contact .phone a {
  color: #d5a83d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.contact .phone a:hover { color: #f4c84a; }

.contact .phone span {
  color: #7e7770;
  font-size: 12px;
  margin-top: 4px;
  display: block;
}

.theme-toggle {
  width: 55px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #8b641c;
  background: #3a2c13;
  display: flex;
  align-items: center;
  padding-left: 7px;
  cursor: pointer;
}

.theme-toggle span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #d5a83d;
  color: #1b1408;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

/* ─────────────────────────────────────────────────────────────
   04 · NAV INDICATOR
───────────────────────────────────────────────────────────── */
#nav-indicator {
  position: absolute;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: #d5a83d;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: center;
  transition:
    opacity 0.4s ease,
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 0 6px rgba(213, 168, 61, 0.7),
    0 0 14px rgba(213, 168, 61, 0.3);
  pointer-events: none;
}

#nav-indicator.visible {
  opacity: 1;
  transform: scaleX(1);
}

/* ─────────────────────────────────────────────────────────────
   05 · HAMBURGER MENU
───────────────────────────────────────────────────────────── */
#hamburger   { display: none; }
#nav-drawer  { display: none; }
#nav-overlay { display: none; }

@media (max-width: 1529px) {

  .navbar {
    height: auto;
    padding: 16px 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .navbar nav { display: none; }
  .logo img   { transform: none !important; }

  .contact {
    transform: none !important;
    gap: 10px;
    flex-shrink: 0;
  }

  .phone { display: none; }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(217, 165, 47, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
  }

  #hamburger span {
    display: block;
    height: 2px;
    background: #d5a83d;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  #hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #hamburger.open span:nth-child(2) { opacity: 0; }
  #hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #nav-overlay.open { opacity: 1; pointer-events: all; }

  #nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 300px;
    height: 100dvh;
    background: #0e0a08;
    border-left: 1px solid rgba(217, 165, 47, 0.15);
    z-index: 1999;
    padding: 80px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  #nav-drawer.open { transform: translateX(0); }

  #nav-drawer nav {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }

  #nav-drawer nav a {
    font-size: 18px;
    font-weight: 700;
    color: #8f8983;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  #nav-drawer nav a:last-of-type { border-bottom: none; }

  #nav-drawer nav a:hover,
  #nav-drawer nav a.nav-active {
    color: #d5a83d;
    padding-left: 8px;
  }

  #nav-drawer #nav-indicator {
    display: block;
    position: absolute;
    left: -12px;
    width: 3px !important;
    border-radius: 999px;
    background: #d5a83d;
    box-shadow: 0 0 6px rgba(213, 168, 61, 0.7);
    opacity: 0;
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  #nav-drawer #nav-indicator.visible { opacity: 1; }

  #nav-drawer .drawer-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(213, 168, 61, 0.2);
  }

  #nav-drawer .drawer-phone a {
    color: #d5a83d;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
  }

  #nav-drawer .drawer-phone a:hover { color: #f4c84a; }

  #nav-drawer .drawer-phone span {
    color: #7e7770;
    font-size: 0.85rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   06 · CONTACT HEADER
───────────────────────────────────────────────────────────── */
.contact-section {
  padding: 70px 32px 90px;
}

.contact-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 58px;
}

.contact-header h1 {
  color: #f4f1ed;
  font-size: 42px;
  font-weight: 800;
}

.contact-header span {
  display: block;
  width: 105px;
  height: 1px;
  margin: 24px auto 78px;
  background: linear-gradient(90deg, transparent, #d9a52f, transparent);
}

.contact-header p {
  color: #c2b8ad;
  font-size: 17px;
  line-height: 1.5;
}

/* ─────────────────────────────────────────────────────────────
   07 · CONTACT CARDS
───────────────────────────────────────────────────────────── */
.contact-cards {
  max-width: 780px;
  margin: 0 auto 30px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.contact-card {
  min-height: 160px;
  padding: 28px;
  border-radius: 14px;
  border: 1px solid rgba(217, 165, 47, 0.16);
  background: rgba(255, 255, 255, 0.025);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact-card:hover {
  border-color: rgba(217, 165, 47, 0.35);
  background: rgba(217, 165, 47, 0.04);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 1px solid rgba(217, 165, 47, 0.3);
  background: rgba(217, 165, 47, 0.13);
  color: #d9a52f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.contact-card p      { color: #7f766d; font-size: 14px; margin-bottom: 8px; }
.contact-card strong { color: #fff; font-size: 16px; }

/* ─────────────────────────────────────────────────────────────
   08 · MAP BOX
───────────────────────────────────────────────────────────── */
.map-box {
  max-width: 780px;
  height: 275px;
  margin: 0 auto 44px;
  border-radius: 12px;
  overflow: hidden;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ─────────────────────────────────────────────────────────────
   09 · FEEDBACK BUTTON
───────────────────────────────────────────────────────────── */
.feedback-btn {
  width: fit-content;
  margin: 0 auto 28px;
  height: 42px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(217, 165, 47, 0.35);
  color: #d9a52f;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    color 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.feedback-btn:hover {
  color: #f4e8c1;
  border-color: rgba(217, 165, 47, 0.7);
  background: rgba(217, 165, 47, 0.1);
  box-shadow:
    0 4px 18px rgba(213, 168, 61, 0.22),
    0 0 0 1px rgba(213, 168, 61, 0.12);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────
   10 · CONTACT FORM
───────────────────────────────────────────────────────────── */
.contact-form {
  max-width: 610px;
  margin: 0 auto 45px;
  padding: 42px;
  border-radius: 14px;
  border: 1px solid rgba(217, 165, 47, 0.16);
  background: rgba(255, 255, 255, 0.025);
}

.contact-form h2 {
  text-align: center;
  color: #f4f1ed;
  font-size: 24px;
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(217, 165, 47, 0.25);
  border-radius: 8px;
  background: transparent;
  color: #c2b8ad;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(217, 165, 47, 0.6);
  box-shadow: 0 0 0 3px rgba(217, 165, 47, 0.08);
}

.contact-form input,
.contact-form select { height: 36px; padding: 0 12px; }

.contact-form textarea {
  height: 125px;
  margin-top: 16px;
  padding: 14px 12px;
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #8d8378; }

.contact-form select { color: #8d8378; }

.char-count {
  color: #c2b8ad;
  font-size: 12px;
  text-align: right;
  margin: 5px 0 18px;
}

.contact-form button {
  width: 100%;
  height: 50px;
  border: 0;
  border-radius: 9px;
  background: #d9a52f;
  color: #111;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.contact-form button:hover {
  background: #f4c84a;
  box-shadow: 0 6px 20px rgba(213, 168, 61, 0.35);
  transform: translateY(-1px);
}

/* ─────────────────────────────────────────────────────────────
   11 · SOCIAL ICONS
───────────────────────────────────────────────────────────── */
.social-icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-link:hover .social-icon {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(68%) sepia(60%) saturate(400%) hue-rotate(5deg) brightness(95%);
}

/* ─────────────────────────────────────────────────────────────
   12 · PAGE LOADER
───────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #090606;
  pointer-events: all;
  transition: opacity 0.6s ease;
}

#page-loader.fade-out { opacity: 0; pointer-events: none; }

.loader-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.loader-logo {
  width: 120px;
  height: auto;
  opacity: 0;
  transform: scale(0.8);
  filter: brightness(0) invert(1);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.loader-logo.show  { opacity: 1; transform: scale(1); }
.loader-logo.pulse { animation: loader-pulse 0.4s ease forwards; }

@keyframes loader-pulse {
  0%   { transform: scale(1);    filter: brightness(0) invert(1); }
  50%  { transform: scale(1.08); filter: brightness(0) invert(1) drop-shadow(0 0 18px rgba(213, 168, 61, 0.9)); }
  100% { transform: scale(1);    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(213, 168, 61, 0.5)); }
}

.loader-line        { height: 1px; width: 0; background: linear-gradient(90deg, transparent, #d5a83d, transparent); transition: width 0.5s ease; }
.loader-line.expand { width: 150px; }

.loader-label {
  color: #7e7770;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: Arial, sans-serif;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.loader-label.show { opacity: 1; transform: translateY(0); }

/* ─────────────────────────────────────────────────────────────
   13 · AUDIO PLAYER PERSISTENTE
───────────────────────────────────────────────────────────── */
#persistent-player {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  background: rgba(20, 13, 3, 0.97);
  border-top: 1px solid rgba(217, 165, 47, 0.3);
  padding: 10px 24px 12px;
  backdrop-filter: blur(12px);
}

.pp-inner {
  max-width: 1020px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pp-row1 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-row2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.pp-icon {
  width: 32px;
  height: 32px;
  background: rgba(212, 160, 48, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d4a030;
  font-size: 14px;
  flex-shrink: 0;
}

.pp-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
  min-width: 0;
}

.pp-title {
  color: #f4f1ed;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pp-sub   { color: #7e7770; font-size: 11px; }

.pp-controls {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.pp-btn {
  background: transparent;
  border: none;
  color: #d4a030;
  font-size: 15px;
  cursor: pointer;
  padding: 5px 7px;
  border-radius: 6px;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
  flex-shrink: 0;
  line-height: 1;
}

.pp-btn:hover {
  color: #f4c84a;
  background: rgba(217, 165, 47, 0.1);
  box-shadow: 0 0 10px rgba(213, 168, 61, 0.18);
  transform: translateY(-1px);
}

.pp-close       { color: #555; font-size: 12px; }
.pp-close:hover { color: #f4f1ed; background: rgba(255,255,255,0.06); box-shadow: none; transform: none; }

.pp-seek {
  flex: 1;
  accent-color: #d4a030;
  cursor: pointer;
  min-width: 0;
  height: 3px;
}

.pp-vol  { width: 64px; accent-color: #d4a030; cursor: pointer; flex-shrink: 0; }

.pp-time {
  color: #7e7770;
  font-size: 11px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 70px;
}

@media (max-width: 600px) {
  #persistent-player { padding: 10px 14px 12px; }
  .pp-vol  { display: none; }
  .pp-time { min-width: 60px; font-size: 10px; }
}

#pp-toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1a1108;
  color: #f4f1ed;
  border: 1px solid rgba(217, 165, 47, 0.3);
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  z-index: 10001;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

#pp-toast.pp-toast-show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (max-width: 640px) {
  #pp-toast {
    white-space: normal;
    text-align: center;
    width: calc(100% - 48px);
    border-radius: 16px;
    font-size: 13px;
  }
}

/* ─────────────────────────────────────────────────────────────
   14 · SCROLL TOP
───────────────────────────────────────────────────────────── */
.scroll-top {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 9999;
  width: 52px;
  height: 52px;
  border: none;
  border-radius: 50%;
  background: #d8a62d;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(15px);
  box-shadow: 0 0 25px rgba(216, 166, 45, 0.35);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    box-shadow 0.25s ease;
}

.scroll-top.show { opacity: 1; visibility: visible; pointer-events: auto; transform: translateY(0); }

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 28px rgba(216, 166, 45, 0.55),
    0 8px 20px rgba(0, 0, 0, 0.35);
}

.scroll-top.player-visible {
  bottom: 80px;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease,
    bottom 0.25s ease,
    box-shadow 0.25s ease;
}

@media (max-width: 600px) {
  .scroll-top.player-visible { bottom: 88px; }
}

/* ─────────────────────────────────────────────────────────────
   16 · FOOTER
───────────────────────────────────────────────────────────── */
.footer {
  width: 100%;
  background: #1C1917;
  border-top: 1px solid #3a2b16;
  padding: 55px 80px;
  overflow: hidden;
}

.footer-container {
  max-width: 1250px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.footer-column { display: flex; flex-direction: column; }

.footer-column h3 {
  color: #6d665e;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 24px;
  font-weight: 700;
}

.footer-column p,
.footer-links a,
.social-link { color: #f4f1ed; }

.footer-column p {
  max-width: 340px;
  line-height: 1.5;
  font-size: 16px;
  margin-bottom: 18px;
}

.footer-column span {
  color: #d8a62d;
  font-weight: 700;
  font-size: 16px;
}

.footer-links     { display: flex; gap: 70px; }
.footer-links div { display: flex; flex-direction: column; gap: 14px; }

.footer-links a,
.social-link { text-decoration: none; font-size: 16px; }

.footer-links a {
  display: inline-block;
  position: relative;
  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #d8a62d;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
  color: #d8a62d;
  transform: translateX(3px);
}

.footer-links a:hover::after { width: 100%; }

.social-link:hover { color: #d8a62d; }
.social-link       { display: flex; align-items: center; gap: 10px; }
.social-link span  { color: #d8a62d; font-size: 18px; }

.footer-bottom {
  max-width: 1250px;
  margin: 45px auto 0;
  padding-top: 34px;
  border-top: 1px solid rgba(216, 166, 45, 0.25);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-bottom p,
.footer-bottom span { color: #f4f1ed; font-size: 14px; }

.footer-bottom p    { justify-self: start; }
.footer-bottom span { justify-self: end; }

.logo-footer {
  width: 70px;
  height: auto;
  display: block;
  justify-self: center;
  transform: none;
  filter: brightness(0) invert(1);
}

/* ─────────────────────────────────────────────────────────────
   18 · RESPONSIVO — TABLET / MOBILE (≤ 768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  .navbar {
    height: auto;
    padding: 16px 20px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .navbar nav { display: none; }
  .logo img   { transform: none !important; }

  .contact {
    transform: none !important;
    gap: 10px;
    flex-shrink: 0;
    justify-content: flex-end;
  }

  .phone { display: none; }

  #nav-indicator { display: none; }

  #hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(217, 165, 47, 0.3);
    border-radius: 8px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
  }

  #hamburger span {
    display: block;
    height: 2px;
    background: #d5a83d;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
  }

  #hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #hamburger.open span:nth-child(2) { opacity: 0; }
  #hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  #nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  #nav-overlay.open { opacity: 1; pointer-events: all; }

  #nav-drawer {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 75vw;
    max-width: 300px;
    height: 100dvh;
    background: #0e0a08;
    border-left: 1px solid rgba(217, 165, 47, 0.15);
    z-index: 1999;
    padding: 80px 28px 40px;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
  }

  #nav-drawer.open { transform: translateX(0); }

  #nav-drawer nav {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    position: relative;
  }

  #nav-drawer nav a {
    font-size: 18px;
    font-weight: 700;
    color: #8f8983;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  #nav-drawer nav a:last-of-type { border-bottom: none; }

  #nav-drawer nav a:hover,
  #nav-drawer nav a.nav-active { color: #d5a83d; padding-left: 8px; }

  #nav-drawer #nav-indicator {
    display: block;
    position: absolute;
    left: -12px;
    width: 3px !important;
    border-radius: 999px;
    background: #d5a83d;
    box-shadow: 0 0 6px rgba(213, 168, 61, 0.7);
    opacity: 0;
    transition: top 0.35s cubic-bezier(0.4, 0, 0.2, 1), height 0.35s ease, opacity 0.3s ease;
    pointer-events: none;
  }

  #nav-drawer #nav-indicator.visible { opacity: 1; }

  /* Scroll top */
  .scroll-top {
    width: 46px;
    height: 46px;
    right: 16px;
    bottom: 16px;
    font-size: 20px;
  }

  .scroll-top.player-visible { bottom: 72px; }

  /* Audio player */
  .pp-info  { min-width: unset; }
  .pp-title { max-width: 120px; }
  .pp-vol   { display: none; }
  .pp-time  { display: none; }

  /* Toast */
  #pp-toast {
    white-space: normal;
    text-align: center;
    width: calc(100% - 48px);
    border-radius: 16px;
    font-size: 13px;
    padding: 10px 16px;
    bottom: 72px;
  }

  /* Footer */
  .footer { padding: 40px 20px; }

  .footer-container { flex-direction: column; gap: 36px; }
  .footer-links     { gap: 32px; }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .footer-bottom p,
  .footer-bottom span,
  .logo-footer { justify-self: center; }
}

/* ─────────────────────────────────────────────────────────────
   19 · RESPONSIVO — MOBILE PEQUENO (≤ 700px)
───────────────────────────────────────────────────────────── */
@media (max-width: 700px) {

  .contact-section { padding: 50px 20px 70px; }

  .contact-header h1 { font-size: 30px; }

  .contact-header span { margin-bottom: 40px; }

  .contact-header p { font-size: 15px; }

  .contact-cards,
  .form-grid { grid-template-columns: 1fr; }

  .contact-form { padding: 28px 18px; }

  .feedback-btn { width: 100%; }

  .map-box { height: 200px; }
}

/* ─────────────────────────────────────────────────────────────
   20 · RESPONSIVO — TELEMÓVEL PEQUENO (≤ 420px)
───────────────────────────────────────────────────────────── */
@media (max-width: 420px) {

  .contact-header h1 { font-size: 26px; }
  .contact-header p  { font-size: 14px; }

  .contact-card { padding: 20px 16px; min-height: unset; }

  .contact-form h2 { font-size: 20px; }

  .contact-form button { font-size: 14px; }

  .scroll-top { width: 40px; height: 40px; right: 12px; font-size: 18px; }
}