﻿/* Patamiga theme layer. */


body.theme-flyer {
  --bg: #fff6df;
  --surface: #fffdf6;
  --surface-2: #e7fbf4;
  --surface-3: #fff0c4;
  --text: #142d34;
  --muted: #607076;
  --line: rgba(20, 94, 86, .14);
  --primary: #008b7d;
  --primary-2: #00b89f;
  --accent: #ff7a1a;
  --accent-2: #ffc857;
  --sage: #7bcfae;
  --cream: #fff7df;
  --shadow: 0 22px 60px rgba(10, 62, 70, .14);
  --shadow-soft: 0 12px 30px rgba(10, 62, 70, .10);
  --radius: 34px;
  --radius-sm: 22px;
  color: var(--text);
  background:
    radial-gradient(circle at 62px 50px, rgba(255, 200, 87, .46) 0 18px, transparent 19px),
    radial-gradient(circle at 98% 5%, rgba(255, 122, 26, .22) 0 160px, transparent 162px),
    radial-gradient(circle at 4% 28%, rgba(0, 139, 125, .22) 0 180px, transparent 182px),
    radial-gradient(circle at 82% 74%, rgba(123, 207, 174, .18) 0 240px, transparent 242px),
    linear-gradient(180deg, #fffaf0 0%, #fff6df 42%, #f2fbf4 100%);
  background-attachment: fixed, fixed, fixed, fixed, scroll;
}

body.theme-flyer::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .48;
  background:
    radial-gradient(circle at 28px 28px, rgba(0, 139, 125, .16) 0 7px, transparent 8px),
    radial-gradient(circle at 46px 16px, rgba(0, 139, 125, .16) 0 5px, transparent 6px),
    radial-gradient(circle at 64px 28px, rgba(0, 139, 125, .16) 0 7px, transparent 8px),
    radial-gradient(ellipse at 46px 52px, rgba(0, 139, 125, .16) 0 14px, transparent 15px),
    radial-gradient(circle at 22px 24px, rgba(255, 122, 26, .15) 0 5px, transparent 6px),
    radial-gradient(circle at 43px 14px, rgba(255, 122, 26, .15) 0 4px, transparent 5px),
    radial-gradient(circle at 62px 24px, rgba(255, 122, 26, .15) 0 5px, transparent 6px);
  background-size: 210px 170px, 210px 170px, 210px 170px, 210px 170px, 260px 190px, 260px 190px, 260px 190px;
  background-position: 28px 20px, 28px 20px, 28px 20px, 28px 20px, 128px 90px, 128px 90px, 128px 90px;
}

.theme-flyer .container {
  width: min(100% - 36px, 1220px);
}

.theme-flyer .site-header {
  background: rgba(255, 253, 246, .88);
  border-right: 1px solid rgba(0, 139, 125, .16);
  box-shadow: 12px 0 38px rgba(10, 62, 70, .08);
}

.theme-flyer .header-inner {
  padding: 20px 15px;
  gap: 14px;
}

.theme-flyer .brand {
  padding: 8px;
  border-radius: 24px;
}

.theme-flyer .brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 20px;
  background: radial-gradient(circle at 50% 34%, #fff 0 22%, transparent 23%), linear-gradient(135deg, #008b7d, #ff7a1a);
  color: #fff;
  box-shadow: 0 15px 30px rgba(255, 122, 26, .20);
}

.theme-flyer .brand-paw {
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.08));
}

.theme-flyer .brand strong {
  font-size: 22px;
  letter-spacing: -.055em;
  color: #093f3a;
}

.theme-flyer .brand small {
  color: #f06d18;
  font-weight: 900;
}

.theme-flyer .site-nav {
  gap: 7px;
}

.theme-flyer .site-nav > a,
.theme-flyer .site-nav .nav-link,
.theme-flyer .site-nav a.nav-link {
  border: 1px solid transparent;
  color: #1e4851;
  font-weight: 950;
}

.theme-flyer .nav-link:hover,
.theme-flyer .nav-link.active,
.theme-flyer .site-nav > a[aria-current="page"] {
  background: linear-gradient(135deg, rgba(0, 139, 125, .13), rgba(255, 200, 87, .20));
  border-color: rgba(0, 139, 125, .16);
  color: #00756a;
}

.theme-flyer .btn {
  min-height: 46px;
  border-radius: 999px;
  letter-spacing: -.01em;
  box-shadow: none;
}

.theme-flyer .btn-primary,
.theme-flyer .mobile-nav-primary {
  color: #fff;
  background: linear-gradient(135deg, #008b7d, #00b89f);
  box-shadow: 0 16px 32px rgba(0, 139, 125, .24);
}

.theme-flyer .btn-soft,
.theme-flyer .mobile-nav-soft {
  color: #7b3908;
  background: linear-gradient(135deg, #fff3c2, #ffe0a6);
  border: 1px solid rgba(255, 122, 26, .20);
}

.theme-flyer .btn-ghost {
  background: rgba(255,255,255,.58);
  border: 1px solid rgba(0, 139, 125, .17);
  color: #1e4851;
}

.theme-flyer .btn-found {
  background: linear-gradient(135deg, #008b7d, #26c18f);
}

.theme-flyer .btn-lost {
  background: linear-gradient(135deg, #ff5c35, #ff8a1f);
}

.theme-flyer .btn-adoption {
  background: linear-gradient(135deg, #6f58d9, #a06df2);
}

.theme-flyer .hero,
.theme-flyer .home-cover,
.theme-flyer .page-hero {
  overflow: hidden;
}

.theme-flyer .home-cover {
  padding: 48px 0 44px;
  isolation: isolate;
}

.theme-flyer .home-cover::before,
.theme-flyer .page-hero-soft::before {
  content: "";
  position: absolute;
  inset: 22px 24px auto auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 122, 26, .18), transparent 70%);
  z-index: -1;
}

.theme-flyer .home-cover-grid {
  grid-template-columns: minmax(0,.94fr) minmax(380px,1.02fr);
  gap: 38px;
}

.theme-flyer .eyebrow {
  color: #008b7d;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(0, 139, 125, .14);
  border-radius: 999px;
  padding: 8px 12px;
  box-shadow: 0 10px 22px rgba(10, 62, 70, .06);
}

.theme-flyer .home-cover-copy h1,
.theme-flyer h1 {
  color: #073c37;
  letter-spacing: -.065em;
  text-wrap: balance;
}

.theme-flyer .home-cover-copy h1 {
  font-size: clamp(40px, 5vw, 70px);
}

.theme-flyer .lead {
  color: #516970;
  font-weight: 650;
}

.theme-flyer .home-cover-copy .lead {
  font-size: clamp(17px, 1.35vw, 20px);
}

.theme-flyer .home-cover-copy::after {
  content: none;
  display: none;
}

.theme-flyer .hero-actions {
  gap: 10px;
}

.theme-flyer .hero-emergency-actions .btn {
  min-height: 52px;
  padding: 14px 20px;
}

.theme-flyer .home-cover-points {
  gap: 12px;
}

.theme-flyer .home-cover-points a {
  position: relative;
  min-height: 102px;
  padding: 17px;
  border-radius: 26px;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(0, 139, 125, .14);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.theme-flyer .home-cover-points a::before {
  content: none;
  display: none;
}

.theme-flyer .home-cover-points strong {
  color: #00756a;
  font-size: 18px;
}

.theme-flyer .home-cover-art {
  border-radius: 42px;
  border: 8px solid rgba(255,255,255,.72);
  background: linear-gradient(135deg, #008b7d 0%, #fff4c9 48%, #ff8a1f 100%);
  box-shadow: 0 28px 80px rgba(10, 62, 70, .20);
  transform: rotate(1deg);
}

.theme-flyer .home-cover-art img {
  min-height: 410px;
  filter: saturate(1.08) contrast(1.02);
}

.theme-flyer .home-cover-art::after {
  content: none;
  display: none;
}

.theme-flyer .section {
  padding: 52px 0;
}

.theme-flyer .section-soft {
  background: rgba(255,255,255,.50);
  border-color: rgba(0, 139, 125, .12);
  backdrop-filter: blur(8px);
}

.theme-flyer .section-head {
  align-items: flex-end;
}

.theme-flyer h2 {
  color: #0b443e;
  letter-spacing: -.055em;
}

.theme-flyer h3 {
  color: #113f47;
}

.theme-flyer .quick-grid {
  gap: 18px;
}

.theme-flyer .quick-card,
.theme-flyer .feature,
.theme-flyer .card,
.theme-flyer .form-panel,
.theme-flyer .account-sidebar,
.theme-flyer .account-post-card,
.theme-flyer .chat-box,
.theme-flyer .admin-card,
.theme-flyer .kpi,
.theme-flyer .soft-split,
.theme-flyer .sponsor-card,
.theme-flyer .business-card,
.theme-flyer .adoption-card,
.theme-flyer .lost-card,
.theme-flyer .recipe-card,
.theme-flyer .place-card,
.theme-flyer .event-card {
  border: 1px solid rgba(0, 139, 125, .13);
  background: rgba(255, 253, 246, .84);
  border-radius: 30px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
}

.theme-flyer .quick-card {
  padding: 22px;
}

.theme-flyer .quick-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #008b7d, #ff8a1f);
  box-shadow: 0 14px 28px rgba(255, 122, 26, .22);
}

.theme-flyer .quick-card:nth-child(2) .quick-card-icon {
  background: linear-gradient(135deg, #ff7a1a, #ffc857);
}

.theme-flyer .quick-card:nth-child(3) .quick-card-icon {
  background: linear-gradient(135deg, #6f58d9, #a06df2);
}

.theme-flyer .quick-card:nth-child(4) .quick-card-icon {
  background: linear-gradient(135deg, #62b22f, #a9d74f);
}

.theme-flyer .pill,
.theme-flyer .badge {
  border-radius: 999px;
  font-weight: 950;
}

.theme-flyer .pill {
  background: rgba(0, 139, 125, .10);
  color: #00756a;
}

.theme-flyer .badge {
  background: rgba(255, 122, 26, .12);
  color: #b84908;
}

.theme-flyer .text-link {
  color: #008b7d;
}

.theme-flyer .page-hero-soft::after {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 122, 26, .16), transparent 28%),
    linear-gradient(180deg, rgba(255, 248, 224, .88), rgba(255, 248, 224, 0));
}

.theme-flyer .page-hero-grid {
  padding: 22px;
  border-radius: 34px;
  background: rgba(255,255,255,.52);
  border: 1px solid rgba(0,139,125,.10);
}

.theme-flyer .input,
.theme-flyer .select,
.theme-flyer textarea {
  border-radius: 20px;
  border-color: rgba(0, 139, 125, .18);
  background: rgba(255,255,255,.86);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.84);
}

.theme-flyer .input:focus,
.theme-flyer .select:focus,
.theme-flyer textarea:focus {
  outline: 3px solid rgba(255, 122, 26, .16);
  border-color: rgba(255, 122, 26, .48);
}

.theme-flyer .alert {
  border-color: rgba(255, 122, 26, .24);
  background: #fff2cc;
  color: #7b3908;
}

.theme-flyer .site-footer {
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 122, 26, .22), transparent 30%),
    linear-gradient(180deg, #0b4a45 0%, #082f33 100%);
}

.theme-flyer .footer-grid a {
  color: #dff9ef;
  font-weight: 750;
}

.theme-flyer .footer-grid p,
.theme-flyer .footer-bottom {
  color: rgba(236, 255, 247, .74);
}

.theme-flyer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Cuenta, chat y admin */
.theme-flyer .account-head h1,
.theme-flyer .admin-main h2 {
  color: #073c37;
}

.theme-flyer .account-sidebar a.active,
.theme-flyer .account-sidebar a:hover,
.theme-flyer .admin-nav a.active,
.theme-flyer .admin-nav a:hover {
  background: linear-gradient(135deg, rgba(0, 139, 125, .13), rgba(255, 122, 26, .12));
  color: #00756a;
}

.theme-flyer .chat-message.mine,
.theme-flyer .message.mine {
  background: linear-gradient(135deg, #008b7d, #00b89f);
  color: #fff;
}

.theme-flyer table {
  border-color: rgba(0, 139, 125, .12);
}

.theme-flyer th {
  color: #0b443e;
  background: rgba(0, 139, 125, .08);
}

@media (max-width: 1040px) {
  .theme-flyer .home-cover-grid {
    grid-template-columns: 1fr;
  }

  .theme-flyer .home-cover-art {
    max-width: 840px;
    transform: none;
  }
}

@media (max-width: 900px) {
  body.theme-flyer {
    padding-left: 0;
  }

  .theme-flyer .site-header {
    background: rgba(255,253,246,.94);
    box-shadow: 0 12px 34px rgba(10, 62, 70, .10);
  }

  .theme-flyer .header-inner {
    min-height: 72px;
    padding: 0;
  }

  .theme-flyer .site-nav.open {
    border-radius: 28px;
    border-color: rgba(0,139,125,.16);
    background: rgba(255,253,246,.97);
  }

  .theme-flyer .brand {
    padding: 0;
  }

  .theme-flyer .brand-mark {
    width: 46px;
    height: 46px;
  }

  .theme-flyer .brand strong {
    font-size: 19px;
  }
}

@media (max-width: 760px) {
  .theme-flyer .container {
    width: min(100% - 24px, 1220px);
  }

  .theme-flyer .home-cover {
    padding: 32px 0 34px;
  }

  .theme-flyer .home-cover-copy h1 {
    font-size: clamp(34px, 10vw, 48px);
  }

  .theme-flyer .home-cover-art {
    border-width: 5px;
    border-radius: 32px;
  }

  .theme-flyer .home-cover-art img {
    min-height: 310px;
  }

  .theme-flyer .quick-grid {
    grid-template-columns: 1fr;
  }

  .theme-flyer .page-hero-grid {
    padding: 16px;
  }
}

@media (max-width: 560px) {
  .theme-flyer .hero-actions .btn,
  .theme-flyer .page-hero-actions .btn {
    width: 100%;
  }

  .theme-flyer .section {
    padding: 38px 0;
  }

  .theme-flyer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
