/* ===================================================
   Casa Julieta — Minimal Luxury Design System
   Verde veludo #003912 · Dourado #DBAD00
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&display=swap');

:root {
  --green: #003912;
  --green-deep: #00260c;
  --green-light: #004d1a;
  --green-soft: #d6e8dc;

  --gold: #DBAD00;
  --gold-light: #f5e7a3;
  --gold-dark: #b8920a;

  --bg: #003912;
  --bg-alt: #00260c;
  --text: #e8f2ec;
  --muted: #a8c4b2;
  --border: rgba(219, 173, 0, 0.18);
  --radius: 0.75rem;
}

/* ---- Intro hi-res title ---- */
/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
}

/* Velvet canvas — no longer used */
#velvet-canvas {
  display: none;
}

/* Everything else sits above the canvas */
.site-header, .site-footer {
  position: relative;
  z-index: 1;
}

main {
  position: relative;
  z-index: 5;
  background: var(--bg);
}

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

/* ---- Material Icon helper ---- */
.icon {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'liga';
}

/* ---- Typography ---- */
h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  line-height: 1.15;
}

.container {
  width: min(1120px, 90%);
  margin: 0 auto;
}

/* ---- Header ---- */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
}

.header-centered {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.2rem 0 0.6rem;
}

.nav-line {
  width: 90%;
  height: 1px;
  background: var(--gold);
  margin: 0 auto;
  transform-origin: center;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 9rem;
  padding: 0.7rem 0;
  width: 90%;
  margin: 0 auto;
}

/* Brand with gold shimmer effect */
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.16rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.06em;
  position: relative;
  background: linear-gradient(
    105deg,
    var(--gold-dark) 0%,
    var(--gold) 25%,
    #fff5c0 40%,
    var(--gold) 55%,
    var(--gold-dark) 80%,
    var(--gold) 100%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: goldShimmer 4s ease-in-out infinite;
}

@keyframes goldShimmer {
  0%   { background-position: 100% 50%; }
  50%  { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.main-nav a {
  color: var(--gold);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  position: relative;
  transition: color 0.3s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.main-nav a:hover { color: var(--gold); }
.main-nav a:hover::after { width: 100%; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  position: absolute;
  right: 5%;
  top: 1.2rem;
  z-index: 101;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---- Breadcrumb (removed) ---- */

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }

.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--gold); }

.breadcrumb .back-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--gold);
  margin-right: 0.5rem;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
  font-size: 18px;
}
.breadcrumb .back-arrow:hover {
  background: rgba(219, 173, 0, 0.1);
  border-color: var(--gold);
}

/* ==== Hero Section ==== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 2rem;
  padding-bottom: 8rem;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 57, 18, 0.3) 0%,
    rgba(0, 38, 12, 0.15) 50%,
    rgba(0, 38, 12, 0.6) 100%
  );
  z-index: -1;
}

.hero-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(5rem, 14vw, 12rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 2.5rem;
  padding-bottom: 0.15em;
  position: relative;
  cursor: default;

  /* Base dark gold color */
  color: var(--gold-dark);
  -webkit-text-fill-color: transparent;
  background: var(--gold-dark);
  background-clip: text;
  -webkit-background-clip: text;

  /* Shadow for volume */
  filter: drop-shadow(0 4px 20px rgba(0,0,0,0.5)) drop-shadow(0 2px 6px rgba(0,0,0,0.3));

  /* Lantern variables — updated by JS */
  --spotlight-x: -200px;
  --spotlight-y: -200px;
  --spotlight-opacity: 0;
}

/* Bright layer — radial "lantern" that follows cursor */
.hero-title::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle 120px at var(--spotlight-x) var(--spotlight-y),
    #fffbe6 0%,
    #fff5c0 25%,
    var(--gold) 50%,
    transparent 70%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: var(--spotlight-opacity);
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.hero-cta {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  text-decoration: none;
  padding: 0.3rem 0.8rem;
  margin-top: 3rem;
  transition: filter 0.3s, text-shadow 0.3s;
  background: none;
  border: none;
  cursor: pointer;
}
.hero-cta:hover {
  filter: brightness(1.5);
  text-shadow: 0 0 12px rgba(219,173,0,0.5);
}

.hero-chevron {
  width: 28px;
  height: 28px;
  animation: bounceDown 2s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.hero-cta:hover .hero-chevron {
  animation: none;
  transform: translateY(6px);
}

@keyframes bounceDown {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

.tag {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(219, 173, 0, 0.1);
  border: 1px solid rgba(219, 173, 0, 0.3);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.3;
  width: fit-content;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  color: var(--gold);
  margin: 0 0 0.8rem;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 52ch;
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gold {
  background: var(--gold);
  color: var(--green);
  cursor: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.25s ease;
}
.btn-gold:hover {
  opacity: 0;
  transform: translateY(-1px);
  box-shadow: none;
}

/* Magnetic cursor circle */
.magnetic-circle {
  position: fixed;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.25s cubic-bezier(0.25,1,0.5,1), opacity 0.2s ease;
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.magnetic-circle.active {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.magnetic-circle svg {
  width: 28px;
  height: 28px;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(219, 173, 0, 0.15);
}

/* ---- Sections ---- */
.section {
  padding: 5rem 0;
  background: var(--bg);
}

#sobre {
  padding-top: 2rem;
}

/* Divider between Sobre and Giro Bar */
.section-divider {
  width: 90%;
  max-width: 1120px;
  height: 1px;
  margin: 0 auto;
  background: var(--border);
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  margin: 0 0 1rem;
}

.about-row {
  display: flex;
  align-items: center;
  gap: 3rem;
}
.about-col {
  flex: 1;
  min-width: 0;
}
.about-img {
  flex: 0 0 280px;
  max-width: 280px;
}
.about-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .about-row { flex-direction: column; gap: 2rem; }
  .about-img { flex: none; max-width: 200px; margin: 0 auto; }
}

.about-text { max-width: 62ch; }
.about-text p { color: var(--muted); }

/* ---- Typewriter effect ---- */
.typewriter-line {
  overflow: hidden;
  border-right: 2px solid var(--gold);
  white-space: nowrap;
  width: 0;
  color: var(--muted);
}
.typewriter-line.typing {
  animation: typewriterExpand var(--tw-duration, 3s) steps(var(--tw-steps, 40), end) forwards,
             twBlink 0.6s step-end infinite;
}
.typewriter-line.done {
  width: 100%;
  border-right: none;
  white-space: normal;
}
/* Last line keeps blinking caret until done */
.typewriter-line.typing:last-of-type {
  animation: typewriterExpand var(--tw-duration, 3s) steps(var(--tw-steps, 40), end) forwards,
             twBlink 0.6s step-end infinite;
}

@keyframes typewriterExpand {
  from { width: 0; }
  to   { width: 100%; }
}
@keyframes twBlink {
  50% { border-color: transparent; }
}

/* ---- Grid / Cards (legacy — kept for sub-pages) ---- */
.grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

/* ---- Space Sections (full-width with background image) ---- */
.space-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-end;
  padding: 4rem 0;
  background: var(--space-bg, none) center / cover no-repeat;
  overflow: hidden;
}

.space-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 38, 12, 0.95) 0%,
    rgba(0, 38, 12, 0.7) 35%,
    rgba(0, 38, 12, 0.4) 60%,
    rgba(0, 38, 12, 0.25) 100%
  );
  z-index: 1;
}

.space-content {
  position: relative;
  z-index: 2;
  width: min(1120px, 90%);
  margin: 0 auto;
  padding: 2rem 0;
}

.space-content .section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.space-content h2 {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
  margin: 0 0 1rem;
}

.space-logo {
  max-height: 120px;
  width: auto;
  margin-bottom: 1.2rem;
  filter: brightness(1.1);
}

.space-content p {
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 2rem;
  font-size: 1rem;
  line-height: 1.7;
}

.space-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Bar Slideshow (fullscreen crossfade + Ken Burns) ---- */
.bar-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.bar-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

.bar-slide--active {
  opacity: 1;
}

.bar-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: kenBurns 8s ease-in-out infinite alternate;
}

/* Alternate zoom directions per slide */
.bar-slide:nth-child(1) img { animation-name: kenBurnsA; }
.bar-slide:nth-child(2) img { animation-name: kenBurnsB; }
.bar-slide:nth-child(3) img { animation-name: kenBurnsA; }
.bar-slide:nth-child(4) img { animation-name: kenBurnsB; }

@keyframes kenBurnsA {
  0%   { transform: scale(1)    translate(0, 0); }
  100% { transform: scale(1.12) translate(-1.5%, -1%); }
}
@keyframes kenBurnsB {
  0%   { transform: scale(1.12) translate(1%, 1.5%); }
  100% { transform: scale(1)    translate(0, 0); }
}

/* Progress bar at bottom of slideshow */
.bar-slideshow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold);
  z-index: 3;
  animation: slideProgress 5s linear infinite;
  opacity: 0.5;
}

@keyframes slideProgress {
  0%   { width: 0; }
  100% { width: 100%; }
}

.card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(219, 173, 0, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  transition: transform 0.35s ease, border-color 0.25s, box-shadow 0.35s;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 10px 28px rgba(219, 173, 0, 0.1);
}

.card-icon {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 0.6rem;
  display: block;
  opacity: 0.85;
  transition: transform 0.3s, opacity 0.3s;
}
.card:hover .card-icon { transform: scale(1.1); opacity: 1; }

.card h3 {
  font-size: 1.25rem;
  color: var(--gold);
  margin: 0 0 0.4rem;
}

.card p {
  color: var(--muted);
  margin: 0 0 auto;
  padding-bottom: 0.8rem;
  font-size: 0.92rem;
}

.card-link {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s, transform 0.3s;
}
.card:hover .card-link {
  opacity: 1;
  transform: translateX(0);
}

.card-soon {
  border-style: dashed;
  opacity: 0.55;
}

/* ---- Map ---- */
.loc-heading {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.loc-heading svg {
  flex-shrink: 0;
  color: var(--gold);
}

.loc-address {
  margin: 0.6rem 0 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

.map-wrapper {
  margin-top: 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-wrapper iframe { display: block; width: 100%; }

/* ---- Contact ---- */
.contact-title {
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  color: var(--gold);
  margin: 0 0 2rem;
}

.contact-row {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  text-decoration: none;
  font-size: 0.85rem;
  transition: filter 0.3s, text-shadow 0.3s;
}
.contact-item:hover {
  filter: brightness(1.5);
  text-shadow: 0 0 12px rgba(219,173,0,0.5);
}
.contact-item svg { flex-shrink: 0; }
.contact-item span { color: var(--muted); transition: color 0.3s; }
.contact-item:hover span { color: var(--gold-light); }

/* -- Instagram icon -- */
.contact-icon-ig {
  transition: transform 0.4s ease;
}
.contact-item:hover .contact-icon-ig {
  animation: igPulse 0.6s ease;
}
@keyframes igPulse {
  0%   { transform: scale(1) rotate(0deg); }
  30%  { transform: scale(1.15) rotate(-6deg); }
  60%  { transform: scale(1.05) rotate(4deg); }
  100% { transform: scale(1) rotate(0deg); }
}

/* -- Email icon (rounded envelope) -- */
.contact-icon-email {
  position: relative;
  width: 30px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon-email svg {
  overflow: visible;
}
.envelope-flap-path {
  transform-origin: 12px 6px;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.contact-item:hover .envelope-flap-path {
  transform: rotateX(180deg);
}

/* -- Map pin bounce -- */
.contact-icon-pin {
  transition: transform 0.3s ease;
  transform-origin: center bottom;
}
.contact-item:hover .contact-icon-pin {
  animation: pinBounce 0.6s ease;
}
@keyframes pinBounce {
  0%   { transform: translateY(0); }
  20%  { transform: translateY(-8px); }
  40%  { transform: translateY(0); }
  55%  { transform: translateY(-4px); }
  70%  { transform: translateY(0); }
  85%  { transform: translateY(-2px); }
  100% { transform: translateY(0); }
}

/* ---- Footer ---- */
.site-footer {
  padding: 1.2rem 0 1.5rem;
  background: var(--green-deep);
  position: relative;
  z-index: 5;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  border-top: 1px solid var(--border);
  padding-top: 1.2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-content p { margin: 0; }
.footer-spacer { flex: 1; }
.footer-center { flex: 1; text-align: center; }
.footer-right { flex: 1; text-align: right; }
.footer-content p { margin: 0; }
.footer-content a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-content a:hover { opacity: 0.75; }

/* ---- Sub-page layout ---- */
.page-hero {
  padding: 4.5rem 0 2.5rem;
  text-align: center;
}
.page-hero h1 { margin-bottom: 0.6rem; }
.page-hero p {
  max-width: 48ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: 1rem;
}

.page-body { padding: 3.5rem 0; }
.page-body .container { max-width: 720px; }
.page-body p { color: var(--muted); margin-bottom: 0.9rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--gold);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 2rem;
  transition: gap 0.25s;
}
.back-link:hover { gap: 0.6rem; }

/* ---- Animations ---- */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.grid .fade-up:nth-child(2) { transition-delay: 0.07s; }
.grid .fade-up:nth-child(3) { transition-delay: 0.14s; }
.grid .fade-up:nth-child(4) { transition-delay: 0.21s; }
.grid .fade-up:nth-child(5) { transition-delay: 0.28s; }
.grid .fade-up:nth-child(6) { transition-delay: 0.35s; }

/* page-in disabled — intro animation handles it */
/* body { animation: pageIn 0.45s ease both; } */
@keyframes pageIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */

/* Tablet landscape / small desktop */
@media (max-width: 1100px) {
  .main-nav { gap: 4rem; }
}

/* Tablet portrait */
@media (max-width: 768px) {
  .menu-toggle { display: flex; }
  .nav-line { display: none; }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(0, 38, 12, 0.97);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 5rem;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s;
    z-index: 99;
    overflow: hidden;
  }
  .main-nav.open { opacity: 1; pointer-events: all; }
  .main-nav a { font-size: 1.2rem; }

  .header-centered { padding: 1rem 0 0.5rem; }
  .brand { font-size: 1.8rem; }

  h1 { font-size: clamp(2rem, 7vw, 2.8rem); }
  .hero-title { font-size: clamp(3.5rem, 14vw, 6rem); }
  .hero { padding-bottom: 4rem; }
  .hero-cta { margin-top: 2rem; }

  .space-section { min-height: 70vh; }
  .space-content h2 { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .space-logo { max-height: 80px; }

  .contact-row { gap: 2rem; }
  .contact-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }

  .section { padding: 3.5rem 0; }

  .grid { grid-template-columns: 1fr; }

  .footer-content { flex-direction: column; text-align: center; gap: 0.8rem; }
  .footer-spacer { display: none; }
  .footer-center, .footer-right { flex: none; text-align: center; }

  .page-hero { padding: 3rem 0 1.5rem; }
  .page-body { padding: 2.5rem 0; }
}

/* Phone */
@media (max-width: 480px) {
  .brand { font-size: 1.5rem; }
  .hero-title { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .hero { min-height: 85vh; padding: 1.5rem; padding-bottom: 3rem; }

  .space-section { min-height: 60vh; padding: 2.5rem 0; }
  .space-content p { font-size: 0.9rem; }
  .space-logo { max-height: 60px; }

  .contact-row { flex-direction: column; gap: 1.5rem; align-items: center; }
  .contact-item { font-size: 0.8rem; }

  .section { padding: 2.5rem 0; }
  h2 { font-size: clamp(1.5rem, 5vw, 2rem); }

  .btn { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

  .map-wrapper iframe { height: 260px; }

  .page-hero { padding: 2rem 0 1rem; }
  .page-body { padding: 2rem 0; }
  .page-body .container { max-width: 100%; }
}
