/*
Theme Name: Obsydian
Theme URI: https://obsydian.com
Author: Obsydian
Author URI: https://obsydian.com
Description: A modern WordPress starter theme for Obsydian. Clean, fast, and customizable.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: obsydian
Tags: custom-background, threaded-comments, translation-ready
*/

/* ===================================
   CSS Reset & Base Styles
   =================================== */
:root {
  --bg: #070b12;
  --bg-alt: #0c1320;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: rgba(255, 255, 255, 0.1);
  --text: #3e3e3e;
  --muted: #212121;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #c8a96a;
  --green: #3e9716;
  --green2: #59b034;
  --blue: #4da3ff;
  --blue-2: #1f6feb;
  --shadow: 0 24px 27px rgba(135, 135, 135, 0.45);
  --radius: 24px;
  --radius-sm: 18px;
  --max: 1180px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 1) 0%,
    rgba(247, 247, 247, 0.68) 44%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--text);
  line-height: 1.6;
}

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

/*a {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.2s ease;
}

/*a:hover,
a:focus {
    color: #005177;
    text-decoration: underline;
}*/

/* ===================================
   Layout
   =================================== */

.site {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e5e5e5;
  padding: 1rem 0;
}

.site-main {
  flex: 1;
  padding: 2rem 0;
}

.site-footer {
  background-color: #f5f5f5;
  border-top: 1px solid #e5e5e5;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===================================
   Header
   =================================== */

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

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.site-title a {
  color: #333;
  text-decoration: none;
}

.site-description {
  font-size: 1rem;
  color: #666;
  margin: 0.25rem 0 0;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
}

.main-navigation a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
}

.main-navigation a:hover,
.main-navigation a:focus {
  color: #0073aa;
}

/* ===================================
   Content
   =================================== */

.post {
  margin-bottom: 3rem;
}

.entry-header {
  margin-bottom: 1.5rem;
}

.entry-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
}

.entry-title a {
  color: #333;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  color: #0073aa;
}

.entry-meta {
  font-size: 0.875rem;
  color: #666;
}

.entry-content {
  margin-bottom: 1.5rem;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

/* ===================================
   Sidebar
   =================================== */

.widget-area {
  padding-left: 2rem;
}

.widget {
  margin-bottom: 2rem;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ===================================
   Footer
   =================================== */

.site-info {
  text-align: center;
  font-size: 0.875rem;
  color: #666;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 768px) {
  .site-branding {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-navigation {
    margin-top: 1rem;
  }

  .main-navigation ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  .widget-area {
    padding-left: 0;
    margin-top: 2rem;
  }
}
/* ===================================
   Styles from HTML
   =================================== */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 1) 0%,
    rgba(247, 247, 247, 0.68) 44%,
    rgba(255, 255, 255, 1) 100%
  );
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0px 1px 5px rgba(220, 220, 220, 1); /*border-bottom: 1px solid rgba(255, 255, 255, 0.08);*/
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-mark {
  width: 120px;

  border-radius: 14px;
  background: transparent; /*background:
        linear-gradient(145deg, rgba(77, 163, 255, 0.95), rgba(200, 169, 106, 0.95));*/
  display: grid;
  place-items: center;
  color: #04111f;
  font-weight: 900;
  /*box-shadow: 0 10px 30px rgba(77, 163, 255, 0.22);*/
  & img {
    width: 100%;
  }
}

.nav-links {
  display: flex;
  gap: 24px;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgb(77 255 96 / 20%),
    rgb(26 255 0 / 43%)
  );
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--text);
  font-weight: 600;
}

.hero {
  position: relative;
  padding: 88px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -15% auto;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(77, 163, 255, 0.18),
    transparent 65%
  );
  filter: blur(8px);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 38px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.eyebrow span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(77, 163, 255, 0.15);
}

h1 {
  margin: 0;
  font-size: clamp(3rem, 6vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.05em;
  max-width: 11ch;
}

.gradient-text {
  background: linear-gradient(
    135deg,
    #393939 0%,
    #6ebc4b 35%,
    #3d9617 72%,
    #59b034 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p {
  max-width: 62ch;
  font-size: 1.08rem;
  color: var(--muted);
  margin: 24px 0 30px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, #3e9716 35%, #59b034);
  color: white;
  box-shadow: 0 6px 24px #36363633;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--green2);
  color: var(--text);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-meta .chip {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.25);
}

.hero-panel {
  position: relative;
  padding: 24px;
  border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
  & img {
    border-radius: calc(var(--radius) + 6px);
    border: solid thin var(--green);
  }
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: -80px -120px auto auto;
  width: 260px;
  height: 260px;
  background: radial-gradient(
    circle,
    rgba(200, 169, 106, 0.18),
    transparent 65%
  );
  border-radius: 50%;
}

.panel-map {
  height: 320px;
  border-radius: 20px;
  background:
    radial-gradient(
      circle at 20% 30%,
      rgba(77, 163, 255, 0.28),
      transparent 18%
    ),
    radial-gradient(
      circle at 70% 28%,
      rgba(200, 169, 106, 0.22),
      transparent 18%
    ),
    linear-gradient(180deg, rgba(9, 15, 26, 0.95), rgba(8, 12, 20, 0.72));
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.panel-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.95;
}

.panel-map .label {
  position: absolute;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgb(255 255 255 / 25%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #ffffff;
  backdrop-filter: blur(10px);
}

.label.eu {
  top: 28px;
  left: 28px;
}

.label.mx {
  bottom: 30px;
  right: 28px;
}

.panel-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}

.stat {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.stat span {
  color: var(--muted);
  font-size: 0.9rem;
}

section {
  padding: 26px 0 80px;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 3rem);
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
}

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

.card {
  padding: 26px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.04)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 28px rgba(0, 0, 0, 0.12);
}

.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  background: linear-gradient(
    135deg,
    rgb(77 255 254 / 22%),
    rgb(139 207 98 / 29%)
  );
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 1.25rem;
}

.card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 20px;
  align-items: stretch;
}

.glass {
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(
    180deg,
    rgb(188 188 188 / 0%) 23%,
    rgb(187 185 185 / 11%)
  );
  border: 1px solid rgb(0 0 0 / 12%);
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 18px;
  background: rgb(62 149 23 / 0%);
  border: 1px solid rgb(63 150 23 / 58%);
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgb(77 255 254 / 22%),
    rgb(139 207 98 / 29%)
  );
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 800;
}

.step h4 {
  margin: 0 0 4px;
  font-size: 1.02rem;
}

.step p {
  margin: 0;
  color: var(--muted);
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.tag {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: var(--muted);
  font-size: 0.92rem;
}

.quote {
  font-size: 1.08rem;
  color: var(--text);
  line-height: 1.8;
}

.quote strong {
  color: var(--green);
}

.cta {
  padding: 0 0 90px;
}

.cta-box {
  position: relative;
  overflow: hidden;
  padding: 34px;
  border-radius: calc(var(--radius) + 8px);
  background:
    radial-gradient(circle at top left, rgb(121 161 125 / 12%), #494a4900 34%),
    radial-gradient(
      circle at bottom right,
      rgba(200, 169, 106, 0.18),
      transparent 32%
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  border: 1px solid rgb(154 154 154 / 33%);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -0.04em;
}

.cta-box p {
  margin: 0 0 22px;
  color: var(--muted);
  max-width: 70ch;
}

.footer {
  padding: 28px 0 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer small {
  display: block;
  margin-top: 4px;
}

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .grid-3,
  .panel-stats {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 56px;
  }

  h1 {
    max-width: 100%;
  }

  .card,
  .glass,
  .cta-box {
    padding: 22px;
  }

  .panel-map {
    height: 260px;
  }

  .nav-cta,
  .btn {
    width: 100%;
  }

  .hero-actions {
    display: grid;
  }
}

/* ===================================
       Contact Form
       =================================== */
.contact-form-container {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
    width: 90vw;
    max-width: 600px;
    background-color: white;
    background-image: linear-gradient(135deg, rgb(77 255 254 / 22%), rgb(139 207 98 / 29%));
    position: fixed;
    z-index: 9999;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    padding: 1rem;
    border-radius: 15px;
    border: solid 1px rgba(0, 0, 0, 0.12);
    box-shadow: #808080b5 0 0 18px;
    transition: left 0.4s ease-in-out, opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

.contact-form-container.active {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
}

.contact-form-container.slide-right {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  left: 100%;
  transform: translateX(0) translateY(-50%);
}
.contact-form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
p.contacto-form-title {
  font-size: 1.5rem;
        font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin: 0 auto; 
    text-align: center;
}
button#close-btn {
border-radius: 15px;
    background: linear-gradient(135deg, rgb(255, 255, 255) 35%, rgb(255, 255, 255));
    border: solid thin gray;
    font-weight: 800;
    font-size: 1.3rem;
    padding: 0.5rem 0.8rem;
    transition: background ease-in .3s, color .1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
button#close-btn:hover {
    background: linear-gradient(135deg, rgb(62, 151, 22) 35%, rgb(89, 176, 52));
    color: white;
    transition: background ease-in .3s, color .1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
button#wpforms-submit-8,
button#wpforms-submit-15 {
    background: var(--green);
    border-radius: 19px;
    text-transform: uppercase;
    transition: transform .3s ease-out, background .3s ease-out;
}
button#wpforms-submit-8:hover,
button#wpforms-submit-15:hover {
    background: #51a92b;
    transform: scale(1.1);
    transition: transform .3s ease-out, background .3s ease-out;
}
.wpforms-container .wpforms-field{
  padding: 0.8rem 0;
}