/* ==========================================================================
   Guarderas & Asociados - Custom Corporate Styling
   Estudio Guarderas & Asociados S.R.L. - Buenos Aires, Argentina
   ========================================================================== */

:root {
  --primary-navy: #0a2240;
  --primary-dark: #06162a;
  --accent-gold: #c59b27;
  --accent-gold-hover: #b0891e;
  --slate-blue: #1e3a8a;
  --text-dark: #212529;
  --text-muted: #555e68;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
}

/* Navbar & Brand */
.navbar-brand h2 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: none;
  margin-bottom: 0;
}

.navbar-brand h2 span {
  color: var(--accent-gold);
}

.sub-header {
  background-color: var(--primary-dark);
}

.sub-header .left-info li a {
  font-size: 13px;
  color: #cbd5e1;
}

.sub-header .left-info li a i {
  color: var(--accent-gold);
  margin-right: 6px;
}

.sub-header .right-icons li a {
  color: #cbd5e1;
}

.sub-header .right-icons li a:hover {
  color: var(--accent-gold);
}

header {
  background-color: rgba(10, 34, 64, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header.background-header {
  background-color: var(--primary-navy) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.navbar-nav .nav-link {
  font-size: 14px;
  font-weight: 500;
  color: #ffffff !important;
  padding: 10px 16px !important;
  transition: all 0.3s ease;
}

.navbar-nav .nav-item.active .nav-link,
.navbar-nav .nav-link:hover {
  color: var(--accent-gold) !important;
}

/* Dropdown styling */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu {
  background-color: var(--primary-navy);
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  margin-top: 0;
}

.dropdown-item {
  color: #ffffff;
  font-size: 13px;
  padding: 10px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-item:hover {
  background-color: var(--slate-blue);
  color: var(--accent-gold);
  padding-left: 22px;
}

/* Page Heading for Inner Pages */
.page-heading {
  padding: 195px 0 95px 0;
  background-size: cover;
  background-position: center center;
  position: relative;
  text-align: center;
}

.page-heading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(6, 22, 42, 0.88) 0%, rgba(10, 34, 64, 0.82) 100%);
}

.page-heading .container {
  position: relative;
  z-index: 2;
}

.page-heading h1 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.page-heading p {
  color: #e2e8f0;
  font-size: 16px;
  max-width: 720px;
  margin: 0 auto 16px auto;
  line-height: 1.6;
}

.breadcrumb-custom {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 18px;
  border-radius: 30px;
}

.breadcrumb-custom li, .breadcrumb-custom li a {
  color: #cbd5e1;
  font-size: 13px;
}

.breadcrumb-custom li.active {
  color: var(--accent-gold);
  font-weight: 600;
}

/* Buttons */
.filled-button, .border-button {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 4px;
  display: inline-block;
  transition: all 0.3s ease;
}

.filled-button {
  background-color: var(--accent-gold);
  color: #ffffff !important;
  border: 2px solid var(--accent-gold);
}

.filled-button:hover {
  background-color: var(--accent-gold-hover);
  border-color: var(--accent-gold-hover);
}

.border-button {
  background-color: transparent;
  color: var(--accent-gold) !important;
  border: 2px solid var(--accent-gold);
}

.border-button:hover {
  background-color: var(--accent-gold);
  color: #ffffff !important;
}

/* Content Sections */
.section-pad {
  padding: 80px 0;
}

.section-pad-sm {
  padding: 50px 0;
}

.bg-slate {
  background-color: var(--bg-light);
}

.section-heading-custom {
  text-align: center;
  margin-bottom: 50px;
}

.section-heading-custom h6 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-gold);
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.section-heading-custom h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.section-heading-custom p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Service & Feature Cards */
.guarderas-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.guarderas-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(10, 34, 64, 0.12);
}

.guarderas-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.guarderas-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.guarderas-card-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 12px;
}

.guarderas-card-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.guarderas-badge {
  display: inline-block;
  background-color: rgba(197, 155, 39, 0.12);
  color: #8c6d12;
  font-weight: 600;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

/* Legal text styling */
.legal-box {
  background: #ffffff;
  padding: 36px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

.legal-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-navy);
  margin-top: 28px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(197, 155, 39, 0.3);
}

.legal-box h3:first-of-type {
  margin-top: 0;
}

.legal-box p, .legal-box li {
  font-size: 14px;
  color: #4a5568;
  line-height: 1.7;
}

.legal-box ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

/* Forms styling */
.form-guarderas {
  background: #ffffff;
  padding: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-guarderas .form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-navy);
  margin-bottom: 6px;
}

.form-guarderas .form-control {
  border: 1px solid var(--border-color);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.form-guarderas .form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

/* Calculator Box */
.calc-summary-card {
  background: var(--primary-navy);
  color: #ffffff;
  border-radius: 8px;
  padding: 30px;
  height: 100%;
}

.calc-summary-card h4 {
  color: var(--accent-gold);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 18px;
}

.calc-price-display {
  font-size: 34px;
  font-weight: 800;
  color: #ffffff;
  margin: 16px 0;
  font-family: 'Poppins', sans-serif;
}

.calc-price-note {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.5;
}

/* Footer Styling */
footer {
  background-color: var(--primary-dark);
  padding: 70px 0 40px 0;
  color: #94a3b8;
}

footer .footer-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 10px;
}

footer .footer-item h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-gold);
}

footer .menu-list li a {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 2.2;
  transition: color 0.2s ease;
}

footer .menu-list li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.sub-footer {
  background-color: #030a13;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
  color: #64748b;
}

.sub-footer a {
  color: #94a3b8;
}

.sub-footer a:hover {
  color: var(--accent-gold);
}

/* Cookie consent modal/bar */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 34, 64, 0.98);
  color: #ffffff;
  padding: 18px 24px;
  z-index: 99999;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#cookie-banner p {
  font-size: 13px;
  color: #e2e8f0;
  margin-bottom: 0;
  max-width: 820px;
  line-height: 1.5;
}

#cookie-banner a {
  color: var(--accent-gold);
  text-decoration: underline !important;
}

/* Responsive fixes */
@media (max-width: 991px) {
  .page-heading {
    padding: 140px 0 60px 0;
  }
  .page-heading h1 {
    font-size: 28px;
  }
  .navbar-nav {
    background-color: var(--primary-navy);
    padding: 16px;
    border-radius: 6px;
    margin-top: 12px;
  }
  .navbar .navbar-toggler {
    background-color: transparent !important;
    border: 1px solid var(--accent-gold) !important;
    border-radius: 4px !important;
    height: 40px !important;
    padding: 6px 10px !important;
    top: 15px !important;
    right: 15px !important;
  }
  .navbar .navbar-toggler-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .navbar .navbar-toggler-icon:after {
    display: none !important;
  }
}
