/* ==========================================================================
   TERRACOTTA PAINTING - STYLESHEET REFINADA (MÉTODO WHEELER & WATKINS)
   ========================================================================== */

/* 1. Custom Design Tokens & Variables */
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;700&family=Montserrat:wght@200;300;400;500;600&display=swap');

:root {
  --font-display: 'Binary ITC Std', 'Comfortaa', 'Georgia', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Cores Institucionais extraídas do logo */
  --co-terracotta: #C05A3E;
  --co-slate: #3A3F41;
  --co-sand: #F4F1EA;
  --co-white: #FFFFFF;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --header-height: 140px;
}

/* Reset & Global Canvas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  background-color: var(--co-white);
  color: var(--co-slate);
  line-height: 1.6;
  font-weight: 300;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  color: var(--co-slate);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

input, select, textarea, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

.text-center {
  text-align: center;
}

/* 2. Header & Navigation Refinada */
header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(58, 63, 65, 0.05);
  transition: var(--transition-smooth);
}

header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02);
  border-bottom-color: rgba(58, 63, 65, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  transition: var(--transition-smooth);
}

header.scrolled .nav-container {
  height: 115px;
}

.logo-link {
  display: flex;
  align-items: center;
}

.nav-logo {
  height: 110px;
  width: auto;
  mix-blend-mode: multiply;
  transition: var(--transition-smooth);
}

header.scrolled .nav-logo {
  height: 88px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-links a {
  color: var(--co-slate);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-smooth);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--co-terracotta);
  transition: var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--co-terracotta);
}

.nav-links a:hover::after {
  width: 100%;
}

/* Botões com a curvatura assimétrica inspirada nos traços da Binary ITC */
.header-cta, .hero-cta-btn, .package-cta, .submit-btn {
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 1rem 2.5rem;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  border-radius: 20px 4px 20px 4px; /* Curvas orgânicas assimétricas */
}

.header-cta {
  background-color: var(--co-slate);
  color: var(--co-white);
  padding: 0.75rem 1.75rem;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.header-cta:hover {
  background-color: var(--co-terracotta);
  transform: translateY(-2px);
}

/* Mobile Menu Button */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 30px;
}

.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--co-slate);
  transition: var(--transition-smooth);
}

/* 3. Hero Section (Adoção do Espaço de Luxo) */
.hero {
  background: linear-gradient(rgba(244, 241, 234, 0.88), rgba(244, 241, 234, 0.88)), url('assets/images/painted_living_room.png') no-repeat center center/cover;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: calc(var(--header-height) + 4rem) 2rem 4rem 2rem;
}

.hero-logo-container {
  margin-bottom: 2.5rem;
  animation: fadeIn 1s ease;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4rem);
  color: var(--co-slate);
  font-weight: bold;
  max-width: 800px;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--co-terracotta);
  font-weight: 400;
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
  font-family: var(--font-body);
}

.hero-cta-btn {
  background-color: var(--co-terracotta);
  color: var(--co-white);
  box-shadow: 0 10px 30px rgba(192, 90, 62, 0.2);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-cta-btn:hover {
  background-color: var(--co-slate);
  box-shadow: 0 10px 30px rgba(58, 63, 65, 0.15);
  transform: translateY(-3px);
}

/* 4. Cards de Serviços com a Anatomia Curva da Fonte */
.packages-section {
  padding: 8rem 0;
  background-color: var(--co-white);
}

.section-tag {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--co-terracotta);
  margin-bottom: 1rem;
  font-weight: 600;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--co-slate);
  margin-bottom: 1.5rem;
}

.section-subtitle {
  max-width: 700px;
  margin: 0 auto 5rem auto;
  color: #707577;
  font-size: 1rem;
}

.grid {
  display: grid;
  gap: 2.5rem;
}

.packages-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

/* O Card ganha a assinatura visual da fonte nas bordas externas */
.package-card {
  background-color: var(--co-sand);
  padding: 3.5rem 2.5rem;
  text-align: left;
  position: relative;
  transition: var(--transition-smooth);
  border-radius: 40px 8px 40px 8px; /* Curvas orgânicas e expressivas */
  border: 1px solid rgba(58, 63, 65, 0.03);
  display: flex;
  flex-direction: column;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(58, 63, 65, 0.08);
  background-color: var(--co-white);
  border-color: rgba(192, 90, 62, 0.15);
}

.package-tier {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--co-terracotta);
  font-weight: 700;
}

.package-name {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--co-slate);
  margin: 0.5rem 0 1.5rem 0;
  line-height: 1.2;
}

.package-subname {
  display: block;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-style: italic;
  font-weight: 400;
  color: #707577;
  margin-top: 0.25rem;
  text-transform: none;
  letter-spacing: 0.05em;
}

.package-desc {
  font-size: 0.95rem;
  color: var(--co-slate);
  margin-bottom: 2rem;
  font-weight: 500;
  min-height: 50px;
}

.package-features {
  list-style: none;
  margin-bottom: 3rem;
  width: 100%;
}

/* Marcadores customizados simulando cortes geométricos finos */
.package-features li {
  font-size: 0.9rem;
  color: #555c5e;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1.5rem;
  border-bottom: none;
}

.package-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 2px;
  background-color: var(--co-terracotta);
}

.package-cta {
  display: block;
  text-align: center;
  background-color: transparent;
  border: 1px solid var(--co-slate);
  color: var(--co-slate);
  width: 100%;
  margin-top: auto;
}

.package-card:hover .package-cta {
  background-color: var(--co-terracotta);
  border-color: var(--co-terracotta);
  color: var(--co-white);
}

/* 5. Visual Work Showcase (Frase de Impacto Emocional) */
.showcase-banner {
  background-color: var(--co-slate);
  padding: 6rem 2rem;
  text-align: center;
}

.banner-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  color: var(--co-sand);
  font-style: italic;
}

/* Gallery Grid & Simple Cards */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  padding-bottom: 8rem;
  margin-top: 3rem;
}

.gallery-item {
  background-color: var(--co-white);
  border-radius: 24px 6px 24px 6px;
  overflow: hidden;
  border: 1px solid rgba(58, 63, 65, 0.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

/* Hover movement */
.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 25px rgba(58, 63, 65, 0.06);
}

.gallery-img-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
}

.gallery-image {
  position: absolute; /* Absolute positioning inside relative container fixes the height bug in all browsers */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.04);
}

.gallery-info {
  padding: 1.5rem;
  background-color: var(--co-white);
  text-align: left;
}

.gallery-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--co-terracotta);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.gallery-title {
  color: var(--co-slate);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 0;
  line-height: 1.3;
}

/* 6. Form de Orçamento Limpo e Arquitetônico */
.estimate-section {
  background-color: var(--co-sand);
  padding: 8rem 0;
}

.estimate-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 4rem;
  background-color: var(--co-white);
  padding: 4rem;
  border-radius: 40px 8px 40px 8px;
  box-shadow: 0 30px 60px rgba(58, 63, 65, 0.04);
}

.estimate-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estimate-info h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  margin-bottom: 1.5rem;
}

.estimate-info p {
  font-size: 0.95rem;
  color: var(--co-slate);
  margin-bottom: 2rem;
}

.contact-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-meta-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
}

.contact-meta-icon {
  width: 20px;
  height: 24px;
  color: var(--co-terracotta);
}

.estimate-form-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estimate-form {
  display: grid;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 0.5rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--co-slate);
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(58, 63, 65, 0.15);
  background-color: var(--co-sand);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--co-slate);
  transition: var(--transition-smooth);
  border-radius: 12px 4px 12px 4px;
}

.form-control:focus {
  outline: none;
  border-color: var(--co-terracotta);
  background-color: var(--co-white);
  box-shadow: 0 0 0 4px rgba(192, 90, 62, 0.08);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%233A3F41' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.25rem;
  padding-right: 2.5rem;
}

/* Success notification message styling */
.form-status-msg {
  display: none;
  padding: 1.25rem;
  border-radius: 12px 4px 12px 4px;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.form-status-msg.success {
  display: block;
  background-color: rgba(192, 90, 62, 0.08);
  border-left: 3px solid var(--co-terracotta);
  color: var(--co-terracotta);
}

.form-buttons-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
}

.submit-btn {
  width: 100%;
  padding: 1.1rem 1rem;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 12px 4px 12px 4px;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp {
  background-color: var(--co-terracotta);
  color: var(--co-white);
  border: 1.5px solid var(--co-terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-whatsapp:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: var(--co-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-email {
  background-color: var(--co-slate);
  color: var(--co-white);
  border: 1.5px solid var(--co-slate);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-email:hover {
  background-color: var(--co-terracotta);
  border-color: var(--co-terracotta);
  color: var(--co-white);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(192, 90, 62, 0.2);
}

@media (max-width: 576px) {
  .form-buttons-row {
    grid-template-columns: 1fr;
  }
}

/* 7. Footer */
footer {
  background-color: var(--co-slate);
  color: rgba(255, 255, 255, 0.6);
  padding: 5rem 0;
  font-size: 0.85rem;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-slogan {
  font-family: var(--font-display);
  color: var(--co-sand);
  font-size: 1.25rem;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
}

.footer-links a:hover {
  color: var(--co-terracotta);
}

.footer-signature {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.5rem;
  width: 100%;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .nav-logo {
    height: 50px;
  }
  
  header.scrolled .nav-container {
    height: 60px;
  }
  
  header.scrolled .nav-logo {
    height: 42px;
  }
  
  .section-padding {
    padding: 5rem 0;
  }
  
  .hero h1 { 
    font-size: 2.5rem; 
  }
  
  .hero-cta-btn, .header-cta, .package-cta, .submit-btn {
    padding: 0.85rem 1.75rem;
    font-size: 0.75rem;
    white-space: nowrap;
  }
  
  .packages-grid, .gallery-grid {
    grid-template-columns: 1fr;
  }
  
  .package-card {
    padding: 2.5rem 1.5rem;
  }
  
  .showcase-tabs {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.25rem;
    margin-bottom: 2rem;
  }
  
  .tab-btn {
    padding: 0.6rem 1rem;
    font-size: 0.7rem;
    flex: 1;
    text-align: center;
  }
  
  .estimate-container { 
    padding: 2.5rem; 
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .nav-links {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background-color: var(--co-white);
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(58, 63, 65, 0.05);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .mobile-toggle {
    display: flex;
  }
  
  .header-cta {
    display: none;
  }
}

@media (max-width: 480px) {
  .slider-labels {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
  }
}

/* 8. Showroom & Interactive Portfolio Slider (Westcourt Place) */
.showcase-tabs {
  display: inline-flex;
  gap: 1rem;
  background-color: var(--co-sand);
  padding: 0.5rem;
  border-radius: 20px 4px 20px 4px;
  margin-top: 2rem;
  margin-bottom: 4rem;
  border: 1px solid rgba(58, 63, 65, 0.05);
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 2rem;
  border-radius: 16px 4px 16px 4px;
  color: var(--co-slate);
  background: transparent;
  transition: var(--transition-smooth);
}

.tab-btn:hover {
  color: var(--co-terracotta);
}

.tab-btn.active {
  background-color: var(--co-terracotta);
  color: var(--co-white);
  box-shadow: 0 4px 15px rgba(192, 90, 62, 0.2);
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease;
}

.tab-content.active {
  display: block;
}

/* Before / After Slider Styling */
.slider-wrapper {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
}

.before-after-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16; /* Vertical portrait format */
  overflow: hidden;
  border-radius: 40px 8px 40px 8px;
  box-shadow: 0 30px 60px rgba(58, 63, 65, 0.1);
  border: 1px solid rgba(58, 63, 65, 0.05);
  user-select: none;
  cursor: ew-resize;
}

/* Base image (Before) */
.slider-image-before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay container (After) */
.after-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%; /* JS controlled */
  height: 100%;
  overflow: hidden;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

/* Overlay image (After) */
.slider-image-after {
  height: 100%;
  object-fit: cover;
  display: block;
  max-width: none;
  /* Width is set dynamically by JS to prevent image stretching */
}

/* Drag Handle */
.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%; /* JS controlled */
  width: 4px;
  background-color: var(--co-white);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: ew-resize;
  transform: translateX(-50%);
  z-index: 10;
}

.slider-handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background-color: var(--co-terracotta);
  transform: translateX(-50%);
}

.slider-handle-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background-color: var(--co-terracotta);
  color: var(--co-white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease, background-color 0.2s ease;
  pointer-events: none;
}

.slider-handle:hover .slider-handle-button {
  transform: translate(-50%, -50%) scale(1.1);
  background-color: var(--co-slate);
}

.slider-handle-button svg {
  width: 20px;
  height: 20px;
}

/* Labels below slider */
.slider-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  color: #707577;
}

.label-before {
  color: var(--co-slate);
}

.label-after {
  color: var(--co-terracotta);
}

/* Video Player Styling */
.video-highlights-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 40px 8px 40px 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(58, 63, 65, 0.08);
  border: 1px solid rgba(58, 63, 65, 0.05);
  background-color: var(--co-slate);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 8. Property Maintenance & Minor Repairs Callout */
.maintenance-callout {
  margin-top: 6rem;
  padding: 4rem 3rem;
  background-color: var(--co-sand);
  border-radius: 40px 8px 40px 8px;
  border: 1px solid rgba(58, 63, 65, 0.05);
  text-align: left;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.maintenance-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--co-slate);
  margin-bottom: 1rem;
}

.maintenance-desc {
  font-size: 1.05rem;
  color: var(--co-slate);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.maintenance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
}

.maintenance-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.maintenance-icon {
  color: var(--co-terracotta);
  font-size: 1.2rem;
  line-height: 1.2;
}

.maintenance-item strong {
  display: block;
  font-size: 1.1rem;
  color: var(--co-slate);
  margin-bottom: 0.5rem;
}

.maintenance-item span {
  display: block;
  font-size: 0.9rem;
  color: #606567;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .maintenance-callout {
    padding: 3rem 2rem;
    margin-top: 4rem;
  }
  .maintenance-title {
    font-size: 1.8rem;
  }
  .maintenance-grid {
    gap: 1.5rem;
  }
}

/* 9. Instagram Tips & Insights Section */
.instagram-tips-section {
  background-color: var(--co-white);
  padding: 6rem 0;
  text-align: center;
  border-top: 1px solid rgba(58, 63, 65, 0.05);
}

.instagram-tips-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1240px;
  margin: 3rem auto 0 auto;
}

.instagram-post-card {
  background-color: var(--co-white);
  border: 1px solid rgba(58, 63, 65, 0.08);
  border-radius: 24px;
  overflow: hidden;
  text-align: left;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
}

.instagram-post-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(58, 63, 65, 0.08);
}

.instagram-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(58, 63, 65, 0.04);
}

.instagram-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(58, 63, 65, 0.08);
  background-color: var(--co-white);
  padding: 4px;
}

.instagram-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.instagram-header-info {
  display: flex;
  flex-direction: column;
}

.instagram-username {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--co-slate);
}

.instagram-location {
  font-size: 0.65rem;
  color: #707577;
}

.instagram-external-link {
  transition: color 0.2s ease;
}

.instagram-external-link:hover {
  color: var(--co-terracotta) !important;
}

.instagram-post-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--co-sand);
  display: block;
}

.instagram-post-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.instagram-post-card:hover .instagram-post-img {
  transform: scale(1.03);
}

.instagram-card-actions {
  display: flex;
  gap: 12px;
  padding: 1rem 1.25rem 0.5rem 1.25rem;
  color: var(--co-slate);
}

.instagram-action-icon {
  width: 20px;
  height: 20px;
  cursor: pointer;
  transition: color 0.2s ease;
}

.instagram-action-icon:hover {
  color: var(--co-terracotta);
}

.instagram-card-content {
  padding: 0 1.25rem 1.5rem 1.25rem;
  font-size: 0.85rem;
  line-height: 1.5;
  font-family: var(--font-body);
  flex-grow: 1;
}

.instagram-likes {
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--co-slate);
}

.instagram-caption {
  color: var(--co-slate);
}

.instagram-caption strong {
  margin-right: 6px;
}

.instagram-hashtags {
  color: var(--co-terracotta);
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: block;
}

@media (max-width: 1024px) {
  .instagram-tips-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .instagram-tips-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    padding: 0 2rem;
  }
  .instagram-tips-section {
    padding: 4rem 0;
  }
}

/* ==========================================================================
   GOOGLE REVIEWS SECTION STYLES
   ========================================================================== */
.reviews-section {
  background-color: #FAF8F5;
  border-top: 1px solid rgba(192, 90, 62, 0.08);
  border-bottom: 1px solid rgba(192, 90, 62, 0.08);
}

.reviews-subtitle {
  max-width: 600px;
  margin: 0.5rem auto 1.75rem auto;
  color: var(--co-slate);
  font-family: var(--font-body);
  font-size: 0.95rem;
  opacity: 0.85;
}

.google-rating-summary {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--co-white);
  padding: 0.85rem 1.5rem;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.06);
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.google-logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F8F9FA;
  border-radius: 50%;
  padding: 6px;
}

.google-summary-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.google-score-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.google-score {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--co-slate);
  line-height: 1;
}

.star-rating {
  color: #F4B400;
  font-size: 1.1rem;
  letter-spacing: 2px;
  line-height: 1;
}

.google-meta {
  font-size: 0.78rem;
  color: #666;
  margin-top: 2px;
}

.google-review-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: transparent;
  color: var(--co-terracotta);
  border: 1.5px solid var(--co-terracotta);
  padding: 0.45rem 1.1rem;
  border-radius: 25px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.google-review-cta:hover {
  background-color: var(--co-terracotta);
  color: var(--co-white);
  transform: translateY(-1px);
}

/* Reviews Grid */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  margin-top: 1rem;
}

.review-card {
  background-color: var(--co-white);
  border-radius: 16px;
  padding: 1.85rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-smooth);
  position: relative;
}

.review-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
  border-color: rgba(192, 90, 62, 0.2);
}

.review-card-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.review-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.avatar-terracotta {
  background-color: var(--co-terracotta);
  color: #FFFFFF;
}

.avatar-slate {
  background-color: var(--co-slate);
  color: #FFFFFF;
}

.avatar-sand {
  background-color: #E2D9CC;
  color: var(--co-slate);
}

.avatar-terracotta-dark {
  background-color: #A0442B;
  color: #FFFFFF;
}

.review-author-meta {
  flex-grow: 1;
}

.review-author-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--co-slate);
  margin-bottom: 2px;
}

.review-author-location {
  font-size: 0.78rem;
  color: #777;
  display: block;
}

.review-badge-verified {
  color: #34A853;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-stars-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-date {
  font-size: 0.78rem;
  color: #888;
}

.review-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #333333;
  margin: 0 0 1.25rem 0;
  font-weight: 300;
  flex-grow: 1;
}

.review-card-footer {
  margin-top: auto;
}

.review-service-tag {
  display: inline-block;
  background-color: var(--co-sand);
  color: var(--co-slate);
  font-size: 0.76rem;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

@media (max-width: 992px) {
  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 576px) {
  .google-rating-summary {
    border-radius: 20px;
    padding: 1rem;
  }
  .review-card {
    padding: 1.35rem;
  }
}



/* ==========================================================================
   REDESIGN 2026-10-17 — CONCEPT B (flat, minimal, subtle radius)
   Layered overrides: everything above is styles.v9 untouched.
   Rollback: point the stylesheet link in templates/index.html back to
   /static/styles.v9.css and restore main.js.bak-20261017-redesign.
   ========================================================================== */
:root {
  --header-height: 96px;
  --co-ink: #2E3234;
  --sand-line: #E2D9CC;
}

/* Header: compact + flat */
.nav-logo { height: 62px; }
header.scrolled .nav-container { height: 80px; }
header.scrolled .nav-logo { height: 54px; }

/* Buttons: flat, sentence case, 8px radius everywhere */
.header-cta, .hero-cta-btn, .package-cta, .submit-btn {
  border-radius: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
}
.header-cta { background-color: var(--co-ink); font-size: 0.85rem; }
.header-cta:hover { background-color: var(--co-terracotta); transform: none; }

/* ---------- Hero B ---------- */
.hero-b {
  background-color: var(--co-terracotta);
  padding: calc(var(--header-height) + 3.5rem) 0 4.5rem;
}
.hero-b-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}
.hero-b-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #F3CDBE;
  margin-bottom: 1.25rem;
}
.hero-b h1 {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
  line-height: 1.05;
  color: var(--co-white);
  margin-bottom: 1.5rem;
}
.hero-b-sub {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #F7E3DA;
  max-width: 34rem;
  margin-bottom: 2.25rem;
}
.hero-b-proof { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1.75rem; }
.hero-b-stars { color: var(--co-white); font-weight: 700; font-size: 1.05rem; }
.hero-b-meta { color: #F3CDBE; font-size: 0.95rem; }
.hero-b-wa {
  color: var(--co-white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.hero-b-card {
  background-color: var(--co-white);
  border-radius: 12px;
  padding: 2.25rem;
}
.hero-b-card-title {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: 1.6rem;
  color: var(--co-slate);
  margin-bottom: 0.35rem;
}
.hero-b-card-sub { color: #707577; font-size: 0.95rem; margin-bottom: 1.5rem; }
.hero-b-form { display: flex; flex-direction: column; gap: 0.9rem; }
.hero-b-input {
  width: 100%;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--sand-line);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--co-slate);
  background-color: var(--co-white);
}
.hero-b-input:focus { outline: none; border-color: var(--co-terracotta); }
.hero-b-btn {
  background-color: var(--co-ink);
  color: var(--co-white);
  border: none;
  border-radius: 8px;
  padding: 1.05rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.hero-b-btn:hover { background-color: var(--co-terracotta); }

/* ---------- Services: flat cards + numbers ---------- */
.package-card {
  border-radius: 8px;
  box-shadow: none;
  padding: 2.5rem 2.25rem;
  border: 1px solid transparent;
}
.package-card:hover {
  transform: none;
  box-shadow: none;
  background-color: var(--co-white);
  border-color: var(--sand-line);
}
.package-num {
  display: block;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: var(--co-terracotta);
  margin-bottom: 1rem;
}
.package-cta { border-radius: 8px; }
.package-card:hover .package-cta {
  background-color: var(--co-terracotta);
  border-color: var(--co-terracotta);
  color: var(--co-white);
}

/* ---------- Before / After band ---------- */
.ba-band { background-color: var(--co-ink); padding: 5.5rem 0; }
.ba-band-eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #E8A58F;
  margin-bottom: 1rem;
}
.ba-band-title {
  font-family: var(--font-display);
  font-weight: bold;
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  color: var(--co-white);
  margin-bottom: 2.5rem;
}
.ba-band-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1.5rem;
  align-items: center;
}
.ba-band-item { position: relative; margin: 0; }
.ba-band-item img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}
.ba-band-arrow {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--co-terracotta);
  color: var(--co-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 700;
}
.ba-chip {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--co-white);
}
.ba-chip-before { background-color: var(--co-ink); }
.ba-chip-after { background-color: var(--co-terracotta); }
.ba-band-caption { color: #B9BCBD; margin-top: 1.5rem; font-size: 0.95rem; }
.ba-band-caption a { color: var(--co-white); font-weight: 600; }

/* ---------- Gallery / reviews / forms: flatten ---------- */
.gallery-item { border-radius: 8px; box-shadow: none; }
.gallery-item:hover { transform: none; box-shadow: none; }
.gallery-item:hover .gallery-image { transform: none; }
.review-card { border-radius: 8px; box-shadow: none; border-color: var(--sand-line); }
.review-card:hover { transform: none; box-shadow: none; border-color: var(--sand-line); }
.estimate-container { border-radius: 8px; box-shadow: 0 10px 30px rgba(58, 63, 65, 0.05); }
.form-control { border-radius: 8px; }
footer { background-color: var(--co-ink); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-b-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .ba-band-grid { grid-template-columns: 1fr; }
  .ba-band-arrow { transform: rotate(90deg); margin: 0 auto; }
  .ba-band-item img { height: 260px; }
}
@media (max-width: 768px) {
  :root { --header-height: 70px; }
  .nav-logo { height: 48px; }
  header.scrolled .nav-logo { height: 44px; }
  .hero-b { padding-top: calc(var(--header-height) + 2.5rem); }
}


/* Mobile overflow fix — 2026-10-17 (header row + footer links exceeded
   small viewports: hamburger rendered off-screen at ~407px on a 390px
   screen; footer links row measured 488px). */
@media (max-width: 768px) {
  .header-cta { display: none; }
  .nav-container { padding: 0 1.25rem; }
  .footer-links { flex-wrap: wrap; justify-content: center; row-gap: 0.75rem; }
}


/* Section color swap — 2026-10-17 (Igor): Before/After band goes white,
   Services takes the band's charcoal gray. */
.ba-band { background-color: var(--co-white); }
.ba-band-title { color: var(--co-ink); }
.ba-band-eyebrow { color: var(--co-terracotta); }
.ba-band-caption { color: #707577; }
.ba-band-caption a { color: var(--co-terracotta); }
.packages-section { background-color: var(--co-ink); }
.packages-section .section-title { color: var(--co-white); }
.packages-section .section-subtitle { color: #C9CCCD; }
.packages-section .section-tag { color: #E8A58F; }


/* Featured slider — landscape for the nursery project (2026-10-17) */
.slider-wrapper { max-width: 880px; }
.before-after-slider { aspect-ratio: 4 / 3; border-radius: 8px; box-shadow: 0 12px 32px rgba(58, 63, 65, 0.10); }

/* ===== Hero background before/after slider (BG1 — Igor's pick, 2026-10-19) ===== */
.hero-b { position: relative; overflow: hidden; background-color: #24282B; padding-bottom: 10.5rem; touch-action: pan-y; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-bg-after-wrap { position: absolute; top: 0; left: 0; height: 100%; width: 50%; overflow: hidden; }
.hero-bg-after-img { width: 100vw; /* JS syncs to the hero width in px */ }
.hero-bg-divider { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: rgba(255,255,255,.85); }
.hero-shade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(24,26,28,.78) 0%, rgba(24,26,28,.52) 46%, rgba(24,26,28,.08) 78%); }
.hero-b .hero-b-grid { position: relative; z-index: 2; pointer-events: none; }
.hero-b-card, .hero-b-wa { pointer-events: auto; }
.hero-ba-ui { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 0 1.25rem 1.3rem; display: flex; flex-direction: column; align-items: center; gap: .6rem; }
.hero-ba-labels { align-self: stretch; display: flex; justify-content: space-between; pointer-events: none; }
.hb-lab { font-weight: 800; letter-spacing: .16em; font-size: .78rem; text-transform: uppercase; color: #fff; background: rgba(20,22,24,.55); padding: .42rem .85rem; border-radius: 999px; }
.hb-after { background: rgba(192,90,62,.92); }
.hero-drag-hint { color: #fff; font-size: .92rem; font-weight: 600; background: rgba(20,22,24,.55); padding: .38rem .95rem; border-radius: 999px; }
.hero-drag-zone { width: 100%; padding: .55rem 0 .15rem; cursor: ew-resize; touch-action: none; }
.hero-drag-track { position: relative; height: 8px; border-radius: 999px; background: rgba(255,255,255,.35); }
.hero-drag-thumb { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--co-terracotta); color: #fff; font-weight: 800; font-size: .8rem; letter-spacing: .1em; padding: .5rem 1.05rem; border-radius: 999px; box-shadow: 0 4px 14px rgba(0,0,0,.35); white-space: nowrap; }
@media (max-width: 768px) {
  .hero-b { padding-bottom: 11.5rem; }
  .hero-shade { background: linear-gradient(180deg, rgba(24,26,28,.66) 0%, rgba(24,26,28,.55) 55%, rgba(24,26,28,.45) 100%); }
  .hb-lab { font-size: .7rem; }
  .hero-drag-hint { font-size: .85rem; }
}

/* ===== Services: light background + compact cards (Igor, 2026-10-19) ===== */
.packages-section { background-color: var(--co-sand); padding: 5.5rem 0; }
.packages-section .section-title { color: var(--co-slate); }
.packages-section .section-subtitle { color: #707577; margin-bottom: 3rem; }
.packages-section .section-tag { color: var(--co-terracotta); }
.packages-grid { gap: 1.25rem; }
.package-card { background-color: var(--co-white); border: 1px solid var(--sand-line); padding: 1.6rem 1.5rem; }
.package-card:hover { background-color: var(--co-white); border-color: var(--co-terracotta); }
.package-num { font-size: .85rem; margin-bottom: .55rem; }
.package-card h3 { font-size: 1.18rem; margin-bottom: .45rem; }
.package-desc { font-size: .92rem; margin-bottom: 1.15rem; }
.package-cta { padding-top: .6rem; padding-bottom: .6rem; font-size: .88rem; }
@media (max-width: 768px) {
  .packages-section { padding: 4rem 0; }
  .package-card { padding: 1.4rem 1.25rem; }
}

/* Services compact — round 2: inner spacing (Igor, 2026-10-19) */
.packages-section .packages-grid { gap: 1.25rem; }
.package-features { margin-bottom: 1.25rem; }
.package-features li { margin-bottom: .45rem; }
.package-name { margin: .35rem 0 .6rem 0; }
.package-desc { margin-bottom: 1rem; }

/* ===== Gallery lightbox (Igor, 2026-10-21) ===== */
.gallery-item { cursor: pointer; }
.gallery-img-container { overflow: hidden; }
.gallery-img-container .gallery-image { transition: transform .5s ease; }
.gallery-item:hover .gallery-image { transform: scale(1.04); }
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(18,20,22,.92); display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 1.25rem; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox-img { max-width: min(1000px, 94vw); max-height: 78vh; border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.5); object-fit: contain; }
.lightbox-cap { color: #fff; margin-top: 1rem; text-align: center; }
.lightbox-cap .lc-tag { display: block; color: #E8A58F; font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: .3rem; }
.lightbox-cap .lc-title { font-family: var(--font-display); font-size: 1.25rem; }
.lightbox-btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: none; border-radius: 999px; width: 44px; height: 44px; font-size: 1.35rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.lightbox-btn:hover { background: var(--co-terracotta); }
.lightbox-close { top: 1.1rem; right: 1.1rem; }
.lightbox-prev { left: 1.1rem; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 1.1rem; top: 50%; transform: translateY(-50%); }
body.lb-open { overflow: hidden; }
@media (max-width: 768px) {
  .lightbox-prev { left: .5rem; }
  .lightbox-next { right: .5rem; }
  .lightbox-img { max-height: 72vh; }
}

/* ===== Certifications badges (Igor, 2026-10-22) ===== */
.certs { background: #fff; padding: 4rem 0 3.5rem; text-align: center; }
.certs-eyebrow { color: var(--co-terracotta); font-weight: 700; letter-spacing: .22em; text-transform: uppercase; font-size: .8rem; }
.certs-title { font-family: var(--font-display); color: var(--co-slate); font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: .8rem auto 2.6rem; max-width: 660px; }
.certs-row { display: flex; justify-content: center; gap: 3.5rem; flex-wrap: wrap; }
.cert-item { width: 210px; }
.cert-badge { width: 148px; height: 148px; margin: 0 auto 1.1rem; border-radius: 50%; background: #fff; border: 3px solid var(--co-terracotta); box-shadow: inset 0 0 0 5px #fff, inset 0 0 0 7px var(--line-sand); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .18rem; padding: .6rem; }
.cb-check { color: var(--co-terracotta); font-size: 1.05rem; font-weight: 800; line-height: 1; }
.cb-main { font-weight: 800; color: var(--co-slate); font-size: .82rem; letter-spacing: .06em; line-height: 1.25; }
.cb-rule { width: 34px; height: 2px; background: var(--co-terracotta); display: block; margin: .22rem 0; }
.cb-sub { font-size: .62rem; font-weight: 700; letter-spacing: .24em; color: var(--co-clay); }
.cert-name { font-weight: 700; color: var(--co-slate); margin: 0 0 .25rem; font-size: .98rem; }
.cert-detail { color: var(--co-clay); font-size: .85rem; margin: 0; }
.certs-note { margin-top: 2.2rem; color: var(--co-clay); font-size: .85rem; font-style: italic; }
@media (max-width: 768px) {
  .certs { padding: 3rem 0 2.6rem; }
  .certs-row { gap: 1.6rem; }
  .cert-item { width: 148px; }
  .cert-badge { width: 116px; height: 116px; }
  .cb-main { font-size: .68rem; }
  .cert-name { font-size: .88rem; }
  .cert-detail { font-size: .78rem; }
}
.cb-icon { color: var(--co-terracotta); line-height: 0; }
.cb-icon svg { width: 34px; height: 34px; display: block; }
@media (max-width: 768px) { .cb-icon svg { width: 28px; height: 28px; } }
