/* Contact page (contacte.php) - reuses the design tokens and the
   .landing-story-section pattern already defined in home_public.css. */

body.public-home .contact-hero {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

body.public-home .contact-hero h1 {
  margin: 0 0 0.75rem;
  font-family: "Inter", sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--home-deep);
}

body.public-home .contact-hero p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(0, 54, 68, 0.72);
}

body.public-home .contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 1.75rem;
  align-items: start;
}

body.public-home .contact-info-card,
body.public-home .contact-form-card {
  background: #ffffff;
  border: 1px solid rgba(0, 54, 68, 0.1);
  border-radius: 24px;
  padding: 1.75rem;
  box-shadow: 0 18px 40px rgba(0, 54, 68, 0.08);
}

body.public-home .contact-info-card h2,
body.public-home .contact-form-card h2 {
  margin: 0 0 1.1rem;
  font-family: "Inter", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--home-deep);
}

body.public-home .contact-info-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

body.public-home .contact-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
  line-height: 1.5;
  color: rgba(0, 54, 68, 0.82);
}

body.public-home .contact-info-list a {
  color: var(--home-deep);
  text-decoration: none;
  font-weight: 600;
}

body.public-home .contact-info-list a:hover {
  text-decoration: underline;
}

body.public-home .contact-info-list i {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(0, 54, 68, 0.08);
  color: var(--home-deep);
  font-size: 0.95rem;
}

body.public-home .contact-map {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(0, 54, 68, 0.1);
}

body.public-home .contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

body.public-home .contact-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.1rem;
}

body.public-home .contact-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--home-deep);
}

body.public-home .contact-field input,
body.public-home .contact-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  border: 1px solid rgba(0, 54, 68, 0.16);
  background: rgba(0, 54, 68, 0.02);
  font-family: "Inter", sans-serif;
  font-size: 0.96rem;
  color: var(--home-deep);
  resize: vertical;
  transition: border-color 150ms ease, background 150ms ease;
}

body.public-home .contact-field input:focus,
body.public-home .contact-field textarea:focus {
  outline: none;
  border-color: var(--home-deep);
  background: #ffffff;
}

body.public-home .contact-submit {
  width: 100%;
  padding: 0.9rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: var(--home-deep);
  color: var(--home-contrast);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 16px 24px rgba(0, 54, 68, 0.24);
  transition: transform 180ms ease, opacity 180ms ease;
}

body.public-home .contact-submit:hover {
  transform: translateY(-1px);
}

body.public-home .contact-submit:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

body.public-home .contact-form-message {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  font-weight: 600;
  min-height: 1.3em;
}

body.public-home .contact-form-message.is-success {
  color: #1b7a4d;
}

body.public-home .contact-form-message.is-error {
  color: #b3261e;
}

@media (max-width: 860px) {
  body.public-home .contact-grid {
    grid-template-columns: 1fr;
  }
}
