/* ============================================
   AMUEBLARQ — Global Stylesheet
   Faithful recreation of Squarespace site
   ============================================ */

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

/* ---------- TOKENS ---------- */
:root {
  --orange:       #D4611A;
  --green:        #4A7A3A;
  --dark-bg:      #3d3d3d;
  --darker-bg:    #2e2e2e;
  --light-bg:     #f4f4f4;
  --card-bg:      #ebebeb;
  --white:        #ffffff;
  --text:         #333333;
  --text-muted:   #666666;
  --text-white:   rgba(255,255,255,0.92);
  --border:       #dddddd;

  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Raleway', sans-serif;

  --radius: 0;
  --transition: 0.22s ease;
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--white);
  font-size: 14px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--ff-body); }

/* ---------- NAVBAR ---------- */
.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px;
  height: 72px;
  background: var(--white);
  box-shadow: 0 1px 6px rgba(0,0,0,0.07);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-family: var(--ff-body);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.4px;
  color: var(--text);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1.5px;
  background: var(--text);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after,
.nav-links a.current::after { transform: scaleX(1); }

.nav-icons {
  display: flex;
  gap: 16px;
  font-size: 17px;
  color: var(--text);
}
.nav-icons a { transition: color var(--transition); }
.nav-icons a:hover { color: var(--orange); }

/* Mobile hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: all 0.3s;
}

/* ---------- HERO BANNER ---------- */
.hero {
  position: relative;
  height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  filter: brightness(0.5);
}

.hero-copy {
  position: relative;
  z-index: 2;
  color: var(--white);
  text-align: center;
  padding: 0 20px;
}

.hero-eyebrow {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 14px;
}

.hero-title {
  font-family: var(--ff-display);
  font-size: clamp(44px, 7vw, 74px);
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1.05;
}

/* Floating preview image that overlaps hero bottom */
.hero-preview {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 240px;
  height: 190px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
  z-index: 5;
}

/* ---------- INTRO / BRAND BLOCK ---------- */
.intro-block {
  text-align: center;
  padding: 100px 32px 64px;
  max-width: 660px;
  margin: 0 auto;
}

.intro-logo {
  height: 64px;
  margin: 0 auto 32px;
  object-fit: contain;
}

.intro-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}

/* ---------- DARK WAVE SECTION ---------- */
.dark-wave {
  background: var(--dark-bg);
  color: var(--white);
  position: relative;
  margin-top: 40px;
}

.dark-wave::before {
  content: '';
  position: absolute;
  top: -44px; left: 0; right: 0;
  height: 88px;
  background: var(--dark-bg);
  clip-path: ellipse(56% 100% at 50% 100%);
}

/* ---------- GALLERY SLIDER ---------- */
.slider-root {
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  transition: transform 0.38s ease;
  will-change: transform;
}

.slider-track img {
  flex-shrink: 0;
  height: 260px;
  object-fit: cover;
  /* width set by JS */
}

.slider-arrows {
  display: flex;
  gap: 6px;
  padding: 14px 0 20px;
}

.arrow-btn {
  width: 38px;
  height: 38px;
  border: 2px solid var(--white);
  background: transparent;
  color: var(--white);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.arrow-btn:hover { background: var(--white); color: var(--dark-bg); }
.arrow-btn.dark-arrows {
  border-color: #888;
  color: #555;
}
.arrow-btn.dark-arrows:hover { background: #555; color: var(--white); }

/* ---------- THREE-COLUMN CATEGORY CARDS (circle img) ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 56px 56px 72px;
}

.cat-card {
  background: var(--card-bg);
  text-align: center;
  padding: 0 0 28px;
}

.cat-card-circle {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  object-fit: cover;
  margin: 28px auto 18px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.13);
}

.cat-card h3 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 10px;
}

.cat-card p {
  font-size: 12px;
  color: var(--text-muted);
  padding: 0 18px;
  margin-bottom: 18px;
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-family: var(--ff-body);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: none;
  transition: all var(--transition);
}

.btn-slate {
  background: #9a9a9a;
  color: var(--white);
}
.btn-slate:hover { background: #7a7a7a; }

.btn-ghost-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.75);
  color: var(--white);
}
.btn-ghost-white:hover {
  background: var(--white);
  color: var(--dark-bg);
}

.btn-ghost-dark {
  background: transparent;
  border: 1.5px solid #aaa;
  color: var(--text);
}
.btn-ghost-dark:hover { background: var(--text); color: var(--white); }

/* ---------- SPLIT CTA (text left / image right) ---------- */
.split-cta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 80px;
}

.split-cta.on-dark { color: var(--white); }

.split-cta h3 {
  font-family: var(--ff-display);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.split-cta p {
  font-size: 13.5px;
  line-height: 1.85;
  margin-bottom: 24px;
  opacity: 0.9;
}

.split-cta-img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(0,0,0,0.28);
}

/* ---------- FEATURES LIST ---------- */
.features-list {
  padding-left: 18px;
  list-style: disc;
  margin-bottom: 18px;
}
.features-list li {
  font-size: 13px;
  margin-bottom: 12px;
  line-height: 1.75;
}
.features-list li strong { font-weight: 700; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 50px 64px 32px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  font-family: var(--ff-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 12px;
}

.footer-addr {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.85;
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 14px;
  font-size: 16px;
}
.footer-social a { color: var(--text); transition: color var(--transition); }
.footer-social a:hover { color: var(--orange); }

.footer-col a {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 7px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--text); }

/* ---------- INDEX PAGE ---------- */
.index-hero { height: 480px; }

.index-tagline {
  background: var(--dark-bg);
  text-align: center;
  padding: 44px 24px;
}
.index-tagline h2 {
  font-family: var(--ff-display);
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 400;
  color: var(--white);
  letter-spacing: 0.3px;
}

/* Index category cards on dark bg */
.index-cat-section {
  background: var(--dark-bg);
  padding: 0 56px 72px;
}
.index-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.index-cat-card {
  background: var(--white);
  text-align: center;
  overflow: hidden;
}
.index-cat-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
}
.index-cat-card-body {
  padding: 18px 20px 24px;
}
.index-cat-card-body h3 {
  font-size: 14.5px;
  font-weight: 500;
  margin-bottom: 14px;
}

/* What we offer */
.what-section { padding: 72px 80px; }

.what-top {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.what-heading {
  font-family: var(--ff-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.1;
  white-space: nowrap;
  margin-right: 8px;
}

.what-col h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 13px;
  letter-spacing: 0.2px;
}
.what-col li { margin-bottom: 6px; }
.what-col li a {
  font-size: 13px;
  color: var(--text);
  transition: color var(--transition);
}
.what-col li a:hover { color: var(--orange); }
.what-col li a.accent { color: var(--orange); }

.what-btn-row { margin-top: 34px; }

/* Diaspora */
.diaspora-section {
  padding: 64px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.diaspora-section p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 28px;
}
.diaspora-img { width: 100%; height: 220px; object-fit: cover; }

/* Why Amueblarq */
.why-section {
  background: var(--light-bg);
  padding: 72px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.why-left h2 {
  font-family: var(--ff-display);
  font-size: 36px;
  font-weight: 400;
  margin-bottom: 22px;
}
.why-left p {
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}
.why-left .sub { font-weight: 400; color: var(--text-muted); }
.why-img { width: 100%; height: 290px; object-fit: cover; box-shadow: 0 6px 22px rgba(0,0,0,0.1); }

/* ---------- NUESTROS DISEÑOS PAGE ---------- */
.nd-design-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 10px 56px 60px;
}
.nd-card {
  background: var(--card-bg);
  text-align: center;
  padding-bottom: 22px;
}
.nd-card-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 22px auto 14px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.11);
}
.nd-card h3 { font-size: 12.5px; font-weight: 700; margin-bottom: 8px; line-height: 1.4; padding: 0 10px; }
.nd-card p  { font-size: 11px; color: var(--text-muted); padding: 0 12px; margin-bottom: 13px; line-height: 1.65; }

.section-heading {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  text-align: center;
  padding: 50px 0 28px;
  color: var(--text);
}

.dark-commitment {
  background: var(--dark-bg);
  color: var(--white);
  text-align: center;
  padding: 56px 40px;
}
.dark-commitment p {
  max-width: 660px;
  margin: 0 auto;
  font-size: 13.5px;
  line-height: 1.95;
  opacity: 0.9;
}

/* ---------- CLOSETS PAGE ---------- */
.closet-body {
  background: var(--dark-bg);
  color: var(--white);
  padding: 60px 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.closet-body h3 {
  font-family: var(--ff-display);
  font-size: 20px;
  margin-bottom: 18px;
}
.closet-body p { font-size: 13px; margin-bottom: 14px; line-height: 1.8; opacity: 0.9; }
.closet-body .cta-q {
  font-family: var(--ff-display);
  font-size: 17px;
  margin: 22px 0 8px;
  opacity: 1;
}
.closet-body-img { width: 100%; height: 380px; object-fit: cover; box-shadow: 0 8px 28px rgba(0,0,0,0.35); }

/* ---------- CONTACT PAGE ---------- */
.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.contact-left {
  background: var(--dark-bg);
  color: var(--white);
  padding: 72px 56px;
}
.contact-left h2 {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 30px;
}
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-item i { font-size: 17px; color: var(--orange); min-width: 20px; margin-top: 2px; }
.contact-item-text h5 { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 4px; }
.contact-item-text p, .contact-item-text a { font-size: 13px; opacity: 0.82; line-height: 1.7; }
.contact-item-text a:hover { opacity: 1; }
.contact-social-row { display: flex; gap: 14px; margin-top: 30px; }
.contact-social-row a {
  width: 38px; height: 38px;
  border: 1.5px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--white);
  transition: all var(--transition);
}
.contact-social-row a:hover { border-color: var(--orange); color: var(--orange); }

.contact-right {
  background: var(--white);
  padding: 72px 56px;
}
.contact-right h2 {
  font-family: var(--ff-display);
  font-size: 34px;
  font-weight: 400;
  margin-bottom: 28px;
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid #ccc;
  font-family: var(--ff-body);
  font-size: 13px;
  color: var(--text);
  background: #fafafa;
  outline: none;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--orange); background: var(--white); }
.form-group textarea { min-height: 120px; resize: vertical; }

.map-wrap { height: 320px; background: #ddd; overflow: hidden; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; flex-direction: column; background: var(--white); position: absolute; top: 72px; left: 0; right: 0; padding: 20px 24px; box-shadow: 0 4px 14px rgba(0,0,0,0.08); gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 11px 0; border-bottom: 1px solid var(--border); }
  .nav-burger { display: flex; }

  .hero { height: 320px; }
  .hero-preview { width: 180px; height: 145px; }
  .intro-block { padding: 90px 24px 48px; }

  /* Index */
  .index-cat-section { padding: 0 20px 56px; }
  .index-cat-grid { grid-template-columns: 1fr; }
  .what-section { padding: 48px 24px; }
  .what-top { grid-template-columns: 1fr 1fr; }
  .what-heading { display: none; }
  .diaspora-section, .why-section { grid-template-columns: 1fr; padding: 48px 24px; }

  /* Cats */
  .cat-grid { grid-template-columns: 1fr; padding: 40px 20px 56px; }

  /* ND */
  .nd-design-grid { grid-template-columns: repeat(2, 1fr); padding: 0 20px 48px; }

  /* Closet */
  .closet-body { grid-template-columns: 1fr; padding: 48px 24px; }

  /* Split CTA */
  .split-cta { grid-template-columns: 1fr; padding: 48px 24px; gap: 30px; }

  /* Contact */
  .contact-split { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 56px 24px; }
  .form-row-2 { grid-template-columns: 1fr; }

  /* Footer */
  .site-footer { grid-template-columns: 1fr; padding: 40px 24px 24px; }
}

@media (max-width: 560px) {
  .what-top { grid-template-columns: 1fr; }
  .nd-design-grid { grid-template-columns: 1fr; }
}
