:root {
  color-scheme: light;
  --bg: #faf6ee;
  --surface: #ffffff;
  --surface-alt: #f2ead9;
  --text: #2b2420;
  --muted: #6b5f52;
  --accent: #a9761f;
  --accent-bright: #d8b14a;
  --accent-soft: rgba(169, 118, 31, 0.14);
  --border: rgba(43, 36, 32, 0.1);
  --shadow: 0 30px 70px rgba(60, 45, 20, 0.14);
  --on-dark: #f7f3ea;
  --on-dark-muted: rgba(247, 243, 234, 0.75);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, rgba(216, 177, 74, 0.08), transparent 42%), var(--bg);
  color: var(--text);
  min-height: 100vh;
}

img {
  max-width: 100%;
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.announcement-bar {
  background: var(--accent-bright);
  color: #0b1215;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 246, 238, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(43, 36, 32, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

.brand-logo {
  width: 42px;
  height: 42px;
}

.nav-toggle {
  display: none;
  border: 1px solid rgba(43, 36, 32, 0.18);
  background: transparent;
  color: var(--text);
  padding: 0.8rem 1rem;
  border-radius: 999px;
  cursor: pointer;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

h1, h2, h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  font-size: clamp(2.8rem, 5vw, 4.4rem);
  max-width: 680px;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-copy {
  max-width: 640px;
}

.hero-text {
  margin: 1.5rem 0 2.2rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--accent);
  color: #0b1215;
}

.button.secondary {
  background: rgba(43, 36, 32, 0.06);
  color: var(--text);
  border: 1px solid rgba(43, 36, 32, 0.18);
}

.hero-visual {
  display: grid;
  place-items: center;
}

.hero-card {
  width: 100%;
  min-height: 360px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 32px;
  padding: 2rem;
  box-shadow: var(--shadow);
}

.hero-card-tag {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

.services-grid,
.portfolio-grid,
.about-list,
.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.service-card,
.portfolio-card,
.contact-card,
.about-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 2rem;
}

.service-card h3,
.about-item h3 {
  color: var(--text);
  margin-bottom: 1rem;
}

.portfolio-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.portfolio-card {
  min-height: 360px;
  border: 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.portfolio-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portfolio-logo {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  opacity: 0.9;
  z-index: 2;
}

.portfolio-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 1.5rem;
  background: linear-gradient(180deg, rgba(10, 8, 6, 0), rgba(10, 8, 6, 0.94) 50%);
}

.portfolio-info h3 {
  color: var(--on-dark);
  margin: 0.3rem 0 0.4rem;
}

.portfolio-info p {
  color: var(--on-dark-muted);
}

.portfolio-category {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.collections-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(43, 36, 32, 0.18);
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--text);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #0b1215;
}

.portfolio-info small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--on-dark-muted);
  line-height: 1.4;
}

.portfolio-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.6rem;
  color: #25d366;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.portfolio-whatsapp:hover {
  text-decoration: underline;
}

.portfolio-card.is-placeholder {
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(160deg, rgba(169, 118, 31, 0.55), rgba(30, 22, 15, 0.95));
}

.portfolio-card.is-placeholder .portfolio-logo {
  display: none;
}

.portfolio-card.is-placeholder .portfolio-info {
  position: static;
  background: none;
  text-align: center;
}

.about-grid {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
}

.about-grid .credentials {
  grid-column: 1 / -1;
}

.about-list {
  display: grid;
  gap: 1rem;
}

.about-item {
  padding-top: 1.4rem;
}

.about-item p,
.service-card p,
.contact-card p {
  margin: 0;
}

.contact-section {
  padding-bottom: 6rem;
}

.contact-grid {
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}

.contact-list strong {
  color: var(--text);
}

.section-desc {
  margin-top: 0.8rem;
  font-size: 1rem;
}

.credentials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.cred-item {
  text-align: center;
}

.cred-number {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.cred-item p {
  margin: 0;
  color: var(--muted);
}

.contact-list a {
  color: var(--accent);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-list a:hover {
  opacity: 0.8;
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 800px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.25rem 1.5rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::before {
  content: '+';
  display: inline-block;
  width: 1.2em;
  color: var(--accent);
  font-weight: 700;
}

.faq-item[open] summary::before {
  content: '−';
}

.faq-item p {
  margin: 0.75rem 0 0 1.7rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(216, 177, 74, 0.1);
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.social-link:hover {
  background: rgba(216, 177, 74, 0.2);
}

.site-footer {
  padding: 2rem 0 3rem;
  color: var(--muted);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 30;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 9, 11, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox.open {
  display: flex;
  flex-direction: column;
}

.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 70vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.lightbox-caption {
  text-align: center;
  margin-top: 1.25rem;
  color: var(--on-dark);
}

.lightbox-caption p {
  color: var(--on-dark-muted);
  margin: 0.3rem 0 0;
}

.lightbox-close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: var(--on-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}

.lightbox-prev {
  left: 1rem;
}

.lightbox-next {
  right: 1rem;
}

@media (max-width: 700px) {
  .lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
  .lightbox-prev {
    left: 0.4rem;
  }
  .lightbox-next {
    right: 0.4rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual {
    order: -1;
  }
}

@media (max-width: 700px) {
  .header-inner {
    flex-direction: column;
    align-items: stretch;
  }
  .nav-toggle {
    display: inline-flex;
  }
  .site-nav {
    display: none;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    margin-top: 1rem;
  }
  .site-nav.open {
    display: flex;
  }
}
