/* ===========================================================================
   gamos-page-footer.css — inner-page footer: contact-detail icons + a working
   contact form + legal bar (2026-08-03). Dark, warm, premium. The form fields
   themselves are styled by gamos-form.css; this file lays out the footer and
   the contact list. Fully responsive: two columns → one on mobile.
   ========================================================================= */

.pfooter {
  background: var(--ink-deep, #1a1410);
  color: var(--ivory, #f5efe6);
  padding-block: clamp(48px, 7vw, 96px) 0;
}

.pfooter__inner {
  max-inline-size: var(--container-wide, 1240px);
  margin-inline: auto;
  padding-inline: var(--gutter, clamp(20px, 5vw, 72px));
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
@media (min-width: 900px) {
  .pfooter__inner { grid-template-columns: 0.9fr 1.1fr; }
}

/* CONTACT INFO ------------------------------------------------------------ */
.pfooter__brand-name {
  margin: 0;
  font-family: var(--font-display-he, "Frank Ruhl Libre", serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  color: var(--brass, #cfae83);
}
.pfooter__brand-tag {
  margin: 0.5rem 0 clamp(1.4rem, 3vw, 2.2rem);
  font-family: var(--font-body, "Assistant", sans-serif);
  font-size: clamp(0.98rem, 1.2vw, 1.1rem);
  line-height: 1.6;
  color: rgba(245, 239, 230, 0.72);
  max-inline-size: 34ch;
}

.pfooter__contacts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(0.7rem, 1.4vw, 1rem);
}
.pfooter__contact a,
.pfooter__contact-static {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  color: inherit;
  direction: rtl;
  transition: color 0.3s var(--ease-out-cinema, cubic-bezier(0.2, 0.8, 0.2, 1));
}
.pfooter__contact a:hover .pfooter__ct-value { color: var(--brass, #cfae83); }
.pfooter__ico {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(207, 174, 131, 0.14);
  color: var(--brass, #cfae83);
}
/* Fixed small icon size — the inline SVGs have no intrinsic size, so a theme
   `svg{width:100%}` would blow them up. Pin them explicitly. */
.pfooter__ico svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px;
  max-height: 20px;
  display: block;
}
.pfooter__ct { display: flex; flex-direction: column; line-height: 1.3; }
.pfooter__ct-label {
  font-family: var(--font-display-he, "Rubik", sans-serif);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: rgba(245, 239, 230, 0.55);
}
.pfooter__ct-value {
  font-family: var(--font-body, "Assistant", sans-serif);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  font-weight: 600;
  color: var(--ivory, #f5efe6);
  transition: color 0.3s ease;
}

/* FORM (on the dark footer) ----------------------------------------------- */
.pfooter__form .section-header { text-align: right; margin-block-end: clamp(1.2rem, 2.4vw, 1.8rem); }
.pfooter__form .section-header__eyebrow {
  font-family: var(--font-display-he, "Rubik", sans-serif);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--brass, #cfae83);
  margin: 0 0 0.4rem;
}
.pfooter__form .section-header__title {
  margin: 0;
  font-family: var(--font-display-he, "Frank Ruhl Libre", serif);
  font-weight: 700;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: var(--ivory, #f5efe6);
}
.pfooter__form .section-header__lede {
  margin: 0.6rem 0 0;
  font-family: var(--font-body, "Assistant", sans-serif);
  color: rgba(245, 239, 230, 0.72);
  line-height: 1.6;
}
/* On the dark footer, make the form fields readable (light labels, translucent
   inputs). The base gamos-form.css owns the rest of the field styling. */
.pfooter__form .gform__field label { color: rgba(245, 239, 230, 0.8); }
.pfooter__form .gform__field input,
.pfooter__form .gform__field textarea,
.pfooter__form .gform__field select {
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(245, 239, 230, 0.22);
  color: var(--ivory, #f5efe6);
  border-radius: 10px;
}
.pfooter__form .gform__field input::placeholder,
.pfooter__form .gform__field textarea::placeholder { color: rgba(245, 239, 230, 0.4); }
.pfooter__form .gform__field input:focus,
.pfooter__form .gform__field textarea:focus,
.pfooter__form .gform__field select:focus {
  border-color: var(--brass, #cfae83);
  outline: none;
}
.pfooter__form .gform__submit {
  background: var(--brass, #cfae83);
  color: var(--ink-deep, #1a1410);
  border: 0;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.9rem 2.4rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.pfooter__form .gform__submit:hover { background: var(--brass-glow, #d4b98a); transform: translateY(-2px); }
.pfooter__form .gform__feedback { color: rgba(245, 239, 230, 0.85); margin-top: 0.8rem; }

/* LEGAL BAR --------------------------------------------------------------- */
.pfooter__legal {
  margin-block-start: clamp(36px, 5vw, 64px);
  border-block-start: 1px solid rgba(245, 239, 230, 0.12);
}
.pfooter__legal-inner {
  max-inline-size: var(--container-wide, 1240px);
  margin-inline: auto;
  padding: clamp(1rem, 2.4vw, 1.6rem) var(--gutter, clamp(20px, 5vw, 72px));
  text-align: center;
}
.pfooter__copy {
  margin: 0;
  font-family: var(--font-body, "Assistant", sans-serif);
  font-size: 0.88rem;
  color: rgba(245, 239, 230, 0.5);
}
.pfooter__copy a { color: rgba(245, 239, 230, 0.7); text-decoration: none; }
.pfooter__copy a:hover { color: var(--brass, #cfae83); }

@media (prefers-reduced-motion: reduce) {
  .pfooter__contact a, .pfooter__ct-value, .pfooter__form .gform__submit { transition: none; }
}
