/* Diseno para Chateau Purcari - Restauracion y Conservacion Patrimonial */
:root {
  --pur-primary: #3d2b1f;
  --pur-secondary: #8c6239;
  --pur-accent: #c49a45;
  --pur-bg: #f9f7f4;
  --pur-surface: #ffffff;
  --pur-slate: #2c2724;
  --pur-border: #e2dad2;
}

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

html, body {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: hidden !important;
  position: relative !important;
  background-color: var(--pur-bg);
  color: var(--pur-slate);
  font-family: 'Cinzel', 'Georgia', serif;
  line-height: 1.6;
}

p, span, a, input, select, textarea, button, li, th, td {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

header {
  background: #251a13;
  border-bottom: 1px solid rgba(196, 154, 69, 0.3);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-crest {
  width: 42px;
  height: 42px;
  border: 1px solid var(--pur-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pur-accent);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 1px;
}

.brand-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 22px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #d6cbbf;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s ease;
}

nav a:hover, nav a.active {
  color: var(--pur-accent);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--pur-accent);
  color: var(--pur-accent);
  padding: 6px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.hero-banner {
  background: linear-gradient(rgba(37, 26, 19, 0.86), rgba(37, 26, 19, 0.94)), url('../media/hero.jpg') center/cover no-repeat;
  color: #ffffff;
  padding: 90px 20px;
  text-align: center;
}

.hero-wrap {
  max-width: 900px;
  margin: 0 auto;
}

.badge-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196, 154, 69, 0.18);
  border: 1px solid var(--pur-accent);
  color: var(--pur-accent);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 30px;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 42px;
  line-height: 1.25;
  margin-bottom: 22px;
  color: #ffffff;
  font-weight: 600;
}

.hero-desc {
  font-size: 17px;
  color: #e5ded7;
  margin-bottom: 34px;
  line-height: 1.7;
}

.btn-primary {
  display: inline-block;
  padding: 14px 30px;
  background: var(--pur-accent);
  color: #251a13;
  text-decoration: none;
  font-weight: 600;
  border-radius: 4px;
  transition: opacity 0.2s;
  border: none;
  cursor: pointer;
}

.btn-secondary {
  display: inline-block;
  padding: 13px 28px;
  background: transparent;
  color: #ffffff;
  border: 1px solid var(--pur-accent);
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  margin-left: 12px;
}

.content-section {
  padding: 70px 20px;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.section-head {
  text-align: center;
  margin-bottom: 45px;
}

.section-head h2 {
  font-size: 32px;
  color: var(--pur-primary);
  margin-bottom: 12px;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 26px;
  margin-top: 30px;
}

.card-item {
  background: var(--pur-surface);
  border: 1px solid var(--pur-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0,0,0,0.04);
}

.card-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 24px;
}

.card-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--pur-primary);
}

.card-content p {
  color: #5d534d;
  font-size: 15px;
  margin-bottom: 16px;
}

.interactive-box {
  background: #ffffff;
  border: 2px solid var(--pur-accent);
  border-radius: 8px;
  padding: 36px 28px;
  max-width: 820px;
  margin: 40px auto;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--pur-primary);
  font-size: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--pur-border);
  border-radius: 4px;
  font-size: 16px !important;
  color: var(--pur-slate);
  background: #fdfdfc;
}

.table-scroll-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 24px 0;
  border: 1px solid var(--pur-border);
  border-radius: 6px;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 580px;
  background: #ffffff;
}

th, td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--pur-border);
  font-size: 14px;
}

th {
  background: #f3ede6;
  color: var(--pur-primary);
  font-weight: 600;
}

footer {
  background: #251a13;
  color: #d6cbbf;
  padding: 60px 20px 24px;
  border-top: 2px solid var(--pur-accent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--pur-accent);
  margin-bottom: 16px;
  font-size: 17px;
}

.footer-col p, .footer-col li {
  font-size: 14px;
  color: #b8aba0;
  line-height: 1.7;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: #d6cbbf;
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--pur-accent);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  font-size: 13px;
  color: #94877d;
}

@media (max-width: 992px) {
  .header-inner, header > div {
    padding: 14px 20px !important;
    box-sizing: border-box !important;
  }
  .nav-toggle {
    display: block !important;
  }
  nav {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #251a13;
    padding: 20px;
    border-top: 1px solid rgba(196, 154, 69, 0.2);
  }
  nav.active {
    display: block !important;
  }
  nav ul {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
  }
  .hero-title {
    font-size: 30px;
  }
}
