@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;600;700;800&display=swap');

:root {
  /* Brand Colors from Logo */
  --color-brand-dark: #15232d; /* Metallic Dark Blue-Grey from Logo */
  --color-brand-light: #f8f7f2; /* Elegant Off-White/Beige from Logo background */
  --color-brand-accent: #2c3e50; /* Lighter metallic accent */
  --color-silver: #a8b2b9;
  
  /* Neutral Colors */
  --color-white: #ffffff;
  --color-matte-black: #0a0f13;
  --color-graphite: #333333;
  
  /* Glass Effects */
  --color-glass-dark: rgba(21, 35, 45, 0.85);
  --color-glass-light: rgba(248, 247, 242, 0.9);
  --color-glass-border: rgba(255, 255, 255, 0.05);
  
  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadows & Transitions */
  --shadow-soft: 0 10px 40px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.3);
  --transition-fast: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 0px; /* Sharp architectural edges */
  --border-radius-md: 0px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-graphite);
  background-color: var(--color-brand-light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-brand-dark);
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

ul {
  list-style: none;
}

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

/* Utilities */
.text-brand { color: var(--color-brand-dark); }
.text-white { color: var(--color-white); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 40px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 2px;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition-fast);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn-primary {
  background-color: var(--color-brand-dark);
  color: var(--color-white);
  box-shadow: 0 10px 30px rgba(21, 35, 45, 0.3);
}

.btn-primary:hover {
  background-color: var(--color-matte-black);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(21, 35, 45, 0.4);
}

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

.btn-outline:hover {
  background-color: var(--color-brand-dark);
  color: var(--color-white);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-padding {
  padding: 150px 0;
}

.section-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.section-subtitle {
  font-size: 1.15rem;
  color: #666;
  max-width: 700px;
  margin-bottom: 80px;
  font-weight: 300;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition-fast);
  padding: 30px 0;
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  padding: 15px 0;
  background: var(--color-glass-light);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: var(--shadow-soft);
}

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

.logo img {
  height: 50px;
  width: auto;
  transition: var(--transition-fast);
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: var(--color-brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
}

/* Make nav links white when header is transparent (over hero image) */
.header:not(.scrolled) .nav-links a {
  color: var(--color-white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-brand-dark);
  transition: var(--transition-fast);
}

.header:not(.scrolled) .nav-links a::after {
  background-color: var(--color-white);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-brand-dark);
  font-size: 1.5rem;
  cursor: pointer;
}
.header:not(.scrolled) .mobile-menu-btn {
  color: var(--color-white);
}

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 800px;
  position: relative;
  display: flex;
  align-items: center;
  background-image: url('../assets/images/america.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--color-white);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(10, 15, 19, 0.85) 0%, rgba(10, 15, 19, 0.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 900px;
  padding-top: 80px;
}

.hero-headline {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 30px;
  color: var(--color-white);
  letter-spacing: -2px;
  text-transform: uppercase;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

.hero-subheadline {
  font-size: 1.35rem;
  font-weight: 300;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

.hero-buttons {
  display: flex;
  gap: 24px;
  animation: fadeUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
  opacity: 0;
}

.hero-buttons .btn-outline {
  border-color: rgba(255,255,255,0.5);
  color: var(--color-white);
}
.hero-buttons .btn-outline:hover {
  background: var(--color-white);
  color: var(--color-brand-dark);
}

/* Exclusive Stats Bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-glass-dark);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.05);
  z-index: 10;
}

.hero-stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 40px 0;
}

.hero-stat-item {
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.hero-stat-item:last-child { border-right: none; }

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-white);
  line-height: 1;
  margin-bottom: 10px;
}

.hero-stat-label {
  color: var(--color-silver);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* About Section */
.about {
  background-color: var(--color-brand-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  height: 700px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: var(--shadow-strong);
}

.about-image::after {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 2px solid var(--color-brand-accent);
  z-index: -1;
  transition: var(--transition-slow);
}

.about-image:hover::after {
  transform: translate(10px, 10px);
}

.about-content h2 {
  font-size: 3rem;
  margin-bottom: 30px;
}

.about-content p {
  margin-bottom: 24px;
  color: var(--color-graphite);
  font-size: 1.1rem;
  font-weight: 300;
}

.exclusive-features {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ex-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  transition: var(--transition-fast);
}

.ex-feature:hover {
  transform: translateX(10px);
  border-left: 4px solid var(--color-brand-dark);
}

.ex-feature i {
  font-size: 1.5rem;
  color: var(--color-brand-accent);
}

.ex-feature h4 {
  font-size: 1.1rem;
  font-weight: 600;
}

/* Services */
.services {
  background-color: var(--color-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 40px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: var(--color-brand-light);
  transition: var(--transition-slow);
  box-shadow: var(--shadow-soft);
}

.service-img-wrapper {
  height: 280px;
  overflow: hidden;
  position: relative;
}

.service-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
  filter: grayscale(20%);
}

.service-card:hover .service-img-wrapper img {
  transform: scale(1.08);
  filter: grayscale(0%);
}

.service-content {
  padding: 40px;
  background: var(--color-brand-light);
  position: relative;
  z-index: 2;
}

.service-content h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
}

.service-content p {
  color: #555;
  font-size: 1rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.service-link {
  color: var(--color-brand-dark);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--color-brand-dark);
  padding-bottom: 5px;
}

.service-link:hover {
  gap: 20px;
  color: var(--color-brand-accent);
  border-color: var(--color-brand-accent);
}

/* Authority Section */
.authority {
  background-color: var(--color-matte-black);
  color: var(--color-white);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.authority-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url('../assets/images/atiradores.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.2;
}

.authority-container {
  position: relative;
  z-index: 10;
}

.authority-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.authority-title {
  font-size: 4rem;
  color: var(--color-white);
  margin-bottom: 40px;
  line-height: 1.1;
}

.authority-quote {
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--color-brand-light);
  border-left: 4px solid var(--color-silver);
  padding-left: 40px;
  margin-bottom: 50px;
  line-height: 1.4;
}

.authority-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.auth-feature {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-white);
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.auth-feature i {
  color: var(--color-silver);
  font-size: 1.5rem;
}

/* Portfolio */
.portfolio {
  background-color: var(--color-brand-light);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/11;
  cursor: pointer;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to top, rgba(21, 35, 45, 0.95), rgba(21, 35, 45, 0.2));
  opacity: 0;
  transition: var(--transition-slow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 60px;
}

.portfolio-item:hover img {
  transform: scale(1.05);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  color: var(--color-white);
  font-size: 2rem;
  margin-bottom: 10px;
  transform: translateY(30px);
  transition: var(--transition-slow);
}

.portfolio-overlay p {
  color: var(--color-silver);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  transform: translateY(30px);
  transition: var(--transition-slow);
  transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

/* CTA Area */
.cta-area {
  padding: 150px 0;
  background: var(--color-brand-dark);
  text-align: center;
  color: var(--color-white);
  position: relative;
}
.cta-area::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url('../assets/images/mezanino.png');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.1;
}

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

.cta-area h2 {
  font-size: 4rem;
  color: var(--color-white);
  margin-bottom: 30px;
}

.cta-area p {
  font-size: 1.25rem;
  margin-bottom: 50px;
  font-weight: 300;
  color: rgba(255,255,255,0.8);
}

.cta-area .btn-primary {
  background-color: var(--color-white);
  color: var(--color-brand-dark);
  padding: 24px 50px;
  font-size: 1.1rem;
}

.cta-area .btn-primary:hover {
  background-color: var(--color-silver);
  color: var(--color-matte-black);
}

/* Footer */
.footer {
  background-color: var(--color-brand-light);
  color: var(--color-graphite);
  padding: 100px 0 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 80px;
  margin-bottom: 80px;
}

.footer-brand .logo img {
  height: 60px;
  margin-bottom: 30px;
  filter: none;
}

.footer-brand p {
  max-width: 400px;
  margin-bottom: 30px;
  font-weight: 300;
}

.footer-social {
  display: flex;
  gap: 20px;
}

.footer-social a {
  width: 45px;
  height: 45px;
  background: var(--color-white);
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand-dark);
  transition: var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-brand-dark);
  color: var(--color-white);
  transform: translateY(-5px);
}

.footer-title {
  color: var(--color-brand-dark);
  font-size: 1.1rem;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-links li {
  margin-bottom: 16px;
}

.footer-links a {
  font-weight: 300;
}

.footer-links a:hover {
  color: var(--color-brand-accent);
  padding-left: 8px;
}

.footer-contact li {
  display: flex;
  gap: 20px;
  margin-bottom: 24px;
  align-items: flex-start;
  font-weight: 300;
}

.footer-contact i {
  color: var(--color-brand-accent);
  font-size: 1.2rem;
  margin-top: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(0,0,0,0.05);
  font-size: 0.9rem;
  font-weight: 300;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  bottom: 40px;
  right: 40px;
  background-color: #25D366;
  color: white;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition-fast);
  animation: pulse 2.5s infinite;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  background-color: #128C7E;
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1200px) {
  .hero-headline { font-size: 4rem; }
  .section-title { font-size: 3rem; }
  .about-image { height: 500px; }
}

@media (max-width: 1024px) {
  .about-grid, .authority-grid { gap: 40px; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .hero-stats-container { grid-template-columns: repeat(2, 1fr); gap: 30px 0; }
  .hero-stat-item:nth-child(2) { border-right: none; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0; left: -100%;
    width: 100%; height: 100vh;
    background: var(--color-glass-light);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: var(--transition-fast);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .nav-links a {
      font-size: 1.5rem;
      color: var(--color-brand-dark) !important;
  }
  
  .mobile-menu-btn { display: block; z-index: 1001; position: relative;}
  
  .about-grid { grid-template-columns: 1fr; }
  .about-image { height: 400px; order: -1; }
  
  .authority-grid { grid-template-columns: 1fr; }
  
  .footer-grid { grid-template-columns: 1fr; gap: 50px; }
  
  .hero-headline { font-size: 3rem; }
  .hero-subheadline { font-size: 1.1rem; }
  .cta-area h2 { font-size: 2.5rem; }
  .section-padding { padding: 100px 0; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; width: 100%; }
  .hero-buttons .btn { width: 100%; }
  .hero-stats-container { grid-template-columns: 1fr; gap: 40px 0; }
  .hero-stat-item { border-right: none; }
  .container { padding: 0 20px; }
}
