/* ==========================================================================
   Gabriela Ballalai - Ultra Luxury Institutional Style Sheet
   Palette:
   - Primary Background: #faf2d7 (Luxury Cream)
   - Secondary / Card Background: #ffffff / #f5ebd0
   - Primary Text: #292929 (Charcoal Dark)
   - Accent / Icons / Highlights: #ae8066 (Bronze Rose Gold)
   - Accent Hover: #93674f
   ========================================================================== */

/* Font Face Definitions */
@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('../font/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Root Variables */
:root {
  --bg-primary: #faf2d7;
  --bg-card: rgba(255, 255, 255, 0.7);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --text-dark: #292929;
  --text-muted: #595959;
  --color-accent: #ae8066;
  --color-accent-hover: #93674f;
  --color-accent-light: rgba(174, 128, 102, 0.15);
  --border-gold: rgba(174, 128, 102, 0.3);
  --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-luxury: 0 20px 40px rgba(41, 41, 41, 0.06);
  --shadow-luxury-hover: 0 30px 60px rgba(174, 128, 102, 0.18);
}

/* Base Reset & Typography */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-dark);
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

/* Enforce Minimum Font Size of 16px (1rem) across all text elements */
small,
.small,
.form-text,
.text-muted,
p,
span,
a,
label,
button,
input,
select,
textarea {
  font-size: max(1rem, 16px);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-main);
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

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

a:hover {
  color: var(--color-accent-hover);
}

/* Header & Navbar */
.navbar-custom {
  background-color: rgba(250, 242, 215, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-gold);
  padding: 1.2rem 0;
  transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
  padding: 0.8rem 0;
  box-shadow: 0 10px 30px rgba(41, 41, 41, 0.08);
}

.navbar-brand-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-dark);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.navbar-logo-img {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.footer-logo-img {
  height: 64px !important;
  max-height: 64px !important;
  width: auto !important;
  object-fit: contain;
  display: inline-block;
  margin-bottom: 12px;
}

.nav-link-custom {
  color: var(--text-dark);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  margin: 0 12px;
  position: relative;
}

.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
}

.nav-link-custom:hover::after,
.nav-link-custom.active::after {
  width: 100%;
}

.nav-link-custom:hover {
  color: var(--color-accent);
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.6);
  padding: 4px 10px;
  border-radius: 30px;
  border: 1px solid var(--border-gold);
}

.lang-btn {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.lang-btn.active {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(174, 128, 102, 0.3);
}

.lang-btn:hover:not(.active) {
  color: var(--color-accent);
}

.flag-icon {
  font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 0;
  background-color: var(--bg-primary);
  overflow: hidden;
}

.hero-banner-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-luxury);
  border: 1px solid var(--border-gold);
}

.hero-img-desk {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-mob {
  display: none;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-overlay-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(41, 41, 41, 0.2) 0%, rgba(41, 41, 41, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 60px 40px;
  color: #ffffff;
}

@media (min-width: 992px) {
  .hero-overlay-content>* {
    max-width: 59%;
  }
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 15px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-subtext {
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #f5ebd0;
  margin-bottom: 25px;
}

.badge-luxury {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(174, 128, 102, 0.35);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 30px;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 15px;
  width: fit-content;
}

/* Decorative Divider */
.gold-divider {
  width: 70px;
  height: 3px;
  background: var(--color-accent);
  margin: 25px 0;
  border-radius: 2px;
}

.gold-divider.center {
  margin: 25px auto;
}

/* Section Styling */
.section-padding {
  padding: 30px 0;
}

.section-tagline {
  color: var(--color-accent);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.8;
}

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

/* Cards & Pillars */
.card-pillar {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  padding: 40px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-luxury);
}

.card-pillar:hover {
  background: var(--bg-card-hover);
  transform: translateY(-8px);
  box-shadow: var(--shadow-luxury-hover);
  border-color: var(--color-accent);
}

.pillar-img-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 15px 30px rgba(41, 41, 41, 0.1);
  border: 1px solid var(--border-gold);
}

.pillar-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-pillar:hover .pillar-img {
  transform: scale(1.05);
}

.pillar-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 15px;
}

.pillar-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 18px;
}

/* About Section Card */
.about-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 20px;
  border: 1px solid var(--border-gold);
  padding: 50px;
  box-shadow: var(--shadow-luxury);
  position: relative;
  overflow: hidden;
}

.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--color-accent);
}

/* Contact List Grid */
.contact-list {
  display: block;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Contact Info Items */
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 14px;
  border: 1px solid var(--border-gold);
  transition: var(--transition-smooth);
  width: 100%;
  box-sizing: border-box;
}

.contact-item:hover {
  background: #ffffff;
  box-shadow: var(--shadow-luxury);
  border-color: var(--color-accent);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-dark);
  word-break: break-word;
  overflow-wrap: anywhere;
}

/* Buttons */
.btn-gold {
  background-color: var(--color-accent);
  color: #ffffff !important;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 32px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 10px 25px rgba(174, 128, 102, 0.35);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-gold:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(174, 128, 102, 0.45);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--color-accent) !important;
  border: 2px solid var(--color-accent);
  font-weight: 600;
  letter-spacing: 1px;
  padding: 12px 30px;
  border-radius: 30px;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 62px;
  height: 62px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

.whatsapp-float:hover {
  background-color: #20ba5a;
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(37, 211, 102, 0.5);
  animation: pulse-ring 2s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.4);
    opacity: 0;
  }

  100% {
    transform: scale(0.95);
    opacity: 0;
  }
}

/* Modal Styling */
.modal-content-luxury {
  background-color: #faf2d7;
  border: 1px solid var(--border-gold);
  border-radius: 18px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
}

.modal-header-luxury {
  border-bottom: 1px solid var(--border-gold);
  padding: 24px 30px;
}

.modal-footer-luxury {
  border-top: 1px solid var(--border-gold);
  padding: 20px 30px;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 30px 0 !important;
    min-height: auto !important;
  }

  .hero-banner-wrapper {
    position: relative !important;
    width: 100% !important;
    height: calc(100vh - 160px) !important;
    min-height: 480px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
  }

  .hero-img-desk {
    display: none !important;
  }

  .hero-img-mob {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
  }

  .hero-overlay-content {
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    text-align: center !important;
    padding: 20px 20px 30px 20px !important;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.3) 45%, rgba(0, 0, 0, 0.9) 100%) !important;
    color: #ffffff !important;
  }

  .badge-luxury {
    margin: 0 auto 10px auto !important;
    font-size: 1rem !important;
    padding: 6px 14px !important;
    text-align: center !important;
    display: inline-block !important;
    background: rgba(174, 128, 102, 0.9) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
  }

  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.35 !important;
    text-align: center !important;
    color: #ffffff !important;
    margin: 0 auto 8px auto !important;
    width: 100% !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9) !important;
  }

  .hero-subtext {
    font-size: 1rem !important;
    letter-spacing: 2px !important;
    text-align: center !important;
    color: #f5ebd0 !important;
    margin: 0 auto 0 auto !important;
    width: 100% !important;
  }

  .about-card {
    padding: 30px 20px;
    text-align: center !important;
  }

  .section-tagline,
  .section-title,
  .section-description {
    text-align: center !important;
  }

  .card-pillar {
    padding: 25px;
    text-align: center !important;
  }

  .pillar-img {
    height: 240px;
  }

  #contact {
    overflow: hidden;
  }

  .contact-item {
    flex-direction: column !important;
    text-align: center !important;
    justify-content: center !important;
    padding: 14px !important;
    margin-bottom: 16px !important;
  }

  .contact-value a {
    word-break: break-all;
  }
}

/* ==========================================
   STRICT MINIMUM FONT SIZE (16px / 1rem)
   ========================================== */
html,
body {
  font-size: 16px !important;
}

/* ==========================================
   STRICT TEXT FONT WEIGHT (400)
   ========================================== */
p,
.lead,
.section-description,
.pillar-text,
.card-pillar p,
.about-card p,
.modal-body,
.modal-body p,
footer p,
footer div,
footer span,
body,
body p,
main p {
  font-weight: 400 !important;
}