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

:root {
  --white:        #ffffff;
  --black:        #1a1a1a;
  --footer:       #111111;
  --border:       #e0e0e0;
  --serif:        'Playfair Display', Georgia, serif;
  --sans:         'Inter', system-ui, sans-serif;
  --success-bg:   #e8f5e9;
  --success-text: #2e7d32;
  --error-bg:     #fdecea;
  --error-text:   #c62828;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  font-family: var(--sans);
  color: var(--black);
  background: var(--white);
  font-weight: 300;
  line-height: 1.7;
}

.img-fluid { display: block; width: 100%; }

/* Banner */
.banner {
  padding: 14px 24px;
  text-align: center;
  font-size: 14px;
}
.banner--success { background: var(--success-bg); color: var(--success-text); }
.banner--error   { background: var(--error-bg);   color: var(--error-text); }
.banner--error a { color: inherit; }

/* ── Text blocks ── */
.text-block {
  max-width: 700px;
  margin: 0 auto;
  padding: 72px 24px;
}

.text-block p {
  font-size: 18px;
  color: var(--black);
  margin-bottom: 1.5em;
  text-align: justify;
  hyphens: auto;
}

.text-block p:last-child { margin-bottom: 0; }

/* ── Photo block ── */
.photo-block {
  padding: 10px;
}

.photo-block img {
  height: min(70vh, 55vw);
  object-fit: cover;
  border: 5px solid var(--white);
}

.photo-block--square {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.photo-block--square img {
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ── Header ── */
.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 24px 20px;
  gap: 75px;
}

.site-header__logo {
  width: 106px;
  height: auto;
}

.site-header__logotipo {
  width: 360px;
  height: auto;
}

/* ── Contact section ── */
.contact-section {
  border-top: 1px solid var(--border);
  padding: 72px 24px;
}

.contact-section__inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

@media (max-width: 768px) {
  .contact-section__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

/* Info */
.contact-info__heading,
.contact-form__heading {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.contact-info address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.9;
}

.contact-info a {
  color: var(--black);
  text-decoration: none;
}

.contact-info a:hover { text-decoration: underline; }

/* Form */
.form-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-field label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  color: #666;
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  resize: vertical;
  outline: none;
  transition: border-color 0.2s;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--black);
}

.btn-submit {
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 12px 32px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit:hover { background: #444; }

/* ── Footer ── */
.site-footer {
  background: var(--footer);
  color: var(--white);
  padding: 40px 24px;
  text-align: center;
}

.site-footer address {
  font-style: normal;
  font-size: 13px;
  line-height: 2;
  opacity: 0.75;
}

.site-footer a {
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover { opacity: 1; text-decoration: underline; }
