:root {
  --rose: #b77672;
  --rose-deep: #a7544f;
  --navy: #2c4959;
  --text: #7a7a7a;
  --heading: #2c4959;
  --kicker: #b77672;
  --muted: #898989;
  --gray: #f2f2f2;
  --soft: #efefef59;
  --overlay: rgba(167, 84, 79, 0.65);
  --social-bar: #bf777385;
  --container: 1140px;
  --header-h: 146px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Montserrat, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

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

a { color: var(--rose); text-decoration: none; }
a:hover { color: var(--navy); }

.skip-link {
  position: absolute;
  left: 8px;
  top: -80px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 1000;
}
.skip-link:focus { top: 8px; }

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  padding: 16px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.header-inner nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1;
  min-width: 0;
}

.logo {
  flex-shrink: 0;
}

.logo img {
  width: 178px;
  max-width: 178px;
  height: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-desktop > li { position: relative; }

.nav-desktop .has-sub > button {
  display: block;
  padding: 18px 0;
}

.nav-desktop a,
.nav-desktop button {
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: 400;
  color: #54595f;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.nav-desktop a:hover,
.nav-desktop button:hover,
.nav-desktop .current > a { color: var(--rose); }

.nav-desktop .has-sub > button::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(44, 73, 89, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  z-index: 20;
}

.nav-desktop .has-sub:hover .submenu,
.nav-desktop .has-sub.open .submenu,
.nav-desktop .has-sub:focus-within .submenu { display: block; }

.submenu a {
  display: block;
  padding: 10px 18px;
  white-space: nowrap;
}

.btn-fale,
.nav-desktop a.btn-fale,
.mobile-panel a.btn-fale {
  display: inline-block;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #fff !important;
  background: var(--navy);
  border-radius: 57px;
  padding: 10px 22px;
  white-space: nowrap;
}

.btn-fale:hover,
.nav-desktop a.btn-fale:hover,
.mobile-panel a.btn-fale:hover {
  background: var(--rose);
  color: #fff !important;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  position: relative;
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 2px;
  background: var(--navy);
  content: "";
}
.nav-toggle span { top: 20px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.mobile-panel {
  display: none;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px 20px 24px;
}

.mobile-panel.open { display: block; }

.mobile-panel ul { list-style: none; margin: 0; padding: 0; }

.mobile-panel a,
.mobile-panel button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  border: 0;
  background: none;
  font: inherit;
  color: #54595f;
  cursor: pointer;
}

.mobile-panel .submenu { position: static; box-shadow: none; display: none; padding-left: 12px; }
.mobile-panel .has-sub.open .submenu { display: block; }

.mobile-panel a.btn-fale {
  width: auto;
  text-align: center;
  margin-top: 8px;
}

/* Hero */
.hero {
  position: relative;
  aspect-ratio: 1920 / 700;
  overflow: hidden;
  background: #2c4959;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}
.hero-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide:nth-child(2) img { object-position: 45% 27%; }
.hero-slide:nth-child(3) img { object-position: 54% 84%; }
.hero-slide:nth-child(4) img { object-position: 49% 32%; }

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
}

.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
  padding: 0 72px;
  margin: 0;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.hero-copy h2 {
  margin: 0 0 8px;
  font-family: Roboto, sans-serif;
  font-size: clamp(28px, 3.4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  color: #fff;
  max-width: 900px;
}

.hero-copy p {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: clamp(16px, 1.6vw, 22px);
  font-weight: 400;
  color: #fff;
  max-width: 760px;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 32px;
  height: 32px;
  border: 0;
  background: rgba(44, 73, 89, 0.55);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.hero-arrow.prev { left: 15px; }
.hero-arrow.next { right: 15px; }
.hero-arrow:hover { background: var(--rose); }

/* About */
.about {
  margin-top: 50px;
  margin-bottom: -10px;
  padding: 20px 0 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  margin: 0 0 8px;
  font-family: Roboto, sans-serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--kicker);
  line-height: 1;
}

.title-navy {
  margin: 0 0 18px;
  font-family: Roboto, sans-serif;
  font-size: 40px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.body-text {
  font-family: Roboto, sans-serif;
  font-weight: 400;
  color: var(--text);
  line-height: 1.7;
}
.body-text p { margin: 0 0 1em; }
.body-text p:last-child { margin-bottom: 0; }

/* Mountain divider */
.shape-mountains {
  line-height: 0;
  margin-top: -20px;
  overflow: hidden;
}
.shape-mountains svg {
  width: calc(166% + 1.3px);
  height: 138px;
  display: block;
  margin-left: -33%;
  max-width: none;
}
.shape-mountains path { fill: #b7767282; }

/* Two info cards */
.info-pair {
  margin-top: 150px;
  padding: 0 50px;
  display: grid;
  grid-template-columns: 45% 1fr 45%;
  gap: 0;
  align-items: start;
}

.info-card {
  background: var(--soft);
  padding: 30px;
  text-align: center;
}

.info-card img {
  width: 74%;
  margin: 0 auto 15px;
}

.info-card h3 {
  margin: 0 0 12px;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
}

.info-card p {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-style: italic;
  color: var(--text);
  line-height: 1.65;
}

/* Solutions */
.solutions-head {
  margin-top: 150px;
  margin-bottom: 50px;
  text-align: center;
}

.solutions-head .title-navy { font-size: 32px; }

.flip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.flip {
  height: 300px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.5s;
}

.flip:hover .flip-inner { transform: rotateY(180deg); }

.flip-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  color: #fff;
  background-size: cover;
  background-position: center;
}

.flip-front { background-color: #a7544fa6; }
.flip-front::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #a7544fa6;
}
.flip-front > * { position: relative; z-index: 1; }

.flip-back {
  background: var(--navy);
  transform: rotateY(180deg);
}

.flip-face svg { width: 40px; height: 40px; fill: #fff; margin-bottom: 12px; }

.flip-face h3 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
}

.flip-back p {
  margin: 0 0 16px;
  font-size: 14px;
  line-height: 1.5;
}

.btn-saiba {
  display: inline-block;
  background: var(--rose);
  color: #fff !important;
  border-radius: 28px;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 500;
}
.btn-saiba:hover { background: #000; color: #fff !important; }

/* Blog home */
.blog-home {
  background: var(--gray);
  margin-top: 100px;
  padding: 50px 0;
  position: relative;
}

.blog-home .shape-wave {
  position: absolute;
  top: -54px;
  left: 0;
  width: 100%;
  line-height: 0;
}
.blog-home .shape-wave { overflow: hidden; }
.blog-home .shape-wave svg { width: 100%; height: 55px; fill: var(--gray); }

.center { text-align: center; }
.blog-home .kicker { margin-top: 30px; }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}

.post-card {
  background: #fff;
  overflow: hidden;
}

.post-card .thumb {
  display: block;
  height: 200px;
  overflow: hidden;
  position: relative;
}
.post-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card .body { padding: 18px 18px 22px; }

.post-card h3 {
  margin: 0 0 10px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  font-size: 18px;
}
.post-card h3 a { color: var(--rose); }
.post-card h3 a:hover { color: #23527c; }

.post-card p {
  margin: 0 0 10px;
  font-family: Roboto, sans-serif;
  color: var(--text);
  font-size: 15px;
}

.read-more {
  font-size: 15px;
  color: var(--rose);
  font-weight: 500;
}

.post-date {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}

.btn-rose {
  display: inline-block;
  margin-top: 28px;
  background: var(--rose);
  color: #fff !important;
  padding: 12px 24px;
  font-family: Roboto, sans-serif;
  font-size: 15px;
  font-weight: 500;
  line-height: 15px;
  border-radius: 3px;
}
.btn-rose:hover { background: var(--navy); }

/* Testimonials */
.testimonials {
  position: relative;
  padding: 70px 56px;
  overflow: hidden;
}

.testimonials::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/img/estampa.png") center / contain;
  opacity: 0.11;
  pointer-events: none;
}

.t-track {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.t-slide {
  display: none;
  margin: 0;
  text-align: center;
}
.t-slide.active { display: block; }

.t-stars {
  display: flex;
  justify-content: center;
  gap: 3px;
  margin-bottom: 10px;
}
.t-stars span {
  width: 14px;
  height: 14px;
  background: var(--rose);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.t-slide h3 {
  font-family: Roboto, sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--rose);
  margin: 0 0 16px;
}

.t-quote {
  position: relative;
  background: #f5f5f5;
  padding: 32px 22px 22px;
  text-align: left;
}
.t-quote::before {
  content: "“";
  position: absolute;
  top: 4px;
  left: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 56px;
  line-height: 1;
  color: #d8d8d8;
  pointer-events: none;
}

.t-slide p {
  position: relative;
  z-index: 1;
  font-family: Roboto, sans-serif;
  font-style: italic;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.t-prev,
.t-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 32px;
  height: 32px;
  border: 0;
  background: var(--rose);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.t-prev { left: 12px; }
.t-next { right: 12px; }
.t-prev:hover,
.t-next:hover { background: var(--navy); }

/* Footer */
.site-footer { background: #f2f2f2; }

.footer-info {
  padding: 50px 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: start;
  text-align: center;
}

.f-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  font-family: Roboto, sans-serif;
}

.f-item svg { width: 28px; height: 28px; fill: var(--rose); }
.f-item p {
  margin: 0;
  font-weight: 400;
  color: var(--rose);
  line-height: 1.45;
  font-size: 15px;
}
.f-item a { color: var(--rose); font-weight: 400; }
.f-item a:hover { color: var(--navy); }
.f-logo { align-items: center; }
.f-logo img { width: 157px; margin-inline: auto; }

.footer-social {
  background: #c9928e;
  padding: 14px 0;
  text-align: center;
}

.ig {
  display: inline-flex;
  width: 22px;
  height: 22px;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: #fff;
}
.ig svg { width: 22px; height: 22px; fill: currentColor; }
.ig:hover { color: var(--navy); background: transparent; }

.footer-copy {
  background: var(--rose);
  color: #fff;
  text-align: center;
  padding: 10px 16px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 13px;
}

/* WhatsApp */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover { transform: scale(1.06); }

/* Inner pages */
.page-title-wrap {
  padding: 30px 0 0;
}
.page-title-wrap h1 {
  margin: 0 0 -10px;
  font-family: Roboto, sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 32px;
}

.divider {
  height: 1px;
  background: var(--rose);
  margin: 18px 0 0;
}

.page-split {
  display: grid;
  grid-template-columns: 63.358% 36.596%;
  gap: 0;
  margin-top: 30px;
  min-height: 420px;
}

.page-copy { padding-right: 40px; padding-bottom: 20px; }

.check-list {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}

.check-list li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  line-height: 23px;
  color: #54595f;
  margin-bottom: 6px;
}

.check-list svg {
  width: 14px;
  height: 14px;
  fill: var(--rose);
  flex-shrink: 0;
  margin-top: 4px;
}

.page-photo {
  min-height: 520px;
  overflow: hidden;
}
.page-photo img,
.page-photo picture,
.page-photo picture img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.quote-close {
  margin: 20px 0 50px;
  text-align: center;
  color: var(--muted);
  font-family: Roboto, sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.quote-line {
  width: 17%;
  height: 1px;
  background: var(--rose);
  margin: 12px auto 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 0 0 50px;
}

.gallery a {
  display: block;
  border: 5px solid var(--rose);
}
.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.gallery-2 { grid-template-columns: repeat(4, 1fr); }
.gallery-2 a:nth-child(n+3) { display: none; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  margin-block: 50px;
}

.contact-lead { min-width: 0; }

.contact-lead h2 {
  margin: 0;
  font-family: Roboto, sans-serif;
  font-size: 25px;
  font-weight: 300;
  color: var(--navy);
}

.contact-lead h3 {
  margin: 4px 0 16px;
  font-family: Roboto, sans-serif;
  font-size: 37px;
  font-weight: 600;
  color: var(--navy);
}

.contact-lead p {
  color: var(--navy);
  font-family: Roboto, sans-serif;
}

.map-wrap {
  margin-top: 24px;
  overflow: hidden;
  max-width: 100%;
  border: 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 346px;
  border: 0;
}

.form-box { position: relative; }

.form-box label {
  display: block;
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 14px;
}

.form-box input,
.form-box textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 10px 12px;
  border: 1px solid var(--navy) !important;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-box button {
  background: #fff;
  color: var(--rose);
  border: 1px solid var(--rose);
  padding: 10px 28px;
  font-size: 15px;
  cursor: pointer;
}
.form-box button:hover {
  background: var(--rose);
  color: #fff;
}

.form-feedback {
  margin-top: 12px;
  font-size: 14px;
  display: none;
}
.form-feedback.show { display: block; }
.form-feedback.ok { color: #1b7a3d; }
.form-feedback.err { color: #b3261e; }

/* Blog archive 4 cols-ish */
.post-grid.four { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) {
  .post-grid.four { grid-template-columns: repeat(4, 1fr); }
}

/* Post */
.post-hero {
  max-width: 860px;
  margin: 30px auto 40px;
}

.post-hero h1 {
  font-family: Roboto, sans-serif;
  font-weight: 600;
  color: var(--navy);
  font-size: 32px;
  margin: 0 0 16px;
}

.post-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  margin: 12px 0 24px;
}

.article-body {
  font-family: Roboto, sans-serif;
  color: var(--text);
  line-height: 1.75;
}
.article-body ul { padding-left: 20px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox button {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: 0;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
}

.mobile-photo { display: none; }

@media (max-width: 1100px) {
  .nav-desktop { gap: 16px; }
  .nav-desktop a,
  .nav-desktop button { font-size: 14px; }
  .nav-desktop a.btn-fale { padding: 8px 16px; }
}

@media (max-width: 1024px) {
  .flip-grid { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .footer-info { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: block; }
  .logo img { width: 140px; }
  .hero { aspect-ratio: 4 / 5; min-height: 420px; }
  .hero-copy { padding: 0 24px; }
  .hero-arrow { display: none; }
  .testimonials { padding: 50px 16px; }
  .t-track { grid-template-columns: 1fr; }
  .t-prev, .t-next { display: none; }
  .about-grid,
  .info-pair,
  .contact-grid { grid-template-columns: 1fr; padding: 0; }
  .info-pair { margin-top: 60px; }
  .solutions-head,
  .info-pair { margin-top: 60px; }
  .flip-grid,
  .post-grid,
  .gallery,
  .footer-info { grid-template-columns: 1fr; }
  .title-navy { font-size: 28px; }
  .page-copy { padding-right: 0; }
  .page-split { grid-template-columns: 1fr; }
  .page-photo { display: none; }
  .mobile-photo { display: block; margin: 16px 0; }
}
