@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Tierra */
  --clay: #B8613F;
  --terracotta: #C4734F;
  --sand: #F5F0EB;
  --sand-deep: #EDE6DE;
  /* Mar */
  --teal: #1B6B6D;
  --teal-light: #287678;
  /* Cielo */
  --sky-muted: #8BA4A8;
  --sky-pale: #C8D6D8;
  /* Neutrals */
  --ink: #2C2420;
  --ink-soft: #5A4F48;
  --cream: #FAF7F4;
  --white: #FFFDFB;

  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --space-2xl: 10rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--ink);
  background-color: var(--sand);
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

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

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
}

.heading-xl {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.heading-lg {
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.heading-md {
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  font-weight: 400;
}

.heading-sm {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 500;
}

.text-body {
  font-size: 1rem;
  line-height: 1.8;
}

.text-sm {
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.text-xs {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
}

.text-italic {
  font-style: italic;
}

.text-teal { color: var(--teal); }
.text-clay { color: var(--clay); }
.text-soft { color: var(--ink-soft); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-sm) var(--space-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

.nav.scrolled {
  background: rgba(245, 240, 235, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(44, 36, 32, 0.08);
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  list-style: none;
}

.nav-links a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 400;
  color: var(--ink-soft);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--teal);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
  font-size: 0.75rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  color: var(--white) !important;
  background: var(--teal);
  padding: 0.6rem 1.4rem;
  border-radius: 0;
  transition: background 0.3s !important;
}

.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--teal-light) !important; color: var(--white) !important; }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(4.5px, 4.5px);
}
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-image {
  position: relative;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(27, 107, 109, 0.12) 0%,
    rgba(184, 97, 63, 0.08) 100%
  );
  pointer-events: none;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--sand);
  position: relative;
}

.hero-content::before {
  content: '';
  position: absolute;
  top: 20%;
  right: -1px;
  width: 1px;
  height: 60%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--sky-pale),
    transparent
  );
}

.hero-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: var(--space-md);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: var(--space-md);
}

.hero-title em {
  font-style: italic;
  color: var(--teal);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 300;
  color: var(--ink-soft);
  line-height: 1.6;
  max-width: 28ch;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--teal-light);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--sand);
}

.btn-ghost {
  background: transparent;
  color: var(--teal);
  padding: 0.9rem 0;
  position: relative;
}

.btn-ghost::after {
  content: '';
  position: absolute;
  bottom: 0.7rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.btn-ghost:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Sections ── */
.section {
  padding: var(--space-xl) var(--space-md);
}

.section-narrow {
  max-width: 720px;
  margin: 0 auto;
}

.section-wide {
  max-width: 1200px;
  margin: 0 auto;
}

.section-full {
  max-width: 100%;
}

/* ── Intro / Philosophy ── */
.intro {
  background: var(--cream);
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.intro-divider {
  width: 40px;
  height: 1px;
  background: var(--teal);
  margin: 0 auto var(--space-lg);
}

.intro-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink);
  max-width: 640px;
  margin: 0 auto;
}

.intro-text em {
  font-style: italic;
  color: var(--teal);
}

/* ── Lookbook Grid ── */
.lookbook {
  padding: var(--space-xl) 0;
}

.lookbook-header {
  text-align: center;
  margin-bottom: var(--space-xl);
  padding: 0 var(--space-md);
}

.lookbook-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: var(--space-sm);
}

.lookbook-grid {
  display: grid;
  gap: 3px;
}

.lookbook-grid--editorial {
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
}

.lookbook-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.lookbook-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.lookbook-item:hover img {
  transform: scale(1.04);
}

.lookbook-item--tall {
  grid-row: span 2;
}

.lookbook-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: linear-gradient(to top, rgba(44, 36, 32, 0.7), transparent);
  color: var(--white);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.4s ease;
}

.lookbook-item:hover .lookbook-caption {
  opacity: 1;
  transform: translateY(0);
}

.lookbook-caption-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.3rem;
}

.lookbook-caption-sub {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  opacity: 0.8;
}

/* ── Elements Section ── */
.elements {
  background: var(--ink);
  color: var(--sand);
  padding: var(--space-2xl) var(--space-md);
  position: relative;
  overflow: hidden;
}

.elements::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 107, 109, 0.15), transparent 70%);
  pointer-events: none;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  max-width: 1000px;
  margin: 0 auto;
}

.element-card {
  text-align: center;
  padding: var(--space-md);
}

.element-name {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 300;
  font-style: italic;
  margin-bottom: var(--space-xs);
  color: var(--sky-pale);
}

.element-spanish {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: var(--space-sm);
}

.element-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--sky-muted);
  max-width: 280px;
  margin: 0 auto;
}

/* ── Curated Collections ── */
.collections {
  padding: var(--space-xl) var(--space-md);
}

.collections-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  max-width: 1100px;
  margin: 0 auto;
}

.collection-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}

.collection-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.collection-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--space-md);
  background: linear-gradient(
    to top,
    rgba(44, 36, 32, 0.65) 0%,
    rgba(44, 36, 32, 0.1) 50%,
    transparent 100%
  );
  transition: background 0.4s ease;
}

.collection-card:hover .collection-overlay {
  background: linear-gradient(
    to top,
    rgba(44, 36, 32, 0.75) 0%,
    rgba(44, 36, 32, 0.2) 50%,
    transparent 100%
  );
}

.collection-name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.3rem;
}

.collection-desc {
  font-size: 0.85rem;
  color: rgba(255, 253, 251, 0.75);
  max-width: 300px;
}

/* ── Testimonials ── */
.testimonials {
  background: var(--cream);
  padding: var(--space-2xl) var(--space-md);
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
}

.testimonials-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.testimonial {
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--sand-deep);
}

.testimonial:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.testimonial-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  margin-bottom: var(--space-md);
  position: relative;
  padding-left: var(--space-md);
}

.testimonial-quote::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: var(--terracotta);
}

.testimonial-author {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  padding-left: var(--space-md);
}

.testimonial-author strong {
  font-weight: 500;
  color: var(--ink);
}

/* ── Story ── */
.story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.story-image {
  overflow: hidden;
}

.story-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-xl) var(--space-lg);
  background: var(--sand);
}

.story-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: var(--space-md);
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.story-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--ink-soft);
  max-width: 480px;
}

.story-text p + p {
  margin-top: var(--space-sm);
}

/* ── Visit / Location ── */
.visit {
  background: var(--ink);
  color: var(--sand);
  padding: var(--space-2xl) var(--space-md);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.visit::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184, 97, 63, 0.1), transparent 70%);
  pointer-events: none;
}

.visit-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.visit-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--terracotta);
  margin-bottom: var(--space-md);
}

.visit-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}

.visit-address {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--sky-muted);
  margin-bottom: var(--space-sm);
}

.visit-neighborhood {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--sky-pale);
  margin-bottom: var(--space-lg);
}

.visit-actions {
  display: flex;
  gap: var(--space-sm);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-lg);
}

.btn-visit {
  background: var(--terracotta);
  color: var(--white);
}

.btn-visit:hover {
  background: var(--clay);
}

.btn-outline-light {
  background: transparent;
  color: var(--sand);
  border: 1px solid rgba(245, 240, 235, 0.3);
}

.btn-outline-light:hover {
  background: rgba(245, 240, 235, 0.1);
  border-color: rgba(245, 240, 235, 0.5);
}

.visit-divider {
  width: 40px;
  height: 1px;
  background: rgba(245, 240, 235, 0.2);
  margin: var(--space-lg) auto;
}

.visit-social-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
}

.visit-social-links {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
}

.visit-social-links a {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--sky-muted);
  transition: color 0.3s;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-social-links a:hover {
  color: var(--sand);
}

/* ── Footer ── */
.footer {
  background: var(--sand-deep);
  padding: var(--space-md) var(--space-md);
  text-align: center;
}

.footer-text {
  font-size: 0.75rem;
  color: var(--ink-soft);
  letter-spacing: 0.04em;
}

.footer-text a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ── Language Toggle ── */
.lang-toggle {
  display: inline-flex;
  border: 1px solid rgba(44, 36, 32, 0.15);
  overflow: hidden;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lang-toggle button {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.8rem;
  border: none;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.3s;
}

.lang-toggle button.active {
  background: var(--ink);
  color: var(--sand);
}

/* ── Animations ── */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-content > * {
  animation: fadeUp 0.8s ease both;
}

.hero-content > :nth-child(1) { animation-delay: 0.2s; }
.hero-content > :nth-child(2) { animation-delay: 0.4s; }
.hero-content > :nth-child(3) { animation-delay: 0.6s; }
.hero-content > :nth-child(4) { animation-delay: 0.8s; }

.hero-image img {
  animation: fadeIn 1.2s ease both;
  animation-delay: 0.1s;
}

/* ── Scroll indicator ── */
.scroll-hint {
  position: absolute;
  bottom: var(--space-md);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink-soft);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeIn 1s ease both;
  animation-delay: 1.5s;
}

.scroll-hint-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--ink-soft), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ── Google Review Badge ── */
.review-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(27, 107, 109, 0.06);
  border: 1px solid rgba(27, 107, 109, 0.15);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: var(--teal);
  transition: all 0.3s;
}

.review-badge:hover {
  background: rgba(27, 107, 109, 0.1);
  border-color: rgba(27, 107, 109, 0.25);
}

.review-stars {
  color: var(--terracotta);
  font-size: 0.8rem;
}

/* ══════════════════════════════
   RESPONSIVE
   ══════════════════════════════ */

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: 55vh auto;
    min-height: auto;
  }

  .hero-content {
    padding: var(--space-lg) var(--space-md);
  }

  .hero-content::before { display: none; }

  .story {
    grid-template-columns: 1fr;
    grid-template-rows: 50vh auto;
  }

  .story-content {
    padding: var(--space-lg) var(--space-md);
  }

  .elements-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .lookbook-item--tall {
    grid-row: span 1;
  }

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

  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .scroll-hint { display: none; }
}

/* Mobile menu overlay */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  inset: 0;
  background: var(--sand);
  justify-content: center;
  align-items: center;
  gap: var(--space-md);
  z-index: 100;
}

.nav-links.open a {
  font-size: 1.2rem;
  color: var(--ink);
}

.nav-links.open .nav-cta {
  font-size: 0.85rem !important;
  margin-top: var(--space-sm);
}

@media (max-width: 600px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .visit-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
}

/* ── Noise texture overlay ── */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}
