/*
Theme Name: Amarres De Mor
Author: Codex
Description: Custom one-page theme for Centro Espiritual Amarres De Mor.
Version: 1.0.0
*/

:root {
  --ink: #211614;
  --muted: #6f5b54;
  --paper: #fff8ed;
  --soft: #f4e8d8;
  --gold: #c99633;
  --rose: #9e2f32;
  --wine: #5b191e;
  --leaf: #386a55;
  --shadow: 0 18px 44px rgba(58, 32, 20, 0.16);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background: var(--paper);
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(34, 15, 14, 0.84) 0%, rgba(34, 15, 14, 0.58) 42%, rgba(34, 15, 14, 0.2) 100%),
    url("hero.png") center / cover no-repeat;
  color: #fffdf7;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 140px;
  background: linear-gradient(180deg, rgba(255, 248, 237, 0), var(--paper));
  pointer-events: none;
}

.nav {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 4vw, 56px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: url("hero.png") center / cover no-repeat;
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.1);
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
  color: rgba(255, 253, 247, 0.86);
  font-size: 0.95rem;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 130px 0 72px;
}

.profile-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 253, 247, 0.11);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  font-size: 0.92rem;
  color: rgba(255, 253, 247, 0.9);
}

.spark {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px 5px rgba(238, 186, 75, 0.62);
}

h1 {
  max-width: 880px;
  margin: 22px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 8vw, 6.9rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 670px;
  margin: 0 0 28px;
  color: rgba(255, 253, 247, 0.88);
  font-size: clamp(1.06rem, 2vw, 1.25rem);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 6px;
  font-weight: 800;
}

.btn-primary {
  background: var(--gold);
  color: #2f160f;
}

.btn-secondary {
  border: 1px solid rgba(255, 253, 247, 0.42);
  color: #fffdf7;
}

.section {
  padding: clamp(54px, 7vw, 92px) clamp(20px, 4vw, 56px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.profile-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: start;
}

.intro-card,
.post-card,
.service-card,
.contact-panel {
  background: #fffdf8;
  border: 1px solid rgba(114, 72, 47, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-card {
  padding: clamp(24px, 4vw, 34px);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--rose);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
}

h2 {
  margin: 0 0 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
}

.intro-lead {
  margin: 0 0 22px;
  font-size: 1.08rem;
}

.info-list {
  display: grid;
  gap: 14px;
  padding-top: 22px;
  border-top: 1px solid rgba(114, 72, 47, 0.16);
}

.info-item {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  color: var(--muted);
}

.post-card {
  overflow: hidden;
}

.post-head {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
}

.avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: url("hero.png") center / cover no-repeat;
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px rgba(114, 72, 47, 0.16);
  flex: 0 0 auto;
}

.post-title {
  margin: 0;
  font-weight: 900;
}

.post-meta {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.post-body {
  padding: 0 20px 20px;
  color: #38241d;
}

.post-image {
  aspect-ratio: 16 / 10;
  background: url("hero.png") center / cover no-repeat;
}

.services {
  background: #f7ecdc;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.service-card {
  padding: 22px;
  box-shadow: none;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  margin-bottom: 16px;
  background: #f6dec1;
  color: var(--wine);
  font-weight: 900;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.promise {
  background: var(--wine);
  color: #fff8ed;
}

.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}

.promise-item {
  border-left: 3px solid var(--gold);
  padding-left: 18px;
}

.promise-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.08rem;
}

.promise-item span {
  color: rgba(255, 248, 237, 0.78);
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: clamp(24px, 4vw, 38px);
}

.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-link {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 6px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 800;
}

.site-footer {
  padding: 28px 20px;
  text-align: center;
  color: var(--muted);
  background: #fffdf8;
}

@media (max-width: 880px) {
  .hero {
    min-height: 760px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile-grid,
  .contact-panel,
  .promise-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero-content {
    width: min(100% - 32px, 1120px);
    padding-bottom: 54px;
  }

  .nav-links {
    gap: 10px;
    font-size: 0.86rem;
  }

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

  .section-head {
    display: block;
  }
}
