/* ============================================
   LAHAM & MANTOVAN - MEDICINA INTEGRATIVA
   Vanilla CSS Stylesheet
   ============================================ */

/* ============================================
   1. CSS CUSTOM PROPERTIES
   ============================================ */
:root {
  /* Brand Colors (HSL) */
  --brand-burgundy: 343 71% 27%;
  --brand-burgundy-light: 343 71% 35%;
  --brand-burgundy-dark: 343 71% 20%;
  --brand-golden: 34 42% 45%;
  --brand-golden-light: 34 42% 55%;
  --brand-golden-dark: 34 42% 35%;
  --brand-beige: 35 30% 69%;
  --brand-cream: 32 50% 93%;

  /* Semantic Colors */
  --background: 32 50% 93%;
  --foreground: 343 71% 20%;
  --card: 0 0% 100%;
  --card-foreground: 343 71% 20%;
  --primary: 343 71% 27%;
  --primary-foreground: 32 50% 93%;
  --secondary: 34 42% 45%;
  --secondary-foreground: 0 0% 100%;
  --muted: 35 30% 69%;
  --muted-foreground: 343 71% 20%;
  --accent: 34 42% 55%;
  --accent-foreground: 343 71% 20%;
  --border: 35 20% 85%;
  --ring: 343 71% 27%;

  /* Medical Colors */
  --success: 140 60% 45%;
  --warning: 38 92% 50%;
  --info: 210 100% 56%;

  /* Sizing */
  --radius: 0.75rem;
  --container-max-width: 1400px;

  /* Shadows */
  --shadow-soft: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-medium: 0 4px 6px rgba(0,0,0,0.05), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-strong: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.12), 0 8px 10px rgba(0,0,0,0.08);
  --shadow-2xl: 0 25px 50px rgba(0,0,0,0.15);

  /* Timing Functions */
  --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, hsl(var(--brand-burgundy)), hsl(var(--brand-burgundy-light)));
  --gradient-hero: linear-gradient(180deg, hsl(var(--card)), hsl(var(--brand-cream)));
  --gradient-card: linear-gradient(180deg, hsl(var(--card)), hsl(var(--card)));
}

/* ============================================
   2. RESET & BASE STYLES
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Playfair Display', serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Custom Font Face */
@font-face {
  font-family: 'Academy Engraved LET Plain';
  src: url('./assets/fonts/AcademyEngravedLetPlain.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.font-brand-name {
  font-family: 'Academy Engraved LET Plain', 'Cormorant Garamond', serif;
  font-weight: normal;
  letter-spacing: 0.02em;
}

/* ============================================
   3. TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: clamp(1.25rem, 2.5vw, 1.875rem); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  font-weight: 300;
  line-height: 1.8;
}

.text-center { text-align: center; }
.text-light { font-weight: 300; }
.text-medium { font-weight: 500; }
.text-semibold { font-weight: 600; }
.text-bold { font-weight: 700; }

/* ============================================
   4. LAYOUT UTILITIES
   ============================================ */
.page-wrapper {
  min-height: 100vh;
  background: hsl(var(--background));
}

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

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

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.grid-reverse {
  direction: ltr;
}

@media (min-width: 768px) {
  .grid-reverse > *:first-child {
    order: 2;
  }
  .grid-reverse > *:last-child {
    order: 1;
  }
}

/* Utility Classes */
.hidden {
  display: none !important;
}

.hidden-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hidden-mobile {
    display: inline;
  }
}

/* ============================================
   5. ICONS
   ============================================ */
.icon {
  width: 1rem;
  height: 1rem;
  stroke-width: 2;
  stroke: currentColor;
  fill: none;
}

.icon-primary {
  color: hsl(var(--primary));
}

.icon-arrow {
  transition: transform 300ms var(--transition-smooth);
}

.icon-check {
  width: 1.25rem;
  height: 1.25rem;
}

/* Star icons in testimonials */
.star {
  width: 1.25rem;
  height: 1.25rem;
  fill: hsl(var(--brand-golden));
  stroke: none;
}

.quote-icon {
  width: 3rem;
  height: 3rem;
  fill: hsl(var(--brand-beige));
  opacity: 0.2;
  stroke: none;
}

/* ============================================
   6. BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: all 300ms var(--transition-smooth);
  white-space: nowrap;
  cursor: pointer;
  font-size: 1rem;
  line-height: 1;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: hsl(var(--brand-burgundy-dark));
  box-shadow: var(--shadow-medium);
}

.btn-ghost {
  background: transparent;
  color: hsl(var(--primary));
  border: none;
}

.btn-ghost:hover {
  background: hsl(var(--brand-cream) / 0.5);
}

.btn-outline {
  background: transparent;
  border: 2px solid hsl(var(--primary) / 0.2);
  color: hsl(var(--primary));
}

.btn-outline:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-hero {
  background: hsl(var(--brand-cream) / 0.9);
  color: hsl(var(--primary));
  box-shadow: var(--shadow-xl);
  font-size: 1.125rem;
}

.btn-hero:hover {
  background: hsl(var(--brand-cream));
  box-shadow: var(--shadow-2xl);
  transform: scale(1.05);
}

.btn-cta {
  background: hsl(var(--card));
  color: hsl(var(--primary));
  box-shadow: var(--shadow-medium);
}

.btn-cta:hover {
  background: hsl(var(--card) / 0.9);
  box-shadow: var(--shadow-strong);
  transform: scale(1.05);
}

.btn-cta .icon-arrow {
  margin-left: 0.5rem;
}

.btn-cta:hover .icon-arrow {
  transform: translateX(0.25rem);
}

.btn-footer {
  width: 100%;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  box-shadow: var(--shadow-medium);
}

.btn-footer:hover {
  background: hsl(var(--brand-burgundy) / 0.9);
  box-shadow: var(--shadow-strong);
  transform: scale(1.05);
}

/* ============================================
   7. HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 300ms var(--transition-smooth);
  background: transparent;
}

.header-scrolled {
  background: hsl(var(--card) / 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid hsl(var(--border) / 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

/* Logo */
.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  object-fit: cover;
}

.logo-text {
  display: none;
}

@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}

.logo-name {
  font-size: 1.25rem;
  line-height: 1.2;
  color: hsl(var(--card));
  transition: color 300ms var(--transition-smooth);
}

.header-scrolled .logo-name {
  color: hsl(var(--foreground));
}

.logo-tagline {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: hsl(var(--card) / 0.8);
  transition: color 300ms var(--transition-smooth);
}

.header-scrolled .logo-tagline {
  color: hsl(var(--brand-golden));
}

/* Desktop Navigation */
.nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 0.875rem;
  color: hsl(var(--card) / 0.9);
  transition: color 200ms var(--transition-smooth);
  cursor: pointer;
}

.nav-link:hover {
  color: hsl(var(--card));
}

.header-scrolled .nav-link {
  color: hsl(var(--foreground) / 0.8);
}

.header-scrolled .nav-link:hover {
  color: hsl(var(--primary));
}

/* Header CTA */
.header-cta {
  display: none;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 1024px) {
  .header-cta {
    display: flex;
  }
}

.header-cta .btn-ghost {
  color: hsl(var(--card));
}

.header-cta .btn-ghost:hover {
  color: hsl(var(--card));
  background: hsl(var(--card) / 0.1);
}

.header-scrolled .header-cta .btn-ghost {
  color: hsl(var(--primary));
}

.header-scrolled .header-cta .btn-ghost:hover {
  color: hsl(var(--primary));
  background: hsl(var(--brand-cream) / 0.5);
}

.header-cta .btn-primary {
  box-shadow: var(--shadow-soft);
  background: hsl(var(--card) / 0.2);
  color: hsl(var(--card));
  border: 1px solid hsl(var(--card) / 0.2);
}

.header-cta .btn-primary:hover {
  background: hsl(var(--card) / 0.3);
}

.header-scrolled .header-cta .btn-primary {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
}

.header-scrolled .header-cta .btn-primary:hover {
  background: hsl(var(--brand-burgundy-dark));
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: background 200ms var(--transition-smooth);
}

@media (min-width: 1024px) {
  .mobile-menu-btn {
    display: none;
  }
}

.mobile-menu-btn:hover {
  background: hsl(var(--brand-cream) / 0.5);
}

.header-scrolled .mobile-menu-btn:hover {
  background: hsl(var(--brand-cream) / 0.5);
}

.mobile-menu-btn .icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--card));
  transition: color 300ms var(--transition-smooth);
}

.header-scrolled .mobile-menu-btn .icon {
  color: hsl(var(--foreground));
}

/* Mobile Navigation */
.nav-mobile {
  border-top: 1px solid hsl(var(--border) / 0.05);
  padding: 1.5rem 0;
  background: hsl(var(--card) / 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav-link.mobile {
  color: hsl(var(--foreground) / 0.8);
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 200ms var(--transition-smooth);
}

.nav-link.mobile:hover {
  color: hsl(var(--primary));
  background: hsl(var(--brand-cream) / 0.3);
}

.mobile-cta {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding: 0 0.5rem;
}

.mobile-cta .btn {
  width: 100%;
  justify-content: center;
}

/* ============================================
   8. HERO SECTION
   ============================================ */
.hero {
  height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: hsl(var(--brand-golden) / 0.6);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 80rem;
  margin: 0 auto;
  text-align: center;
  padding: 0 1rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  color: hsl(var(--background));
  margin-bottom: 1.5rem;
  line-height: 1.1;
}

.hero-brand {
  display: block;
  color: hsl(var(--brand-cream));
}

.hero-subtitle {
  font-size: clamp(1.25rem, 3vw, 1.875rem);
  color: hsl(var(--background) / 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  line-height: 1.6;
}

/* ============================================
   9. SECTIONS
   ============================================ */
.section {
  padding: 5rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }
}

@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
}

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

.section-subtitle {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  max-width: 48rem;
  margin: 0 auto;
}

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

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

.section-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  margin-top: 1rem;
}

.section-image img {
  width: 100%;
  height: auto;
}

/* About Section */
.section-about {
  background: linear-gradient(to bottom, hsl(var(--background)), hsl(var(--muted) / 0.2));
}

.image-rounded {
  border-radius: 1.5rem;
  box-shadow: var(--shadow-xl);
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
}

/* Infrastructure Section */
.section-infrastructure {
  background: linear-gradient(to bottom, hsl(var(--muted) / 0.2), hsl(var(--background)));
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2rem;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  font-size: 0.875rem;
}

.badge-item .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* ============================================
   10. SERVICES SECTION
   ============================================ */
.section-services {
  background: hsl(var(--background));
}

.service-card {
  position: relative;
  padding: 2rem;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--card) / 0.6);
  box-shadow: var(--shadow-medium);
  transition: all 500ms var(--transition-smooth);
  cursor: pointer;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, transparent, hsl(var(--brand-beige) / 0.05));
  opacity: 0;
  transition: opacity 500ms var(--transition-smooth);
  border-radius: inherit;
}

.service-card:hover {
  transform: translateY(-0.5rem);
  box-shadow: var(--shadow-xl);
}

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

.service-icon {
  position: relative;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 300ms var(--transition-smooth);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(3deg);
}

.service-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
}

.service-icon-burgundy {
  background: hsl(var(--brand-burgundy) / 0.1);
}

.service-icon-burgundy .icon {
  color: hsl(var(--brand-burgundy));
}

.service-icon-golden {
  background: hsl(var(--brand-golden) / 0.1);
}

.service-icon-golden .icon {
  color: hsl(var(--brand-golden));
}

.service-icon-beige {
  background: hsl(var(--brand-beige) / 0.3);
}

.service-icon-beige .icon {
  color: hsl(var(--brand-burgundy));
}

.service-title {
  position: relative;
  font-size: 1.25rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  margin-bottom: 0.75rem;
  transition: color 300ms var(--transition-smooth);
}

.service-card:hover .service-title {
  color: hsl(var(--brand-burgundy));
}

.service-description {
  position: relative;
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.service-tags {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag {
  display: inline-block;
  padding: 0.25rem 0.5rem;
  background: hsl(var(--brand-beige) / 0.3);
  color: hsl(var(--brand-burgundy));
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* ============================================
   11. TEAM SECTION
   ============================================ */
.section-team {
  background: linear-gradient(to bottom, hsl(var(--card) / 0.6), hsl(var(--background)));
}

.team-card {
  position: relative;
  background: hsl(var(--card) / 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 2rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid hsl(var(--card) / 0.6);
  transition: all 500ms var(--transition-smooth);
}

.team-card:hover {
  transform: translateY(-0.25rem);
  box-shadow: var(--shadow-2xl);
}

.team-image-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.team-image {
  width: 6rem;
  height: 6rem;
  margin: 0 auto;
  object-fit: cover;
  border-radius: 1.5rem;
  border: 2px solid hsl(var(--card) / 0.8);
  box-shadow: var(--shadow-medium);
  transition: transform 300ms var(--transition-smooth);
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-badge {
  position: absolute;
  top: -0.5rem;
  right: -0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background: hsl(var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none;
}

.team-badge::after {
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  background: hsl(var(--card));
  border-radius: 50%;
}

.team-badge .icon {
  display: none;
}

.team-info {
  position: relative;
  text-align: center;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 300;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.team-role {
  font-size: 1.125rem;
  font-weight: 500;
  color: hsl(var(--primary));
  margin-bottom: 0rem;
}

.team-crm {
  font-size: 0.75rem;
  color: hsl(var(--brand-golden));
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.875rem;
  font-weight: 300;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
  margin-bottom: 1rem;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

.team-cta {
  text-align: center;
  margin-top: 4rem;
}

.team-cta-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  padding: 1rem;
  background: hsl(var(--card) / 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 1.5rem;
  border: 1px solid hsl(var(--brand-burgundy) / 0.1);
  box-shadow: var(--shadow-medium);
  width: 100%;
  max-width: 400px;
}

@media (min-width: 640px) {
  .team-cta-inner {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 9999px;
    width: auto;
    max-width: none;
  }

  .team-cta-inner .btn {
    width: auto;
  }
}

.team-cta-inner .btn {
  width: 100%;
  justify-content: center;
}

@media (min-width: 640px) {
  .team-cta-inner .btn {
    width: auto;
  }
}

/* ============================================
   12. TESTIMONIALS SECTION
   ============================================ */
.section-testimonials {
  background: hsl(var(--background));
}

.testimonial-card {
  padding: 2rem;
  background: hsl(var(--card));
  border-radius: 1rem;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  transition: all 300ms var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-medium);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 1rem;
}

.quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-author {
  padding-top: 1rem;
  border-top: 1px solid hsl(var(--border));
}

.author-name {
  font-size: 1rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.25rem;
}

.author-info {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

/* ============================================
   13. CTA SECTION
   ============================================ */
.section-cta {
  background: hsl(var(--card));
}

.cta-main {
  position: relative;
  background: var(--gradient-primary);
  padding: 3rem 2rem;
  border-radius: 1.5rem;
  text-align: center;
  color: hsl(var(--card));
  overflow: hidden;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .cta-main {
    padding: 4rem 3rem;
  }
}

.cta-decorative-circle {
  position: absolute;
  border-radius: 50%;
  background: hsl(var(--card) / 0.1);
  filter: blur(40px);
}

.cta-circle-1 {
  width: 20rem;
  height: 20rem;
  top: -10rem;
  right: -10rem;
}

.cta-circle-2 {
  width: 15rem;
  height: 15rem;
  bottom: -7rem;
  left: -7rem;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: hsl(var(--card) / 0.2);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(4px);
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 600;
  color: hsl(var(--card));
  margin-bottom: 1rem;
  line-height: 1.2;
}

.cta-text {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: hsl(var(--card) / 0.9);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.cta-trust-elements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--card) / 0.8);
  font-size: 0.875rem;
}

.contact-options {
  max-width: 64rem;
  margin: 0 auto;
}

.contact-card {
  display: block;
  text-align: center;
  padding: 2rem;
  border-radius: 1.5rem;
  cursor: pointer;
  transition: all 300ms var(--transition-smooth);
  text-decoration: none;
  color: inherit;
}

.contact-card-phone {
  background: hsl(var(--brand-cream) / 0.3);
  border: 1px solid hsl(var(--brand-beige) / 0.2);
}

.contact-card-phone:hover {
  background: hsl(var(--brand-cream) / 0.5);
}

.contact-card-whatsapp {
  background: hsl(var(--brand-golden) / 0.1);
  border: 1px solid hsl(var(--brand-golden) / 0.2);
}

.contact-card-whatsapp:hover {
  background: hsl(var(--brand-golden) / 0.2);
}

.contact-icon {
  width: 4rem;
  height: 4rem;
  background: hsl(var(--card));
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 300ms var(--transition-smooth);
}

.contact-card:hover .contact-icon {
  transform: scale(1.1);
}

.contact-card-phone .contact-icon .icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--primary));
}

.contact-card-whatsapp .contact-icon .icon {
  width: 2rem;
  height: 2rem;
  color: hsl(var(--brand-golden));
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.contact-info {
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
}

.contact-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: hsl(var(--primary));
  font-size: 0.875rem;
  font-weight: 500;
}

.contact-card:hover .icon-arrow {
  transform: translateX(0.25rem);
}

/* ============================================
   14. FOOTER
   ============================================ */
.footer {
  background: linear-gradient(135deg, hsl(var(--background)), hsl(var(--muted)));
  color: hsl(var(--foreground));
  position: relative;
  overflow: hidden;
}

.footer-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(45deg, transparent 25%, hsl(var(--muted-foreground) / 0.03) 50%, transparent 75%);
  background-size: 20px 20px;
}

.footer .container {
  position: relative;
  z-index: 10;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .footer-brand {
    grid-column: span 1;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.logo-image-footer {
  width: 4rem;
  height: 4rem;
  border-radius: 1.5rem;
  object-fit: cover;
  box-shadow: var(--shadow-medium);
}

.footer-logo-name {
  font-size: 1.875rem;
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
}

.footer-logo-tagline {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: hsl(var(--primary));
}

.footer-description {
  font-size: 1.125rem;
  font-weight: 300;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
  margin-bottom: 2.5rem;
  max-width: 28rem;
}

.footer-badges {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 0.875rem;
}

.footer-heading {
  font-size: 1.5rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 2.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--primary) / 0.1);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid hsl(var(--primary) / 0.2);
}

.contact-info-icon .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: hsl(var(--primary));
}

.contact-info-label {
  font-weight: 600;
  color: hsl(var(--foreground));
  margin-bottom: 0.5rem;
}

.contact-info-text {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 1.6;
  color: hsl(var(--muted-foreground));
}

.whatsapp-available {
  font-size: 0.75rem;
  color: hsl(var(--muted-foreground) / 0.7);
  margin-top: 0.25rem;
}

.footer-actions .btn {
  margin-bottom: 2rem;
}

.footer-social {
  margin-top: 2.5rem;
}

.footer-social-heading {
  font-weight: 600;
  color: hsl(var(--foreground));
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 3rem;
  height: 3rem;
  background: hsl(var(--muted));
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms var(--transition-smooth);
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-medium);
}

.social-link:hover {
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border-color: hsl(var(--primary));
  box-shadow: var(--shadow-strong);
  transform: scale(1.1);
}

.social-link .icon {
  width: 1.25rem;
  height: 1.25rem;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid hsl(var(--border) / 0.5);
  padding: 2rem 0;
  position: relative;
  z-index: 10;
}

.footer-bottom-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-link {
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
  transition: color 200ms var(--transition-smooth);
}

.footer-link:hover {
  color: hsl(var(--primary));
}

.footer-separator {
  color: hsl(var(--muted-foreground) / 0.5);
}

/* ============================================
   15. RESPONSIVE DESIGN
   ============================================ */

/* Mobile optimizations */
@media (max-width: 767px) {
  .section {
    padding: 3rem 0;
  }

  .hero {
    height: 70vh;
  }

  .hero-content {
    padding: 0 1.5rem;
  }

  .service-card,
  .team-card,
  .testimonial-card {
    margin-bottom: 1.5rem;
  }

  .team-cta-inner {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .team-cta-inner .btn {
    width: 100%;
  }

  .contact-options {
    gap: 1.5rem;
  }

  .cta-main {
    padding: 2rem 1.5rem;
  }

  .cta-trust-elements {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Tablet optimizations */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero {
    height: 80vh;
  }
}

/* Desktop optimizations */
@media (min-width: 1024px) {
  .section {
    padding: 8rem 0;
  }
}

/* Large desktop */
@media (min-width: 1280px) {
  .container {
    padding: 0 3rem;
  }
}

/* ============================================
   16. UTILITY CLASSES
   ============================================ */
.relative { position: relative; }
.absolute { position: absolute; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }

/* ============================================
   17. ANIMATIONS
   ============================================ */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeIn {
  animation: fadeIn 600ms var(--transition-smooth);
}

/* ============================================
   18. ACCESSIBILITY
   ============================================ */
:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.btn:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   19. PRINT STYLES
   ============================================ */
@media print {
  .header,
  .footer,
  .btn,
  .mobile-menu-btn,
  .nav-mobile {
    display: none;
  }

  .section {
    page-break-inside: avoid;
  }

  body {
    background: white;
    color: black;
  }
}
