/* ===== VARIABLES ===== */
:root {
  --green: #1a3a2a;
  --dark:  #0d2318;
  --gold:  #c9a84c;
  --bg:    #faf8f5;
  --border: #e5e5e5;
  --text:  #1a1a1a;
  --muted: #777;
  --radius: 10px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; }

/* ===== NAV ===== */
.nav {
  background: var(--dark);
  padding: 0 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 62px;
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: 0 2px 12px rgba(0,0,0,.35);
}
.logo { font-family: 'Playfair Display', serif; font-size: 23px; font-weight: 900; color: #fff; }
.logo span { color: var(--gold); }
.nav-right { display: flex; gap: 10px; align-items: center; }
.lang-toggle { display: flex; background: rgba(255,255,255,.1); border-radius: 20px; overflow: hidden; }
.lang-btn { border: none; background: transparent; color: rgba(255,255,255,.55); font-size: 12px; padding: 5px 11px; cursor: pointer; transition: all .2s; }
.lang-btn.active { background: rgba(255,255,255,.2); color: #fff; }
.btn-nav-outline { border: 1px solid rgba(255,255,255,.3); color: #fff; background: transparent; padding: 7px 15px; border-radius: 6px; cursor: pointer; font-size: 13px; transition: all .2s; }
.btn-nav-outline:hover { background: rgba(255,255,255,.1); }
.btn-nav-gold { background: var(--gold); color: #fff; border: none; padding: 8px 16px; border-radius: 6px; cursor: pointer; font-size: 13px; font-weight: 500; transition: all .2s; }
.btn-nav-gold:hover { background: #b8943c; }

/* ===== HERO ===== */
/* Tip: cambia la URL de la imagen por una foto de República Dominicana */
.hero {
  background: linear-gradient(160deg, #0a1e12 0%, #1a3a2a 60%, #0d2318 100%);
  padding: 70px 28px 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1580502304784-8985b7eb7260?w=1600&q=60') center/cover no-repeat;
  opacity: .22;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,35,24,.45) 0%, rgba(13,35,24,.7) 100%);
}
.hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(28px, 4.5vw, 54px); font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 12px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { color: rgba(255,255,255,.75); font-size: 17px; margin-bottom: 32px; }

.search-bar {
  background: #fff;
  border-radius: 12px;
  padding: 11px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0,0,0,.4);
  max-width: 700px;
  margin: 0 auto;
  margin-bottom: -50px;
}
.sb-icon { font-size: 17px; color: #ccc; }
.sb-input { flex: 1; min-width: 180px; border: none; outline: none; font-size: 15px; font-family: inherit; color: #333; }
.sb-sep { width: 1px; height: 26px; background: var(--border); }
.sb-btn { background: var(--green); color: #fff; border: none; padding: 9px 22px; border-radius: 8px; cursor: pointer; font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .2s; }
.sb-btn:hover { background: var(--dark); }

/* ===== LAYOUT ===== */
.layout {
  display: flex;
  align-items: flex-start;
  width: 100%;
  padding-top: 68px;
}

/* ===== SECTIONS ===== */
.main-content { flex: 1; min-width: 0; }
.section { padding: 48px 32px; }
.sec-title { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; margin-bottom: 5px; }
.sec-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }

/* ===== GRID ===== */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

/* ===== SKELETON (shimmer mientras carga la imagen) ===== */
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position: 600px 0; }
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .3s;
  background: linear-gradient(90deg, #f0f0f0 25%, #e8e8e8 50%, #f0f0f0 75%);
  background-size: 600px 100%;
  animation: shimmer 1.4s infinite;
  opacity: .85;
}
.card-img img.loaded {
  animation: none;
  background: none;
  opacity: 1;
}
.card:hover .card-img img.loaded { transform: scale(1.05); }

/* ===== CARDS ===== */
.card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 2px 14px rgba(0,0,0,.07); transition: transform .2s, box-shadow .2s; cursor: pointer; }
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.13); }
.card-img { position: relative; height: 190px; overflow: hidden; background: #eee; }
.badge { position: absolute; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; top: 10px; }
.b-feat { left: 10px; background: var(--gold); color: #fff; }
.b-type { right: 10px; background: rgba(0,0,0,.55); color: #fff; }
.card-body { padding: 15px; }
.card-price { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: var(--green); margin-bottom: 2px; }
.card-price-usd { font-size: 12px; color: #aaa; margin-bottom: 4px; }
.card-title { font-size: 14px; font-weight: 500; margin-bottom: 3px; }
.card-loc { font-size: 12px; color: #888; margin-bottom: 9px; }
.card-specs { display: flex; gap: 10px; font-size: 12px; color: #666; margin-bottom: 11px; flex-wrap: wrap; }
.btn-contact { width: 100%; background: var(--green); color: #fff; border: none; padding: 9px; border-radius: 8px; font-size: 13px; cursor: pointer; transition: background .2s; font-family: inherit; }
.btn-contact:hover { background: var(--dark); }

/* ===== PAGINATION ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.pg-btn {
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  font-size: 13px;
  cursor: pointer;
  transition: all .2s;
  font-family: inherit;
  color: #444;
}
.pg-btn:hover:not(:disabled) { border-color: var(--green); color: var(--green); }
.pg-btn.active { background: var(--green); border-color: var(--green); color: #fff; }
.pg-btn:disabled { opacity: .35; cursor: not-allowed; }
.pg-dots { padding: 8px 4px; color: #aaa; font-size: 13px; }

/* ===== HOW IT WORKS ===== */
.how-section { background: #f0f4f0; padding: 56px 32px; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 18px; max-width: 960px; margin: 0 auto; }
.step { background: #fff; border-radius: 14px; padding: 24px 18px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.step-num { width: 42px; height: 42px; background: var(--green); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; margin: 0 auto 12px; }
.step h3 { font-family: 'Playfair Display', serif; font-size: 16px; margin-bottom: 5px; }
.step p { font-size: 13px; color: #666; line-height: 1.6; }

/* ===== PRICING ===== */
.pricing { background: linear-gradient(135deg, var(--green), var(--dark)); border-radius: 16px; padding: 44px 32px; color: #fff; margin: 0 32px; }
.pricing h2 { font-family: 'Playfair Display', serif; font-size: 26px; margin-bottom: 7px; }
.pricing > p { color: rgba(255,255,255,.7); margin-bottom: 26px; font-size: 15px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.plan { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; padding: 20px 16px; }
.plan.pop { background: rgba(201,168,76,.15); border-color: var(--gold); }
.plan-name { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); margin-bottom: 4px; }
.plan-price { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.plan-period { font-size: 12px; color: rgba(255,255,255,.5); margin-bottom: 12px; }
.plan-feat { font-size: 12px; color: rgba(255,255,255,.7); margin-bottom: 4px; padding-left: 14px; position: relative; }
.plan-feat::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.plan-btn { width: 100%; padding: 9px; border-radius: 8px; font-size: 13px; font-weight: 500; cursor: pointer; margin-top: 12px; transition: all .2s; font-family: inherit; }
.pb-outline { background: transparent; border: 1px solid rgba(255,255,255,.3); color: #fff; }
.pb-outline:hover { background: rgba(255,255,255,.1); }
.pb-gold { background: var(--gold); border: none; color: #fff; }
.pb-gold:hover { background: #b8943c; }

/* ===== SERVICES CTA ===== */
.services-cta {
  padding: 72px 32px;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.services-cta .sec-title { text-align: center; margin-bottom: 8px; }
.services-cta-sub { text-align: center; color: #777; font-size: 15px; margin-bottom: 40px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow .2s, transform .2s;
}
.service-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.12); transform: translateY(-3px); }
.sc-icon { font-size: 36px; }
.service-card h3 { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; color: var(--green); line-height: 1.2; }
.service-card p { font-size: 14px; color: #666; line-height: 1.65; flex: 1; }
.sc-btn {
  margin-top: 8px;
  background: var(--green);
  color: #fff;
  border: none;
  padding: 11px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background .2s;
  align-self: flex-start;
}
.sc-btn:hover { background: var(--dark); }

/* ===== FOOTER ===== */
.footer { background: #0d1a0d; color: rgba(255,255,255,.5); text-align: center; padding: 32px 28px; font-size: 13px; }
.footer a { color: var(--gold); text-decoration: none; }

/* ===== EMPTY STATE ===== */
.empty { text-align: center; padding: 52px 20px; color: #999; font-size: 14px; }

/* ===== SHARED FORM ELEMENTS ===== */
.fi { width: 100%; border: 1px solid var(--border); border-radius: 8px; padding: 9px 11px; font-size: 14px; outline: none; transition: border .2s; font-family: inherit; background: #fafafa; color: #333; }
.fi:focus { border-color: var(--green); background: #fff; }
.fselect { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 28px; background-color: #fafafa; }
.fg { margin-bottom: 12px; }
.fl { font-size: 11px; font-weight: 600; color: #444; margin-bottom: 4px; display: block; text-transform: uppercase; letter-spacing: .3px; }
.fl-note { color: #aaa; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 11px; }
.req { color: #e53e3e; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.full { grid-column: 1 / -1; }
.fta { resize: vertical; min-height: 80px; }
.hr { height: 1px; background: #eee; }
.notice { background: #fff8e1; border: 1px solid #ffe082; border-radius: 8px; padding: 10px 12px; font-size: 12px; color: #7a5c00; margin-bottom: 14px; }

/* ===== BUTTONS ===== */
.btn-p { background: var(--green); color: #fff; border: none; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; width: 100%; transition: background .2s; font-family: inherit; }
.btn-p:hover { background: var(--dark); }
.btn-g { background: var(--gold); color: #fff; border: none; padding: 11px; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; width: 100%; transition: background .2s; font-family: inherit; }
.btn-g:hover { background: #b8943c; }
.btn-s { background: transparent; color: var(--green); border: 1px solid var(--green); padding: 10px; border-radius: 8px; font-size: 13px; cursor: pointer; width: 100%; transition: all .2s; font-family: inherit; }
.btn-wa { background: #25D366; color: #fff; border: none; padding: 10px; border-radius: 8px; font-size: 13px; cursor: pointer; width: 100%; font-family: inherit; }
.btn-dis { opacity: .4; cursor: not-allowed !important; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .layout { flex-direction: column; }
  .nav .btn-nav-outline { display: none; }
  .fgrid { grid-template-columns: 1fr; }
  .section { padding: 36px 20px; }
  .pricing { margin: 0 20px; padding: 32px 20px; }
  .services-cta { padding: 52px 20px; }
  .how-section { padding: 52px 20px; }
}

@media (max-width: 480px) {
  .nav { padding: 0 16px; }
  .hero { padding: 52px 16px 80px; }
  .search-bar { margin-bottom: -44px; }
  .grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
}
