/* ═══════════════════════════════════════════════════════════════
   ACENTO — Mobile-First Responsive Styles
   Design System: Kinfolk Editorial (Redesign)
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  /* Colors — Acento Redesign Palette (Airbnb-inspired) */
  --bg:         #FFFFFF; /* Pure white background */
  --surface:    #FFFFFF; /* Card surface */
  --gray-light: #F7F7F7; /* Subtle backgrounds */
  --ink:        #222222; /* Airbnb charcoal */
  --ink-soft:   #484848;
  --muted:      #717171;
  --rust:       #FF5A5F; /* Acento/Airbnb vibrant red-orange */
  --rust-700:   #E04B50;
  --rust-soft:  rgba(255, 90, 95, 0.08);
  --border:     #DDDDDD; /* Standard Airbnb border */
  --border-soft: #EBEBEB;
  --success:    #2F8F6B;
  
  /* Vertical Colors */
  --v-comercios: var(--rust);
  --v-oficios: #507A8A;
  --v-profesionales: #2F8F6B;
  
  /* Typography */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Spacing Scale */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  
  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-full: 999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
}

/* Base */
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; width: 100%; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.6;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; width: 100%; position: relative;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }

/* Utilities */
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6); }
.serif-italic { font-family: var(--serif); font-style: italic; color: var(--rust); }
.btn-primary { background: var(--rust); color: white; border: none; border-radius: var(--radius-md); padding: var(--space-3) var(--space-6); font-weight: 700; cursor: pointer; transition: all 0.2s; }
.btn-primary:hover { background: var(--rust-700); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-2) var(--space-4); font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: var(--space-2); font-size: 14px; }
.btn-outline:hover { border-color: var(--ink); background: var(--gray-light); }
.btn-solid { background: var(--rust); color: white; border: none; border-radius: var(--radius-md); padding: var(--space-2) var(--space-4); font-weight: 700; cursor: pointer; font-size: 14px; }
.btn-white { background: white; color: var(--ink); border: 1px solid var(--border); border-radius: var(--radius-md); padding: var(--space-2) var(--space-4); font-weight: 700; cursor: pointer; box-shadow: var(--shadow-sm); }

/* Navigation Redesign */
#siteNav { position: sticky; top: 0; z-index: 1000; background: var(--bg); border-bottom: 1px solid var(--border-soft); }
#siteNav .nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6); }

.logo { background: none; border: none; display: flex; align-items: center; gap: var(--space-2); cursor: pointer; padding: 0; }
.logo-icon { font-size: 28px; }
.logo-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.logo-text .brand { font-family: var(--serif); font-weight: 800; font-size: 22px; color: var(--rust); letter-spacing: -0.5px; }
.logo-text .town { font-family: var(--sans); font-weight: 700; font-size: 9px; color: var(--muted); letter-spacing: 1.5px; }

.nav-center .nav-links { display: flex; gap: var(--space-8); }
.nav-center .nav-link { background: none; border: none; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; padding: var(--space-2) 0; position: relative; }
.nav-center .nav-link:hover { color: var(--ink); }
.nav-center .nav-link.active::after { content: ""; position: absolute; bottom: -24px; left: 0; right: 0; height: 2px; background: var(--ink); }

.nav-right { display: flex; gap: var(--space-4); align-items: center; }
.mobile-menu-toggle { display: flex; background: white; border: 1px solid var(--border); border-radius: 999px; padding: 8px 12px; cursor: pointer; align-items: center; gap: 8px; color: var(--ink-soft); }
.mobile-menu-toggle:hover { box-shadow: var(--shadow-md); }

/* Hero Redesign (Compact Search) */
.hero { background: var(--bg); padding: var(--space-10) 0 var(--space-12); border-bottom: 1px solid var(--border-soft); }
.hero-container { max-width: 800px; margin: 0 auto; padding: 0 var(--space-6); text-align: center; }

.hero-left h1 { font-family: var(--serif); font-weight: 800; font-size: 40px; line-height: 1.2; margin-bottom: var(--space-8); letter-spacing: -0.5px; color: var(--ink); }
.hero-left p, .badge-town, .hero-trust, .hero-right { display: none; } /* Hide marketing clutter */

.search-bar-new { background: white; border: 1px solid var(--border); border-radius: 999px; padding: 4px; display: flex; align-items: center; box-shadow: var(--shadow-md); margin: 0 auto var(--space-10); max-width: 600px; }
.search-input-group, .search-location-group { display: flex; flex-direction: column; align-items: flex-start; padding: 8px 24px; gap: 2px; flex: 1; text-align: left; }
.search-input-group { border-right: 1px solid var(--border-soft); }
.search-input-group label, .search-location-group label { font-size: 10px; font-weight: 800; color: var(--ink); text-transform: uppercase; }
.search-input-group input { border: none; outline: none; font-size: 14px; width: 100%; color: var(--muted); }
.search-location-group select { border: none; outline: none; font-size: 14px; background: none; font-weight: 500; cursor: pointer; width: 100%; color: var(--muted); padding-left: 0; }
.search-bar-new .btn-primary { border-radius: 50%; width: 48px; height: 48px; padding: 0; display: flex; align-items: center; justify-content: center; font-size: 18px; margin-right: 4px; }
.search-bar-new .btn-primary span { display: block; }

/* Category Icons Strip (Sticky below search) */
.category-circles-wrap { background: white; padding: var(--space-4) 0; position: sticky; top: 72px; z-index: 900; border-bottom: 1px solid var(--border-soft); }
.category-circles { max-width: 1280px; margin: 0 auto; padding: 0 var(--space-6); display: flex; gap: var(--space-10); overflow-x: auto; scrollbar-width: none; }
.cat-circle { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: var(--space-2); flex-shrink: 0; transition: all 0.2s; padding-bottom: 8px; opacity: 0.6; }
.cat-circle .icon-box { font-size: 24px; margin-bottom: 2px; }
.cat-circle span { font-size: 12px; font-weight: 500; color: var(--ink); border-bottom: 2px solid transparent; padding-bottom: 4px; }
.cat-circle:hover { opacity: 1; }
.cat-circle.active { opacity: 1; border-bottom: 2px solid var(--ink); }
.cat-circle.active span { font-weight: 700; }
.dot-circle { display: none; } /* Hide more for now */

/* Listing Header */
.listing-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: var(--space-8); padding-top: var(--space-12); }
.listing-header .eyebrow { font-size: 12px; font-weight: 700; color: var(--rust); text-transform: uppercase; letter-spacing: 1px; margin-bottom: var(--space-2); }
.listing-header h2 { font-family: var(--serif); font-size: 32px; font-weight: 800; color: var(--ink); }
.btn-text { background: none; border: none; color: var(--muted); font-weight: 700; cursor: pointer; border: 1px solid var(--border); padding: 8px 16px; border-radius: 6px; }

/* Grid */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-10); padding-bottom: var(--space-16); }

/* Card Redesign (Airbnb-like) */
.card { background: white; border: none; border-radius: 0; overflow: visible; cursor: pointer; transition: none; box-shadow: none; display: flex; flex-direction: column; gap: var(--space-3); }
.card:hover .cover { filter: brightness(0.9); }
.cover { aspect-ratio: 1/1; height: auto; border-radius: var(--radius-lg); position: relative; background: var(--gray-light); overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cover-initials { font-family: var(--serif); font-weight: 700; font-size: 40px; color: rgba(0,0,0,0.1); }
.cover-badge { position: absolute; top: 12px; left: 12px; border-radius: 4px; padding: 4px 8px; font-size: 10px; font-weight: 800; background: white !important; box-shadow: var(--shadow-sm); color: var(--ink) !important; border: 1px solid var(--border-soft); }
.card-body { padding: 0; flex: none; display: flex; flex-direction: column; gap: 2px; }
.card-category { display: none; } /* Hide to simplify */
.card-title-row { display: flex; justify-content: space-between; align-items: flex-start; }
.card-title { font-family: var(--sans); font-weight: 700; font-size: 15px; color: var(--ink); }
.card-rating-inline { font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 4px; }
.card-desc { font-size: 14px; color: var(--muted); }
.card-tags { display: none; }
.card-actions { display: none; } /* Actions only in profile or on hover if we want, but keeping it clean for now */

/* Sections to Hide/Remove */
.owner-benefits, .plans-band, .process-section { display: none; }

/* Profile Redesign (Kinfolk Editorial) */
#profile { background: white; min-height: 100vh; padding-bottom: 100px; }
.profile-wrap { max-width: 1120px; margin: 0 auto; padding: 0 var(--space-6); }
.profile-inner { padding-top: var(--space-8); }
.back-btn { background: none; border: none; color: var(--ink); font-weight: 600; cursor: pointer; margin-bottom: var(--space-6); display: flex; align-items: center; gap: 8px; font-size: 14px; text-decoration: underline; }

.profile-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 200px 200px; gap: 8px; border-radius: var(--radius-lg); overflow: hidden; margin-bottom: var(--space-8); }
.gallery-main { grid-row: 1 / 3; background-size: cover; background-position: center; }
.gallery-side { background-size: cover; background-position: center; }

.profile-layout { display: grid; grid-template-columns: 1.8fr 1fr; gap: 80px; align-items: start; }
.profile-main-info h1 { font-family: var(--serif); font-size: 32px; font-weight: 800; margin-bottom: 8px; }
.profile-meta-top { display: flex; gap: 12px; font-size: 14px; color: var(--muted); margin-bottom: 24px; align-items: center; }
.status-pill { padding: 2px 8px; border-radius: 4px; font-size: 12px; font-weight: 800; text-transform: uppercase; }

.profile-section { padding: 32px 0; border-top: 1px solid var(--border-soft); }
.profile-section:first-of-type { border-top: none; padding-top: 0; }
.profile-section h2 { font-family: var(--serif); font-size: 22px; font-weight: 800; margin-bottom: 16px; }
.profile-text { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }

.services-list { display: flex; flex-direction: column; gap: 12px; }
.service-item { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; border-bottom: 1px solid var(--border-soft); }
.service-name { font-weight: 600; }
.service-price { font-weight: 700; color: var(--rust); }

/* Sidebar / Floating CTA */
.profile-sidebar { position: sticky; top: 100px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); display: flex; flex-direction: column; gap: 24px; background: white; }
.sidebar-info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.sidebar-icon { font-size: 18px; width: 24px; text-align: center; }

.btn-cta-whatsapp { background: var(--rust); color: white; border: none; border-radius: var(--radius-md); padding: 16px; font-weight: 800; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; transition: 0.2s; }
.btn-cta-whatsapp:hover { background: var(--rust-700); }

/* Sticky Mobile CTA */
.mobile-cta-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; background: white; border-top: 1px solid var(--border-soft); padding: 16px 24px; z-index: 1100; align-items: center; justify-content: space-between; }
.mobile-cta-price { display: flex; flex-direction: column; }
.mobile-cta-price span:first-child { font-weight: 800; font-size: 18px; }
.mobile-cta-price span:last-child { font-size: 12px; color: var(--muted); text-decoration: underline; }

/* Footer Redesign */
footer { background: var(--gray-light); border-top: 1px solid var(--border-soft); }
.footer-inner-new { max-width: 1280px; margin: 0 auto; padding: var(--space-16) var(--space-6); display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: var(--space-12); }
.footer-col h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; margin-bottom: var(--space-4); }
.newsletter-form-new { display: flex; gap: 8px; margin-bottom: 12px; max-width: 400px; }
.newsletter-form-new input { flex: 1; background: white; border: 1px solid var(--border); border-radius: 8px; padding: 10px; font-size: 14px; outline: none; }
.newsletter-form-new button { background: var(--ink); color: white; border: none; border-radius: 8px; padding: 0 16px; font-weight: 700; cursor: pointer; }

.footer-logo .brand { font-family: var(--serif); font-weight: 800; font-size: 20px; color: var(--rust); }
.footer-desc { font-size: 13px; color: var(--muted); margin-bottom: 16px; max-width: 300px; }
.footer-socials { display: flex; gap: 12px; font-size: 18px; }

.footer-nav-group h5 { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; color: var(--ink); }
.footer-nav-group ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-link { background: none; border: none; font-size: 13px; color: var(--muted); font-weight: 500; cursor: pointer; text-align: left; padding: 0; }
.footer-link:hover { text-decoration: underline; color: var(--ink); }

.footer-bottom-new { border-top: 1px solid var(--border-soft); padding: 24px 0; font-size: 12px; color: var(--muted); font-weight: 500; }

/* Responsive Updates */
@media (max-width: 1024px) {
  .grid { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .profile-layout { grid-template-columns: 1fr; gap: 40px; }
  .profile-sidebar { position: static; box-shadow: none; border: 1px solid var(--border-soft); }
}

@media (max-width: 768px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-4); }
  .hero-left h1 { font-size: 32px; }
  .search-bar-new { flex-direction: column; border-radius: 24px; padding: 12px; gap: 8px; }
  .search-input-group { border-right: none; border-bottom: 1px solid var(--border-soft); width: 100%; }
  .search-bar-new .btn-primary { width: 100%; border-radius: 12px; height: 48px; }
  .category-circles { gap: var(--space-6); }
  .footer-inner-new { grid-template-columns: 1fr; gap: 48px; }
  
  .mobile-cta-bar { display: flex; }
  #profile { padding-bottom: 120px; }
  .profile-gallery { grid-template-columns: 1fr; grid-template-rows: 300px; }
  .gallery-side { display: none; }
}

@media (max-width: 480px) {
  .grid { grid-template-columns: 1fr; }
  .nav-right .btn-outline, .nav-right .btn-solid { display: none; }
}

