/* ==========================================================================
   Capristo Imóveis - Landing Page Design System & Styling
   Author: Senior UX/UI Developer
   Visual Theme: Luxury Dark & Gold Glassmorphic (High Conversion Real Estate)
   Target URL: https://capristoimoveis.pages.dev/
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-primary: #0b0f19;
  --bg-secondary: #111827;
  --bg-card: rgba(17, 24, 39, 0.78);
  --bg-card-hover: rgba(31, 41, 55, 0.88);
  --glass-border: rgba(212, 175, 55, 0.22);
  --glass-border-hover: rgba(212, 175, 55, 0.55);
  
  --primary-gold: #D4AF37;
  --primary-gold-hover: #f3ca40;
  --gold-gradient: linear-gradient(135deg, #F39C12 0%, #D4AF37 50%, #FFF3A8 100%);
  --gold-glow: 0 0 25px rgba(212, 175, 55, 0.35);
  
  --accent-emerald: #10B981;
  --accent-emerald-glow: 0 0 20px rgba(16, 185, 129, 0.3);
  
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-light: #E5E7EB;
  --text-gold: #E6C687;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;

  /* Elevations & Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.5);
  --shadow-lg: 0 15px 45px rgba(0,0,0,0.7);
  --shadow-gold: 0 10px 30px rgba(212, 175, 55, 0.25);

  /* Transitions & Radii */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Ambient Background Lighting */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 600px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(11, 15, 25, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

/* Typography Utilities */
h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.2;
}

.gold-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.98rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-gold {
  background: var(--gold-gradient);
  color: #0b0f19;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.4);
}

.btn-outline-gold {
  background: transparent;
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
}

.btn-outline-gold:hover {
  background: rgba(212, 175, 55, 0.12);
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

/* Header & Navigation Bar */
header.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 1.1rem 0;
  background: rgba(11, 15, 25, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(11, 15, 25, 0.96);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0b0f19;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand-info h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.brand-info span {
  font-size: 0.7rem;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
}

/* Menu Links with Icons */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.nav-links a i {
  color: var(--primary-gold);
  font-size: 1rem;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary-gold);
}

.nav-links a:hover i {
  transform: translateY(-2px);
}

/* Mobile Toggle Hamburger Button */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.mobile-toggle:hover {
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary-gold);
}

/* Top Status Bar */
.top-status-bar {
  background: rgba(17, 24, 39, 0.92);
  border-bottom: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.82rem;
  padding: 0.4rem 0;
  color: var(--text-muted);
}

.top-status-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  font-weight: 600;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: var(--accent-emerald-glow);
  animation: pulse 2s infinite;
}

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

/* HERO SECTION */
.hero-section {
  padding-top: 9.5rem;
  padding-bottom: 5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  color: var(--primary-gold);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.1rem;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.hero-description {
  font-size: 1.12rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.trust-elements {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.trust-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-gold);
}

.trust-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.2;
}

/* HERO IMAGE CARD WITH LEANDRO PHOTO */
.hero-image-card {
  position: relative;
  z-index: 1;
}

.image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--bg-card);
  box-shadow: var(--shadow-lg), var(--gold-glow);
}

.image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.6s ease;
}

.image-frame:hover img {
  transform: scale(1.03);
}

/* Floating Badges */
.card-floating-badge {
  position: absolute;
  background: rgba(17, 24, 39, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.badge-top-right {
  top: 1.5rem;
  right: -1rem;
}

.badge-bottom-left {
  bottom: 1.5rem;
  left: -1rem;
}

.badge-icon {
  width: 42px;
  height: 42px;
  background: rgba(212, 175, 55, 0.2);
  color: var(--primary-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.badge-text strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
}

.badge-text span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* QUICK LEAD FORM IN HERO */
.quick-lead-form-box {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-top: 2.5rem;
}

.form-header {
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.form-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  background: rgba(11, 15, 25, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-gold);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.25);
}

select.form-control option {
  background: var(--bg-secondary);
  color: #fff;
}

/* SECTION STYLING */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-subtitle {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* SERVICES GRID */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-md), var(--gold-glow);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary-gold);
  margin-bottom: 1.5rem;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* VALUATION WIZARD SECTION */
.valuation-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  position: relative;
}

.valuation-box {
  background: rgba(17, 24, 39, 0.92);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
}

.wizard-steps {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2.5rem;
  position: relative;
}

.wizard-steps::before {
  content: '';
  position: absolute;
  top: 50%; left: 0;
  width: 100%; height: 2px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 0;
  transform: translateY(-50%);
}

.wizard-step-item {
  position: relative;
  z-index: 1;
  background: var(--bg-secondary);
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.wizard-step-item.active {
  border-color: var(--primary-gold);
  color: var(--primary-gold);
  background: rgba(212, 175, 55, 0.12);
  font-weight: 700;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-light);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--gold-gradient);
  color: #0b0f19;
  border-color: transparent;
  font-weight: 700;
}

/* ABOUT SECTION */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.highlight-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.2rem;
}

.highlight-box h3 {
  font-size: 1rem;
  color: var(--primary-gold);
  margin-bottom: 0.3rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* TESTIMONIALS SECTION */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.stars {
  color: var(--primary-gold);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.testimonial-quote {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 1.5rem;
}

.client-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.client-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: #0b0f19;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.client-meta h4 {
  font-size: 0.95rem;
}

.client-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* CONTACT & LOCATION SECTION */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.info-icon {
  width: 45px;
  height: 45px;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-gold);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hours-table {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.hours-table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hours-table td {
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.hours-table td:last-child {
  text-align: right;
  color: var(--text-main);
  font-weight: 600;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 100%;
  min-height: 380px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* FLOATING WHATSAPP BUTTON */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}

.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  width: 18px;
  height: 18px;
  background: red;
  border-radius: 50%;
  font-size: 0.65rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  border: 2px solid var(--bg-primary);
}

/* FOOTER */
footer {
  background: rgba(7, 10, 17, 0.96);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 0 1.5rem 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

/* Header & Trust & Utility Classes */
.header-actions {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.trust-item:not(:first-child) {
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  padding-left: 1.5rem;
}

.form-submit-wrapper {
  margin-top: 1.5rem;
  text-align: right;
}

.wizard-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

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

.wizard-btn-group {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.wizard-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.wizard-step-heading {
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.25rem;
}

.about-image-column {
  position: relative;
}

.about-creci-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1rem;
  background: var(--gold-gradient);
  color: #0b0f19;
  padding: 1.2rem 1.8rem;
  border-radius: 16px;
  font-weight: 800;
  box-shadow: var(--shadow-md);
}

.about-creci-badge .creci-number {
  font-size: 1.8rem;
  line-height: 1;
}

.about-creci-badge .creci-subtitle {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.testimonials-section {
  background: rgba(17, 24, 39, 0.4);
}

/* RESPONSIVE DESIGN & MOBILE MENU */
@media (max-width: 992px) {
  html, body {
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 1.25rem;
  }

  .top-status-content {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .hero-section {
    padding-top: 7.5rem;
    padding-bottom: 3.5rem;
  }

  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.8rem, 5.5vw, 2.6rem);
  }

  .hero-description {
    font-size: 1rem;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 15, 25, 0.98);
    backdrop-filter: blur(25px);
    padding: 1.5rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    gap: 0.5rem;
  }

  .nav-links.mobile-open {
    display: flex;
    animation: fadeInDown 0.3s forwards ease;
  }

  .nav-links a {
    font-size: 1rem;
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
  }

  .image-frame img {
    height: 380px;
  }

  .badge-top-right, .badge-bottom-left {
    position: relative;
    top: auto; right: auto; bottom: auto; left: auto;
    margin-top: 0.75rem;
    width: 100%;
  }

  .section {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .about-creci-badge {
    position: absolute;
    bottom: -1rem;
    right: 0;
  }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
  /* Prevent iOS zoom on form inputs by ensuring font-size is 16px */
  input, select, textarea, .form-control {
    font-size: 16px !important;
  }

  .header-actions .btn-header-wa {
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }

  .wa-btn-text {
    display: inline-block;
  }

  .brand-info h2 {
    font-size: 1.05rem;
  }

  .brand-info span {
    font-size: 0.62rem;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    margin-bottom: 1rem;
    white-space: normal;
    text-align: center;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .trust-elements {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .trust-item:not(:first-child) {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 0.75rem;
    width: 100%;
  }

  .quick-lead-form-box {
    padding: 1.25rem;
    margin-top: 2rem;
  }

  .form-header h3 {
    font-size: 1.15rem;
  }

  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .form-submit-wrapper {
    text-align: center;
  }

  .valuation-box {
    padding: 1.25rem;
  }

  .wizard-steps {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
  }

  .wizard-steps::before {
    display: none;
  }

  .wizard-step-item {
    justify-content: center;
    text-align: center;
  }

  .wizard-options-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .wizard-btn-center .btn {
    width: 100%;
  }

  .wizard-btn-group {
    flex-direction: column-reverse;
    width: 100%;
  }

  .wizard-btn-group .btn {
    width: 100%;
  }

  .wizard-form-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .wizard-step-heading {
    font-size: 1.05rem;
  }

  .about-creci-badge {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 1rem;
    width: 100%;
    text-align: center;
    padding: 1rem;
  }

  .about-creci-badge .creci-number {
    font-size: 1.4rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .info-card {
    padding: 1.25rem;
  }

  .map-container {
    min-height: 280px;
    height: 280px;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1.1rem;
    font-size: 0.85rem;
  }

  .floating-whatsapp span {
    display: inline-block;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 380px) {
  .wa-btn-text {
    display: none;
  }
  
  .header-actions .btn-header-wa {
    padding: 0.55rem;
    border-radius: 50%;
  }
}
