/*
 * Águas do Monte — site styles on top of Augustine.
 *
 * Loaded after every Augustine stylesheet (handle `aguas-child`).
 * Values come from the Figma "UI Final" frames at 1920 px; each clamp()
 * lands exactly on the Figma value at 1920 and scales down from there.
 * One `== <area> ==` block per plan task.
 */

/* == tokens ================================================================ */

:root {
  --aguas-gold: #bfa576;
  --aguas-beige: #f5f4f0;
  --aguas-sand: #e5dbc8;
  --aguas-gold-dark: #736347;
  --aguas-text: #4d4d4d;
}

/* == fonts (self-hosted project fonts, no Google requests) ================== */

/*
 * The Figma fonts, registered under the family names the Augustine CSS
 * hard-codes, so every template rule (150+ of them) uses them unchanged:
 *   'Forum'   -> Safira March (headings, display text)
 *   'Sarabun' -> Open Sauce One (body, nav, buttons, eyebrows)
 * DevTools therefore shows font-family "Forum"/"Sarabun"; the files below
 * are what actually renders.
 *
 * Safira March here is the "Personal Use Only" build: a commercial licence
 * (and its font file) is required before launch.
 */
@font-face {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/safira-march-400.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/open-sauce-one-300.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sauce-one-400.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/open-sauce-one-500.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/open-sauce-one-600.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/open-sauce-one-700.woff2") format("woff2");
}
@font-face {
  font-family: "Sarabun";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/open-sauce-one-400-italic.woff2") format("woff2");
}

/* Material Icons (Apache-2.0), used by Augustine's icon pack. */
@font-face {
  font-family: "Material Icons";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("../fonts/material-icons.woff2") format("woff2");
}

.material-icons {
  font-family: "Material Icons";
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-feature-settings: "liga";
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* == typography ============================================================ */

body {
  font-size: clamp(16px, 0.9375vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--aguas-text);
}

h1,
.qodef-h1,
h2,
.qodef-h2,
h3,
.qodef-h3,
h4,
.qodef-h4,
h5,
.qodef-h5 {
  font-family: Forum, serif;
  font-weight: 400;
  letter-spacing: 2px;
  color: #000;
}

h1,
.qodef-h1 {
  font-size: clamp(52px, 5.2083vw, 100px);
  line-height: 1.2;
  color: var(--aguas-gold);
}

/* Phones (no Figma frame): 52 px set the page titles on four or five lines. */
@media (max-width: 680px) {
  h1,
  .qodef-h1 {
    font-size: 40px;
  }
}
h2,
.qodef-h2 {
  font-size: clamp(36px, 3.0208vw, 48px);
  line-height: 1.3;
}
h3,
.qodef-h3 {
  font-size: clamp(30px, 2.4479vw, 38px);
  line-height: 1.2;
}
h4,
.qodef-h4 {
  font-size: clamp(24px, 1.6667vw, 28px);
  line-height: 1.4;
}
h5,
.qodef-h5 {
  font-size: clamp(20px, 1.4063vw, 22px);
  line-height: 1.4;
}

.qodef-section-title .qodef-m-subtitle {
  font-family: Sarabun, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
  color: var(--aguas-gold);
}

/* Elementor's kit fonts (Roboto/Roboto Slab, no longer loaded) -> the project
   fonts. Attribute selector outranks the kit's `.elementor-kit-N` rule. */
body[class*="elementor-kit-"] {
  --e-global-typography-primary-font-family: Forum;
  --e-global-typography-secondary-font-family: Sarabun;
  --e-global-typography-text-font-family: Sarabun;
  --e-global-typography-text-font-weight: 400;
  --e-global-typography-accent-font-family: Sarabun;
  --e-global-color-text: #4d4d4d;
}

.elementor-widget-text-editor {
  font-family: Sarabun, sans-serif;
  font-size: clamp(16px, 0.9375vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--aguas-text);
}

/* Page intros (class `aguas-intro` on the section, every inner page): Figma
   Body/Medium 20/1.6 and one empty line between paragraphs are set on the
   text editors (a <br> runs on). Their paragraphs take that line height
   instead of the theme's 1.87em, and only the first keeps the theme's 10 px
   top margin (Figma's 10 px inset). */
.aguas-intro .elementor-widget-text-editor p {
  line-height: inherit;
}

.aguas-intro .elementor-widget-text-editor p + p {
  margin-top: 0;
}

/* One class more than Elementor's paragraph-spacing rule, which prints later. */
.aguas-intro .elementor-widget.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* == page title band ======================================================= */

/* The 515 px image band shows no text in Figma; the page H1 comes from the
   first section title instead. */
.qodef-page-title .qodef-m-title {
  display: none;
}

/* == buttons =============================================================== */

/* Figma Components 2232:11977 (default) and 2232:12067 (white): the box hugs
   its label with 47 px sides, 76 px tall, uppercase 14 px tracked 3.3 px, with
   a 1 px gold line 4 px below the box. The template's hover animation (the
   line collapses right, then redraws from the left) is kept; only its
   colours change. */
.qodef-button.qodef-layout--filled.qodef-html--link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0 calc(47px - 3.3px) 0 47px; /* less the tracking after the last letter */
  font-size: 14px;
  letter-spacing: 3.3px;
  color: #fff;
  background-color: var(--aguas-gold);
}

.qodef-button.qodef-layout--filled:after {
  height: 1px;
  bottom: -4px;
  background-color: var(--aguas-gold);
}

.qodef-button.qodef-layout--filled.qodef-html--link:hover {
  color: #fff;
  background-color: var(--aguas-gold-dark);
  border-color: var(--aguas-gold-dark);
}

.qodef-button.qodef-layout--filled.qodef-html--link:hover:after {
  background-color: var(--aguas-gold-dark);
}

/* White variant: add the CSS class `aguas-button--white` to the widget. */
.aguas-button--white .qodef-button.qodef-layout--filled.qodef-html--link {
  color: #000;
  background-color: #fff;
}

.aguas-button--white .qodef-button.qodef-layout--filled.qodef-html--link:hover {
  color: #fff;
  background-color: var(--aguas-gold-dark);
}

/* == header ================================================================ */

/* Figma 2008:5590: white bar, 1 px grey rule underneath. */
#qodef-page-header {
  border-bottom: 1px solid #c4c4c4;
}

/* Nav: Open Sauce One Medium, 18 px at 1920, 1 px tracking, black. The 50 px
   gap between items is the template's own `margin: 0 25px`. */
.qodef-header-navigation > ul > li > a {
  font-size: clamp(15px, 0.9375vw, 18px);
  font-weight: 500;
  letter-spacing: 1px;
  color: #000;
  text-transform: none;
}

.qodef-header-navigation > ul > li.aguas-menu-small > a {
  font-size: 15px;
}

/* Logo-to-menu gap is 76 px in Figma; the template leaves 50. */
.qodef-header--standard .qodef-header-navigation {
  margin-left: 26px;
}

/* Hover keeps the template's growing underline, in gold; the current page is
   gold with the underline drawn. */
.qodef-header-navigation > ul > li > a .qodef-menu-item-text:before {
  background: var(--aguas-gold);
}

.qodef-header-navigation > ul > li.current-menu-item > a,
.qodef-header-navigation > ul > li.current-menu-ancestor > a {
  color: var(--aguas-gold);
}

.qodef-header-navigation > ul > li.current-menu-item > a .qodef-menu-item-text:before,
.qodef-header-navigation > ul > li.current-menu-ancestor > a .qodef-menu-item-text:before {
  width: 100%;
}

/* Narrower desktops: the 1920 spacing (logo 290 + menu 784 + CTA 245 + gaps,
   about 1700 px with the longer EN menu) no longer fits, and the CTA was
   pushed past the edge and wrapped (QA A2: iPad Pro 13 landscape, 1376).
   Tighter gaps and CTA padding below 1800, a smaller logo and tighter still
   below 1500, and the template's own mobile header below 1360 (its default
   switch is at 1024). The CTA never wraps. */
#qodef-page-header .qodef-button.qodef-layout--filled.qodef-html--link {
  white-space: nowrap;
}

@media (max-width: 1800px) {
  .qodef-header--standard .qodef-header-navigation {
    margin-left: 0;
  }

  #qodef-page-header .qodef-header-navigation > ul > li {
    margin: 0 15px;
  }

  #qodef-page-header .qodef-widget-holder {
    margin-left: 30px;
  }

  #qodef-page-header .aguas-lang {
    margin-right: 0;
  }

  #qodef-page-header .qodef-button.qodef-layout--filled.qodef-html--link {
    min-width: 0;
    padding: 0 30px;
  }
}

@media (max-width: 1500px) {
  #qodef-page-header .qodef-header-logo-link {
    height: 44px !important; /* the template sets the logo height inline */
  }

  .qodef-header-standard--left #qodef-page-header-inner .qodef-header-logo-link {
    margin-right: 30px;
  }

  #qodef-page-header .qodef-header-navigation > ul > li {
    margin: 0 10px;
  }

  #qodef-page-header .qodef-widget-holder {
    margin-left: 24px;
  }

  #qodef-page-header .qodef-button.qodef-layout--filled.qodef-html--link {
    padding: 0 24px;
  }
}

#qodef-page-header .qodef-header-navigation > ul > li:first-child {
  margin-left: 0;
}

#qodef-page-header .qodef-header-navigation > ul > li:last-child {
  margin-right: 0;
}

@media (max-width: 1360px) {
  #qodef-page-header {
    display: none;
  }

  #qodef-page-mobile-header {
    display: block;
  }
}

/* Menu opener, closed state: a hamburger in the gold dot (the template leaves
   the dot empty), drawn like its ✕ — white 1 px bars, 14 px in the 28 px dot,
   12 px in the 18 px dot. The first bar's shadow draws the third bar. */
.qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line {
  position: absolute;
  display: block;
  left: 7px;
  width: 14px;
  height: 1px;
  background-color: #fff;
}

.qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line:first-child {
  top: 9px;
  box-shadow: 0 10px 0 #fff;
}

.qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line:last-child {
  top: 14px;
}

@media (max-width: 1024px) {
  .qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line {
    left: 4px;
    width: 10px;
  }

  .qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line:first-child {
    top: 5px;
    box-shadow: 0 8px 0 #fff;
  }

  .qodef-opener-icon .qodef-m-icon.qodef--open .qodef-m-line:last-child {
    top: 9px;
  }
}

/* == language switcher ===================================================== */

/* [aguas_lang_switcher] (Figma 2008:5575): the language code and a chevron in
   the nav's type, before "Contacte-nos"; the other language drops below. */
.aguas-lang {
  position: relative;
  margin-right: 30px;
  font-family: Sarabun, sans-serif;
  font-size: clamp(15px, 0.9375vw, 18px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: 1px;
  color: #000;
}

.aguas-lang__current {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 10px 0;
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.aguas-lang__chevron {
  transition: transform 0.2s ease-out;
}

/* Open on hover or keyboard focus (a tap is a hover on phones). No panel:
   the other codes sit right under the current one, on the header's white. */
.aguas-lang__list {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  z-index: 20;
  margin: 0;
  padding: 0;
  list-style: none;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, visibility 0s 0.2s;
}

.aguas-lang:hover .aguas-lang__list,
.aguas-lang:focus-within .aguas-lang__list {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}

.aguas-lang:hover .aguas-lang__chevron,
.aguas-lang:focus-within .aguas-lang__chevron {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .aguas-lang__list,
  .aguas-lang__chevron {
    transition: none;
  }
}

/* The ids outrank the template's header link colour (teal). */
#qodef-page-header .aguas-lang__list a,
#qodef-page-mobile-header .aguas-lang__list a {
  display: inline-block;
  padding: 4px 0;
  font: inherit;
  letter-spacing: inherit;
  color: #000;
  transition: color 0.2s ease-out;
}

#qodef-page-header .aguas-lang__list a:hover,
#qodef-page-header .aguas-lang__list a:focus-visible,
#qodef-page-mobile-header .aguas-lang__list a:hover,
#qodef-page-mobile-header .aguas-lang__list a:focus-visible,
.aguas-lang:hover .aguas-lang__current,
.aguas-lang:focus-within .aguas-lang__current {
  color: var(--aguas-gold);
}

/* Mobile header: the template prints its widget slot before the logo; keep
   the logo first and the switcher beside "Menu". */
#qodef-page-mobile-header-inner .qodef-mobile-header-logo-link {
  order: 1;
}

#qodef-page-mobile-header-inner .qodef-widget-holder {
  order: 2;
  margin-right: 12px;
  margin-left: auto;
  padding-left: 12px; /* small phones shrink the logo; keep it off the switcher */
}

#qodef-page-mobile-header-inner .qodef-mobile-header-opener {
  order: 3;
  margin-left: 0;
}

/* Switcher and "Menu"/"Fechar" label at the same 14 px. */
#qodef-page-mobile-header .aguas-lang,
#qodef-page-mobile-header .qodef-mobile-header-opener .qodef-m-text {
  font-size: 14px;
}

/* == footer ================================================================ */

/* Figma 2002:5375 at 1920: container 115 px from each side; columns start at
   0 / 860 / 1290 inside it (emblem · menu · contacts); column 4 (newsletter)
   is hidden in the design. Divider at y=493 runs inside the container. */
#qodef-page-footer-top-area-inner,
#qodef-page-footer-bottom-area-inner {
  padding-left: 115px;
  padding-right: 115px;
}

/* Vertical rhythm on the area itself (the template pads it 106/83): the
   divider lands at y=493 as in Figma. */
#qodef-page-footer-top-area {
  padding-top: 108px;
  padding-bottom: 108px;
}

/* No tablet/phone design: keep the template's stacking, with sane margins. */
@media (max-width: 1024px) {
  #qodef-page-footer-top-area-inner,
  #qodef-page-footer-bottom-area-inner {
    padding-left: 40px;
    padding-right: 40px;
  }

  #qodef-page-footer-top-area {
    padding-top: 70px;
    padding-bottom: 50px;
  }

  #qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 680px) {
  #qodef-page-footer-top-area-inner,
  #qodef-page-footer-bottom-area-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (min-width: 1025px) {
  #qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(1) {
    width: 50.888%;
  }
  #qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(2) {
    width: 25.444%;
  }
  #qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(3) {
    width: 23.668%;
  }
}

#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item:nth-child(4) {
  display: none;
}

/* The template caps this image at 230 px with !important; Figma's emblem is 315. */
#qodef-page-footer-top-area .qodef-grid-item:first-child .widget_media_image img {
  width: 315px;
  max-width: 315px !important;
  height: auto;
}

/* No gutters, so the columns start exactly at 0 / 860 / 1290. */
#qodef-page-footer-top-area .qodef-grid-inner {
  margin: 0;
}

#qodef-page-footer-top-area .qodef-grid-inner > .qodef-grid-item {
  padding: 0;
}

#qodef-page-footer .widget_text p {
  margin: 0;
  line-height: inherit;
}

/* Footer instance on the homepage (Figma 2310:9997): Medium 16 px, 1.1 px
   tracking; menu lines 29.92 px on a 49.84 px pitch. */
#qodef-page-footer-top-area .widget_nav_menu ul li {
  margin: 0 0 19.92px;
}

#qodef-page-footer-top-area .widget_nav_menu a,
#qodef-page-footer-top-area .widget_text,
#qodef-page-footer-top-area .widget_text a {
  font-size: 16px;
  font-weight: 500;
  line-height: 28px;
  letter-spacing: 1.1px;
  color: #000;
}

#qodef-page-footer-top-area .widget_nav_menu a {
  line-height: 29.92px;
}

#qodef-page-footer-top-area .widget_text + .widget_text {
  margin-top: 20px;
}

/* Bottom bar: the rule sits inside the container, not edge to edge. */
#qodef-page-footer-bottom-area {
  border-top: 0;
}

#qodef-page-footer-bottom-area-inner .qodef-grid {
  border-top: 1px solid #c4c4c4;
  padding: 16px 0 20.19px;
}

#qodef-page-footer-bottom-area .widget_text,
#qodef-page-footer-bottom-area .widget_text a {
  font-size: 14px;
  font-weight: 500;
  line-height: 14px;
  color: #7d7d7d;
}

/* It wraps on narrow screens: room between the lines. */
@media (max-width: 1024px) {
  #qodef-page-footer-bottom-area .widget_text,
  #qodef-page-footer-bottom-area .widget_text a {
    line-height: 20px;
  }
}

@media (min-width: 1025px) {
  #qodef-page-footer-bottom-area .qodef-grid-item:nth-child(2) {
    text-align: right;
  }
}

/* Back to top: 75 px gold circle, white chevron pointing up. */
#qodef-back-to-top {
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: var(--aguas-gold);
}

#qodef-back-to-top .qodef-back-to-top-icon {
  color: #fff;
  fill: #fff;
}

/* == inicio ================================================================ */

/* Hero (Figma 2310:9714): the photo under a 40 % black veil. The slider fills
   the window below the header; its text and bullets sit bottom-left at x 213
   (Slider Revolution settings). */
.aguas-hero sr7-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
  z-index: 2; /* over the slide's canvas (1), under the text layers (5+) */
}

/* Hero round CTA (Slider Revolution static layer): gold circle, white label. */
.qodef-button.qodef-layout--rounded {
  color: #fff;
  background-color: var(--aguas-gold);
  border-color: var(--aguas-gold);
}

.qodef-button.qodef-layout--rounded:hover {
  color: #fff;
  background-color: var(--aguas-gold-dark);
  border-color: var(--aguas-gold-dark);
}

/* Plain photos (intro pair, tabs left) reveal like the Image with Box ones:
   aguas-reveal.js adds the classes as each scrolls into view. */
.aguas-reveal img {
  -webkit-clip-path: inset(0 0 100% 0);
  clip-path: inset(0 0 100% 0);
  transform: translateY(-50px);
  will-change: transform;
}

.aguas-reveal.aguas-reveal--in img {
  -webkit-clip-path: inset(0 0 0 0);
  clip-path: inset(0 0 0 0);
  transform: translateY(0);
  transition: clip-path 1.2s ease, -webkit-clip-path 1.2s ease, transform 1s ease-out;
}

/* Intro: right photo is 399×432 in Figma (2310:9851). */
.aguas-intro-right .elementor-widget-image img {
  width: 399px;
  height: 432px;
  object-fit: cover;
}

/* Intro: left photo is a 371×450 portrait crop in Figma (2310:9771). */
@media (min-width: 1025px) {
  .aguas-intro .qodef-custom-section-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 371.5 / 450.5;
    object-fit: cover;
  }
}

/* Wave ornaments sized as in Figma (the offset image renders at natural size). */
.aguas-banner .qodef-offset-image-wrapper img {
  width: 560px;
  height: auto;
}

/* Banner wave (Figma 2310:9867): 872 px, flipped and turned 177.81°, at 60 %,
   centred at x 94 and 941 px down the 1000 px banner (cropped at its foot). */
@media (min-width: 1025px) {
  .aguas-banner .qodef-offset-image-wrapper img {
    width: 872px;
    opacity: 0.6;
    transform: translate(-456px, -235px) rotate(177.81deg) scaleY(-1);
  }
}

.aguas-testimonials .qodef-offset-image-wrapper img {
  width: 260px;
  height: auto;
}

/* Testimonial band (Figma 2310:9880): dark-gold stars on a 33 px pitch, the
   quote in Open Sauce 28/43.86, a Pre-title name; the slide is 202.8 px with
   its content centred. */
.aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-inner {
  padding: 5px 0;
}

.aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-stars {
  margin-bottom: 28.4px;
  line-height: 29.92px;
  letter-spacing: 9px;
  color: var(--aguas-gold-dark);
}

/* Figma lets the quote's first line run ~1300 px, past the 1024 px box. */
.aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-text {
  margin: 0 -140px 30px;
  font-family: Sarabun, sans-serif;
  font-size: clamp(20px, 1.4583vw, 28px);
  line-height: 1.5664;
  letter-spacing: 0;
  color: #000;
}

/* Narrower slides: the overhang ran each quote into its neighbours. */
@media (max-width: 1024px) {
  .aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-text {
    margin-right: 0;
    margin-left: 0;
  }
}

/* Phones: the band's wave sits on the quote's line ends. */
@media (max-width: 680px) {
  .aguas-testimonials .qodef-offset-image-holder {
    display: none;
  }
}

.aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-author {
  line-height: 1.2;
}

.aguas-testimonials:not(.aguas-villa-testimonials) .qodef-testimonials-list .qodef-e-author-name {
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--aguas-gold-dark);
}

/* Dark chevrons, as in Figma (the template's are light grey). */
.aguas-testimonials:not(.aguas-villa-testimonials) .swiper-button-prev,
.aguas-testimonials:not(.aguas-villa-testimonials) .swiper-button-next {
  color: #000;
}

/* Its wave (Figma 2310:9881): 872 px, mirrored and turned 0.9°, at 20 %,
   centred at x 1612 and 216 px down the band, cropped by it. */
.aguas-testimonials.elementor-section {
  overflow: hidden;
}

@media (min-width: 1025px) {
  .aguas-testimonials:not(.aguas-villa-testimonials) .qodef-offset-image-wrapper img {
    width: 872px;
    max-width: none;
    opacity: 0.2;
    transform: translate(-590px, -457px) rotate(0.9deg) scaleX(-1);
  }
}

/* Image + box blocks: sand box and gold filled button, as in Figma 2310:9929.
   Only the box is sand; its full-height wrapper beside the photo stays clear. */
.aguas-feature .qodef-image-with-box .qodef-m-content-inner {
  background-color: var(--aguas-sand);
}

.aguas-feature .qodef-image-with-box .qodef-button {
  color: #fff;
  background-color: var(--aguas-gold);
  border-color: var(--aguas-gold);
}

/* Its line takes the button's gold, as on the filled buttons (the template's
   outlined layout draws it black, teal on hover). */
.aguas-feature .qodef-image-with-box .qodef-button:after,
.aguas-feature .qodef-image-with-box .qodef-button:hover:after {
  background-color: var(--aguas-gold);
}

/* Figma 2322:8458 / 2310:9955: photo 717×789 at x 326; the sand box runs
   105 px in from its top and bottom; Pre-title eyebrow, H3 47/1.2 title and
   the 76 px button component. */
@media (min-width: 1025px) {
  .aguas-feature .qodef-image-with-box .qodef-m-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 717.1 / 788.8;
    object-fit: cover;
  }
}

.aguas-feature .qodef-image-with-box .qodef-m-subtitle {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* Both Figma titles take three lines (the first ends on an empty line), so
   the box content is the same height and centres the same way. */
.aguas-feature .qodef-image-with-box .qodef-m-title {
  min-height: 3.6em;
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

.aguas-feature .qodef-image-with-box .qodef-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 0 calc(47px - 3.3px) 0 47px;
  font-size: 14px;
  letter-spacing: 3.3px;
}

/* Offer cards: no category eyebrow in Figma. */
.aguas-offers .qodef-blog .qodef-blog-item .qodef-e-info .qodef-e-info-item.qodef-e-info-category {
  display: none;
}

/* "Ofertas & Destaques": an h2 set as the gold H1 display title (Figma 2310:9980). */
.aguas-display-title .qodef-section-title .qodef-m-title,
.aguas-display-title.elementor-widget .qodef-m-title {
  font-size: clamp(52px, 5.2083vw, 100px);
  line-height: 1.2;
  color: var(--aguas-gold);
}

@media (max-width: 680px) {
  .aguas-display-title .qodef-section-title .qodef-m-title,
  .aguas-display-title.elementor-widget .qodef-m-title {
    font-size: 40px;
  }
}

/* Intro heading: H3 size (47 px) on one line, wider than the text column. */
.aguas-intro .qodef-section-title .qodef-m-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  white-space: nowrap;
}

/* A block across the column: the template's inline-block shrank it to the
   title and sat it at the left edge, so the margins shifted it 90 px left
   instead of giving 90 px more room on each side. */
.aguas-intro .qodef-section-title {
  display: block;
  width: auto;
  margin-left: -90px;
  margin-right: -90px;
}

@media (max-width: 1024px) {
  .aguas-intro .qodef-section-title .qodef-m-title {
    white-space: normal;
  }

  .aguas-intro .qodef-section-title {
    margin-left: 0;
    margin-right: 0;
  }
}

/* Banner (Figma 2310:9854): 1000 px tall at 1920, H2 at 58 px, wave cropped at the bottom-left. */
.aguas-banner {
  overflow: hidden;
}

@media (max-width: 1440px) {
  .aguas-banner.elementor-section-height-min-height > .elementor-container {
    min-height: 52.0833vw;
  }
}

.aguas-banner .qodef-section-title .qodef-m-title {
  font-size: clamp(36px, 3.0208vw, 58px);
  line-height: 1.3;
  letter-spacing: 1.16px;
}

/* Banner line: Body/Large 24/1.4 (set on the widget); the paragraph takes
   that line height instead of the theme's 1.87em. */
.aguas-banner .elementor-widget-text-editor p {
  line-height: inherit;
}

/* Tabs (Figma 2310:9621): a 991 px beige panel (x 480–1427 at 1920) with
   the tab titles centred at x 960, then 150 px of white. The active tab
   shows its subtitle (the item's "image label") and the linked page's
   excerpt. Photos: 418×468 on the left (an image widget, the same for every
   tab) and the active tab's 418×626 photo on the right. */
@media (min-width: 1025px) {
  .elementor-widget-augustine_core_interactive_link_showcase,
  .elementor-widget-augustine_core_interactive_link_showcase > .elementor-widget-container {
    width: 100%;
  }

  .aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list {
    display: block;
    position: relative;
    width: 100%;
    height: 991px;
    margin-bottom: 150px;
    padding: 0;
  }

  .aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list .qodef-m-items {
    position: absolute;
    top: 0;
    left: 25%;
    width: 49.3229%; /* 947 of 1920 */
    max-width: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 261.5px 0 0 0.6771%; /* titles centred at x 960, the panel at 953.5 */
    text-align: center;
    background-color: var(--aguas-beige);
  }

  /* Both photos overlap the panel's edges, in front (the panel is z-index 10). */
  .aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list .qodef-m-images {
    position: absolute;
    top: 202px;
    left: 71.75%;
    width: 21.75%; /* 417.6 of 1920 */
    height: auto;
    aspect-ratio: 417.6 / 626.4; /* the template stacks the photos absolutely */
    margin: 0;
    z-index: 11;
  }

  .aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list .qodef-m-image {
    padding: 0;
  }

  .aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list .qodef-m-image img {
    max-width: none;
    width: 100%;
    height: auto;
    aspect-ratio: 417.6 / 626.4;
    object-fit: cover;
  }

  .aguas-tabs .elementor-element.aguas-tabs-left {
    position: absolute;
    top: 202px;
    left: 6.5%;
    width: 21.75%;
    max-width: 21.75%;
    margin: 0;
    z-index: 11;
  }

  .aguas-tabs .aguas-tabs-left img {
    width: 100%;
    height: auto;
    aspect-ratio: 417.6 / 468.2;
    object-fit: cover;
  }
}

.aguas-tabs .qodef-interactive-link-showcase .qodef-m-item {
  display: block;
  width: 528.6px;
  max-width: 100%;
  margin: 0 0 26px;
  padding: 0;
  letter-spacing: 0;
}

.aguas-tabs .qodef-interactive-link-showcase.qodef-layout--list .qodef-m-item .qodef-e-title {
  display: inline-block;
  font-family: Forum, serif;
  font-size: clamp(30px, 2.3958vw, 46px);
  line-height: 1.3;
  letter-spacing: 0;
  color: var(--aguas-gold);
}

/* Active tab: a short 1 px gold line centred under the title, 79 px at
   46 px (Figma 2310:9643); not the template's full-width black line. */
.aguas-tabs .qodef-interactive-link-showcase .qodef-m-item .qodef-e-title::before {
  display: none;
}

.aguas-tabs .qodef-interactive-link-showcase .qodef-m-item.qodef--active .qodef-e-title::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 1.13em;
  width: 1.724em;
  height: 1px;
  background-color: var(--aguas-gold);
  transform: translateX(-50%);
}

.aguas-tab-text {
  display: none;
  margin-top: 15px;
  padding-bottom: 10.5px; /* Figma's tab panel is 158 px tall */
  font-family: Sarabun, sans-serif;
  font-size: clamp(16px, 1.0417vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--aguas-text);
}

.qodef-m-item.qodef--active .aguas-tab-text {
  display: block;
}

.aguas-tab-text__subtitle,
.aguas-tab-text__body {
  display: block;
}

.aguas-tab-text__subtitle {
  margin-bottom: 21px;
}

/* Homepage offer cards (Figma 2310:9993): 382×405 photo, 58 px gap, a 338 px
   text column centred against the photo; title 27/34, the offer body in
   Body/Default 18/1.5 with its bullet list, "Saiba mais" 20 px below. */
@media (min-width: 1025px) {
  .aguas-offers .qodef-blog-item .qodef-e-inner {
    align-items: center;
  }

  .aguas-offers .qodef-blog-item .qodef-e-media-image img {
    width: 382px;
    height: 405.4px;
    object-fit: cover;
  }

  .aguas-offers .qodef-blog-item .qodef-e-info {
    width: 338.1px;
    flex: 0 0 338.1px;
  }
}

.aguas-offers .qodef-blog-item .qodef-e-title {
  font-size: clamp(22px, 1.4063vw, 27px);
  line-height: 34px;
  letter-spacing: 0;
}

.aguas-offers .qodef-blog-item .qodef-e-excerpt.aguas-offer-body {
  margin-top: 18px;
}

.aguas-offers .aguas-offer-body p,
.aguas-offers .aguas-offer-body li {
  margin: 0;
  line-height: 1.5;
}

.aguas-offers .aguas-offer-body strong {
  font-weight: 400;
}

.aguas-offers .qodef-blog-item .qodef-e-read-more {
  margin-top: 20px;
}

/* Three-photo gallery rows (R-GAL3): uniform 636 px tall, cropped (Figma 650×636). */
@media (min-width: 1025px) {
  .qodef-image-gallery.qodef-layout--columns .qodef-e-inner img,
  .qodef-image-gallery.qodef-col-num--3 img {
    width: 100%;
    height: 636px;
    object-fit: cover;
  }
}

/* Tablets keep Figma's near-square crop; one column (768 and down) uses
   4:3, so mixed portrait and landscape photos stack at one height and the
   smaller ones (Restaurante's third) still fill the width. */
@media (max-width: 1024px) {
  .qodef-image-gallery.qodef-layout--columns .qodef-e-inner img,
  .qodef-image-gallery.qodef-col-num--3 img {
    width: 100%;
    height: auto;
    aspect-ratio: 650 / 636;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .qodef-image-gallery.qodef-layout--columns .qodef-e-inner img,
  .qodef-image-gallery.qodef-col-num--3 img {
    aspect-ratio: 4 / 3;
  }
}

/* == o-espaco ============================================================== */

/* Figma 2017:3656 sets the H1 off the grid at the demo's 5 % inset (x 96);
   smaller screens keep the grid. The intro (4 % section inset) and the
   divider (+37.8 px) carry their Figma offsets in their Elementor settings. */
@media (min-width: 1025px) {
  section.qodef-elementor-content-grid.aguas-espaco-h1 > .elementor-container {
    width: auto;
    margin-right: 0;
    margin-left: 5%;
  }
}

/* Phones stack two-column intros (O Espaço): "Reservar", in the left column, would sit
   between the two texts, so it moves under both. */
@media (max-width: 767px) {
  .aguas-intro .elementor-column:has(.elementor-widget-augustine_core_button):has(+ .elementor-column .elementor-widget-text-editor),
  .aguas-intro .elementor-column:has(.elementor-widget-augustine_core_button):has(+ .elementor-column .elementor-widget-text-editor) > .elementor-widget-wrap {
    display: contents;
  }

  .aguas-intro .elementor-column:has(.elementor-widget-augustine_core_button):has(+ .elementor-column .elementor-widget-text-editor) .elementor-widget {
    width: 100%;
  }

  .aguas-intro .elementor-column:has(.elementor-widget-augustine_core_button):has(+ .elementor-column .elementor-widget-text-editor) .elementor-widget-augustine_core_button {
    order: 1;
  }
}

/* Location copy is Body/Medium 20/1.6, paragraphs one empty line apart (set
   on the widget); see "page intros" for why the paragraphs need help. */
.aguas-espaco-location .elementor-widget-text-editor p {
  margin-top: 0;
  line-height: inherit;
}

.aguas-espaco-location .elementor-widget.elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* Stacked, the copy column followed the address with no gap. */
@media (max-width: 1024px) {
  .aguas-espaco-location > .elementor-container > .elementor-column + .elementor-column {
    margin-top: 30px;
  }
}

/* Location (Figma 2017:3852): eyebrow on a 32 px line, 47 px heading (the
   widget breaks it after "barragem"), address in black Body/Medium. */
.aguas-espaco-location .qodef-section-title .qodef-m-subtitle {
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 2.1px;
}

.aguas-espaco-location .qodef-section-title .qodef-m-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

.aguas-espaco-location .qodef-icon-with-text.aguas-address .qodef-m-title,
.aguas-espaco-location .qodef-icon-with-text.aguas-address .qodef-m-text {
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.6;
  color: #000;
}

/* 3-up testimonials (Figma 2017:3876; the villa pages use the same component):
   Body/Medium quote, Pre-title name. The homepage's 1-up slider keeps its
   display quote. */
.qodef-testimonials-list.qodef-col-num--3 .qodef-e-stars {
  margin-bottom: 22px;
}

.qodef-testimonials-list.qodef-col-num--3 .qodef-e-text {
  margin-bottom: 30px;
  font-family: Sarabun, sans-serif;
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--aguas-text);
}

.qodef-testimonials-list.qodef-col-num--3 .qodef-e-author {
  line-height: 1.2;
}

.qodef-testimonials-list.qodef-col-num--3 .qodef-e-author-name {
  font-weight: 600;
  letter-spacing: 2px;
}

/* Address with pin (icon-with-text). */
.elementor-widget-augustine_core_icon_with_text {
  width: 100%;
}

.qodef-icon-with-text .qodef-m-title,
.qodef-icon-with-text.aguas-address .qodef-m-text {
  font-family: Sarabun, sans-serif;
  font-size: clamp(16px, 0.9375vw, 18px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0;
  color: var(--aguas-text);
  white-space: nowrap;
}

.qodef-icon-with-text.aguas-address .qodef-m-title,
.qodef-icon-with-text.aguas-address .qodef-m-text {
  margin: 0;
  white-space: normal;
}

/* Figma 2151:4733: the pin sits in a 50 px column, 8 px below the text top. */
.qodef-icon-with-text.aguas-address .qodef-m-icon-wrapper {
  margin-top: 8px;
  margin-right: 25px;
}

@media (max-width: 680px) {
  .qodef-icon-with-text .qodef-m-title {
    white-space: normal;
  }
}

/* == alojamento ============================================================ */

/* Page H1 (R-H1): Figma's text box is 1337 wide, so long titles wrap as designed. */
.aguas-h1 .qodef-m-title {
  max-width: 1337px;
}

/* Villa rows (Figma 2151:5374): photo 665×653, text column 665 at +70,
   centred against the photo. */
@media (min-width: 1025px) {
  .qodef-room-gallery-list.qodef-item-layout--standard .qodef-e-media {
    flex: 0 0 685px;
    width: 685px;
  }

  .qodef-room-gallery-list.qodef-item-layout--standard .qodef-e-content {
    flex: 1 1 auto;
    width: auto;
    justify-content: center;
    padding-top: 0;
  }

  .qodef-room-gallery-list .qodef-e-media img {
    width: 100%;
    height: 653px;
    object-fit: cover;
  }
}

/* Villa name: H3 47/1.2, specs 64.8 px below its top. */
.qodef-room-gallery-list .qodef-e-title {
  margin-bottom: 8px;
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

/* Spec lines on the list and the villa page are 16 px (Figma 2151:5394,
   2234:7517): light label, medium gold value, 33.4 px rhythm. */
.qodef-room-gallery-list .aguas-room-specs .aguas-room-specs__item,
.qodef-room-single .aguas-room-specs .aguas-room-specs__item {
  padding-bottom: 3.5px;
  font-size: 16px;
  font-weight: 300;
  line-height: 29.92px;
}

.qodef-room-gallery-list .aguas-room-specs .qodef-e--value,
.qodef-room-single .aguas-room-specs .qodef-e--value {
  font-size: 16px;
  font-weight: 500;
}

.qodef-room-gallery-list .aguas-room-specs .aguas-room-specs__note,
.qodef-room-single .aguas-room-specs .aguas-room-specs__note {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1.96px;
  color: var(--aguas-text);
}

/* Description: Body/Medium 20/1.6, paragraphs one empty line apart; the
   button 31 px below. */
.qodef-room-gallery-list .qodef-e-excerpt p {
  margin: 0 0 32px;
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.6;
}

.qodef-room-gallery-list .qodef-e-button {
  margin-top: 31px;
}

/* Spec lines (list and villa page): grey label, gold uppercase value, 33 px rhythm. */
.aguas-room-specs.qodef-e-info-items {
  margin: 0;
  padding: 0;
}

.aguas-room-specs .aguas-room-specs__item {
  margin: 0;
  font-size: 15px;
  line-height: 33px;
  color: var(--aguas-text);
}

.aguas-room-specs .qodef-e--value {
  margin-left: 4px;
  font-size: 14px;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  color: var(--aguas-gold);
}

.aguas-room-specs .aguas-room-specs__note {
  font-size: 14px;
  letter-spacing: 1px;
  color: #000;
}

.qodef-room-gallery-list .qodef-e-excerpt p:last-child {
  margin-bottom: 0;
}

/* "Brevemente" (Figma 2232:12107): outlined twin of the 76 px gold button, not a link. */
.qodef-button.aguas-soon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  min-height: 76px;
  padding: 0 47px;
  font-size: 14px;
  letter-spacing: 3.3px;
  text-transform: uppercase;
  color: var(--aguas-gold);
  background: transparent;
  border: 1px solid var(--aguas-gold);
  cursor: default;
}

.qodef-button.aguas-soon:after {
  display: none;
}

/* Comodidades band (Figma 2151:5600): 4×2 aligned grid, body-size descriptions. */
.aguas-comodidades-title,
.aguas-comodidades {
  overflow: hidden;
}

.aguas-comodidades-title .qodef-offset-image-wrapper img {
  width: 1029px;
  max-width: none;
  height: auto;
  opacity: 0.35; /* Figma's ornament here is a light sand tone, not gold */
}

/* Figma 2234:8051: the ornament, 871 px wide, mirrored and turned -10.98°,
   at 20 %, centred at x 1724 and 120 px into the band (its turned box runs
   from 410 px above the band to 651 px into it), over the grid. The heading
   section lets it hang into the next section (painted above its background)
   and clips it at the band's top and sides. */
@media (min-width: 1025px) {
  .aguas-comodidades-title.elementor-section {
    position: relative;
    z-index: 1;
    overflow-x: clip;
    overflow-y: visible;
    clip-path: inset(0 0 -700px 0);
  }

  .aguas-comodidades-title .qodef-offset-image-wrapper {
    pointer-events: none;
  }

  .aguas-comodidades-title .qodef-offset-image-wrapper img {
    width: 871px;
    opacity: 0.2;
    transform: translate(99px, -320px) rotate(-10.98deg) scaleX(-1);
  }
}

.aguas-comodidades .qodef-amenity-list .qodef-grid-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 50px;
  align-items: start;
}

/* The template's float clearfix would become a third grid row. */
.aguas-comodidades .qodef-amenity-list .qodef-grid-inner::before,
.aguas-comodidades .qodef-amenity-list .qodef-grid-inner::after {
  display: none;
}

.aguas-comodidades .qodef-amenity-list.qodef-grid > .qodef-grid-inner > .qodef-grid-item {
  width: auto;
  margin-bottom: 0;
  float: none;
}

/* Figma: title 27/37.8, 14.5 px gap (the title wrapper's own 15 px margin),
   light description on 29.92 px lines; rows 50 px apart with no extra item
   margin. Figma sets the descriptions in the template's narrower Sarabun at
   16 px; Open Sauce One at 15 px gives the same line breaks. */
.aguas-comodidades .qodef-amenity-list .qodef-e-title {
  margin: 0;
  font-size: clamp(20px, 1.4063vw, 27px);
  line-height: 1.4;
}

.aguas-comodidades .qodef-amenity-list .qodef-e-description,
.aguas-comodidades .qodef-amenity-list .qodef-e-description p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 29.92px;
}

@media (max-width: 1024px) {
  .aguas-comodidades .qodef-amenity-list .qodef-grid-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* The template's 2-column float width (50 %) halved each grid cell. */
  .aguas-comodidades .qodef-amenity-list.qodef-grid.qodef-responsive--custom.qodef-layout--columns > .qodef-grid-inner > .qodef-grid-item {
    width: auto;
  }
}

@media (max-width: 680px) {
  .aguas-comodidades .qodef-amenity-list .qodef-grid-inner {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 30px;
  }
}

/* Villa page (Figma 2039:4597) -------------------------------------------- */

/* Gallery: 952×536 slides (the photos are 3:2, so they are cropped). */
.single-room .qodef-m-slider .qodef-image-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 952 / 536.3;
  object-fit: cover;
}

/* A villa with one photo gets no slider: the template prints it at full size
   (1920×1281). Keep the slider's strip instead: 536 px tall at 1920, full
   width, 80 px above the title; framed low (the Suites photo is portrait,
   its bed sits in the lower third). */
.qodef-room.qodef-item-layout--slider > .qodef-m-image {
  margin-bottom: 80px;
}

.qodef-room.qodef-item-layout--slider > .qodef-m-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1920 / 536.3;
  object-fit: cover;
  object-position: 50% 72%;
}

@media (max-width: 1024px) {
  .qodef-room.qodef-item-layout--slider > .qodef-m-image img {
    aspect-ratio: 952 / 536.3;
  }
}

/* Description: Body/Medium 20/1.6, paragraphs 25 px apart. */
.qodef-room-single .qodef-e-content .elementor-widget-text-editor {
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.6;
}

.qodef-room-single .qodef-e-content .elementor-widget-text-editor p {
  margin: 0 0 25px;
  line-height: inherit;
}

.qodef-room-single .qodef-e-content .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* The description can sit in two text widgets: keep the 25 px rhythm
   between them (the widget gap is 20 px). */
.qodef-room-single .qodef-e-content .elementor-widget-text-editor + .elementor-widget-text-editor {
  margin-top: 5px;
}

/* The description section ends 20 px below its text; the video section is
   hidden while its button has no video (Q10), and comes back with one. */
.qodef-room-single .qodef-e-content {
  padding-bottom: 20px;
}

.qodef-room-single .qodef-e-content .elementor-section:has(.qodef-video-button):not(:has(.qodef-video-button > *)) {
  display: none;
}

/* Comodidades and Regras da Casa: H4 32/1.4 headings, Body/Medium items;
   house-rule checks in gold on a 42.4 px rhythm. */
.qodef-room-single .qodef-e-amenity-title,
.qodef-room-single .qodef-info--regras-da-casa h5 {
  font-size: clamp(24px, 1.6667vw, 32px);
  line-height: 1.4;
}

.qodef-room-single .qodef-e-amenity .qodef-ei-label {
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 1.6;
}

/* The check icon makes each item 34 px tall; 8.4 px apart gives 42.4. */
.qodef-room .qodef-e-info-items .qodef-e-info-item.qodef-info--regras-da-casa ul li {
  margin-bottom: 8.4px;
  font-size: clamp(16px, 1.0417vw, 20px);
  line-height: 32px;
}

/* Narrow screens wrap the longer rules: the second line lines up with the
   text instead of running under the check. */
@media (max-width: 1024px) {
  .qodef-room .qodef-e-info-items .qodef-e-info-item.qodef-info--regras-da-casa ul li {
    display: flex;
  }
}

/* Its check: 18 px, gold (Figma 2039:4745). */
.qodef-room .qodef-e-info-items .qodef-e-info-item.qodef-info--regras-da-casa ul li::before {
  font-size: 18px;
  color: var(--aguas-gold);
}

/* "Ver mais comodidades" (Figma 2039:4736): like "Saiba mais". */
.qodef-room-single .qodef-amenities-load-more.qodef-button.qodef-layout--textual {
  margin-top: 24px;
  font-size: 12px !important; /* the template prints font-size inline */
  font-weight: 600;
  line-height: 36px;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  color: #000;
}

/* Testemunhos and Outras Villas headings: H2 58/1.3. */
.aguas-villa-testimonials .qodef-section-title .qodef-m-title,
#qodef-room-related-items .qodef-m-title,
#qodef-room-related-items > h2,
#qodef-room-related-items .qodef-related-title {
  font-size: clamp(36px, 3.0208vw, 58px);
  line-height: 1.3;
}

/* Figma ends the article 56.5 px above the testimonials (its "Cancelamento"
   block, still lorem, is not on the site): no list margin, 36.5 + the room
   wrapper's 20 px. */
.qodef-room-single .aguas-rules,
.qodef-room .qodef-e-info-items .qodef-e-info-item.qodef-info--regras-da-casa ul li:last-child {
  margin-bottom: 0;
}

.qodef-room-single .qodef-grid.qodef-layout--template > .qodef-grid-inner > .qodef-grid-item.qodef-page-content-section {
  margin-bottom: 36.5px;
}

/* Testemunhos heading 157 px down the band, the carousel 90 px below it. */
.aguas-villa-testimonials .qodef-section-title {
  margin-bottom: 70px;
}

.aguas-villa-testimonials .qodef-section-title .qodef-m-title {
  margin-top: 0;
}

/* Its wave (Figma 2234:8064): 872 px, mirrored and turned 233.5°, at 20 %,
   centred at x 1780 and 436 px down the band, cropped by it. */
@media (min-width: 1025px) {
  .aguas-villa-testimonials .qodef-offset-image-wrapper img {
    width: 872px;
    max-width: none;
    opacity: 0.2;
    transform: translate(-422px, -390px) rotate(233.5deg) scaleX(-1);
  }
}

/* Related-villa label: on a 6.5 px blur of the photo, no dark fill, 64 px tall (Figma 2039:5169). */
#qodef-room-related-items .aguas-price-label {
  -webkit-backdrop-filter: blur(6.5px);
  backdrop-filter: blur(6.5px);
}

#qodef-room-related-items .qodef-e-price-label {
  line-height: 29.92px;
  background-color: transparent;
}

/* Villa page: H3 title then the spec lines (Figma 2039:4626). */
.qodef-room-single .aguas-room-title {
  margin: 0 0 49px; /* Figma: 75 px title line + 30 px gap */
}

/* The template styles this block as a 58 px display line; here it holds the small spec lines. */
.qodef-room .qodef-e-top-info {
  margin-bottom: 17px;
  font-family: Sarabun, sans-serif;
  font-size: 15px;
  line-height: 33px;
  letter-spacing: 0;
  color: var(--aguas-text);
}

/* Booking box (Figma 2039:5070): 413 wide, 1 px border, centred "preço" / "Sob consulta". */
.aguas-price-box {
  width: 413px;
  max-width: 100%;
  margin-top: 26px;
  margin-left: 0;
  padding: 36px 31px 34px;
  text-align: center;
  border: 1px solid #c4c4c4;
}

.aguas-price-box .aguas-price-box__label {
  margin: 0;
  font-family: Forum, serif;
  font-size: clamp(20px, 1.4063vw, 27px);
  line-height: 38px;
  letter-spacing: 2px;
  color: #000;
}

.aguas-price-box .aguas-price-box__value {
  margin: 30px 0 40px;
  padding: 3.2px 0 7.3px; /* Figma's 40.4 px line box */
  font-size: 16px;
  font-weight: 500;
  line-height: 29.92px;
  letter-spacing: 1.96px;
  text-transform: uppercase;
  color: var(--aguas-gold);
}

/* Suites: "Brevemente" with no button below it. */
.aguas-price-box .aguas-price-box__value:last-child {
  margin-bottom: 0;
}

.aguas-price-box .aguas-price-box__button {
  width: 100%;
}

@media (max-width: 1024px) {
  .aguas-price-box {
    margin-left: 0;
  }
}

/* Testimonials band on villa pages: centred heading as in Figma 2043:4693. */
.aguas-villa-testimonials .qodef-section-title {
  text-align: center;
}

/* "Outras Villas" (Figma 2043:5425): breathing room before the Spa banner. */
#qodef-room-related-items {
  padding-top: 130px;
  padding-bottom: 180px; /* the cards' 50 px gutter + 130 */
}

/* Villa pages end on the full-bleed Spa banner: no gap before the footer (Figma 2050:12809). */
.single-room #qodef-page-inner {
  padding-bottom: 0;
}

/* Its photo: Figma stretches it to 1920 × 1740 and shows rows 677–1377 (the
   skylight at the top, the pool below). Same height and window, unstretched. */
@media (min-width: 1025px) {
  .single-room .elementor-section.elementor-top-section.aguas-banner:not(.elementor-motion-effects-element-type-background) {
    background-size: auto 248.57%;
    background-position: 50% 65.1%;
  }
}

/* == spa-wellness ========================================================== */

/* Gold quote band (Figma 2322:13372): white Titles/H3 47/1.2, two lines,
   19 px in from the section padding (x 293 at 1920); the wave ornament in
   white at low opacity, cropped at the right. */
.aguas-quote-band {
  overflow: hidden;
}

.aguas-quote-band .qodef-call-to-action .qodef-m-content h5 {
  margin: 0;
  padding-left: 0.987vw;
  font-size: clamp(28px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.02em; /* 0.94 px at 47, scaled so the lines still fit below 1920 */
  color: #fff;
}

.aguas-quote-band .qodef-offset-image-wrapper img {
  width: 885px;
  max-width: none;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

/* Its wave (Figma 2322:13407): 872 px, mirrored and turned 0.9°, white at
   20 %, centred at x 1569 and 19 px down the band, cropped by it. */
@media (min-width: 1025px) {
  .aguas-quote-band .qodef-offset-image-wrapper img {
    width: 872px;
    opacity: 0.2;
    transform: translate(-192px, -244px) rotate(0.9deg) scaleX(-1);
  }
}

/* Gallery crops as Figma frames them: the grotto from its left edge, the
   indoor pool from its right edge. */
@media (min-width: 1025px) {
  .aguas-spa-gallery .qodef-e:nth-child(2) img {
    object-position: 0 50%;
  }

  .aguas-spa-gallery .qodef-e:nth-child(3) img {
    object-position: 100% 50%;
  }
}

/* == experiencias ========================================================== */

/* Activity cards (Figma 2030:15101 / 2151:6968): every photo cropped to 658×580,
   title in Titles/H3 47/1.2, card text at the 18/27 body size in Figma's
   647 px text box. */
.aguas-exp-row .qodef-image-with-text .qodef-m-image img {
  width: 100%;
  aspect-ratio: 658 / 580;
  object-fit: cover;
}

.aguas-exp-row .qodef-image-with-text .qodef-m-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

.aguas-exp-row .qodef-image-with-text .qodef-m-text {
  max-width: 647px;
  line-height: 1.5;
}

/* == ofertas-destaques ===================================================== */

/* Offer cards (Figma 2154:8298): 690 wide on a 20 px gutter, 60 px between
   rows, a 1 px grey border, photo 688×527, text inset 30 px, no category
   eyebrow. Cards in a row share its height; the button follows the text. */
.aguas-offers-list .qodef-grid > .qodef-grid-inner {
  display: flex;
  flex-wrap: wrap;
}

.aguas-offers-list .qodef-grid > .qodef-grid-inner > .qodef-grid-item {
  margin-bottom: 60px;
}

.aguas-offers-list .qodef-blog-item .qodef-e-inner {
  height: 100%;
  border: 1px solid #c4c4c4;
}

/* The template's 1.03 image zoom stays, clipped inside the border. */
.aguas-offers-list .qodef-blog-item .qodef-e-media {
  margin: 0;
  overflow: hidden;
}

.aguas-offers-list .qodef-blog-item .qodef-e-media-image img {
  width: 100%;
  aspect-ratio: 688 / 527;
  object-fit: cover;
}

/* Escapadinha Romântica: Figma frames the couple, the photo at 1.444× its
   cover size (left -66.21 %, top -41.8 %), i.e. scaled from this origin. */
.aguas-offers-list .post-11058 .qodef-e-media-image img {
  scale: 1.444;
  transform-origin: 100.15% 94.14%;
}

.aguas-offers-list .qodef-blog-item .qodef-e-content {
  padding: 56px 30px;
}

.aguas-offers-list .qodef-blog-item .qodef-info--top,
.aguas-offers-list .qodef-blog-item .qodef-e-media .qodef-e-info-date {
  display: none;
}

.aguas-offers-list .qodef-blog-item .qodef-e-title {
  margin: 0;
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

/* Offer body: lead, "Inclui:" (regular weight) and the list, 18 px on 33.66 px lines. */
.aguas-offers-list .qodef-blog-item .aguas-offer-body {
  margin-top: 10px;
  line-height: 1.87;
}

.aguas-offer-body p {
  margin: 0;
}

.aguas-offer-body strong {
  font-weight: inherit;
}

.aguas-offer-body ul {
  margin: 0;
  padding-left: 27px;
  list-style: disc;
}

/* "Saiba mais" as the filled gold button (Figma Buttons 2232:12306, 207×76),
   keeping the template's line animation under it. */
.aguas-offers-list .qodef-blog-item .qodef-e-info.qodef-info--bottom {
  margin-top: 45px;
}

.aguas-offers-list .qodef-e-read-more .qodef-button.qodef-layout--textual {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 207px;
  min-height: 76px;
  font-size: 14px;
  letter-spacing: 3.3px;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  background-color: var(--aguas-gold);
}

.aguas-offers-list .qodef-e-read-more .qodef-button.qodef-layout--textual:after {
  width: 100%;
  height: 1px;
  bottom: -4px;
  background-color: var(--aguas-gold);
}

.aguas-offers-list .qodef-e-read-more .qodef-button.qodef-layout--textual:hover {
  color: #fff;
  background-color: var(--aguas-gold-dark);
}

.aguas-offers-list .qodef-e-read-more .qodef-button.qodef-layout--textual:hover:after {
  background-color: var(--aguas-gold-dark);
}

/* == eventos =============================================================== */

/* Template B title band (R-BAND, Figma 2154:7495): the wave ornament at
   Figma's 885 px, mirrored as Figma draws it, gold at 20 % (Figma's
   #eae4d8 on the beige), cropped by the band; a hairline under it. */
.aguas-band {
  border-bottom: 1px solid #dedfd6;
}

.aguas-band .qodef-offset-image-wrapper img {
  width: 885px;
  max-width: none;
  height: auto;
  opacity: 0.2;
  transform: scaleX(-1);
}

/* Band title: Titles/H2 58/1.3, 1.16 px tracking (Figma 2154:7499). */
.aguas-band .qodef-m-title {
  font-size: clamp(36px, 3.0208vw, 58px);
  line-height: 1.3;
  letter-spacing: 1.16px;
}

/* The title's reveal never fires on most phones: Augustine's appear check
   wants it 300 px into a 769-912 px tall window, and the band is at the top. */
@media (max-width: 1024px) {
  .aguas-band .qodef-section-title.qodef-title-alt-appear .qodef-m-title {
    -webkit-clip-path: none;
    clip-path: none;
    transform: none;
  }
}

/* Its wave (Figma 2234:8116): 872 px, turned 0.9° as well, centred at
   x 1569 on the band's top edge. */
@media (min-width: 1025px) {
  .aguas-band .qodef-offset-image-wrapper img {
    width: 872px;
    transform: translate(19px, 5px) rotate(0.9deg) scaleX(-1);
  }
}

/* Eventos gallery (Figma 2154:7892): the first photo at 1.31× its cover
   size, anchored bottom-centre, as Figma frames it; clipped to the photo
   (the item's 15 px side padding is the gutter). */
@media (min-width: 1025px) {
  .aguas-eventos-gallery .qodef-e:first-child {
    clip-path: inset(0 15px);
  }

  .aguas-eventos-gallery .qodef-e:first-child img {
    scale: 1.3096;
    transform-origin: 50% 100%;
  }
}

/* == noticias ============================================================== */

/* News cards (Figma 2154:9208): photo cropped to 382×405, text top-aligned
   beside it; Pre-title category 10 px over a Titles/H5 27/1.4 title; body
   18/1.5. */
.aguas-news-list .qodef-blog.qodef-item-layout--simple article .qodef-e-inner {
  align-items: flex-start;
}

.aguas-news-list .qodef-blog-item .qodef-e-media-image img {
  width: 100%;
  aspect-ratio: 382 / 405.39;
  object-fit: cover;
}

.aguas-news-list .qodef-blog-item .qodef-e-info-category {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.2;
}

.aguas-news-list .qodef-blog .qodef-blog-item .qodef-e-info .qodef-e-info-item.qodef-e-info-category a {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

.aguas-news-list .qodef-blog.qodef-item-layout--simple article .qodef-e-info.qodef-info--right .qodef-e-title {
  line-height: 1.4;
  letter-spacing: 0.54px;
}

.aguas-news-list .qodef-blog-item .qodef-e-excerpt {
  line-height: 1.5;
}

/* News cards (list and related posts): titles stop at 2 lines, excerpts at
   3, with an ellipsis. */
.aguas-news-list .qodef-blog.qodef-item-layout--simple article .qodef-e-info.qodef-info--right .qodef-e-title,
.single-post #qodef-related-posts .qodef-e-title,
.aguas-news-list .qodef-blog-item .qodef-e-excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}

.aguas-news-list .qodef-blog-item .qodef-e-excerpt {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

/* News article (Figma 2035:24252): the rules start from the article itself
   (`.qodef--single > .qodef-blog-item`), so the related cards under it keep
   their own look. Content 90 px under the header. */
.single-post #qodef-page-inner {
  padding-top: 90px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-media-image img {
  width: 100%;
  aspect-ratio: 906.66 / 663.8;
  object-fit: cover;
}

/* Date on a 6.5 px blur and the category over the title: Pre-title 14 px
   SemiBold, 2 px tracking, 1.2 lines. */
#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-media .qodef-e-info-date {
  -webkit-backdrop-filter: blur(6.5px);
  backdrop-filter: blur(6.5px);
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-info-date,
#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-info-category {
  font-size: 14px;
  line-height: 1.2;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-info-date a,
#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-info-category a {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* Title 58/1.2 (Figma 2035:24326). Figma sets it in Forum at -2.32 px; in
   Safira March that reads cramped, so it takes Titles/H2's 1.16 px. */
#qodef-page-content .qodef--single > .qodef-blog-item h1.qodef-e-title {
  font-size: clamp(36px, 3.0208vw, 58px);
  line-height: 1.2;
  letter-spacing: 1.16px;
  color: #000;
}

/* Body 18/1.5. Space between blocks as Figma draws it: 35 px over a quote and
   33 px under it, 68 px over a photo, 30 px between photos, 63 px after. */
#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-text > p {
  line-height: 1.5;
}

/* The template makes the quote inline-block, so its margins add to the
   paragraphs' 10 px instead of collapsing. Its text runs 845 px (Figma). */
#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-text > blockquote {
  margin: 25px 0 23px;
  padding-right: 11.66px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-text > figure {
  margin: 68px 0 0;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-text > figure + figure {
  margin-top: 30px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-e-text > figure + p {
  margin-top: 63px;
}

/* Quote: Titles/H5 tracked 0.54 px, regular cite, the slanted rule in gold. */
#qodef-page-content .qodef--single > .qodef-blog-item blockquote p {
  letter-spacing: 0.54px;
}

/* The template sets the cite's weight and line height with !important. */
#qodef-page-content .qodef--single > .qodef-blog-item blockquote cite {
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

#qodef-page-content .qodef--single > .qodef-blog-item blockquote:before {
  background-color: var(--aguas-gold);
}

/* Two-photo galleries: 439.73×517.78 tiles, 27.2 px apart. */
#qodef-page-content .qodef--single > .qodef-blog-item .wp-block-gallery.has-nested-images {
  --wp--style--unstable-gallery-gap: 27.2px;
  gap: 27.2px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image img {
  height: auto;
  aspect-ratio: 439.73 / 517.78;
}

/* Share links on the left, 56.5 px under the text (the tags column, empty
   here, no longer takes half the row); previous / next 95 px under them. */
#qodef-page-content .qodef--single > .qodef-blog-item {
  margin-bottom: 37px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-info--bottom {
  justify-content: flex-start;
  margin-top: 46.5px;
}

#qodef-page-content .qodef--single > .qodef-blog-item .qodef-info--bottom > div {
  width: auto;
}

/* Share row (augustine-overrides/blog-share.php): Figma's 13 px share glyph
   and 24 px LinkedIn icon, 15 px apart. */
.aguas-share {
  display: flex;
  align-items: center;
  gap: 15px;
}

.aguas-share img {
  display: block;
}

.aguas-share__link:hover {
  opacity: 0.6;
}

/* Previous / next: Pre-title 14 px SemiBold; Figma's 50 px chevrons
   (#c4c4c4) in place of the icon-font glyph. The template's -14 px outer
   margin puts them where Figma does. */
#qodef-single-post-navigation .qodef-m-nav-label {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

#qodef-single-post-navigation .qodef-m-nav .qodef-icon-linea-icons {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  font-size: 0;
  background: url(../icons/arrow-next.svg) no-repeat;
}

#qodef-single-post-navigation .qodef-m-nav.qodef--prev .qodef-icon-linea-icons {
  background-image: url(../icons/arrow-prev.svg);
}

#qodef-single-post-navigation .qodef-m-nav .qodef-icon-linea-icons:before {
  content: none;
}

/* Comments and related posts: Titles/H3 headings (47/1.2); the submit is the
   site's gold button. */
.single-post #reply-title,
.single-post #qodef-related-posts > .qodef-m-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

.single-post #respond .comment-notes {
  line-height: 1.5;
}

.single-post #respond .form-submit .qodef-button {
  min-height: 76px;
  padding: 0 calc(clamp(20px, 2.4479vw, 47px) - 3.3px) 0 clamp(20px, 2.4479vw, 47px); /* 47 at 1920; one line on phones */
  font-size: 14px;
  letter-spacing: 3.3px;
  color: #fff;
  background-color: var(--aguas-gold);
  border-color: transparent;
}

.single-post #respond .form-submit .qodef-button:hover {
  background-color: var(--aguas-gold-dark);
}

/* Its line follows the fill (the template's outlined line is black, teal on hover). */
.single-post #respond .form-submit .qodef-button:after {
  background-color: var(--aguas-gold);
}

.single-post #respond .form-submit .qodef-button:hover:after {
  background-color: var(--aguas-gold-dark);
}

/* Related cards: Titles/H4 32/1.4 titles, Pre-title category. */
.single-post #qodef-related-posts .qodef-e-title {
  font-size: clamp(24px, 1.6667vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.64px;
}

.single-post #qodef-related-posts .qodef-e-info-category a {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* Sidebar: Titles/H4 widget title, Pre-title list 20 px apart. */
.single-post #qodef-page-sidebar .qodef-widget-title {
  font-size: clamp(24px, 1.6667vw, 32px);
  line-height: 1.4;
  letter-spacing: 0.64px;
}

.single-post #qodef-page-sidebar .widget_categories li {
  font-size: 14px;
  line-height: 1.2;
}

.single-post #qodef-page-sidebar .widget_categories li + li {
  margin-top: 21.12px; /* Figma's 37.92 px pitch */
}

/* Sidebar image (Figma 2035:24544): 300×234. The template's widget spacing
   already puts it Figma's 69 px (7 + 52 + 10) under the list. */
.single-post #qodef-page-sidebar .widget figure {
  margin: 0;
}

.single-post #qodef-page-sidebar .widget img {
  display: block;
  width: 300px;
  max-width: 100%;
  height: auto;
  aspect-ratio: 300 / 234;
  object-fit: cover;
}

.single-post #qodef-page-sidebar .widget_categories li a {
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 2px;
}

/* == politicas-legais ====================================================== */

/* The band title is this page's h1 but keeps the band's H2 size (Figma 2226:11531). */
.aguas-band h1.qodef-m-title {
  font-size: clamp(36px, 3.0208vw, 58px);
  line-height: 1.3;
}

/* Numbered sections (Figma 2226:11545): bold heading line, text, and one
   blank line (33.66 px) before the next section. */
.aguas-legal .elementor-widget-text-editor p {
  margin: 0 0 1.87em;
}

.aguas-legal .elementor-widget-text-editor p:last-child {
  margin-bottom: 0;
}

/* == contactos ============================================================= */

/* Figma 2035:23292 sets the H1 off the grid at a 9 % inset (x 172.8), as
   O Espaço does at 5 %; smaller screens keep the grid. */
@media (min-width: 1025px) {
  section.qodef-elementor-content-grid.aguas-contact-h1 > .elementor-container {
    width: auto;
    margin-right: 0;
    margin-left: 9%;
  }
}

/* Text column (Figma 2035:23297): 18/27 lines, one blank line between the
   intro paragraphs (9.5 px over them, 10 px under, as Figma's box), address
   and e-mails in the text colour. */
.aguas-contact .elementor-widget-text-editor p {
  line-height: 1.5;
}

.aguas-contact-intro {
  padding-top: 9.485px;
}

/* Phones stack the columns; the form's column ran to the screen edge (the
   grid is extended to the right), so it gets the grid's 9 % side back. */
@media (max-width: 767px) {
  .aguas-contact.qodef-extended-grid--right > .elementor-container > .elementor-column {
    padding-right: 9vw;
  }
}

.aguas-contact-intro p {
  margin: 0 0 1.5em;
}

.aguas-contact-intro p:last-child {
  margin-bottom: 10px;
}

.aguas-contact .elementor-widget-text-editor a {
  color: inherit;
}

/* "Fale connosco" in Titles/H3 (47/1.2). */
.aguas-contact .qodef-section-title .qodef-m-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  letter-spacing: 0.94px;
}

/* Form (Figma 2035:23337): fields 30 px apart, inputs 55 px tall (8 px over
   and under the text), the acceptance in Body/Light 16 on its own line,
   "Enviar" under it as the filled 163×76 button with its gold line. */
.aguas-contact .wpcf7-form textarea,
.aguas-contact .wpcf7-form input[type="text"],
.aguas-contact .wpcf7-form input[type="email"] {
  margin-bottom: 30px;
}

.aguas-contact .wpcf7-form input[type="text"],
.aguas-contact .wpcf7-form input[type="email"] {
  padding-top: 8px;
  padding-bottom: 8px;
}

.aguas-contact .wpcf7-form .wpcf7-form-control-wrap[data-name="termos"] {
  display: block;
}

.aguas-contact .wpcf7-form .wpcf7-acceptance .wpcf7-list-item {
  display: block;
  margin: 0;
  padding-left: 4px;
}

.aguas-contact .wpcf7-form .wpcf7-acceptance .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 6.95px;
}

.aguas-contact .wpcf7-form .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 16px;
  font-weight: 300;
  line-height: 29.92px;
}

/* Block-level, so no text line (and its baseline gap) wraps it. */
.aguas-contact .wpcf7-form .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-width: 163px;
  min-height: 76px;
  margin-top: 42px;
  font-size: 14px;
  letter-spacing: 3.3px;
}

.aguas-contact .wpcf7-form .wpcf7-submit:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: var(--aguas-gold);
}

/* == qa ==================================================================== */

/* The villa name is its page's <h1> (one per page) but keeps the H3 look
   Figma gives it. (The news title's size is in the noticias block.) */
.qodef-room-single h1.aguas-room-title {
  font-size: clamp(30px, 2.4479vw, 47px);
  line-height: 1.2;
  color: #000;
}

/* == maps ================================================================== */

/* [aguas_map] (Contactos, O Espaço): Google Maps embed, no API key needed. */
.aguas-map iframe {
  display: block;
  width: 100%;
  border: 0;
}

@media (max-width: 1024px) {
  .aguas-map iframe {
    height: 520px;
  }
}

@media (max-width: 680px) {
  .aguas-map {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
  }

  .aguas-map iframe {
    height: 400px;
  }
}
