:root {
  color-scheme: light;
  --bg: #faf6ef;
  --bg-soft: #f3ebdd;
  --surface: rgba(255, 251, 245, 0.82);
  --surface-strong: #fffaf1;
  --text: #211b16;
  --muted: #6e6052;
  --line: rgba(117, 93, 56, 0.16);
  --bronze: #9a6f42;
  --bronze-deep: #76502e;
  --gold-soft: #c9ab73;
  --champagne: #efe1c9;
  --green: #1f9d58;
  --green-deep: #147842;
  --shadow: 0 30px 70px rgba(92, 66, 35, 0.14);
  --shadow-soft: 0 20px 45px rgba(92, 66, 35, 0.08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(201, 171, 115, 0.15), transparent 24%),
    radial-gradient(circle at 90% 10%, rgba(154, 111, 66, 0.08), transparent 18%),
    linear-gradient(180deg, #fffdf9 0%, var(--bg) 40%, #f7efe3 100%);
  color: var(--text);
  scroll-behavior: smooth;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
}

.section--warm {
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.9), rgba(245, 238, 227, 0.75));
}

.section--contrast {
  background: linear-gradient(180deg, rgba(252, 247, 239, 0.55), rgba(242, 232, 217, 0.85));
}

.card,
.panel-card,
.process-step,
.contact-form {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(250, 246, 239, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(117, 93, 56, 0.09);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.nav__controls {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff8ee;
  background: linear-gradient(145deg, var(--bronze), var(--bronze-deep));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid rgba(117, 93, 56, 0.14);
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.92);
}

.lang-switch__link {
  min-width: 44px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.lang-switch__link.is-active {
  background: rgba(154, 111, 66, 0.12);
  color: var(--bronze-deep);
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(154, 111, 66, 0.1);
  color: var(--bronze-deep);
}

.hero {
  padding-top: 62px;
}

.hero__grid,
.two-column,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.hero__content h1,
.section-heading h2,
.two-column h2,
.panel-card h2,
.contact-copy h2 {
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
}

.hero__content h1 {
  font-size: clamp(3.7rem, 6vw, 6.2rem);
  max-width: 11ch;
}

.hero__lead,
.section-heading p,
.rich-text p,
.panel-card p,
.contact-copy p,
.fence-card p,
.info-card p,
.process-step p {
  color: var(--muted);
  margin: 0;
}

.hero__lead {
  margin-top: 20px;
  max-width: 58ch;
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--bronze);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  filter: blur(8px);
  transition:
    opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 720ms cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.button--whatsapp,
.button--submit,
.floating-whatsapp {
  color: #fff;
  background: linear-gradient(180deg, #25d366, var(--green));
  box-shadow: 0 18px 32px rgba(31, 157, 88, 0.24);
}

.button--whatsapp:hover,
.button--submit:hover,
.floating-whatsapp:hover {
  background: linear-gradient(180deg, #20c15d, var(--green-deep));
}

.button--secondary {
  border-color: rgba(154, 111, 66, 0.18);
  background: rgba(255, 251, 245, 0.92);
  color: var(--text);
}

.button--large {
  margin-top: 22px;
}

.hero__highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.hero__highlights article,
.info-card,
.fence-card,
.contact-form,
.hero__frame,
.showcase-band {
  border-radius: var(--radius-lg);
}

.hero__highlights article {
  padding: 18px;
  border: 1px solid rgba(117, 93, 56, 0.12);
  background: rgba(255, 252, 246, 0.75);
}

.hero__highlights strong {
  display: block;
  margin-bottom: 6px;
}

.hero__highlights span {
  color: var(--muted);
  font-size: 0.93rem;
}

.hero__visual {
  position: relative;
  padding: 12px 0 46px 36px;
}

.hero__frame {
  padding: 14px;
  transform: rotate(1deg);
}

.hero__floating-note {
  position: absolute;
  left: 0;
  bottom: 0;
  width: min(320px, calc(100% - 32px));
  padding: 20px 22px;
  border-radius: 24px;
  background: rgba(255, 250, 242, 0.92);
  box-shadow: var(--shadow-soft);
}

.hero__floating-note strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

.hero__floating-note span {
  color: var(--muted);
  font-size: 0.94rem;
}

.hero__visual img,
.fence-card img {
  border-radius: 24px;
}

.section-heading {
  max-width: 730px;
  margin-bottom: 34px;
}

.section-heading h2,
.two-column h2,
.panel-card h2,
.contact-copy h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.rich-text {
  display: grid;
  gap: 18px;
}

.about-composition {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 26px;
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
}

.about-visual__main,
.about-visual__accent {
  position: absolute;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 22px;
}

.about-visual__main {
  inset: 0 72px 72px 0;
}

.about-visual__accent {
  right: 0;
  bottom: 0;
  width: 46%;
}

.about-visual__main img,
.about-visual__accent img {
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 0;
}

.fence-grid,
.three-column,
.process-grid {
  display: grid;
  gap: 22px;
}

.fence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fence-card {
  padding: 0 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.fence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 58px rgba(92, 66, 35, 0.16);
}

.fence-card img {
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
  border-radius: 0;
}

.fence-card h3,
.info-card h3,
.process-step h3 {
  margin: 18px 0 10px;
  font-size: 1.22rem;
}

.fence-card h3 {
  padding: 0 18px;
}

.fence-card__excerpt {
  flex: 1;
  padding: 0 18px;
}

.fence-card__button {
  margin: 18px 18px 0;
  width: calc(100% - 36px);
}

.split-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.panel-card {
  padding: 34px;
  border-radius: var(--radius-lg);
}

.panel-card--accent {
  background: linear-gradient(180deg, rgba(255, 251, 245, 0.95), rgba(247, 238, 224, 0.92));
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--gold-soft);
}

.check-list--negative li::before {
  background: #b77c52;
}

.three-column {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card {
  padding: 28px;
}

.process-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-step {
  padding: 26px;
  border-radius: var(--radius-md);
}

.process-step span {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(154, 111, 66, 0.12);
  color: var(--bronze-deep);
  font-weight: 800;
}

.process-step--wide {
  grid-column: span 4;
}

.contact-section {
  padding-bottom: 104px;
}

.showcase-section {
  padding-top: 30px;
}

.showcase-band {
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  background:
    linear-gradient(135deg, rgba(255, 250, 242, 0.98), rgba(243, 235, 221, 0.86));
  overflow: hidden;
}

.showcase-band__copy {
  padding: 32px 28px 32px 28px;
}

.showcase-band__copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.98;
}

.showcase-band__copy p:last-child {
  color: var(--muted);
}

.showcase-band__image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 0 28px 28px 0;
}

.showcase-band__image {
  padding: 0;
  align-self: stretch;
}

.contact-copy {
  max-width: 540px;
}

.contact-details {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  font-size: 1.02rem;
}

.contact-details a {
  color: var(--bronze-deep);
  font-weight: 700;
}

.contact-form {
  padding: 30px;
  display: grid;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(117, 93, 56, 0.16);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 252, 246, 0.96);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
  min-height: 144px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(154, 111, 66, 0.18);
  border-color: rgba(154, 111, 66, 0.28);
}

.form-status {
  min-height: 24px;
  margin: 4px 0 0;
  font-weight: 600;
}

.form-status.is-success {
  color: var(--green-deep);
}

.form-status.is-error {
  color: #b0553d;
}

.site-footer {
  border-top: 1px solid rgba(117, 93, 56, 0.1);
  background: rgba(255, 250, 242, 0.8);
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 0 34px;
  color: var(--muted);
  font-size: 0.95rem;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 11;
  min-width: 148px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.modal[hidden] {
  display: none !important;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 21, 15, 0.58);
  backdrop-filter: blur(10px);
}

.modal__dialog {
  position: relative;
  z-index: 1;
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  border-radius: 28px;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text);
}

.modal__media img {
  width: 100%;
  max-height: 62vh;
  object-fit: cover;
  border-radius: 22px;
}

.modal__content {
  padding: 0 8px 10px;
}

.modal__content h3 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-family: "Cormorant Garamond", serif;
  line-height: 0.98;
}

.modal__content p:last-child {
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal.is-visible {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

@media (max-width: 1100px) {
  .hero__grid,
  .two-column,
  .contact-grid,
  .split-panels,
  .fence-grid,
  .three-column,
  .showcase-band {
    grid-template-columns: 1fr 1fr;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-step--wide {
    grid-column: span 2;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 72px 0;
  }

  .nav {
    min-height: 72px;
  }

  .nav__links {
    display: none;
  }

  .nav__controls {
    width: auto;
    justify-content: flex-end;
  }

  .hero__grid,
  .two-column,
  .contact-grid,
  .split-panels,
  .fence-grid,
  .three-column,
  .process-grid,
  .hero__highlights,
  .showcase-band,
  .about-composition,
  .modal__dialog {
    grid-template-columns: 1fr;
  }

  .process-step--wide {
    grid-column: auto;
  }

  .hero__visual {
    padding: 0;
  }

  .hero__frame {
    transform: none;
  }

  .hero__floating-note {
    position: static;
    width: 100%;
    margin-top: 16px;
  }

  .about-visual {
    min-height: auto;
    display: grid;
    gap: 16px;
  }

  .about-visual__main,
  .about-visual__accent {
    position: static;
    width: 100%;
  }

  .showcase-band__copy {
    padding: 22px 22px 10px;
  }

  .showcase-band__image {
    padding: 0;
  }

  .modal__content {
    padding: 6px 4px 10px;
  }

  .hero__content h1 {
    max-width: none;
    font-size: clamp(2.9rem, 14vw, 4.4rem);
  }

  .site-footer__inner {
    flex-direction: column;
    padding-bottom: 70px;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .nav {
    align-items: flex-start;
  }

  .nav__controls {
    margin-left: auto;
  }

  .section {
    padding: 62px 0;
  }

  .hero {
    padding-top: 36px;
  }

  /*.button,*/
  /*.floating-whatsapp {*/
  /*  width: 100%;*/
  /*}*/

  .hero__actions {
    display: grid;
  }

  .panel-card,
  .info-card,
  .process-step,
  .contact-form {
    padding: 22px;
  }

  .floating-whatsapp {
    right: 12px;
    bottom: 12px;
    left: 12px;
    min-width: auto;
  }
}

.admin-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at top right, rgba(201, 171, 115, 0.15), transparent 24%),
    linear-gradient(180deg, #fffdf9 0%, #f8f1e7 100%);
}

.admin-shell {
  padding: 48px 0 72px;
}

.admin-login,
.admin-panel {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  border-radius: var(--radius-lg);
}

.admin-login {
  max-width: 520px;
  padding: 34px;
}

.admin-login h1,
.admin-header h1,
.admin-panel h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 1;
}

.admin-login h1,
.admin-header h1 {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
}

.admin-intro,
.admin-note,
.admin-panel__top p,
.admin-empty p {
  color: var(--muted);
}

.admin-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.admin-form label,
.admin-search {
  display: grid;
  gap: 10px;
}

.admin-form input,
.admin-search input {
  width: 100%;
  border: 1px solid rgba(117, 93, 56, 0.16);
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 252, 246, 0.96);
}

.admin-note {
  margin-top: 18px;
  font-size: 0.92rem;
}

.admin-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.admin-header__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.admin-stat {
  padding: 24px;
  border-radius: var(--radius-md);
}

.admin-stat span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.admin-stat strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.admin-panel {
  padding: 28px;
}

.admin-panel__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.admin-search {
  grid-template-columns: minmax(260px, 360px) auto;
  align-items: center;
}

.admin-empty {
  padding: 46px 12px 20px;
  text-align: center;
}

.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 980px;
}

.admin-table th,
.admin-table td {
  padding: 16px 14px;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(117, 93, 56, 0.12);
}

.admin-table th {
  color: var(--muted);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admin-contact,
.admin-actions {
  display: grid;
  gap: 8px;
}

.admin-contact a,
.admin-link {
  color: var(--bronze-deep);
  font-weight: 700;
}

.admin-message {
  min-width: 280px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .admin-header,
  .admin-panel__top {
    flex-direction: column;
    align-items: start;
  }

  .admin-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-search {
    width: 100%;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .admin-login,
  .admin-panel {
    width: min(100% - 24px, 1120px);
  }

  .admin-shell {
    padding: 24px 0 56px;
  }

  .admin-stats {
    grid-template-columns: 1fr;
  }
}
