
/* ===== src\ui\form\admin-form.css ===== */
.admin {
  max-width: 900px;
  margin: auto;
  padding: 40px;
}

.admin input,
.admin button {
  display: block;
  width: 100%;
  margin-bottom: 12px;
  padding: 10px;
}

#productList {
  margin-top: 40px;
}

/* ===== src\styles\main.css ===== */
/* 🌲 DESIGN TOKENS */
@import "../design/tokens/colors.css";
@import "../design/tokens/typography.css";
@import "../design/tokens/spacing.css";
@import "../design/tokens/shadows.css";
@import "../design/tokens/radius.css";
@import "../design/tokens/z-index.css";
@import "../design/animations/transitions.css";

/* 🧱 BASE */
@import "../base/reset.css";
@import "../base/base.css";
@import "../base/utilities.css";

/* 🧩 LAYOUT */
@import "../layout/container.css";
@import "../layout/grid.css";
@import "../layout/layout.css";
@import "../layout/sections.css";
@import "../components/buttons/buttons.css";

@import "../sections/header/header.css";
@import "../sections/hero/hero.css";
@import "../sections/featured-projects/featured-projects.css";

/* ===== src\sections\trust\trust.css ===== */

/* ===== src\sections\testimonials\testimonials.css ===== */

/* ===== src\sections\services\services.css ===== */

/* ===== src\sections\process\process.css ===== */

/* ===== src\sections\hero\hero.css ===== */
/* 🌲 HERO */

.hero {
  padding-top: 120px; /* compensar header fijo */
}

/* 🧱 LAYOUT */
.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: var(--space-8);
}

/* 🧠 CONTENIDO */
.hero-title {
  margin-bottom: var(--space-4);
}

.hero-description {
  margin-bottom: var(--space-6);
  max-width: 500px;
}

/* 🎯 BOTONES */
.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

/* 🖼 IMAGEN */
.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

/* ===== src\sections\header\header.css ===== */
/* 🌲 HEADER */

.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: var(--z-sticky);
  transition: all var(--transition-base);
}

.header.scrolled {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

/* 🧱 INNER */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

/* 🪵 LOGO */
.header-logo img {
  height: 40px;
}

/* 📌 NAV */
.nav-list {
  display: flex;
  gap: var(--space-6);
}

.nav-list a {
  font-family: var(--font-ui);
  font-size: var(--font-size-menu);
  position: relative;
}

/* ✨ underline effect */
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition-base);
}

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

/* 🎯 CTA */
.header-cta {
  margin-left: var(--space-5);
}

/* 📱 MENU TOGGLE */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--color-black);
}

/* 📱 MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--color-white);
  padding: var(--space-8);
  transform: translateX(100%);
  transition: transform var(--transition-base);
  z-index: var(--z-overlay);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }
}

/* ===== src\sections\footer\footer.css ===== */

/* ===== src\sections\featured-projects\featured-projects.css ===== */
/* 🌲 FEATURED PROJECTS */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

/* 🧱 CARD BASE */
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

/* 🖼 IMAGEN */
.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover img {
  transform: scale(1.1);
}

/* 🎯 OVERLAY */
.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);

  display: flex;
  flex-direction: column;
  justify-content: flex-end;

  padding: var(--space-4);
  color: var(--color-white);

  opacity: 0;
  transition: opacity var(--transition-base);
}

.project-card:hover .project-overlay {
  opacity: 1;
}

/* 🧠 TEXT */
.project-title {
  font-size: 20px;
  font-weight: 600;
}

.project-category {
  font-size: 14px;
  opacity: 0.8;
}

.project-link {
  margin-top: var(--space-2);
  font-size: 14px;
  font-weight: 600;
}

/* 🧱 LAYOUT EDITORIAL */
.project-large {
  grid-column: span 3;
  height: 400px;
}

.project-small {
  height: 220px;
}

/* 📱 RESPONSIVE */
@media (max-width: 768px) {
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .project-large,
  .project-small {
    height: 250px;
  }
}

/* ===== src\sections\cta\cta.css ===== */

/* ===== src\sections\catalog\catalog.css ===== */
.catalog {
  padding: 80px 0;
  background: var(--color-beige);
}

.catalog__title {
  text-align: center;
  margin-bottom: 40px;
}

.catalog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.catalog__card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.catalog__card:hover {
  transform: translateY(-5px);
}

.catalog__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.catalog__content {
  padding: 20px;
}

.catalog__name {
  font-size: 18px;
  font-weight: 600;
}

.catalog__price {
  margin-top: 10px;
  color: var(--color-green);
  font-weight: bold;
}

/* ===== src\sections\blog-preview\blog-preview.css ===== */

/* ===== src\sections\about\about.css ===== */

/* ===== src\layout\layout.css ===== */

/* ===== src\layout\grid.css ===== */

/* ===== src\layout\container.css ===== */

/* ===== src\design\typography\typography.css ===== */

/* ===== src\design\typography\fonts.css ===== */

/* ===== src\design\tokens\z-index.css ===== */
:root {
  --z-base: 1;
  --z-dropdown: 10;
  --z-sticky: 100;
  --z-overlay: 500;
  --z-modal: 1000;
  --z-toast: 2000;
}

/* ===== src\design\tokens\typography.css ===== */
:root {
  /* 🔤 Font Families */
  --font-display: "Playfair Display", serif;
  --font-body: "Source Sans 3", sans-serif;
  --font-ui: "Inter", sans-serif;

  /* 🧱 Headings */
  --font-size-h1: 64px;
  --font-size-h2: 48px;
  --font-size-h3: 36px;
  --font-size-h4: 32px;
  --font-size-h5: 24px;
  --font-size-h6: 18px;

  --font-weight-h1: 900;
  --font-weight-h2: 700;
  --font-weight-h3: 600;
  --font-weight-h4: 600;
  --font-weight-h5: 500;
  --font-weight-h6: 500;

  /* 📄 Body */
  --font-size-lead: 18px;
  --font-size-body: 16px;

  --font-weight-lead: 500;
  --font-weight-body: 400;

  /* 🎯 UI */
  --font-size-menu: 15px;
  --font-size-button: 14px;
  --font-size-cta: 16px;

  --font-weight-menu: 500;
  --font-weight-button: 600;
  --font-weight-cta: 700;

  /* 📏 Line Height */
  --line-height-tight: 1.1;
  --line-height-normal: 1.5;
  --line-height-loose: 1.8;
}

/* ===== src\design\tokens\spacing.css ===== */
:root {
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
}

/* ===== src\design\tokens\shadows.css ===== */
:root {
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 6px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
}

/* ===== src\design\tokens\radius.css ===== */
:root {
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 999px;
}

/* ===== src\design\tokens\colors.css ===== */
:root {
  /* 🌲 Brand Colors */
  --color-primary: #5b3a29; /* Nogal */
  --color-secondary: #2f4f3e; /* Verde cedro */

  --color-bg-main: #ffffff;
  --color-bg-soft: #f3e8d7;

  /* 🪵 Neutrals */
  --color-white: #ffffff;
  --color-black: #1a1a1a;

  --color-gray-100: #f7f7f7;
  --color-gray-200: #e5e5e5;
  --color-gray-300: #cccccc;
  --color-gray-400: #999999;
  --color-gray-500: #666666;
  --color-gray-600: #333333;

  /* 🎯 Functional */
  --color-success: #2e7d32;
  --color-warning: #ed6c02;
  --color-error: #d32f2f;

  /* 🌟 Text */
  --color-text-main: var(--color-gray-600);
  --color-text-light: var(--color-gray-400);
  --color-text-inverse: var(--color-white);
}

/* ===== src\design\layout\sections.css ===== */
/* 🌲 SECTION SYSTEM */

/* 🧱 Base section */
.section {
  position: relative;
  padding-block: var(--space-9);
}

/* 🔳 Variantes */
.section-sm {
  padding-block: var(--space-7);
}

.section-lg {
  padding-block: var(--space-10);
}

/* 🎨 Backgrounds */
.section-light {
  background-color: var(--color-bg-soft);
}

.section-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 🧠 Content wrapper */
.section-inner {
  width: 100%;
}

/* 🏷 Header de sección */
.section-header {
  max-width: 700px;
  margin-bottom: var(--space-7);
}

.section-header.center {
  margin-inline: auto;
  text-align: center;
}

/* 🧾 Título + descripción */
.section-title {
  margin-bottom: var(--space-3);
}

.section-description {
  font-size: var(--font-size-lead);
  color: var(--color-text-light);
}

/* 🎯 Layouts comunes */
.section-grid {
  display: grid;
  gap: var(--space-7);
}

.section-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.section-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .section {
    padding-block: var(--space-7);
  }

  .section-grid-2,
  .section-grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ===== src\design\layout\grid.css ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ===== src\design\layout\containers.css ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.container-lg {
  max-width: 1400px;
}

.container-sm {
  max-width: 900px;
}

/* ===== src\design\animations\transitions.css ===== */
/* 🎬 MOTION DESIGN SYSTEM */

:root {
  /* ⏱ Timing */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* 🌊 Easing (más profesional) */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.83, 0, 0.17, 1);
}

/* 🧠 Fade In */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all var(--transition-slow) var(--ease-out);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🚀 Slide Up */
.slide-up {
  opacity: 0;
  transform: translateY(60px);
  transition: all var(--transition-slow) var(--ease-out);
}

.slide-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🎯 Scale */
.scale-in {
  opacity: 0;
  transform: scale(0.9);
  transition: all var(--transition-base) var(--ease-out);
}

.scale-in.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* 💡 Hover Lift (cards, botones) */
.hover-lift {
  transition:
    transform var(--transition-base),
    box-shadow var(--transition-base);
}

.hover-lift:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

/* 🔍 Hover Zoom (imágenes) */
.hover-zoom {
  overflow: hidden;
}

.hover-zoom img {
  transition: transform var(--transition-slow) var(--ease-out);
}

.hover-zoom:hover img {
  transform: scale(1.1);
}

/* ✨ Button Overlay Effect */
.btn-animated {
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.btn-animated::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn-animated:hover::after {
  opacity: 1;
}

/* 🌊 Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* ===== src\components\navigation\navigation.css ===== */

/* ===== src\components\modal\modal.css ===== */

/* ===== src\components\forms\forms.css ===== */

/* ===== src\components\cards\cards.css ===== */

/* ===== src\components\cards\card.css ===== */

/* ===== src\components\buttons\buttons.css ===== */
/* 🌲 BUTTON SYSTEM */

/* 🧱 Base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);

  font-family: var(--font-ui);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);

  padding: 12px 20px;
  border-radius: var(--radius-md);

  cursor: pointer;
  transition: all var(--transition-base);

  position: relative;
  overflow: hidden;
}

/* 🎯 PRIMARY */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 🌿 SECONDARY */
.btn-secondary {
  background-color: var(--color-secondary);
  color: var(--color-white);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 🪶 GHOST */
.btn-ghost {
  background-color: transparent;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
}

.btn-ghost:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 📏 SIZES */
.btn-sm {
  padding: 8px 14px;
  font-size: 13px;
}

.btn-md {
  padding: 12px 20px;
}

.btn-lg {
  padding: 16px 28px;
  font-size: var(--font-size-cta);
  font-weight: var(--font-weight-cta);
}

/* 🚫 DISABLED */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 💡 FULL WIDTH */
.btn-block {
  width: 100%;
}

/* ✨ PREMIUM EFFECT */
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.btn:hover::after {
  opacity: 1;
}

/* 🔗 ICON SUPPORT */
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.btn-icon svg {
  width: 16px;
  height: 16px;
}

/* ===== src\components\badges\badges.css ===== */

/* ===== src\base\utilities.css ===== */
/* 🎬 Fade In */
.u-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.u-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* 🚀 Scale Hover */
.u-hover-scale {
  transition: transform 0.3s ease;
}

.u-hover-scale:hover {
  transform: scale(1.05);
}

/* 💡 Button Interaction */
.u-btn-hover {
  transition: all 0.3s ease;
}

.u-btn-hover:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* 🧠 TEXT UTILS */
.u-text-center {
  text-align: center;
}

.u-text-left {
  text-align: left;
}

.u-text-right {
  text-align: right;
}

/* 🎯 WIDTH */
.u-max-width-sm {
  max-width: 600px;
  margin-inline: auto;
}

.u-max-width-md {
  max-width: 800px;
  margin-inline: auto;
}

.u-max-width-lg {
  max-width: 1000px;
  margin-inline: auto;
}

/* 📏 SPACING */
.u-mb-sm {
  margin-bottom: var(--space-3);
}
.u-mb-md {
  margin-bottom: var(--space-5);
}
.u-mb-lg {
  margin-bottom: var(--space-7);
}

.u-mt-sm {
  margin-top: var(--space-3);
}
.u-mt-md {
  margin-top: var(--space-5);
}
.u-mt-lg {
  margin-top: var(--space-7);
}

/* 🎨 BACKGROUNDS */
.u-bg-soft {
  background-color: var(--color-bg-soft);
}

.u-bg-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* 🧩 FLEX */
.u-flex {
  display: flex;
}

.u-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* 🔤 TYPO UTILS */

.u-lead {
  font-size: var(--font-size-lead);
  font-weight: var(--font-weight-lead);
}

.u-small {
  font-size: 14px;
  color: var(--color-text-light);
}

.u-menu {
  font-family: var(--font-ui);
  font-size: var(--font-size-menu);
  font-weight: var(--font-weight-menu);
}

.u-button-text {
  font-family: var(--font-ui);
  font-size: var(--font-size-button);
  font-weight: var(--font-weight-button);
}

.u-cta-text {
  font-family: var(--font-ui);
  font-size: var(--font-size-cta);
  font-weight: var(--font-weight-cta);
}

/* ===== src\base\reset.css ===== */
/* 🌍 Modern CSS Reset */

/* Box sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

/* Remove list styles */
ul[role="list"],
ol[role="list"] {
  list-style: none;
  padding: 0;
}

/* Body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Media elements */
img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

/* Form elements */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove button styles */
button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Links */
a {
  text-decoration: none;
  color: inherit;
}

/* ===== src\base\base.css ===== */
/* 🌲 BASE GLOBAL */

/* 🧍 Body */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-body);
  font-weight: var(--font-weight-body);
  line-height: var(--line-height-normal);

  color: var(--color-text-main);
  background-color: var(--color-bg-main);
}

/* 🔤 Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  line-height: var(--line-height-tight);
  color: var(--color-primary);
}

h1 {
  font-size: var(--font-size-h1);
  font-weight: var(--font-weight-h1);
}

h2 {
  font-size: var(--font-size-h2);
  font-weight: var(--font-weight-h2);
}

h3 {
  font-size: var(--font-size-h3);
  font-weight: var(--font-weight-h3);
}

h4 {
  font-size: var(--font-size-h4);
  font-weight: var(--font-weight-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

/* 📄 Paragraph */
p {
  margin-bottom: var(--space-4);
}

/* 🔗 Links */
a {
  color: var(--color-primary);
  transition: opacity 0.3s ease;
}

a:hover {
  opacity: 0.7;
}

/* 🖼 Images */
img {
  border-radius: var(--radius-md);
}

/* 📏 Sections spacing */
section {
  padding-block: var(--space-9);
}

/* 📦 Container spacing fix */
.container {
  width: 100%;
  margin-inline: auto;
}
