/* ============================================================
   ALMA 3D Studio — main.css
   Colors: Gold #CDA858 | Teal #3E6E7A | Dark #0A0E1A #1A2F38
   Fonts: Bruno Ace (titles) | Montserrat (body)
   ============================================================ */

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

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

:root {
  --gold:    #CDA858;
  --gold-dk: #A8862E;
  --teal:    #3E6E7A;
  --teal-lt: #5A9AAA;
  --dark:    #0A0E1A;
  --dark2:   #1A2F38;
  --dark3:   #0D1B2A;
  --white:   #ffffff;
  --grey:    #8A9AB0;
  --grey-lt: #C5D0DC;
  --font-title: 'Bruno Ace', 'Arial Black', sans-serif;
  --font-body:  'Montserrat', Arial, sans-serif;
  --radius:  8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: var(--font-body); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 80px 0; }
.section-title {
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--white);
  margin-bottom: 12px;
}
.section-title span { color: var(--gold); }
.section-subtitle {
  font-size: 1rem;
  color: var(--grey-lt);
  margin-bottom: 48px;
  max-width: 600px;
}

/* ── Utility ──────────────────────────────────────────────── */
.text-gold   { color: var(--gold); }
.text-teal   { color: var(--teal-lt); }
.text-white  { color: var(--white); }
.text-grey   { color: var(--grey); }
.fw-bold     { font-weight: 700; }
.text-center { text-align: center; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  letter-spacing: 0.03em;
}
.btn-primary {
  background: var(--gold);
  color: var(--dark);
}
.btn-primary:hover {
  background: var(--gold-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(205,168,88,0.35);
}
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--dark);
  transform: translateY(-2px);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-teal:hover {
  background: var(--teal-lt);
  transform: translateY(-2px);
}
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ── Navigation ───────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,14,26,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(205,168,88,0.15);
  transition: all var(--transition);
}
#navbar.scrolled {
  background: rgba(10,14,26,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1300px;
  margin: 0 auto;
}
.nav-logo {
  font-family: var(--font-title);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nav-logo span { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-lt);
  position: relative;
  transition: color var(--transition);
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px; right: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  border-radius: 2px;
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 4px;
}
.lang-switcher a {
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--grey);
  transition: all var(--transition);
}
.lang-switcher a.active,
.lang-switcher a:hover {
  background: var(--gold);
  color: var(--dark);
}

/* WhatsApp button */
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: #25D366;
  color: var(--white);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--transition);
}
.btn-whatsapp:hover {
  background: #1EBC59;
  transform: translateY(-2px);
}
.btn-whatsapp svg { width: 18px; height: 18px; }

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ─────────────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--dark3) 0%, var(--dark2) 50%, var(--dark) 100%);
  padding-top: 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(62,110,122,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 70%, rgba(205,168,88,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(205,168,88,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(205,168,88,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}
.hero-brand {
  font-family: var(--font-title);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.9;
}
.hero-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5.5vw, 3.8rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 16px;
}
.hero-benefit {
  font-size: 1rem;
  color: var(--grey-lt);
  margin-bottom: 36px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}
.hero-taglines {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 36px;
  border-top: 1px solid rgba(205,168,88,0.2);
}
.hero-taglines p:first-child { color: var(--white); font-size: 0.95rem; }
.hero-taglines p:nth-child(2) { color: var(--gold); font-size: 0.95rem; font-weight: 600; }
.hero-taglines p:last-child { color: var(--grey-lt); font-size: 0.9rem; }

/* ── Services Section ─────────────────────────────────────── */
#servicios {
  background: var(--dark2);
}
.services-blocks {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.service-block {
  border: 1px solid rgba(205,168,88,0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.service-block-header {
  padding: 32px 36px;
  background: rgba(205,168,88,0.05);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.service-block-icon {
  width: 56px; height: 56px;
  flex-shrink: 0;
}
.service-block-header h2 {
  font-family: var(--font-title);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 8px;
}
.service-block-header p {
  color: var(--grey-lt);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 700px;
}

/* Service subsections */
.service-subsections {
  padding: 0 36px 36px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}
.service-card {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: all var(--transition);
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(205,168,88,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover, .service-card.active {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(205,168,88,0.15);
}
.service-card:hover::before, .service-card.active::before { opacity: 1; }
.service-card-icon {
  width: 36px; height: 36px;
  color: var(--gold);
  margin-bottom: 14px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.service-card p {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}
.service-card-arrow {
  position: absolute;
  bottom: 16px; right: 16px;
  color: var(--gold);
  opacity: 0;
  transition: opacity var(--transition);
}
.service-card:hover .service-card-arrow,
.service-card.active .service-card-arrow { opacity: 1; }

/* Service expanded panel */
.service-panel {
  display: none;
  padding: 0 36px 36px;
}
.service-panel.active { display: block; }
.service-panel-inner {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(205,168,88,0.15);
  border-radius: var(--radius);
  padding: 32px;
}
.service-panel h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--white);
  margin-bottom: 12px;
}
.service-panel .description {
  color: var(--grey-lt);
  margin-bottom: 24px;
  line-height: 1.7;
}

/* Benefit checks */
.benefits-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}
.benefit-item svg {
  width: 22px; height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Image grid */
.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 28px;
}
.image-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.image-grid img:hover {
  border-color: var(--gold);
  transform: scale(1.02);
}

/* ── Before/After Slider ──────────────────────────────────── */
.homestaging-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.ba-slider-container {
  position: relative;
}
.ba-project {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 2px solid rgba(205,168,88,0.2);
}
.ba-img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.ba-img-after {
  clip-path: inset(0 0 0 100%);
  animation: ba-sweep 5s ease-in-out infinite;
}
@keyframes ba-sweep {
  0%   { clip-path: inset(0 0 0 100%); }
  40%  { clip-path: inset(0 0 0 0%); }
  60%  { clip-path: inset(0 0 0 0%); }
  100% { clip-path: inset(0 0 0 100%); }
}

.ba-label {
  position: absolute;
  top: 12px;
  padding: 4px 12px;
  background: rgba(0,0,0,0.75);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.ba-label-before { left: 12px; color: var(--grey-lt); }
.ba-label-after  { right: 12px; color: var(--gold); }

.ba-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}
.ba-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.ba-arrow:hover {
  background: var(--gold);
  color: var(--dark);
}
.ba-dots {
  display: flex;
  gap: 8px;
}
.ba-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grey);
  cursor: pointer;
  transition: background var(--transition);
}
.ba-dot.active { background: var(--gold); }

.staging-services h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 6px;
  margin-top: 20px;
}
.staging-services h4:first-child { margin-top: 0; }
.staging-services p {
  font-size: 0.9rem;
  color: var(--grey-lt);
  line-height: 1.6;
}

/* ── Portfolio ────────────────────────────────────────────── */
#portafolio { background: var(--dark3); }
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.portfolio-item:hover { border-color: var(--gold); }
.portfolio-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.portfolio-item:hover img { transform: scale(1.06); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,14,26,0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ── Workflow (Accordion) ─────────────────────────────────── */
#flujo { background: var(--dark2); }
.workflow-intro {
  max-width: 680px;
  color: var(--grey-lt);
  margin-bottom: 48px;
  line-height: 1.7;
}
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 48px;
}
.accordion-item {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition);
}
.accordion-item.open { border-color: var(--gold); }
.accordion-header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  transition: background var(--transition);
}
.accordion-item.open .accordion-header { background: rgba(205,168,88,0.07); }
.accordion-num {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--gold);
  width: 32px;
  flex-shrink: 0;
}
.accordion-title {
  flex: 1;
  font-weight: 600;
  font-size: 1rem;
  color: var(--white);
}
.accordion-icon {
  color: var(--gold);
  transition: transform var(--transition);
}
.accordion-item.open .accordion-icon { transform: rotate(45deg); }
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.accordion-item.open .accordion-body { max-height: 500px; }
.accordion-content {
  padding: 0 24px 24px 72px;
  color: var(--grey-lt);
  font-size: 0.95rem;
  line-height: 1.75;
}

/* Pricing accordion */
.pricing-item .accordion-content ul {
  margin-top: 12px;
  padding-left: 20px;
}
.pricing-item .accordion-content li {
  margin-bottom: 8px;
}

/* ── Nosotros ─────────────────────────────────────────────── */
#nosotros { background: var(--dark); }

/* About Us intro grid: image left, text right */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto 48px;
}
.intro-img-wrap {
  position: relative;
  aspect-ratio: 3/4;
  max-height: 500px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(205,168,88,.15);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.intro-location-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #E8E9ED;
  background: rgba(5,8,16,.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(205,168,88,.2);
  padding: 0.45rem 0.85rem;
  border-radius: 20px;
  z-index: 2;
}
.intro-text {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.nosotros-intro {
  line-height: 1.85;
  margin-bottom: 0;
}
.intro-text .nosotros-intro:first-child {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  font-weight: 300;
  color: #E8E9ED;
}
.intro-text .nosotros-intro {
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 400;
  color: #8A95A8;
}

@media (max-width: 900px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .intro-img-wrap {
    aspect-ratio: 16/9;
    max-height: 380px;
  }
  .intro-text { gap: 0.65rem; }
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid rgba(205,168,88,0.25);
  padding-bottom: 10px;
  margin: 40px 0 20px;
}

/* Team card: grid layout for desktop */
.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: grid;
  grid-template-columns: 80px 1fr;
  column-gap: 20px;
  row-gap: 8px;
  align-items: start;
  transition: all var(--transition);
}
.team-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(205,168,88,0.1);
}
/* team-card-header uses display:contents so photo+info become direct grid children */
.team-card-header { display: contents; }
.team-card-photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold);
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
}
.team-card-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--dark2));
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  grid-row: 1 / 3;
  align-self: start;
}
.team-card-photo-placeholder svg { opacity: 0.6; }
.team-card-info { grid-column: 2; }
.team-bio {
  grid-column: 2;
  font-size: 0.87rem;
  color: var(--grey);
  line-height: 1.65;
}
.team-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 20px;
}
.team-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.team-card .role {
  font-size: 0.78rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0;
}

/* Mobile team card: photo+name/role in row, bio below */
@media (max-width: 700px) {
  .team-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.25rem;
  }
  .team-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
  .team-card-photo,
  .team-card-photo-placeholder {
    flex-shrink: 0;
    grid-row: unset;
    grid-column: unset;
  }
  .team-bio {
    grid-column: unset;
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 0.78rem;
    line-height: 1.65;
  }
  .team-bio.bio-expanded {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
  }
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
}
.why-item {
  padding: 24px;
  border-left: 3px solid var(--gold);
  background: rgba(205,168,88,0.04);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.why-item h4 {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}
.why-item p {
  font-size: 0.9rem;
  color: var(--grey-lt);
  line-height: 1.65;
}

.social-section {
  background: linear-gradient(135deg, rgba(62,110,122,0.15), rgba(205,168,88,0.08));
  border: 1px solid rgba(205,168,88,0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.social-section h3 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 16px;
}
.social-section p {
  color: var(--grey-lt);
  line-height: 1.75;
  max-width: 700px;
}

/* ── Contacto ─────────────────────────────────────────────── */
#contacto { background: var(--dark2); }
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}
.contact-info h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: 20px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.contact-detail svg {
  width: 20px; height: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail span {
  font-size: 0.9rem;
  color: var(--grey-lt);
  line-height: 1.5;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-lt);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(205,168,88,0.05);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey); }
.form-group select option {
  background: var(--dark2);
  color: var(--white);
}
.privacy-note {
  font-size: 0.8rem;
  color: var(--grey);
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.06);
}

/* ── Modal (Project Request) ──────────────────────────────── */
#modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.85);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
#modal-overlay.active { display: flex; }
.modal-box {
  background: var(--dark2);
  border: 1px solid rgba(205,168,88,0.25);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: modalIn 0.3s ease;
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(-20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-header {
  padding: 28px 32px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  position: sticky;
  top: 0;
  background: var(--dark2);
  z-index: 1;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modal-header h2 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--white);
}
.modal-header p { font-size: 0.85rem; color: var(--grey); margin-top: 4px; }
.modal-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey);
  padding: 4px;
  transition: color var(--transition);
}
.modal-close:hover { color: var(--white); }

/* Steps progress */
.steps-progress {
  display: flex;
  gap: 6px;
  padding: 20px 32px;
}
.step-dot {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  transition: background var(--transition);
}
.step-dot.done { background: var(--teal); }
.step-dot.active { background: var(--gold); }

.modal-body { padding: 8px 32px 32px; }
.form-step { display: none; }
.form-step.active { display: block; }
.step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  gap: 12px;
}
.modal-footer .step-counter {
  font-size: 0.8rem;
  color: var(--grey);
}

/* File upload */
.file-drop {
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--grey);
  font-size: 0.9rem;
}
.file-drop:hover, .file-drop.dragover {
  border-color: var(--gold);
  background: rgba(205,168,88,0.05);
  color: var(--gold);
}
.file-drop svg { margin: 0 auto 12px; color: var(--gold); opacity: 0.7; }
.file-list { margin-top: 12px; }
.file-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border-radius: 6px;
  margin-bottom: 6px;
  font-size: 0.85rem;
}
.file-item-remove {
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  padding: 2px;
}
.file-item-remove:hover { color: #ff6b6b; }

/* Checkbox styles */
.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--grey-lt);
  line-height: 1.5;
}
.checkbox-label input[type="checkbox"] {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 1px;
  accent-color: var(--gold);
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 40px 20px;
}
.form-success .success-icon {
  width: 64px; height: 64px;
  background: rgba(205,168,88,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.form-success h3 {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 8px;
}
.form-success p { font-size: 0.9rem; color: var(--grey-lt); }

/* ── Lightbox ─────────────────────────────────────────────── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  position: relative;
}
#lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}
.lightbox-close {
  position: fixed;
  top: 24px; right: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 1.2rem;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-arrow {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  border-radius: 50%;
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all var(--transition);
}
.lightbox-arrow:hover { background: rgba(205,168,88,0.3); }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }
.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.6);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--grey-lt);
}

/* ── Footer ───────────────────────────────────────────────── */
footer {
  background: var(--dark3);
  border-top: 1px solid rgba(205,168,88,0.15);
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand h3 {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 12px;
}
.footer-brand h3 span { color: var(--gold); }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-lt);
  transition: all var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}
.social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  font-size: 0.88rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  color: var(--grey);
}
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 0.82rem;
  color: var(--grey);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--gold); }

/* ── Cookie Banner ────────────────────────────────────────── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 560px;
  background: var(--dark2);
  border: 1px solid rgba(205,168,88,0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  z-index: 9000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  animation: slideUp 0.4s ease;
}
#cookie-banner.visible { display: block; }
@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
#cookie-banner p {
  font-size: 0.88rem;
  color: var(--grey-lt);
  line-height: 1.65;
  margin-bottom: 16px;
}
#cookie-banner p a { color: var(--gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Impressum / Datenschutz Modal ───────────────────────── */
.legal-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.legal-modal.active { display: flex; }
.legal-box {
  background: var(--dark2);
  border: 1px solid rgba(205,168,88,0.2);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 720px;
  max-height: 85vh;
  overflow-y: auto;
  padding: 36px;
  position: relative;
}
.legal-box h2 {
  font-family: var(--font-title);
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.legal-box h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin: 20px 0 8px;
}
.legal-box p, .legal-box li {
  font-size: 0.88rem;
  color: var(--grey-lt);
  line-height: 1.75;
  margin-bottom: 8px;
}
.legal-box ul { padding-left: 20px; }
.legal-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none;
  border: none;
  color: var(--grey);
  cursor: pointer;
  font-size: 1.4rem;
  transition: color var(--transition);
}
.legal-close:hover { color: var(--white); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 20px 0 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .homestaging-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 60px 0; }
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--dark3); flex-direction: column; padding: 20px 24px; gap: 4px; border-bottom: 1px solid rgba(205,168,88,0.15); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .btn-whatsapp span { display: none; }
  .hero-actions { flex-direction: column; }
  .image-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .service-block-header, .service-subsections, .service-panel { padding-left: 20px; padding-right: 20px; }
  .modal-header, .modal-body, .modal-footer { padding-left: 20px; padding-right: 20px; }
  .steps-progress { padding: 16px 20px; }
  .accordion-content { padding-left: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.9rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 12px 16px; }
  .nav-right { gap: 6px; }
  .lang-switcher { padding: 3px; }
  .lang-switcher a { padding: 4px 7px; font-size: 0.72rem; }
  .nav-logo > span { display: none; }
  /* Fix service block overflow on small screens */
  .service-block-header > div { min-width: 0; overflow: hidden; }
  .service-block-header h2 { font-size: 1.25rem; word-break: break-word; overflow-wrap: break-word; }
  .service-block-header p { word-break: break-word; overflow-wrap: break-word; }
}

@media (max-width: 600px) {
  /* Role text smaller on mobile */
  .team-card .role { font-size: 0.65rem; line-height: 1.4; }
  /* Read more button */
  .read-more-btn {
    background: none;
    border: none;
    color: var(--gold);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    margin-top: 4px;
    display: inline-block;
    letter-spacing: 0.03em;
  }
  .read-more-btn:hover { opacity: 0.8; }
}

/* ── Scroll animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
