:root {
  --navy: #0f2a44;
  --teal: #0e7c86;
  --teal-dark: #0a5a62;
  --sand: #f4e2b8;
  --sand-light: #fbf6ea;
  --ink: #16324a;
  --muted: #5c7286;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 42, 68, 0.12);
  --whatsapp: #25d366;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: "Playfair Display", Georgia, serif;
  margin: 0 0 0.5em;
  color: var(--navy);
}

p { color: var(--muted); }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid rgba(15, 42, 68, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

.brand {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.event-badge {
  background: var(--teal);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--teal-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 760px;
  margin: 0 auto 0.5em;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 2em;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

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

.btn-primary {
  background: var(--teal);
  color: var(--white);
}
.btn-primary:hover { box-shadow: 0 8px 20px rgba(14, 124, 134, 0.35); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }

.btn-whatsapp { background: var(--whatsapp); color: var(--white); }
.btn-whatsapp:hover { box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }

.btn-link {
  background: none;
  color: var(--teal);
  padding: 12px 8px;
  text-decoration: underline;
}

.btn-outline-dark {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-dark:hover { background: rgba(15, 42, 68, 0.06); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--sand-light); }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
}

.section-subtitle {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 40px;
}

/* Project grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.project-card:hover { transform: translateY(-4px); }

.project-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.project-card-body { padding: 20px; }

.project-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.project-card-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.project-card-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.project-card-actions .btn {
  width: 100%;
  text-align: center;
  padding: 12px;
  font-size: 0.9rem;
}

/* Catalog */
.catalog-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.catalog-inner .section-title,
.catalog-inner .section-subtitle { text-align: left; margin: 0; }

/* Forms */
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
}

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

.form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 6px; }
.form-row-split { flex-direction: row; gap: 16px; }
.form-row-split > div { flex: 1; display: flex; flex-direction: column; gap: 6px; }

label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }

input, select, textarea {
  padding: 10px 12px;
  border: 1px solid #d8e1e8;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--ink);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 124, 134, 0.15);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  margin-top: 12px;
  font-size: 0.88rem;
  min-height: 1.2em;
}
.form-status.success { color: var(--teal-dark); }
.form-status.error { color: #b3261e; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding: 24px 0;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .hero { padding: 56px 0; }
  .section { padding: 48px 0; }
  .form-card { padding: 24px 20px; }
  .catalog-inner { text-align: center; justify-content: center; }
  .catalog-inner .section-title, .catalog-inner .section-subtitle { text-align: center; }
  .form-row-split { flex-direction: column; }
  .hero-actions .btn,
  .form-actions .btn { width: 100%; text-align: center; }
}
