/* FL Surfaces - Stone & Tile */

/* ── GOOGLE FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ── CUSTOM FONTS ── */
@font-face {
  font-family: 'Higuen';
  src: url('../fonts/Higuen.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'StoneCrush';
  src: url('../fonts/StoneCrush.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Scorety';
  src: url('../fonts/Scorety.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --gold: #C9A84C;
  --gold-light: #E0C97A;
  --gold-dark: #A07830;
  --transition: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  color: #333;
  background: #fff;
}

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

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ── HEADER ── */
.top-bar { display: none; }

header {
  background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    url('../images/header.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 40px 0;
  border-bottom: 1px solid #d8d0c8;
  position: relative;
  width: 100%;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: background 0.45s ease, box-shadow 0.45s ease, border-color 0.45s ease;
}

header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

/* ── HERO-PAGE: transparent header over full-height image ── */
body.hero-page header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body.hero-page header.scrolled {
  background:
    linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.55)),
    url('../images/header.png') center/cover no-repeat;
  border-bottom-color: #d8d0c8;
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

/* Logo-white.png on hero: no white card needed, logo is already white */
body.hero-page header:not(.scrolled) .logo {
  background: transparent;
  padding: 8px 18px;
  box-shadow: none;
}

/* Nav links white over image */
body.hero-page header:not(.scrolled) nav {
  border-top-color: rgba(255,255,255,0.18);
}
body.hero-page header:not(.scrolled) nav ul li a {
  color: rgba(255,255,255,0.92);
}
body.hero-page header:not(.scrolled) nav ul li a:hover,
body.hero-page header:not(.scrolled) nav ul li a.active {
  color: var(--gold);
}
body.hero-page header:not(.scrolled) nav ul li + li::before {
  color: rgba(255,255,255,0.30);
}
/* ── HOME: bigger nav links ── */
body.hero-page nav ul li a {
  font-size: 20px;
  letter-spacing: 4px;
  padding: 25px 40px 28px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55);
}


.logo {
  margin-bottom: 28px;
}

.logo img {
  height: 203px;
  width: auto;
  transition: transform var(--transition), filter var(--transition);
}

.logo img:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 2px 8px rgba(201,168,76,0.3));
}
/* ── HOME: Logo-white.png — slightly larger ── */
body.hero-page .logo img {
  height: 240px;
}
@media (max-width: 768px) {
  body.hero-page .logo img { height: 70px; }
}


nav {
  width: 100%;
  border-top: 1px solid #e8e8e8;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
}

nav ul li {
  position: relative;
}

nav ul li + li::before {
  content: '|';
  color: #ccc;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  pointer-events: none;
}

nav ul li a {
  display: block;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  padding: 16px 32px;
  transition: color var(--transition);
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 60%;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--gold);
}

/* ── HERO ── */
.hero {
  background: #1a1a1a url('../images/index-1.png') center/cover no-repeat;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  color: #fff;
  position: relative;
  padding-bottom: 14vh;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.18);
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 110px;
  font-weight: normal;
  letter-spacing: 44px;
  text-indent: 44px; /* compensate first letter shift */
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: 0 2px 32px rgba(0,0,0,0.28);
}

.hero-divider {
  width: 120px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 30px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 10px;
}

.hero-buttons a {
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 28px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.hero-buttons a:hover {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  transform: translateY(-3px);
}

/* ── ABOUT STRIP ── */
.about-strip {
  background: #f7f7f7;
  padding: 60px 80px;
  text-align: center;
}

.about-strip h2 {
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 16px;
}

.about-strip p {
  font-size: 15px;
  line-height: 1.9;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
}

/* ── SECTION TITLE ── */
.section-title {
  text-align: center;
  padding: 50px 20px 20px;
}

.section-title h2 {
  font-family: 'StoneCrush', 'Georgia', serif;
  font-size: 36px;
  font-weight: normal;
  letter-spacing: 10px;
  text-transform: uppercase;
  color: #111;
}

.section-title .divider {
  width: 80px;
  height: 2px;
  background: var(--gold);
  margin: 14px auto 0;
}

/* ── SERVICE TABS ── */
.service-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  padding: 30px 40px;
  border-bottom: 1px solid #e0e0e0;
}

.service-tabs a,
.service-tabs button {
  border: 1px solid #ccc;
  margin: 4px;
  padding: 11px 26px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #333;
  background: #fff;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.service-tabs a:hover,
.service-tabs button:hover {
  background: #111;
  color: #fff;
  border-color: #111;
}

.service-tabs a.active,
.service-tabs button.active {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
  font-weight: bold;
}

/* ── SERVICE PHOTO GRID ── */
.service-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 30px 6px 50px;
  min-height: 200px;
}

.service-photos .photo-wrap {
  display: block;
}

.service-photos .photo-wrap.hidden {
  display: none;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 36px 20px;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.cta-banner h2 {
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cta-banner a {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 2px;
  transition: color 0.2s;
}

.cta-banner a:hover { color: var(--gold-light); }

/* ── PHOTO GRID ── */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 10px 6px 40px;
}

.photo-grid img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.photo-grid > div, .photo-grid-item {
  overflow: hidden;
}

.photo-grid img:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

/* wrapper for zoom effect */
.photo-grid {
  overflow: hidden;
}

.photo-grid-wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 10px 6px 40px;
}

.photo-grid-wide img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.photo-grid-wide img:hover {
  transform: scale(1.06);
  opacity: 0.92;
}

/* ── PARTNER LOGOS ── */
.partners {
  background: #f9f9f9;
  padding: 40px 80px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  justify-items: center;
  align-items: center;
  gap: 28px 24px;
}
/* 13th logo: centralizar na linha sozinha */
.partners img:last-child {
  grid-column: 1 / -1;
  justify-self: center;
}

.partners img {
  height: 50px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter 0.4s ease, opacity 0.4s ease, transform 0.3s ease;
}

.partners img:hover {
  filter: none;
  opacity: 1;
  transform: scale(1.1);
}

/* ── MATERIALS GRID ── */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 20px 60px 60px;
}

.material-card {
  text-align: center;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.material-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.13);
}

.material-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  transition: transform 0.5s ease;
}

.material-card:hover img {
  transform: scale(1.07);
}

.material-card span {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
  transition: color var(--transition);
}

.material-card:hover span {
  color: var(--gold-dark);
}

/* ── CONTACT ── */
.contact-hero {
  width: 100%;
  max-height: 320px;
  overflow: hidden;
}

.contact-hero img {
  width: 100%;
  object-fit: cover;
  max-height: 320px;
}

.contact-body {
  display: flex;
  flex-wrap: wrap;
  gap: 60px;
  padding: 60px 80px;
  justify-content: center;
}

.contact-form {
  flex: 1;
  min-width: 280px;
  max-width: 480px;
}

.contact-form h2 {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #111;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--gold);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #bbb;
  padding: 10px 0;
  margin-bottom: 20px;
  font-size: 13px;
  font-family: inherit;
  outline: none;
  background: transparent;
}

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

.contact-form button {
  background: var(--gold);
  color: #111;
  border: none;
  padding: 12px 36px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.contact-form button:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(160,120,48,0.4);
}

.contact-info {
  min-width: 200px;
}

.contact-info h2 {
  font-size: 13px;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: #111;
}

.contact-info p {
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin-bottom: 16px;
}

.contact-info strong {
  color: #111;
  display: block;
  letter-spacing: 1px;
}

.contact-info a { color: #555; transition: color 0.2s; }
.contact-info a:hover { color: #111; }

/* ── FOOTER ── */
footer {
  background: #111;
  color: #aaa;
  padding: 54px 40px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}

.footer-logo img {
  height: 81px;
  width: auto;
  opacity: 0.65;
  transition: opacity 0.3s;
}

.footer-logo img:hover {
  opacity: 1;
}

footer nav {
  width: auto;
  border-top: none;
}

footer nav ul {
  gap: 24px;
  justify-content: center;
}

footer nav ul li::before {
  display: none;
}

footer nav ul li a {
  color: #888;
  font-size: 11px;
  letter-spacing: 2px;
  padding: 4px 0;
}

footer nav ul li a::after { display: none; }
footer nav ul li a:hover { color: #fff; }
footer nav ul li a.active { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 22px;
  align-items: center;
}

.footer-social a {
  color: #666;
  display: flex;
  align-items: center;
  transition: color 0.25s;
}

.footer-social a:hover { color: #fff; }

.footer-bottom {
  background: #0a0a0a;
  text-align: center;
  padding: 12px;
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
}

/* ── PAGE HERO ── */
.page-hero {
  background: #111;
  padding: 60px 40px 60px;
  text-align: center;
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 46px;
  font-weight: normal;
  letter-spacing: 14px;
  text-transform: uppercase;
}

/* ── GALLERY PAGE ── */
.gallery-intro {
  text-align: center;
  padding: 30px 20px 10px;
  font-size: 13px;
  letter-spacing: 1px;
  color: #777;
}

.gallery-intro a { color: #333; border-bottom: 1px solid #bbb; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  header { padding: 16px 20px 0; }
  .logo img { height: 60px; }
  .page-hero { padding-top: 40px; }
  nav ul { gap: 0; flex-wrap: wrap; justify-content: center; }
  nav ul li + li::before { display: none; }
  nav ul li a { padding: 10px 14px; font-size: 11px; letter-spacing: 1.5px; }
  .hero h1 { font-size: 40px; letter-spacing: 8px; }
  .about-strip { padding: 40px 24px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-grid-wide { grid-template-columns: repeat(2, 1fr); }
  .materials-grid { grid-template-columns: repeat(2, 1fr); padding: 20px 20px 40px; }
  .contact-body { padding: 40px 24px; }
  footer { padding: 40px 24px 30px; gap: 20px; }
  footer nav ul { gap: 14px; flex-wrap: wrap; justify-content: center; }
}

/* ══════════════════════════════════════════
   AREA 1 — PERFORMANCE SECTION
══════════════════════════════════════════ */
.perf-section {
  display: flex;
  align-items: stretch;
  justify-content: center;
  min-height: 500px;
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: 0 40px;
}

/* Vertical "PERFECTION" label */
.perf-side-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg) translateY(20px);
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 14px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #555;
  padding: 40px 20px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #ebebeb;
  opacity: 0;
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.perf-side-label.animate-in {
  opacity: 1;
  transform: rotate(180deg) translateY(0);
}

/* Tags column */
.perf-tags-col {
  flex: 0 0 auto;
  min-width: 240px;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 60px 32px 60px 0;
}

.perf-tags {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.tag-item {
  background: var(--gold);
  color: #fff;
  font-family: 'StoneCrush', 'Bebas Neue', sans-serif;
  font-size: 17px;
  letter-spacing: 4px;
  text-transform: uppercase;
  padding: 16px 42px 16px 26px;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 50%, calc(100% - 18px) 100%, 0 100%);
  cursor: default;
  white-space: nowrap;
  /* animation starts off-screen to the RIGHT — slides left */
  opacity: 0;
  transform: translateX(160px);
}

.tag-item.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.tag-item:hover {
  background: #111;
  color: #fff;
}

/* Text column */
.perf-text-col {
  flex: 0 1 560px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 40px 60px 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.perf-text-col.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.perf-text-col h2 {
  font-family: 'StoneCrush', 'Bebas Neue', sans-serif;
  font-size: 48px;
  letter-spacing: 3px;
  line-height: 1.1;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 22px;
  font-weight: normal;
}

.perf-divider {
  width: 100%;
  height: 2px;
  background: var(--gold);
  margin-bottom: 24px;
}

.perf-text-col p {
  font-size: 15px;
  line-height: 1.9;
  color: #666;
  max-width: 480px;
  text-align: justify;
}

/* ══════════════════════════════════════════
   AREA 2 — GALLERY GRID WITH HOVER OVERLAY
══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 0 0 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}

.gallery-overlay span {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 22px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  background: rgba(0, 0, 0, 0.42);
}

.gallery-item:hover .gallery-overlay span {
  opacity: 1;
  transform: translateY(0);
}

/* ══════════════════════════════════════════
   AREA 3 — CTA IMAGE SECTION
══════════════════════════════════════════ */
.cta-image-section {
  position: relative;
  min-height: 600px;
  margin-top: 70px;
  background-color: #555;
  background-image:
    linear-gradient(rgba(0,0,0,0.10), rgba(0,0,0,0.10)),
    url('../images/index-3.png'),
    url('https://expostonecorp.com/wp-content/uploads/2019/09/DSC_5717.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Vertical "EXCELLENCE" side text */
.cta-side-text {
  position: absolute;
  left: 32px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 11px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  /* animate in from left */
  opacity: 0;
  animation: fadeInLeft 1.2s ease 0.4s forwards;
}

.cta-image-content {
  text-align: center;
  color: #fff;
  padding: 40px 20px;
  opacity: 0;
  animation: fadeInUp 1s ease 0.2s forwards;
}

.cta-line {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 24px;
}

.cta-image-content h2 {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 46px;
  font-weight: normal;
  letter-spacing: 10px;
  text-transform: uppercase;
  margin-bottom: 24px;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}

.cta-btn {
  display: inline-block;
  background: #fff;
  border: 1px solid #fff;
  color: var(--gold);
  padding: 13px 38px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-top: 8px;
  transition: background var(--transition), color var(--transition), transform var(--transition), border-color var(--transition);
}

.cta-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-2px);
}

/* ── PHOTO WRAP (recent projects) ── */
.photo-wrap {
  overflow: hidden;
  line-height: 0;
}

.photo-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.photo-wrap img:hover {
  transform: scale(1.06);
}

/* ── KEYFRAMES ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateY(-50%) rotate(-90deg) translateX(-20px); }
  to   { opacity: 0.25; transform: translateY(-50%) rotate(-90deg) translateX(0); }
}

/* ── RESPONSIVE AREAS ── */
@media (max-width: 900px) {
  .perf-section { flex-direction: column; padding: 0; }
  .perf-side-label { writing-mode: horizontal-tb; transform: none; border-right: none; border-bottom: 1px solid #ebebeb; padding: 16px 40px; letter-spacing: 8px; }
  .perf-tags-col { flex: none; max-width: 100%; border-right: none; padding: 30px 24px; }
  .perf-text-col { flex: none; min-width: unset; padding: 30px 24px 50px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-image-content h2 { font-size: 30px; letter-spacing: 6px; }
  .cta-side-text { display: none; }
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.lightbox.open {
  display: flex;
  animation: fadeInUp 0.25s ease;
}

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.3);
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  animation: fadeInUp 0.3s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  color: #fff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s, color 0.2s;
  font-weight: 300;
  font-family: sans-serif;
}

.lightbox-close:hover { opacity: 1; color: var(--gold); }

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 44px;
  padding: 8px 20px;
  cursor: pointer;
  line-height: 1;
  font-family: sans-serif;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: var(--gold); color: #111; }

/* ── CONTACT BG PAGE (legacy) ── */
.contact-bg {
  min-height: calc(100vh - 160px);
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
    url('https://expostonecorp.com/wp-content/uploads/2020/01/Expo-Granite-Best-Stone-and-Marble-Interiors-Custom-Fabrications-e1579560888919.jpg')
    center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.contact-card {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  max-width: 880px;
  width: 100%;
  padding: 50px 56px 44px;
  box-shadow: 0 12px 60px rgba(0,0,0,0.25);
}

.contact-card-title {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 28px;
  font-weight: normal;
  letter-spacing: 6px;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 36px;
}

.contact-card-form .contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}

.contact-card-form input,
.contact-card-form textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #bbb;
  background: transparent;
  padding: 12px 4px;
  margin-bottom: 22px;
  font-size: 13px;
  font-family: 'Georgia', serif;
  color: #333;
  outline: none;
  transition: border-color var(--transition);
}

.contact-card-form input:focus,
.contact-card-form textarea:focus {
  border-bottom-color: var(--gold);
}

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

.contact-card-form button {
  display: block;
  width: 100%;
  background: var(--gold);
  color: #111;
  border: none;
  padding: 15px;
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  cursor: pointer;
  margin-top: 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.contact-card-form button:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* Info row at bottom */
.contact-card-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

.info-block {
  flex: 1;
  min-width: 160px;
  font-size: 13px;
  line-height: 1.8;
  color: #555;
}

.info-block strong {
  display: block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #111;
  margin-bottom: 6px;
}

.info-block a {
  color: var(--gold-dark);
  transition: color var(--transition);
}
.info-block a:hover { color: var(--gold); }

/* ══════════════════════════════════════════
   GALLERY PAGE — 9 Service Cards
══════════════════════════════════════════ */
.svc-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  padding: 28px 40px;
  border-bottom: 1px solid #e0e0e0;
}
.svc-btn {
  border: 1px solid #ccc;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
  background: #fff;
  cursor: pointer;
  font-family: 'Georgia', serif;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-decoration: none;
}
.svc-btn:hover { background: #111; color: #fff; border-color: #111; }
.svc-btn.active { background: var(--gold); color: #111; border-color: var(--gold); font-weight: bold; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 20px 6px 60px;
}
.svc-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
  aspect-ratio: 4/3;
  text-decoration: none;
}
.svc-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.svc-card:hover img { transform: scale(1.08); }
.svc-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}
.svc-overlay span {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 28px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}
.svc-card:hover .svc-overlay { background: rgba(0,0,0,0.42); }
.svc-card:hover .svc-overlay span { opacity: 1; transform: translateY(0); }

@media (max-width: 768px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .svc-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   MATERIALS PAGE — 12 cards + lightbox
══════════════════════════════════════════ */
.mat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 20px 6px 60px;
}
.mat-card {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.mat-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}
.mat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.mat-card:hover img { transform: scale(1.08); }
.mat-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.4s ease;
}
.mat-overlay span {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 18px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-shadow: 0 2px 16px rgba(0,0,0,0.8);
  text-align: center;
}
.mat-card:hover .mat-overlay { background: rgba(0,0,0,0.48); }
.mat-card:hover .mat-overlay span { opacity: 1; transform: translateY(0); }
.mat-name {
  text-align: center;
  padding: 10px 6px 14px;
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #444;
  transition: color 0.3s;
}
.mat-card:hover .mat-name {
  color: var(--gold-dark);
}


/* Material Lightbox */
.mat-lb {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 9999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.mat-lb.open { display: flex; }
.mat-lb-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(0,0,0,0.5);
}
.mat-lb-name {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 16px;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--gold);
}
.mat-lb-count {
  font-size: 12px;
  letter-spacing: 2px;
  color: #aaa;
}
.mat-lb-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  font-family: sans-serif;
  transition: opacity 0.2s, color 0.2s;
}
.mat-lb-close:hover { opacity: 1; color: var(--gold); }
.mat-lb-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border: 1px solid rgba(201,168,76,0.25);
  box-shadow: 0 8px 60px rgba(0,0,0,0.7);
  transition: opacity 0.12s ease;
}
.mat-lb-prev,
.mat-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.45);
  border: none;
  color: #fff;
  font-size: 44px;
  padding: 8px 20px;
  cursor: pointer;
  line-height: 1;
  font-family: sans-serif;
  transition: background 0.2s, color 0.2s;
  user-select: none;
}
.mat-lb-prev { left: 16px; }
.mat-lb-next { right: 16px; }
.mat-lb-prev:hover,
.mat-lb-next:hover { background: var(--gold); color: #111; }

@media (max-width: 900px) {
  .mat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .mat-grid { grid-template-columns: repeat(2, 1fr); }
  .mat-lb-prev, .mat-lb-next { padding: 6px 12px; font-size: 32px; }
}

/* ══════════════════════════════════════════
   CONTACT PAGE — Full-bg layout
══════════════════════════════════════════ */
.contact-hero {
  min-height: 90vh;
  background:
    linear-gradient(rgba(0,0,0,0.48), rgba(0,0,0,0.48)),
    url('../images/contact-bg.png') center/cover no-repeat,
    url('https://expostonecorp.com/wp-content/uploads/2020/01/Expo-Granite-Best-Stone-and-Marble-Interiors-Custom-Fabrications-e1579560888919.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.contact-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(6px);
  max-width: 920px;
  width: 100%;
  padding: 52px 58px 48px;
  box-shadow: 0 16px 80px rgba(0,0,0,0.35);
}
.contact-title {
  font-family: 'Higuen', 'Georgia', serif;
  font-size: 30px;
  font-weight: normal;
  letter-spacing: 8px;
  text-transform: uppercase;
  text-align: center;
  color: #111;
  margin-bottom: 0;
}
.contact-gold-line {
  width: 70px;
  height: 2px;
  background: var(--gold);
  margin: 18px auto 36px;
}
.contact-body {
  display: flex;
  gap: 50px;
  align-items: flex-start;
}
.contact-info-col {
  flex: 0 0 220px;
  border-right: 1px solid #e0e0e0;
  padding-right: 40px;
}
.contact-info-item {
  margin-bottom: 28px;
}
.contact-info-label {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 6px;
}
.contact-info-val {
  font-size: 13px;
  line-height: 1.8;
  color: #444;
  transition: color 0.2s;
  display: block;
}
.contact-info-val:hover { color: #111; }
.contact-form-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.contact-form-col input,
.contact-form-col textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #bbb;
  background: transparent;
  padding: 12px 4px;
  margin-bottom: 22px;
  font-size: 13px;
  font-family: 'Georgia', serif;
  color: #333;
  outline: none;
  transition: border-color var(--transition);
}
.contact-form-col input:focus,
.contact-form-col textarea:focus { border-bottom-color: var(--gold); }
.contact-form-col textarea { resize: vertical; min-height: 120px; }
.cf-btn {
  align-self: flex-start;
  background: var(--gold);
  color: #111;
  border: none;
  padding: 14px 42px;
  font-size: 11px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-family: 'Georgia', serif;
  cursor: pointer;
  margin-top: 4px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.cf-btn:hover {
  background: var(--gold-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(160,120,48,0.4);
}

@media (max-width: 768px) {
  .contact-hero { padding-top: 40px; }
  .contact-card { padding: 36px 24px 32px; }
  .contact-body { flex-direction: column; gap: 30px; }
  .contact-info-col { flex: none; border-right: none; border-bottom: 1px solid #e0e0e0; padding-right: 0; padding-bottom: 24px; }
  .cf-row { grid-template-columns: 1fr; }
}

/* ── ELEGANCE letter-by-letter fade ── */
@keyframes elegFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.eleg-letter {
  display: inline-block;
  opacity: 0;
  animation: elegFade 0.85s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

/* perf-section has its own child animation — never hide the container */
.perf-section.reveal { opacity: 1 !important; transform: none !important; }


/* ══════════════════════════════════════════════════════
   HAMBURGER BUTTON (desktop: hidden)
══════════════════════════════════════════════════════ */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  position: absolute;
  right: 20px;
  top: 22px;
  z-index: 100;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
body.hero-page .nav-toggle span { background: #fff; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ══════════════════════════════════════════════════════
   TABLET (≤ 900px) — já existia, complementando
══════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .partners { grid-template-columns: repeat(4, 1fr); }
  .partners img:last-child { grid-column: auto; justify-self: auto; }
}

/* ══════════════════════════════════════════════════════
   MOBILE (≤ 768px)
══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* — Header — */
  header {
    position: relative !important; /* garantir em todas as páginas */
    padding: 18px 20px 0;
  }
  body.hero-page header {
    position: fixed !important;
    background: rgba(0,0,0,0.55) !important;
    border-bottom-color: transparent !important;
  }
  body.hero-page header.nav-open {
    background: rgba(0,0,0,0.85) !important;
  }

  /* — Hamburger — */
  .nav-toggle { display: flex; }

  /* — Logo — */
  .logo img       { height: 70px; }
  body.hero-page .logo img { height: 80px; }
  .logo { margin-bottom: 0; }

  /* — Nav: colapsa por padrão — */
  nav {
    max-height: 0;
    overflow: hidden;
    width: 100%;
    transition: max-height 0.35s ease;
    border-top: none;
  }
  nav.open {
    max-height: 400px;
    border-top: 1px solid rgba(255,255,255,0.15);
  }
  nav ul {
    flex-direction: column;
    align-items: center;
    padding: 12px 0 16px;
    gap: 0;
  }
  nav ul li + li::before { display: none; }
  nav ul li a {
    padding: 12px 24px;
    font-size: 13px;
    letter-spacing: 3px;
    display: block;
    text-align: center;
    color: #fff;
  }
  nav ul li a:hover, nav ul li a.active { color: var(--gold); }

  /* Regular pages: nav links dark */
  body:not(.hero-page) header { background: linear-gradient(rgba(255,255,255,0.55),rgba(255,255,255,0.55)), url('../images/header.png') center/cover no-repeat; }
  body:not(.hero-page) nav ul li a { color: #333; }
  body:not(.hero-page) nav.open { border-top: 1px solid #e0e0e0; }

  /* — Hero — */
  .hero { min-height: 100svh; padding-bottom: 10vh; }
  .hero h1 { font-size: 38px !important; letter-spacing: 10px; text-indent: 10px; }
  .hero-divider { width: 70px; }

  /* — Page hero — */
  .page-hero { padding: 48px 24px 40px; }
  .page-hero h1 { font-size: 28px; letter-spacing: 8px; }

  /* — PERFECTION tags — */
  .tag-item { font-size: 14px; padding: 12px 32px 12px 18px; }

  /* — Partners — */
  .partners { grid-template-columns: repeat(3, 1fr); padding: 30px 24px; gap: 20px 16px; }
  .partners img { height: 38px; }
  .partners img:last-child { grid-column: auto; justify-self: auto; }

  /* — CTA section — */
  .cta-image-section { min-height: 420px; }
  .cta-image-content h2 { font-size: 26px; letter-spacing: 5px; }

  /* — Gallery cards — */
  .svc-grid { grid-template-columns: repeat(2, 1fr); }

  /* — Sub-grid (gallery + material subpages) — */
  .sub-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .sub-item { aspect-ratio: 4/3; overflow: hidden; }

  /* — Footer — */
  footer { flex-direction: column; align-items: center; text-align: center; gap: 18px; padding: 36px 24px 24px; }
  footer nav ul { flex-wrap: wrap; justify-content: center; gap: 4px 8px; }
  .footer-social { justify-content: center; }

  /* — Section titles — */
  .section-title h2 { font-size: 20px; letter-spacing: 5px; }
}

/* ══════════════════════════════════════════════════════
   SMALL PHONE (≤ 480px)
══════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero h1 { font-size: 28px !important; letter-spacing: 7px; text-indent: 7px; }
  .logo img { height: 58px; }
  body.hero-page .logo img { height: 68px; }

  .partners { grid-template-columns: repeat(2, 1fr); gap: 16px 12px; }
  .partners img { height: 30px; }
  .partners img:last-child { grid-column: 1 / -1; justify-self: center; }

  .svc-grid  { grid-template-columns: 1fr; }
  .mat-grid  { grid-template-columns: repeat(2, 1fr) !important; }
  .sub-grid  { grid-template-columns: 1fr !important; }

  .perf-text-col h2 { font-size: 32px; }
  .tag-item { font-size: 13px; }

  .cta-image-content h2 { font-size: 22px; letter-spacing: 4px; }
  .cta-btn { padding: 12px 28px; font-size: 10px; }

  .sub-name { font-size: 13px !important; letter-spacing: 2px; }
}
