/*
Theme Name: Lima Freire Contabilidade
Theme URI: https://limafreirecontabilidade.com.br
Author: Lima Freire Contabilidade
Author URI: https://limafreirecontabilidade.com.br
Description: Tema institucional e responsivo personalizado para a Lima Freire Contabilidade, com foco no agronegócio e empresas, incluindo painel de administração próprio para personalização completa de conteúdos, contatos, fotos e serviços.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: limafreire
*/

:root {
  --green: #235131;
  --green-deep: #173e29;
  --green-hover: #164227;
  --green-icon: #326a3c;
  --green-light: #e8efe9;
  --ink: #1d2820;
  --body: #262c27;
  --earth: #946944;
  --earth-hover: #7d5735;
  --cream: #f7f4ec;
  --paper: #fbf9f5;
  --border: #e5e0d7;
  --shadow: 0 12px 35px rgba(32, 52, 35, .09);
  --shadow-hover: 0 16px 40px rgba(32, 52, 35, .16);
  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font: 400 16px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

button {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible {
  outline: 3px solid #bf9457;
  outline-offset: 4px;
}

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

svg {
  display: block;
}

.icon-sprite {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.skip-link {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 1000;
  background: #fff;
  color: var(--green);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: top .2s ease;
}

.skip-link:focus {
  top: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 47px;
  padding: 11px 22px;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 700;
  border-radius: 9px;
  white-space: normal;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease, background-color .2s ease;
  cursor: pointer;
  border: none;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.button-primary {
  background-color: #235131;
  background-image: linear-gradient(105deg, #275b37, #1d492b);
  color: #fff;
}

.button-primary:hover {
  filter: brightness(0.88);
  color: #fff;
}

.button-cream {
  background: #f9f7f0;
  color: #1c2520;
}

.button-cream:hover {
  background: #fff;
  color: var(--green-deep);
}

.button-large {
  min-height: 53px;
  padding: 13px 26px;
  font-size: 16px;
}

.button .icon {
  width: 23px;
  height: 23px;
}

.eyebrow {
  font-size: 14px;
  letter-spacing: .055em;
  line-height: 1.4;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--green);
  margin: 0 0 14px;
}

.eyebrow-earth {
  color: var(--earth);
}

h1, h2, h3, p {
  margin-top: 0;
}

h1, h2 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -.028em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 245, .97);
  border-bottom: 1px solid rgba(45, 47, 36, .09);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background-color .3s ease, border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.site-header.is-scrolled {
  background: rgba(251, 249, 245, .99);
  border-bottom: 1px solid rgba(45, 47, 36, .14);
  box-shadow: 0 8px 24px rgba(23, 62, 41, .07);
}

.site-header.is-scrolled .header-inner {
  min-height: 74px;
}

/* Mobile Menu Backdrop Overlay */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(18, 38, 23, 0.50);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
  pointer-events: none;
}

body.menu-is-open .mobile-menu-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.menu-is-open {
  overflow: hidden;
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  flex: none;
}

.brand img {
  max-height: 48px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #202820;
  position: relative;
  white-space: nowrap;
  transition: color .18s;
  padding-block: 6px;
}

.nav-link:hover, .nav-link.active {
  color: var(--green);
}

.nav-link::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green);
  content: '';
  transform: scaleX(0);
  transition: transform .22s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-cta {
  font-size: 13px;
  min-height: 46px;
  padding: 10px 18px;
}

.header-cta .icon {
  width: 20px;
  height: 20px;
}

.menu-toggle, .mobile-nav-cta {
  display: none;
}

/* Hero Section */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 520px;
  background: #ece7d9;
}

.hero-image {
  position: absolute;
  z-index: -3;
  inset: 0 0 0 38%;
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 53%;
}

.hero-wash {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: linear-gradient(90deg, rgba(248, 245, 237, .98) 0%, rgba(248, 245, 237, .97) 27%, rgba(248, 245, 237, .88) 38%, rgba(248, 245, 237, .55) 49%, rgba(248, 245, 237, .10) 64%, rgba(248, 245, 237, 0) 80%);
}

.hero-lines {
  position: absolute;
  inset: -100px auto auto 43%;
  width: 290px;
  height: 350px;
  border-radius: 50%;
  border: 1px solid rgba(152, 112, 67, .24);
  transform: rotate(32deg);
  pointer-events: none;
}

.hero-lines::after {
  content: '';
  position: absolute;
  inset: 20px;
  border-radius: 50%;
  border: 1px solid rgba(152, 112, 67, .19);
}

.hero-content {
  min-height: 520px;
  display: flex;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 56px;
}

.hero-copy {
  width: min(100%, 620px);
}

.hero-copy h1 {
  font-size: clamp(40px, 4.2vw, 58px);
  line-height: 1.08;
  margin-bottom: 20px;
  max-width: 620px;
}

.hero-description {
  font-size: 17px;
  line-height: 1.55;
  max-width: 500px;
  margin-bottom: 28px;
  color: #353c36;
}

/* Trust Strip */
.trust-strip {
  background: #f6f4ee;
  border-bottom: 1px solid #ece8df;
}

.trust-inner {
  min-height: 104px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  min-height: 60px;
  padding: 12px 28px;
}

.trust-item + .trust-item {
  border-left: 1px solid #dedbd3;
}

.trust-icon {
  width: 44px;
  height: 44px;
  stroke-width: 1.4;
  color: var(--green-icon);
  flex-shrink: 0;
}

.trust-item p {
  margin: 0;
  color: #171c18;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

/* Services */
.section-spacing {
  padding: 80px 0 84px;
}

.section-intro {
  margin-bottom: 36px;
}

.section-intro .eyebrow {
  margin-bottom: 10px;
}

.section-intro h2 {
  font-size: clamp(34px, 3.1vw, 46px);
  line-height: 1.12;
  margin-bottom: 12px;
}

.section-intro > p:last-child {
  font-size: 16px;
  margin-bottom: 0;
  color: #4b524c;
  max-width: 650px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 130px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 22px;
  background: rgba(255, 255, 255, .6);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: background .22s ease, border-color .22s ease, transform .22s ease, box-shadow .22s ease;
  backdrop-filter: blur(8px);
}

.service-card:hover {
  background: #fff;
  border-color: #bdd1bb;
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-card:focus-visible {
  outline-offset: 2px;
}

.service-icon {
  width: 52px;
  height: 52px;
  color: var(--green-icon);
  stroke-width: 1.4;
  flex-shrink: 0;
}

.service-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.service-content strong {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #161c18;
}

.service-content > span {
  font-size: 13px;
  line-height: 1.48;
  color: #454c46;
}

.service-arrow {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 16px;
  height: 16px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .2s, transform .2s;
  color: var(--green);
}

.service-card:hover .service-arrow,
.service-card:focus-visible .service-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* About Section */
.about-section {
  min-height: 460px;
  display: grid;
  grid-template-columns: 50% 50%;
  background: #f6f3ec;
  align-items: stretch;
}

.about-photo {
  min-height: 460px;
  overflow: hidden;
  border-radius: 0 26px 26px 0;
  position: relative;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-content {
  display: flex;
  align-items: center;
  padding: 60px clamp(32px, 5vw, 84px);
}

.about-inner {
  max-width: 660px;
}

.about-content h2 {
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.08;
  margin-bottom: 22px;
}

.about-description {
  font-size: 15.5px;
  max-width: 605px;
  line-height: 1.6;
  margin-bottom: 32px;
  color: #3e4640;
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.about-features > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding: 0 12px;
}

.about-features > div + div {
  border-left: 1px solid #ded9cf;
}

.about-features .icon {
  width: 36px;
  height: 36px;
  color: var(--green);
  stroke-width: 1.45;
}

.about-features span {
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.35;
  color: #222720;
}

/* Real Office / Infrastructure Showcase Gallery */
.gallery-section {
  background: #ece8df;
  padding: 65px 0 70px;
  border-top: 1px solid #e0dbd1;
  border-bottom: 1px solid #e0dbd1;
}

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

.gallery-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
  height: 220px;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

.gallery-card-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(20, 43, 27, 0.92) 0%, rgba(20, 43, 27, 0.6) 70%, transparent 100%);
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .02em;
}

/* Final CTA */
.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  align-items: center;
  background: linear-gradient(110deg, #214b30, #195036 70%, #204d31);
  color: #fff;
}

.cta-photo {
  position: absolute;
  inset: 0 auto 0 0;
  width: 40%;
  z-index: -1;
  overflow: hidden;
  border-radius: 0 44% 44% 0 / 0 100% 100% 0;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.cta-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9, 38, 20, .05), rgba(9, 38, 20, .20));
}

.cta-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 14%;
}

.cta-container {
  display: flex;
  align-items: center;
  min-height: 380px;
}

.cta-copy {
  margin-left: 42%;
  max-width: 760px;
  padding: 44px 0;
}

.cta-copy h2 {
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.1;
  color: #fff;
  margin-bottom: 16px;
}

.cta-copy p {
  font-size: 16px;
  line-height: 1.55;
  max-width: 650px;
  margin-bottom: 24px;
  color: #f5f6ef;
}

/* Footer */
.site-footer {
  background: var(--paper);
  color: #1c251f;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 1.15fr .72fr;
  gap: 40px;
  align-items: center;
  padding-top: 38px;
  padding-bottom: 30px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
}

.footer-logo {
  flex: 0 0 190px;
  display: flex;
  align-items: center;
}

.footer-logo img {
  max-height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.35;
  border-left: 1px solid #aaa99f;
  padding-left: 20px;
  margin: 0;
  max-width: 180px;
  color: #4f5650;
}

.footer-address {
  font-size: 12.5px;
  font-style: normal;
  padding-left: 28px;
  border-left: 1px solid #dfdcd4;
  display: grid;
  gap: 12px;
}

.footer-address > a,
.footer-address > div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  line-height: 1.4;
}

.footer-address a:hover span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.footer-address .icon {
  width: 19px;
  height: 19px;
  color: var(--green);
  stroke-width: 1.75;
  flex-shrink: 0;
}

.footer-contact {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border-left: 1px solid #dfdcd4;
  padding-left: 25px;
}

.footer-contact .button {
  font-size: 13px;
  padding: 10px 16px;
}

.footer-contact .icon {
  width: 19px;
  height: 19px;
}

.footer-bottom {
  border-top: 1px solid #e7e3dc;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 12px;
  color: #62685f;
  padding-block: 16px;
  position: relative;
}

.footer-bottom p {
  margin: 0;
}

/* Developer Badge & Interactive Toast (Muito Propaganda) */
.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: #6a7167;
}

.footer-dev__wrapper {
  position: relative;
  display: inline-flex;
}

.footer-dev__link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  background: rgba(35, 81, 49, 0.05);
  border: 1px solid rgba(35, 81, 49, 0.14);
  border-radius: 20px;
  color: #173e29;
  text-decoration: none;
  font-size: 11.5px;
  transition: all .22s ease;
}

.footer-dev__link:hover {
  background: rgba(35, 81, 49, 0.12);
  border-color: rgba(35, 81, 49, 0.28);
  transform: translateY(-1px);
}

.footer-dev__avatar {
  border-radius: 50%;
  object-fit: contain;
  width: 20px;
  height: 20px;
}

.footer-dev__brand {
  font-weight: 500;
  letter-spacing: -0.01em;
}

.footer-dev__brand strong {
  font-weight: 700;
  color: var(--green);
}

/* Toast Card on Hover */
.footer-dev__toast {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 280px;
  background: #ffffff;
  border: 1px solid #e0ddd5;
  border-radius: 14px;
  padding: 16px;
  box-shadow: 0 16px 38px rgba(18, 38, 23, 0.18);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all .28s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 100;
  text-align: left;
}

.footer-dev__toast::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: #ffffff transparent transparent transparent;
}

.footer-dev__wrapper:hover .footer-dev__toast,
.footer-dev__wrapper:focus-within .footer-dev__toast {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.footer-dev__toast-header {
  margin-bottom: 12px;
}

.footer-dev__toast-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eef6f0;
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 12px;
}

.footer-dev__toast-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #25d366;
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.footer-dev__toast-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.footer-dev__toast-avatar {
  border-radius: 10px;
  border: 1px solid #e5e0d7;
  object-fit: contain;
  width: 44px;
  height: 44px;
  background: #fafafa;
}

.footer-dev__toast-profile strong {
  display: block;
  font-size: 14px;
  color: #173e29;
  line-height: 1.2;
}

.footer-dev__toast-profile span {
  font-size: 11px;
  color: #6a7167;
}

.footer-dev__toast-desc {
  font-size: 12px;
  line-height: 1.45;
  color: #444c45;
  margin: 0 0 12px 0;
}

.footer-dev__toast-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  background: #173e29;
  color: #fff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  transition: background .2s ease;
}

.footer-dev__toast-cta:hover {
  background: #235131;
  color: #fff !important;
}

.back-to-top {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  white-space: nowrap;
  font-weight: 500;
}

.back-to-top:hover {
  color: var(--green);
}

.back-to-top .icon {
  width: 15px;
  height: 15px;
}

/* Floating WhatsApp Button with Pulsing Effect */
.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  z-index: 45;
  background: #25d366;
  background: linear-gradient(135deg, #2fe072, #219e4a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(33, 158, 74, .38);
  transition: transform .22s ease, opacity .22s ease, box-shadow .22s ease;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px) scale(0.9);
}

.floating-whatsapp.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  animation: wa-pulse 2.2s infinite ease-in-out;
}

.floating-whatsapp.is-visible::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0.8;
  animation: wa-ripple 2.2s infinite cubic-bezier(0.25, 0.46, 0.45, 0.94);
  pointer-events: none;
}

@keyframes wa-pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 12px 32px rgba(37, 211, 102, .7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(37, 211, 102, .4);
  }
}

@keyframes wa-ripple {
  0% {
    transform: scale(0.92);
    opacity: 0.85;
  }
  65% {
    transform: scale(1.45);
    opacity: 0;
  }
  100% {
    transform: scale(1.45);
    opacity: 0;
  }
}

.floating-whatsapp:hover {
  animation-play-state: paused;
  transform: translateY(-4px) scale(1.12);
  box-shadow: 0 14px 34px rgba(33, 158, 74, .6);
}

.floating-whatsapp .icon {
  width: 32px;
  height: 32px;
}

/* General WP Content Styles (for page.php, single.php) */
.page-hero {
  background: #ece7d9;
  padding: 60px 0 40px;
  border-bottom: 1px solid #dfdcd4;
}

.page-hero h1 {
  font-size: clamp(34px, 4vw, 48px);
  margin-bottom: 10px;
}

.page-content-area {
  padding: 60px 0;
  min-height: 400px;
}

.entry-content {
  max-width: 860px;
  margin-inline: auto;
  font-size: 17px;
  line-height: 1.7;
}

.entry-content h2 { margin-top: 1.5em; margin-bottom: .6em; }
.entry-content h3 { margin-top: 1.3em; margin-bottom: .5em; }
.entry-content p { margin-bottom: 1.3em; }
.entry-content ul, .entry-content ol { margin-bottom: 1.3em; padding-left: 1.5em; }

/* Responsive Media Queries */
@media (min-width: 1600px) {
  .hero, .hero-content { min-height: 560px; }
  .hero-copy { width: 640px; }
  .about-section, .about-photo { min-height: 480px; }
}

@media (max-width: 1200px) {
  .container { width: min(100% - 72px, 1350px); }
  .header-inner { gap: 20px; }
  .brand img { width: 220px; }
  .main-nav { gap: 22px; }
  .header-cta { padding-inline: 13px; }
  .service-card { gap: 15px; padding: 18px 15px; }
  .service-icon { width: 44px; height: 44px; }
  .about-content { padding: 42px 34px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { gap: 24px; }
  .footer-brand { gap: 14px; }
  .footer-logo { flex-basis: 180px; }
  .footer-logo img { width: 180px; }
  .footer-brand p { padding-left: 14px; }
  .footer-address { padding-left: 20px; }
  .footer-contact { padding-left: 18px; }
}

@media (max-width: 980px) {
  .header-inner { min-height: 76px; }
  .brand img { width: 210px; }
  .header-cta { display: none; }
  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d6dbd2;
    background: #fff;
    color: var(--green);
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
  }
  .menu-toggle:hover {
    background: #fbf9f5;
    border-color: #bdd1bb;
    transform: scale(1.04);
  }
  .menu-toggle .icon {
    width: 24px;
    height: 24px;
    transition: transform .3s cubic-bezier(0.16, 1, 0.3, 1), opacity .25s ease;
  }
  .menu-toggle .close-icon {
    position: absolute;
    opacity: 0;
    transform: rotate(-90deg) scale(0.6);
    pointer-events: none;
  }
  .menu-toggle .menu-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
  .menu-toggle[aria-expanded="true"] .menu-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0.6);
  }
  .menu-toggle[aria-expanded="true"] .close-icon {
    opacity: 1;
    transform: rotate(0) scale(1);
  }
  .main-nav {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 105;
    padding: 16px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: #ffffff;
    border-top: 1px solid #f0ede6;
    border-bottom: 2px solid #ded9cf;
    box-shadow: 0 24px 50px rgba(18, 38, 23, .22);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .26s cubic-bezier(0.16, 1, 0.3, 1), opacity .22s ease, visibility .26s;
    border-radius: 0 0 18px 18px;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav-link {
    padding: 13px 18px;
    font-size: 16px;
    font-weight: 600;
    color: #17241a;
    border-radius: 9px;
    border-left: 3px solid transparent;
    background: transparent;
    opacity: 0;
    transform: translateX(-10px);
    transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .22s ease, opacity .22s ease;
    display: flex;
    align-items: center;
  }
  .nav-link:hover, .nav-link.active {
    background: #eef5f0;
    border-left-color: var(--green);
    color: var(--green);
    transform: translateX(3px);
  }
  .nav-link::after { display: none; }
  .main-nav.open .nav-link:nth-child(1) { transition-delay: .05s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-link:nth-child(2) { transition-delay: .09s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-link:nth-child(3) { transition-delay: .13s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-link:nth-child(4) { transition-delay: .17s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-link:nth-child(5) { transition-delay: .21s; opacity: 1; transform: translateX(0); }
  .main-nav.open .nav-link:nth-child(6) { transition-delay: .25s; opacity: 1; transform: translateX(0); }
  .mobile-nav-cta {
    display: inline-flex;
    margin-top: 14px;
    align-self: stretch;
    justify-content: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .3s ease .28s, transform .3s ease .28s, filter .2s ease;
    box-shadow: 0 6px 18px rgba(35, 81, 49, 0.22);
  }
  .main-nav.open .mobile-nav-cta {
    opacity: 1;
    transform: translateY(0);
  }
  .hero-copy h1 { font-size: 48px; }
  .hero-image { left: 31%; }
  .hero-wash {
    background: linear-gradient(90deg, rgba(248, 245, 237, .99) 0%, rgba(248, 245, 237, .95) 32%, rgba(248, 245, 237, .80) 48%, rgba(248, 245, 237, .10) 85%);
  }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-section { grid-template-columns: 46% 54%; }
  .about-photo { min-height: 450px; }
  .about-content h2 { font-size: 36px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-brand { grid-column: 1; align-items: flex-start; flex-direction: column; gap: 8px; }
  .footer-brand p { border: 0; padding: 0; max-width: 280px; }
  .footer-address { grid-column: 2; grid-row: 1/3; }
  .footer-contact { grid-column: 1; border: 0; justify-content: flex-start; padding: 0; min-height: auto; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 36px, 1350px); }
  .header-inner { min-height: 70px; }
  .brand img { width: 195px; }
  .hero { min-height: 0; display: flex; flex-direction: column; }
  .hero-image {
    position: relative;
    inset: auto;
    width: 100%;
    height: 260px;
    order: 2;
    z-index: auto;
  }
  .hero-image img { object-position: center 61%; }
  .hero-wash {
    position: absolute;
    inset: 0 0 255px;
    background: linear-gradient(180deg, #f6f3ec 0%, #f7f4ec 80%, rgba(247, 244, 236, .85) 100%);
    z-index: -1;
  }
  .hero-lines { top: -125px; left: 64%; opacity: .6; }
  .hero-content {
    min-height: unset;
    padding-top: 48px;
    padding-bottom: 38px;
    order: 1;
  }
  .hero-copy { width: 100%; max-width: 555px; }
  .eyebrow { font-size: 12px; letter-spacing: .045em; }
  .hero-copy h1 { font-size: clamp(36px, 7.8vw, 50px); line-height: 1.08; margin-bottom: 16px; }
  .hero-description { font-size: 16px; margin-bottom: 22px; }
  .button-large { font-size: 15px; }
  .trust-inner { min-height: unset; grid-template-columns: 1fr; gap: 0; padding-block: 14px; }
  .trust-item { justify-content: flex-start; gap: 17px; min-height: 64px; padding: 10px 12px; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid #e1dfd7; }
  .trust-icon { width: 36px; height: 36px; }
  .trust-item p { font-size: 14px; }
  .trust-item br { display: none; }
  .section-spacing { padding: 56px 0 60px; }
  .section-intro { margin-bottom: 25px; }
  .section-intro h2 { font-size: clamp(32px, 7vw, 42px); }
  .section-intro > p:last-child { font-size: 15px; }
  .services-grid { gap: 12px; }
  .service-card { min-height: 130px; padding: 16px; gap: 14px; }
  .service-icon { width: 42px; height: 42px; }
  .service-content strong { font-size: 15px; }
  .service-content > span { font-size: 12px; }
  .about-section { grid-template-columns: 1fr; }
  .about-photo { min-height: unset; height: 320px; border-radius: 0 0 22px 22px; }
  .about-content { padding: 45px 18px 50px; }
  .about-inner { width: 100%; max-width: 640px; margin-inline: auto; }
  .about-content h2 { font-size: clamp(34px, 7vw, 42px); }
  .about-description { font-size: 15px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-card { height: 160px; }
  .final-cta { display: flex; flex-direction: column; }
  .cta-photo { position: relative; width: 100%; height: 260px; border-radius: 0; border: 0; }
  .cta-photo img { object-position: center 14%; }
  .cta-container { min-height: unset; }
  .cta-copy { margin: 0; padding: 38px 0 42px; }
  .cta-copy h2 { font-size: clamp(32px, 7vw, 42px); }
  .cta-copy p { font-size: 15px; }
  .footer-inner { padding-top: 34px; grid-template-columns: 1fr; gap: 24px; }
  .footer-brand, .footer-address, .footer-contact { grid-column: auto; grid-row: auto; }
  .footer-brand { flex-direction: row; gap: 18px; align-items: center; }
  .footer-logo { flex-basis: 180px; }
  .footer-logo img { width: 180px; }
  .footer-brand p { border-left: 1px solid #ccc6bb; padding-left: 15px; font-size: 12px; }
  .footer-address { padding-left: 0; border: 0; border-top: 1px solid #e7e3db; padding-top: 22px; font-size: 13px; }
  .footer-contact { padding-top: 2px; }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 16px;
    padding-block: 22px;
  }
  .footer-dev {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container { width: min(100% - 28px, 1350px); }
  .brand img { width: 185px; }
  .main-nav { padding-inline: 18px; }
  .hero-content { padding-top: 40px; padding-bottom: 30px; }
  .hero-copy h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-image { height: 210px; }
  .hero-description { font-size: 15px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 100px; gap: 16px; }
  .service-icon { width: 44px; height: 44px; }
  .service-content strong { font-size: 16px; }
  .service-content > span { font-size: 13px; }
  .about-photo { height: 250px; }
  .about-content { padding-inline: 16px; }
  .about-features > div { padding-inline: 4px; }
  .about-features span { font-size: 12px; }
  .about-features .icon { width: 32px; height: 32px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-card { height: 200px; }
  .cta-photo { height: 220px; }
  .cta-photo img { object-position: center 14%; }
  .cta-copy h2 br { display: none; }
  .cta-copy .button { font-size: 13.5px; padding-inline: 14px; }
  .footer-brand { align-items: flex-start; gap: 12px; }
  .footer-logo { flex-basis: 50%; }
  .footer-logo img { width: 100%; }
  .footer-brand p { font-size: 11px; padding-left: 10px; }
  .floating-whatsapp { width: 52px; height: 52px; right: 16px; bottom: 16px; }
  .footer-bottom { font-size: 10.5px; }
}

/* ========================================================
   Site-Wide Animations (Smooth, Subtle & Premium)
   ======================================================== */

/* Hero Entrance Animations */
.hero-copy {
  animation: heroCopyIn .95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-image img {
  animation: heroImageIn 1.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroCopyIn {
  0% {
    opacity: 0;
    transform: translateY(28px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroImageIn {
  0% {
    transform: scale(1.06);
  }
  100% {
    transform: scale(1);
  }
}

/* Scroll Reveal Classes (Driven by IntersectionObserver) */
.reveal-fade-up,
.reveal-fade-left,
.reveal-fade-right,
.reveal-card,
.reveal-item {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .8s cubic-bezier(0.16, 1, 0.3, 1), transform .8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-fade-up {
  transform: translateY(32px);
}

.reveal-fade-left {
  transform: translateX(-36px);
}

.reveal-fade-right {
  transform: translateX(36px);
}

.reveal-card {
  transform: translateY(28px) scale(0.985);
}

.reveal-item {
  transform: translateY(22px);
}

/* Revealed State */
.is-revealed {
  opacity: 1 !important;
  transform: translate(0, 0) scale(1) !important;
}

/* Enhanced Interactive Hover Animations */
.service-card {
  transition: transform .28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .28s ease, border-color .28s ease, background-color .28s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: #a7c5a5;
  box-shadow: 0 16px 36px rgba(32, 52, 35, .12);
}

.service-card:hover .service-icon {
  transform: scale(1.08);
  transition: transform .28s ease;
}

.service-icon {
  transition: transform .28s ease;
}

.service-arrow {
  transition: opacity .25s ease, transform .25s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-arrow {
  transform: translateX(3px);
}

.gallery-card {
  transition: transform .32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow .32s ease;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(23, 62, 41, 0.16);
}

.gallery-card-badge {
  transition: transform .3s ease, background .3s ease;
}

.gallery-card:hover .gallery-card-badge {
  transform: translateY(-2px);
}

.trust-item {
  transition: transform .25s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
}

.about-features > div {
  transition: transform .25s ease;
}

.about-features > div:hover {
  transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
  .reveal-fade-up,
  .reveal-fade-left,
  .reveal-fade-right,
  .reveal-card,
  .reveal-item,
  .hero-copy,
  .hero-image img {
    opacity: 1 !important;
    transform: none !important;
  }
}

