:root {
  --teal-dark: #2f5f5a;
  --teal: #4d8b85;
  --teal-light: #6ba8a1;
  --cream: #faf7f1;
  --ink: #22302e;
  --ink-soft: #5a6b68;
  --line: #dfe6e3;
  --accent: #c9b98a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  font-family: 'Playfair Display', serif;
}

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

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(155deg, var(--teal-dark), var(--teal) 65%, var(--teal-light));
  color: #fff;
  padding: 32px 24px 30px;
  text-align: center;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.logo {
  width: 150px;
  max-width: 45vw;
  height: auto;
  margin-bottom: 10px;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(1.3rem, 3.2vw, 1.9rem);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero h1 span {
  display: block;
  font-family: 'Jost', sans-serif;
  font-weight: 500;
  font-size: 0.42em;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 34px;
  font-size: 0.98rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.95;
}

.contact-item a {
  color: #fff;
  text-decoration: none;
}

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

.btn-productos {
  display: inline-block;
  margin-top: 22px;
  padding: 11px 30px;
  background: var(--accent);
  color: var(--teal-dark);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: 999px;
  transition: background 0.15s, transform 0.15s;
}

.btn-productos:hover {
  background: #e0d2a3;
  transform: translateY(-1px);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---------- Form section ---------- */

main {
  flex: 1;
  display: flex;
  justify-content: center;
  padding: 56px 20px 64px;
}

.contact-form-section {
  width: 100%;
  max-width: 620px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 40px clamp(20px, 5vw, 48px) 44px;
  box-shadow: 0 10px 30px rgba(47, 95, 90, 0.08);
}

.contact-form-section h2 {
  margin: 0 0 6px;
  font-size: 1.6rem;
  color: var(--teal-dark);
}

.section-sub {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.field-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.field-row .field {
  flex: 1 1 220px;
}

.field {
  margin-bottom: 20px;
}

label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 6px;
}

input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
  width: 100%;
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf9;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}

textarea {
  resize: vertical;
  min-height: 110px;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(77, 139, 133, 0.15);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.captcha-field input {
  max-width: 140px;
}

button[type="submit"] {
  width: 100%;
  padding: 14px 20px;
  background: var(--teal-dark);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: background 0.15s;
}

button[type="submit"]:hover {
  background: var(--teal);
}

.form-msg {
  min-height: 1.2em;
  margin: 14px 0 0;
  font-size: 0.9rem;
  text-align: center;
}

.form-msg.ok { color: #2f7a4f; }
.form-msg.error { color: #b6432f; }

/* ---------- Footer ---------- */

footer {
  text-align: center;
  padding: 22px 20px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}

@media (max-width: 480px) {
  .hero { padding: 48px 20px 44px; }
  .contact-form-section { padding: 30px 20px 34px; }
}
