/* Todos con Emmita — site redesign */
:root {
  --pink: #e689a5;
  --pink-dark: #d46a8c;
  --pink-soft: #fce8ef;
  --gold: #eaae3e;
  --gold-soft: #fdf3dc;
  --ink: #3a3a3a;
  --muted: #6b6570;
  --white: #ffffff;
  --bg: #fff7f9;
  --bg-alt: #2d2430;
  --line: #f0d4de;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(214, 106, 140, 0.12);
  --max: 1080px;
  --font: "Poppins", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(230, 137, 165, 0.22), transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 0%, rgba(234, 174, 62, 0.18), transparent 50%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--pink-dark);
  text-decoration: none;
}

a:hover {
  color: var(--pink);
  text-decoration: underline;
}

.site-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 247, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--pink-dark);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  font: inherit;
  color: var(--ink);
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.site-nav a {
  display: block;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  background: var(--pink-soft);
  color: var(--pink-dark);
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
  margin-left: 0.35rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--line);
}

.lang-switch a {
  font-size: 0.85rem;
  opacity: 0.75;
}

.lang-switch a.is-active {
  opacity: 1;
  font-weight: 600;
}

/* Hero */
.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  flex: 1 1 320px;
}

.hero-visual {
  flex: 1 1 280px;
  min-height: 220px;
  border-radius: calc(var(--radius) + 4px);
  background:
    linear-gradient(145deg, var(--pink-soft), var(--gold-soft)),
    radial-gradient(circle at 70% 30%, rgba(255, 255, 255, 0.55), transparent 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 137, 165, 0.45), transparent 70%);
  animation: pulse 4s ease-in-out infinite;
}

.hero-heart {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  color: var(--pink);
}

.eyebrow {
  display: inline-block;
  color: var(--pink-dark);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.hero h1,
.page-header h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.hero p,
.lead {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--pink-dark));
  color: var(--white);
  box-shadow: 0 6px 18px rgba(214, 106, 140, 0.35);
}

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

.btn-secondary {
  background: var(--white);
  color: var(--pink-dark);
  border: 1px solid var(--line);
}

.btn-secondary:hover {
  color: var(--pink-dark);
  background: var(--pink-soft);
}

/* Sections */
.section {
  padding: 2.75rem 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(252, 232, 239, 0.65));
}

.section-dark {
  background: linear-gradient(160deg, #3a2f3f 0%, #2a222f 100%);
  color: #f7eef2;
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-title {
  text-align: center;
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  line-height: 1.3;
}

.section-sub {
  text-align: center;
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  color: var(--muted);
}

.section-dark .section-sub {
  color: rgba(255, 255, 255, 0.75);
}

/* Accordion */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 820px;
  margin: 0 auto;
}

.accordion details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(58, 58, 58, 0.04);
}

.accordion summary {
  list-style: none;
  cursor: pointer;
  padding: 1rem 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

.accordion summary::after {
  content: "+";
  color: var(--pink);
  font-size: 1.25rem;
  font-weight: 400;
  flex-shrink: 0;
}

.accordion details[open] summary::after {
  content: "–";
}

.accordion details[open] summary {
  background: var(--pink-soft);
  color: var(--pink-dark);
}

.accordion-body {
  padding: 0 1.15rem 1.15rem;
  color: var(--muted);
}

.accordion-body p {
  margin: 0.65rem 0 0;
}

/* Donation cards */
.donate-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.donate-card {
  flex: 1 1 240px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease;
}

.donate-card:hover {
  transform: translateY(-3px);
}

.donate-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: var(--pink-dark);
}

.donate-card p {
  margin: 0.35rem 0;
  font-size: 0.95rem;
  color: var(--muted);
  word-break: break-word;
}

.donate-highlight {
  text-align: center;
  margin-top: 2rem;
  padding: 1.5rem;
  background: var(--gold-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(234, 174, 62, 0.35);
}

.donate-highlight h3 {
  margin: 0 0 0.75rem;
  color: var(--ink);
}

/* Contact */
.contact-box {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.5rem;
}

.contact-mail {
  text-align: center;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.contact-mail a {
  color: var(--pink);
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
  color: rgba(255, 255, 255, 0.85);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  color: var(--ink);
}

.contact-form textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}

/* About / social */
.about-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.about-block p {
  margin: 0 0 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-weight: 500;
  font-size: 0.9rem;
}

.social-link:hover {
  background: rgba(230, 137, 165, 0.35);
  color: var(--white);
  text-decoration: none;
}

/* Page content shell */
main {
  flex: 1;
}

.page-header {
  padding: 2.5rem 0 1rem;
}

.page-header p {
  color: var(--muted);
  margin: 0;
}

.content-area {
  padding-bottom: 3rem;
}

.romlicontainer {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1rem 2rem;
}

/* Blog list */
.blog-container {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto 3rem;
}

.blog-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.blog-title {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.blog-title a {
  color: var(--ink);
}

.blog-title a:hover {
  color: var(--pink-dark);
}

.blog-preview p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-alt);
  color: rgba(255, 255, 255, 0.75);
  padding: 2rem 0 1.5rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
}

.footer-meta {
  margin: 0;
  font-size: 0.9rem;
}

.footer-meta a {
  color: var(--pink);
}

.romlifooter {
  margin-top: 0.5rem;
  max-width: 640px;
}

.romlifooter p {
  margin: 0.4rem 0;
  font-size: 0.85rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
  color: #fff;
  text-decoration: none;
}

.wa-float svg {
  width: 28px;
  height: 28px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-bottom: 0.85rem;
  }

  .site-nav.is-open {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .lang-switch {
    margin: 0.35rem 0 0;
    padding: 0.35rem 0 0;
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 2rem 0;
  }
}
