:root {
  --forest: #064321;
  --deep: #122A1B;
  --leaf: #71855A;
  --soft: #A4B584;
  --cream: #F2F1DC;
  --warm: #F7F5E9;
  --black: #020202;
  --line: rgba(18, 42, 27, 0.18);
  --shadow: 0 18px 44px rgba(2, 2, 2, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--deep);
  background: var(--warm);
}
a { color: inherit; }
img { max-width: 100%; display: block; }

.site-header,
.admin-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px clamp(16px, 4vw, 42px);
  background: rgba(247, 245, 233, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 900;
}
.brand img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 8px;
}
.nav {
  display: flex;
  gap: clamp(10px, 2vw, 24px);
  font-weight: 800;
  font-size: 0.95rem;
}
.nav a { text-decoration: none; }
.header-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.lang-badge {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--deep);
  padding: 8px 10px;
  font-weight: 800;
  font: inherit;
  white-space: nowrap;
  cursor: pointer;
}
.lang-badge:hover,
.lang-badge:focus-visible {
  border-color: var(--leaf);
  outline: 2px solid rgba(113, 133, 90, 0.28);
  outline-offset: 2px;
}
.phone-btn,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}
.phone-btn,
.btn.primary {
  background: var(--forest);
  color: #fff;
}
.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.facebook-btn {
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: #1877f2;
  color: #fff;
}
.facebook-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: #1877f2;
  font-family: Arial, sans-serif;
  font-weight: 900;
  line-height: 1;
}
.btn.danger { background: #8b1d1d; color: #fff; }
.dark-text { color: var(--deep); border: 1px solid var(--line); background: #fff; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(22px, 5vw, 60px);
  min-height: 76vh;
  padding: clamp(22px, 5vw, 62px) clamp(16px, 5vw, 72px) clamp(34px, 7vw, 82px);
  background:
    linear-gradient(130deg, rgba(6, 67, 33, 0.96), rgba(18, 42, 27, 0.96)),
    radial-gradient(circle at 80% 20%, rgba(164, 181, 132, 0.42), transparent 30%);
  color: var(--cream);
  align-items: center;
}
.eyebrow {
  margin: 0 0 10px;
  color: var(--leaf);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.hero .eyebrow { color: var(--soft); }
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: 0;
  font-family: Montserrat, "Segoe UI", sans-serif;
}
h1 { font-size: clamp(2.8rem, 7vw, 6.8rem); max-width: 920px; }
h2 { font-size: clamp(2rem, 4.2vw, 4.5rem); }
h3 { font-size: 1.35rem; }
.hero-text {
  max-width: 720px;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(242, 241, 220, 0.9);
}
.hero-actions,
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}
.badges span {
  border: 1px solid rgba(242, 241, 220, 0.28);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(42px, 7vw, 84px) clamp(16px, 5vw, 72px);
}
.intro {
  padding-block: 24px;
  background: var(--cream);
  font-weight: 900;
  text-align: center;
}
.service-area {
  padding: clamp(34px, 5vw, 58px) clamp(16px, 5vw, 72px);
  background: var(--deep);
  color: var(--cream);
}
.service-area h2 {
  max-width: 820px;
  margin-bottom: 12px;
}
.service-area p:last-child {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.6;
  font-weight: 900;
}
.section-head {
  max-width: 820px;
  margin-bottom: 26px;
}
.section-head p {
  font-size: 1.05rem;
  line-height: 1.6;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(18, 42, 27, 0.08);
}
.service-icon {
  width: 34px;
  height: 34px;
  display: block;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--forest), var(--soft));
  margin-bottom: 14px;
}
.service-card ul,
.why-list {
  padding-left: 20px;
  line-height: 1.75;
}
.gallery-section { background: #fff; }
.gallery-scroll {
  position: relative;
  max-height: min(760px, 76vh);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 2px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  padding: 0;
  min-height: 260px;
  background: var(--deep);
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  transition: transform 180ms ease;
}
.gallery-item:hover img { transform: scale(1.035); }
.gallery-item span {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  color: #fff;
  background: rgba(2, 2, 2, 0.62);
  font-weight: 800;
  text-align: left;
}
.why {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}
.spanish-band {
  margin: 0;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 5vw, 72px);
  background: var(--deep);
  color: var(--cream);
}
.spanish-band p { max-width: 720px; font-size: 1.1rem; }
.contact-section { background: var(--cream); }
.contact-form,
.admin-panel,
.auth-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 0 12px 30px rgba(18, 42, 27, 0.08);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
label {
  display: grid;
  gap: 6px;
  font-weight: 900;
  margin-bottom: 14px;
}
input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  font: inherit;
}
textarea { resize: vertical; }
fieldset {
  border: 1px solid var(--line);
  border-radius: 8px;
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 14px;
}
fieldset label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}
fieldset input { width: auto; }
.hp { display: none; }
.notice,
.alert {
  border-radius: 8px;
  padding: 12px 14px;
  margin: 0 0 16px;
  font-weight: 800;
}
.notice { background: #e6f3df; border: 1px solid #abc99a; }
.alert { background: #fde8e8; border: 1px solid #e6b1b1; color: #711818; }
.footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 28px clamp(16px, 5vw, 72px);
  background: var(--black);
  color: var(--cream);
}
.footer img { width: 74px; border-radius: 8px; }
.footer a { color: var(--soft); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(2, 2, 2, 0.88);
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-height: 78vh;
  border-radius: 8px;
}
.lightbox p { color: #fff; font-weight: 800; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid rgba(255,255,255,0.4);
  background: #fff;
  color: #000;
  border-radius: 8px;
  padding: 8px 12px;
  cursor: pointer;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(135deg, var(--forest), var(--deep));
}
.auth-card { width: min(480px, 100%); }
.auth-card img { width: 120px; border-radius: 8px; margin-bottom: 16px; }
.auth-card h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  max-width: none;
  margin-bottom: 10px;
}
.auth-card p {
  font-size: 1rem;
  line-height: 1.5;
}
.auth-card input {
  font-size: 1rem;
}
.admin-page { background: var(--warm); }
.admin-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 32px auto;
}
.admin-panel { margin: 18px 0; }
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.admin-photo,
.admin-list article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.admin-photo img,
.admin-list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}
.admin-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 950px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  .nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .hero,
  .why { grid-template-columns: 1fr; }
  .service-grid,
  .gallery-grid,
  .admin-grid,
  .admin-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .brand span { display: none; }
  .brand img {
    width: 112px;
    height: 112px;
  }
  .header-actions {
    margin-left: auto;
    align-items: flex-end;
  }
  .hero {
    min-height: auto;
    padding-top: 22px;
  }
  .hero-photo img { aspect-ratio: 16 / 11; }
  .service-grid,
  .gallery-grid,
  .form-row,
  fieldset,
  .admin-grid,
  .admin-list,
  .footer { grid-template-columns: 1fr; }
  h1 { font-size: 3rem; }
}
