/* Arte & Pintura — brand styles */
:root {
  --blue: #1B3A4B;
  --terracotta: #C45C26;
  --terracotta-dark: #A34A1E;
  --bg: #F7F5F2;
  --charcoal: #2C2C2C;
  --white: #ffffff;
  --muted: #5a5a5a;
  --border: #e4e0da;
  --shadow: 0 8px 28px rgba(27, 58, 75, 0.08);
  --radius: 12px;
  --max: 1100px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--terracotta); }

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

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

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

.logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-link img {
  height: 44px;
  width: auto;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: var(--blue);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--terracotta);
}

.site-nav .nav-cta {
  background: var(--terracotta);
  color: var(--white) !important;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.site-nav .nav-cta:hover {
  background: var(--terracotta-dark);
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; align-items: center; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    gap: 0;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border);
  }
  .site-nav .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
    border-bottom: none;
  }
  .header-inner { position: relative; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, transform 0.1s ease;
}

.btn:active { transform: translateY(1px); }

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

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

.btn-secondary {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.btn-secondary:hover {
  background: var(--blue);
  color: var(--white);
}

/* Hero */
.hero {
  background:
    linear-gradient(135deg, rgba(27, 58, 75, 0.92) 0%, rgba(27, 58, 75, 0.78) 55%, rgba(196, 92, 38, 0.55) 100%),
    linear-gradient(160deg, #1B3A4B 0%, #2a4f63 50%, #3d5a4a 100%);
  color: var(--white);
  padding: 4rem 0 4.5rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  line-height: 1.2;
  font-weight: 700;
  max-width: 18ch;
}

.hero .lead {
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  opacity: 0.95;
  max-width: 36ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero .btn-primary {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.hero .btn-secondary {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.hero .btn-secondary:hover {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}

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

.section-title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--blue);
  line-height: 1.25;
}

.section-intro {
  margin: 0 0 2rem;
  color: var(--muted);
  max-width: 55ch;
}

.section-alt {
  background: var(--white);
}

/* Service cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.25rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: border-color 0.15s ease;
}

.section-alt .card {
  background: var(--bg);
}

.card:hover {
  border-color: var(--terracotta);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(196, 92, 38, 0.12);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}

.card h3 {
  margin: 0 0 0.5rem;
  color: var(--blue);
  font-size: 1.15rem;
}

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

/* Trust bar */
.trust {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.92);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.95rem;
}

.trust strong { color: var(--white); }

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}

.trust-sep {
  opacity: 0.4;
  display: none;
}

@media (min-width: 700px) {
  .trust-sep { display: inline; }
}

/* Form */
.form-section {
  padding: 3.5rem 0 4rem;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  max-width: 560px;
}

.form-card h2 {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-size: 1.5rem;
}

.form-card .form-note {
  margin: 0 0 1.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  color: var(--charcoal);
  background: var(--bg);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.18);
  background: var(--white);
}

.form-group select,
select.form-select {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 3.25rem;
  min-height: 3.25rem;
  padding: 0.75rem 2.75rem 0.75rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  line-height: 1.25;
  color: var(--charcoal);
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B3A4B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: middle;
}

.form-group select:focus,
select.form-select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(196, 92, 38, 0.18);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231B3A4B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1rem;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 0.5rem;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0.75rem 0 0;
}

.form-status {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  display: none;
}

.form-status.is-visible { display: block; }
.form-status.is-error { color: #a33; }
.form-status.is-ok { color: #1a6b3c; }

/* Page hero (inner pages) */
.page-hero {
  background: var(--blue);
  color: var(--white);
  padding: 2.75rem 0;
}

.page-hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
}

.page-hero p {
  margin: 0;
  opacity: 0.9;
  max-width: 50ch;
  font-size: 1.05rem;
}

/* Content blocks */
.prose {
  max-width: 65ch;
}

.prose p { margin: 0 0 1rem; color: var(--muted); }
.prose p:last-child { margin-bottom: 0; }

.content-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .content-grid-2 {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

.list-check {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-check li {
  position: relative;
  padding: 0.55rem 0 0.55rem 1.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--muted);
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--terracotta);
}

/* Thank you */
.thanks {
  text-align: center;
  padding: 4.5rem 0;
  max-width: 36rem;
  margin-inline: auto;
}

.thanks-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(196, 92, 38, 0.15);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.thanks h1 {
  color: var(--blue);
  margin: 0 0 0.75rem;
}

.thanks p {
  color: var(--muted);
  margin: 0 0 1.75rem;
}

/* Footer */
.site-footer {
  background: var(--blue);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0 1.5rem;
  margin-top: auto;
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

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

.site-footer h3 {
  margin: 0 0 0.65rem;
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  display: inline-block;
  padding: 0.2rem 0;
}

.footer-links a:hover { color: #f0b090; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  opacity: 0.85;
}

/* Utility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.mt-2 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }
