 *,
 *::before,
 *::after {
   box-sizing: border-box;
   margin: 0;
   padding: 0;
 }

 :root {
   --green-deep: #0d3b2e;
   --green-mid: #1a6b4a;
   --green-light: #2ea87a;
   --green-pale: #d4f0e4;
   --cream: #f8f5ef;
   --white: #ffffff;
   --text-dark: #0d2018;
   --text-muted: #5a7a6a;
   --border: rgba(46, 168, 122, .15);
   --accent: #f0a500;
 }

 html {
   scroll-behavior: smooth;
 }

 body {
   font-family: 'DM Sans', sans-serif;
   background: var(--cream);
   color: var(--text-dark);
   min-height: 100vh;
   overflow-x: hidden;
 }

 body::before {
   content: '';
   position: fixed;
   top: -180px;
   right: -180px;
   width: 500px;
   height: 500px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(46, 168, 122, .15) 0%, transparent 70%);
   pointer-events: none;
   z-index: 0;
 }

 body::after {
   content: '';
   position: fixed;
   bottom: -180px;
   left: -150px;
   width: 460px;
   height: 460px;
   border-radius: 50%;
   background: radial-gradient(circle, rgba(13, 59, 46, .1) 0%, transparent 70%);
   pointer-events: none;
   z-index: 0;
 }

 /* ── HEADER ── */
 header {
   position: sticky;
   top: 0;
   z-index: 100;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 60px;
   height: 72px;
   background: rgba(248, 245, 239, .88);
   backdrop-filter: blur(14px);
   border-bottom: 1px solid var(--border);
 }

 .logo {
   display: flex;
   align-items: center;
   gap: 10px;
 }

 .logoo {
   width: 36px;
   height: 36px;
   object-fit: contain;
   border-radius: 8px;
 }

 .logo h2 {
   font-family: 'DM Serif Display', serif;
   font-size: 1.55rem;
   color: var(--green-deep);
   letter-spacing: -.5px;
 }

 nav {
   display: flex;
   align-items: center;
   gap: 6px;
 }

 nav a {
   font-size: .875rem;
   font-weight: 500;
   color: var(--text-muted);
   text-decoration: none;
   padding: 8px 18px;
   border-radius: 50px;
   transition: background .2s, color .2s;
 }

 nav a:hover {
   background: var(--green-pale);
   color: var(--green-mid);
 }

 nav a.active {
   background: var(--green-deep);
   color: var(--white);
 }

 /* profile dropdown */
 .profile-wrap {
   position: relative;
 }

 .profile-btn {
   display: flex;
   align-items: center;
   gap: 9px;
   background: var(--green-pale);
   border: 1.5px solid rgba(46, 168, 122, .25);
   border-radius: 50px;
   padding: 6px 14px 6px 8px;
   cursor: pointer;
   transition: background .2s, border-color .2s;
   font-family: 'DM Sans', sans-serif;
 }

 .profile-btn:hover {
   background: #c3e8d6;
   border-color: var(--green-light);
 }

 .profile-avatar {
   width: 30px;
   height: 30px;
   border-radius: 50%;
   background: var(--green-mid);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
 }

 .profile-avatar svg {
   width: 16px;
   height: 16px;
   fill: white;
 }

 .profile-name {
   font-size: .82rem;
   font-weight: 600;
   color: var(--green-deep);
   max-width: 100px;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
 }

 .profile-chevron {
   width: 14px;
   height: 14px;
   fill: var(--green-mid);
   transition: transform .22s;
   flex-shrink: 0;
 }

 .profile-wrap.open .profile-chevron {
   transform: rotate(180deg);
 }

 .profile-dropdown {
   position: absolute;
   top: calc(100% + 10px);
   right: 0;
   width: 260px;
   background: var(--white);
   border: 1px solid var(--border);
   border-radius: 18px;
   box-shadow: 0 16px 48px rgba(13, 59, 46, .12), 0 4px 12px rgba(13, 59, 46, .06);
   padding: 6px;
   opacity: 0;
   pointer-events: none;
   transform: translateY(8px) scale(.97);
   transform-origin: top right;
   transition: opacity .2s, transform .2s;
   z-index: 200;
 }

 .profile-wrap.open .profile-dropdown {
   opacity: 1;
   pointer-events: all;
   transform: translateY(0) scale(1);
 }

 .dd-user {
   display: flex;
   align-items: center;
   gap: 12px;
   padding: 14px 12px 12px;
   border-bottom: 1px solid rgba(46, 168, 122, .1);
   margin-bottom: 4px;
 }

 .dd-avatar-lg {
   width: 42px;
   height: 42px;
   border-radius: 12px;
   background: var(--green-pale);
   border: 1.5px solid rgba(46, 168, 122, .2);
   display: flex;
   align-items: center;
   justify-content: center;
   flex-shrink: 0;
 }

 .dd-avatar-lg svg {
   width: 22px;
   height: 22px;
   fill: var(--green-mid);
 }

 .dd-nombre {
   font-size: .9rem;
   font-weight: 600;
   color: var(--green-deep);
 }

 .dd-doc {
   font-size: .74rem;
   color: var(--text-muted);
   margin-top: 2px;
 }

 .dd-item {
   display: flex;
   align-items: center;
   gap: 11px;
   padding: 10px 12px;
   border-radius: 11px;
   text-decoration: none;
   font-size: .86rem;
   font-weight: 500;
   color: var(--text-dark);
   transition: background .18s, color .18s;
   border: none;
   background: none;
   width: 100%;
   font-family: 'DM Sans', sans-serif;
   text-align: left;
   cursor: pointer;
 }

 .dd-item:hover {
   background: var(--green-pale);
   color: var(--green-mid);
 }

 .dd-item svg {
   width: 17px;
   height: 17px;
   fill: var(--text-muted);
   flex-shrink: 0;
   transition: fill .18s;
 }

 .dd-item:hover svg {
   fill: var(--green-mid);
 }

 .dd-separator {
   height: 1px;
   background: rgba(46, 168, 122, .1);
   margin: 4px 0;
 }

 .dd-item.danger {
   color: #c0392b;
 }

 .dd-item.danger svg {
   fill: #c0392b;
 }

 .dd-item.danger:hover {
   background: #fdf0ef;
   color: #a93226;
 }

 .dd-item.danger:hover svg {
   fill: #a93226;
 }

 /* ══════════════ SECTIONS ══════════════ */

 /* HERO */
 .hero-nosotros {
   position: relative;
   z-index: 1;
   max-width: 1100px;
   margin: 0 auto;
   padding: 80px 60px 60px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 64px;
   align-items: center;
 }

 .hero-text {
   display: flex;
   flex-direction: column;
   gap: 24px;
 }

 .tag-pill {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: var(--green-pale);
   color: var(--green-mid);
   font-size: .72rem;
   font-weight: 600;
   letter-spacing: .1em;
   text-transform: uppercase;
   padding: 7px 16px;
   border-radius: 50px;
   width: fit-content;
 }

 .tag-pill .dot {
   width: 7px;
   height: 7px;
   border-radius: 50%;
   background: var(--green-light);
 }

 .hero-text h1 {
   font-family: 'DM Serif Display', serif;
   font-size: clamp(2.2rem, 4vw, 3.4rem);
   color: var(--green-deep);
   line-height: 1.08;
   letter-spacing: -.03em;
 }

 .hero-text h1 em {
   font-style: italic;
   color: var(--green-light);
 }

 .hero-text p {
   font-size: 1rem;
   font-weight: 300;
   color: var(--text-muted);
   line-height: 1.8;
   max-width: 440px;
 }

 .hero-visual {
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .hero-visual::before {
   content: '';
   position: absolute;
   width: 88%;
   height: 88%;
   border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
   background: var(--green-pale);
   animation: morphBlob 9s ease-in-out infinite;
 }

 @keyframes morphBlob {

   0%,
   100% {
     border-radius: 40% 60% 55% 45% / 50% 45% 55% 50%;
   }

   33% {
     border-radius: 55% 45% 40% 60% / 45% 55% 50% 50%;
   }

   66% {
     border-radius: 50% 50% 60% 40% / 55% 45% 45% 55%;
   }
 }

 .hero-visual-inner {
   position: relative;
   z-index: 1;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 14px;
   padding: 32px;
 }

 .stat-bubble {
   background: var(--white);
   border-radius: 20px;
   padding: 22px 18px;
   border: 1px solid var(--border);
   box-shadow: 0 8px 24px rgba(13, 59, 46, .07);
   text-align: center;
   animation: floatBubble ease-in-out infinite;
 }

 .stat-bubble:nth-child(1) {
   animation-duration: 4s;
 }

 .stat-bubble:nth-child(2) {
   animation-duration: 5.5s;
   animation-delay: -.8s;
 }

 .stat-bubble:nth-child(3) {
   animation-duration: 4.8s;
   animation-delay: -.4s;
 }

 .stat-bubble:nth-child(4) {
   animation-duration: 6s;
   animation-delay: -1.2s;
 }

 @keyframes floatBubble {

   0%,
   100% {
     transform: translateY(0);
   }

   50% {
     transform: translateY(-10px);
   }
 }

 .sb-icon {
   width: 36px;
   height: 36px;
   border-radius: 10px;
   background: var(--green-pale);
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto 10px;
 }

 .sb-icon svg {
   width: 18px;
   height: 18px;
   fill: var(--green-mid);
 }

 .sb-num {
   font-family: 'DM Serif Display', serif;
   font-size: 1.7rem;
   color: var(--green-deep);
   line-height: 1;
 }

 .sb-lbl {
   font-size: .72rem;
   color: var(--text-muted);
   margin-top: 4px;
 }

 /* STRIP */
 .strip {
   position: relative;
   z-index: 1;
   background: var(--green-deep);
   padding: 52px 60px;
   display: grid;
   grid-template-columns: repeat(3, 1fr);
 }

 .strip-item {
   display: flex;
   align-items: flex-start;
   gap: 18px;
   padding: 0 40px;
   border-right: 1px solid rgba(255, 255, 255, .08);
 }

 .strip-item:first-child {
   padding-left: 0;
 }

 .strip-item:last-child {
   border-right: none;
 }

 .strip-icon {
   width: 48px;
   height: 48px;
   flex-shrink: 0;
   border-radius: 14px;
   background: rgba(46, 168, 122, .2);
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .strip-icon svg {
   width: 22px;
   height: 22px;
   fill: var(--green-light);
 }

 .strip-body h4 {
   font-family: 'DM Serif Display', serif;
   font-size: 1rem;
   color: white;
   margin-bottom: 6px;
 }

 .strip-body p {
   font-size: .82rem;
   color: rgba(255, 255, 255, .5);
   line-height: 1.65;
 }

 /* MISION / VISION */
 .mv-section {
   position: relative;
   z-index: 1;
   max-width: 1100px;
   margin: 0 auto;
   padding: 80px 60px;
   display: grid;
   grid-template-columns: 1fr 1fr;
   gap: 28px;
 }

 .mv-card {
   background: var(--white);
   border-radius: 24px;
   padding: 36px 32px;
   border: 1px solid var(--border);
   box-shadow: 0 8px 32px rgba(13, 59, 46, .06);
   display: flex;
   flex-direction: column;
   gap: 16px;
   position: relative;
   overflow: hidden;
 }

 .mv-card::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   height: 4px;
   background: linear-gradient(90deg, var(--green-light), var(--green-mid));
 }

 .mv-card-icon {
   width: 52px;
   height: 52px;
   border-radius: 15px;
   background: var(--green-pale);
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .mv-card-icon svg {
   width: 26px;
   height: 26px;
   fill: var(--green-mid);
 }

 .mv-card h3 {
   font-family: 'DM Serif Display', serif;
   font-size: 1.4rem;
   color: var(--green-deep);
 }

 .mv-card p {
   font-size: .9rem;
   font-weight: 300;
   color: var(--text-muted);
   line-height: 1.8;
 }

 /* VALUES */
 .values-section {
   position: relative;
   z-index: 1;
   background: #f2f9f6;
   padding: 72px 60px;
 }

 .values-inner {
   max-width: 1100px;
   margin: 0 auto;
 }

 .section-head {
   text-align: center;
   margin-bottom: 48px;
 }

 .section-eyebrow {
   display: inline-flex;
   align-items: center;
   gap: 8px;
   background: var(--green-pale);
   color: var(--green-mid);
   font-size: .72rem;
   font-weight: 600;
   letter-spacing: .12em;
   text-transform: uppercase;
   padding: 7px 16px;
   border-radius: 50px;
   margin-bottom: 16px;
 }

 .section-head h2 {
   font-family: 'DM Serif Display', serif;
   font-size: clamp(1.7rem, 3vw, 2.4rem);
   color: var(--green-deep);
   letter-spacing: -.02em;
 }

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

 .value-card {
   background: var(--white);
   border-radius: 20px;
   padding: 30px 26px;
   border: 1px solid var(--border);
   box-shadow: 0 4px 16px rgba(13, 59, 46, .04);
   display: flex;
   flex-direction: column;
   gap: 12px;
   transition: transform .25s, box-shadow .25s;
 }

 .value-card:hover {
   transform: translateY(-6px);
   box-shadow: 0 16px 40px rgba(13, 59, 46, .1);
 }

 .value-num {
   font-family: 'DM Serif Display', serif;
   font-size: 2.4rem;
   color: var(--green-pale);
   line-height: 1;
 }

 .value-card h4 {
   font-size: .95rem;
   font-weight: 600;
   color: var(--green-deep);
 }

 .value-card p {
   font-size: .84rem;
   font-weight: 300;
   color: var(--text-muted);
   line-height: 1.7;
 }

 /* TEAM */
 .team-section {
   position: relative;
   z-index: 1;
   max-width: 1100px;
   margin: 0 auto;
   padding: 80px 60px;
 }

 .team-grid {
   display: grid;
   grid-template-columns: repeat(3, 1fr);
   gap: 24px;
   margin-top: 48px;
 }

 .team-card {
   background: var(--white);
   border-radius: 22px;
   border: 1px solid var(--border);
   box-shadow: 0 4px 20px rgba(13, 59, 46, .05);
   overflow: hidden;
   text-align: center;
   transition: transform .25s, box-shadow .25s;
 }

 .team-card:hover {
   transform: translateY(-5px);
   box-shadow: 0 16px 40px rgba(13, 59, 46, .1);
 }

 .team-avatar-wrap {
   background: var(--green-pale);
   padding: 32px 0 24px;
 }

 .team-avatar {
   width: 80px;
   height: 80px;
   border-radius: 50%;
   background: var(--green-mid);
   border: 3px solid white;
   display: flex;
   align-items: center;
   justify-content: center;
   margin: 0 auto;
   box-shadow: 0 6px 20px rgba(13, 59, 46, .2);
 }

 .team-avatar svg {
   width: 40px;
   height: 40px;
   fill: white;
 }

 .team-info {
   padding: 22px 24px 28px;
   display: flex;
   flex-direction: column;
   gap: 6px;
 }

 .team-info h4 {
   font-family: 'DM Serif Display', serif;
   font-size: 1.05rem;
   color: var(--green-deep);
 }

 .team-info .role {
   font-size: .78rem;
   color: var(--green-mid);
   font-weight: 600;
 }

 .team-info p {
   font-size: .8rem;
   color: var(--text-muted);
   line-height: 1.6;
   margin-top: 4px;
 }

 /* CTA */
 .cta-section {
   position: relative;
   z-index: 1;
   background: var(--green-deep);
   padding: 72px 60px;
   text-align: center;
   overflow: hidden;
 }

 .cta-section::before {
   content: '';
   position: absolute;
   width: 500px;
   height: 500px;
   border-radius: 50%;
   border: 70px solid rgba(255, 255, 255, .04);
   top: -160px;
   right: -100px;
 }

 .cta-section::after {
   content: '';
   position: absolute;
   width: 280px;
   height: 280px;
   border-radius: 50%;
   border: 40px solid rgba(46, 168, 122, .12);
   bottom: -80px;
   left: -60px;
 }

 .cta-inner {
   position: relative;
   z-index: 1;
   max-width: 560px;
   margin: 0 auto;
   display: flex;
   flex-direction: column;
   gap: 20px;
   align-items: center;
 }

 .cta-section h2 {
   font-family: 'DM Serif Display', serif;
   font-size: clamp(1.7rem, 3vw, 2.4rem);
   color: white;
   letter-spacing: -.02em;
 }

 .cta-section h2 em {
   font-style: italic;
   color: var(--green-light);
 }

 .cta-section p {
   font-size: .92rem;
   font-weight: 300;
   color: rgba(255, 255, 255, .55);
   line-height: 1.7;
 }

 .btn-cta {
   display: inline-flex;
   align-items: center;
   gap: 10px;
   background: var(--green-light);
   color: white;
   font-family: 'DM Sans', sans-serif;
   font-size: .95rem;
   font-weight: 600;
   padding: 15px 32px;
   border-radius: 50px;
   text-decoration: none;
   transition: background .2s, transform .15s;
   box-shadow: 0 8px 24px rgba(46, 168, 122, .35);
 }

 .btn-cta:hover {
   background: #27976d;
   transform: translateY(-2px);
 }

 .btn-cta svg {
   width: 16px;
   height: 16px;
   fill: white;
 }

 /* FOOTER */
 footer {
   position: relative;
   z-index: 1;
   background: #061f16;
   padding: 36px 60px;
   display: flex;
   align-items: center;
   justify-content: space-between;
 }

 .footer-logo {
   font-family: 'DM Serif Display', serif;
   font-size: 1.3rem;
   color: white;
   letter-spacing: -.03em;
 }

 footer p {
   font-size: .78rem;
   color: rgba(255, 255, 255, .3);
 }

 /* ─────────────────────────────────── */
 /* RESPONSIVE — TABLET (≤ 1024px)     */
 /* ─────────────────────────────────── */
 @media (max-width: 1024px) {
   header {
     padding: 0 32px;
   }

   .hero-nosotros {
     grid-template-columns: 1fr;
     padding: 56px 32px 48px;
     gap: 48px;
   }

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

   .hero-text p {
     max-width: 100%;
   }

   .tag-pill {
     margin: 0 auto;
   }

   .hero-visual-inner {
     grid-template-columns: repeat(4, 1fr);
     padding: 24px;
     gap: 12px;
   }

   .strip {
     padding: 48px 32px;
   }

   .mv-section {
     padding: 64px 32px;
   }

   .values-section {
     padding: 64px 32px;
   }

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

   .team-section {
     padding: 64px 32px;
   }

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

   .cta-section {
     padding: 64px 32px;
   }

   footer {
     padding: 32px 32px;
   }
 }

 /* ─────────────────────────────────── */
 /* RESPONSIVE — MÓVIL (≤ 768px)       */
 /* ─────────────────────────────────── */
 @media (max-width: 768px) {
   header {
     flex-direction: column;
     height: auto;
     padding: 14px 20px;
     gap: 10px;
   }

   .logo {
     justify-content: center;
   }

   nav {
     width: 100%;
     justify-content: center;
     flex-wrap: wrap;
     gap: 6px;
   }

   nav a {
     padding: 6px 14px;
     font-size: .8rem;
   }

   .profile-name {
     display: none;
   }

   .profile-dropdown {
     right: 50%;
     transform: translateX(50%) translateY(8px) scale(.97);
     width: 90vw;
     max-width: 320px;
   }

   .profile-wrap.open .profile-dropdown {
     transform: translateX(50%) translateY(0) scale(1);
   }

   .hero-nosotros {
     padding: 40px 20px 36px;
     gap: 36px;
   }

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

   .stat-bubble {
     padding: 18px 14px;
   }

   .sb-num {
     font-size: 1.4rem;
   }

   .strip {
     grid-template-columns: 1fr;
     padding: 40px 20px;
     gap: 28px;
   }

   .strip-item {
     border-right: none;
     border-bottom: 1px solid rgba(255, 255, 255, .08);
     padding: 0 0 28px;
   }

   .strip-item:last-child {
     border-bottom: none;
     padding-bottom: 0;
   }

   .mv-section {
     grid-template-columns: 1fr;
     padding: 48px 20px;
     gap: 20px;
   }

   .mv-card {
     padding: 28px 24px;
   }

   .values-section {
     padding: 48px 20px;
   }

   .values-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

   .value-card {
     padding: 24px 22px;
   }

   .team-section {
     padding: 48px 20px;
   }

   .team-grid {
     grid-template-columns: 1fr;
     gap: 16px;
   }

   .cta-section {
     padding: 48px 20px;
   }

   footer {
     flex-direction: column;
     gap: 10px;
     text-align: center;
     padding: 28px 20px;
   }
 }

 /* ─────────────────────────────────── */
 /* RESPONSIVE — MÓVIL PEQUEÑO (≤ 480px) */
 /* ─────────────────────────────────── */
 @media (max-width: 480px) {
   header {
     padding: 12px 16px;
   }

   nav a {
     padding: 5px 10px;
     font-size: .75rem;
   }

   .hero-nosotros {
     padding: 32px 16px 28px;
     gap: 28px;
   }

   .hero-visual-inner {
     grid-template-columns: repeat(2, 1fr);
     gap: 10px;
     padding: 16px;
   }

   .sb-num {
     font-size: 1.2rem;
   }

   .sb-lbl {
     font-size: .66rem;
   }

   .strip {
     padding: 32px 16px;
   }

   .strip-icon {
     width: 40px;
     height: 40px;
   }

   .strip-body h4 {
     font-size: .95rem;
   }

   .strip-body p {
     font-size: .78rem;
   }

   .mv-section {
     padding: 36px 16px;
   }

   .mv-card {
     padding: 22px 18px;
   }

   .mv-card h3 {
     font-size: 1.2rem;
   }

   .values-section {
     padding: 36px 16px;
   }

   .section-head {
     margin-bottom: 32px;
   }

   .value-card {
     padding: 20px 18px;
   }

   .value-num {
     font-size: 2rem;
   }

   .team-section {
     padding: 36px 16px;
   }

   .team-grid {
     margin-top: 32px;
   }

   .cta-section {
     padding: 40px 16px;
   }

   .btn-cta {
     width: 100%;
     justify-content: center;
     padding: 14px 24px;
   }

   footer {
     padding: 24px 16px;
   }

   .footer-logo {
     font-size: 1.1rem;
   }
 }

 /* ── Botones de autenticación en nav desktop (sin sesión) ── */
 .nav-auth-btns {
   display: flex;
   align-items: center;
   gap: 8px;
 }

 .nav-btn-login {
   display: inline-flex;
   align-items: center;
   padding: 7px 18px;
   border-radius: 50px;
   border: 1.5px solid rgba(46, 168, 122, .4);
   background: transparent;
   color: var(--green-deep, #0d3b2e);
   font-size: .85rem;
   font-weight: 600;
   text-decoration: none;
   transition: background .2s, border-color .2s;
   white-space: nowrap;
 }

 .nav-btn-login:hover {
   background: var(--green-pale, #d4f0e4);
   border-color: rgba(46, 168, 122, .7);
 }

 .nav-btn-register {
   display: inline-flex;
   align-items: center;
   padding: 7px 18px;
   border-radius: 50px;
   background: var(--green-deep, #0d3b2e);
   color: #fff;
   font-size: .85rem;
   font-weight: 600;
   text-decoration: none;
   transition: background .2s, transform .15s;
   white-space: nowrap;
 }

 .nav-btn-register:hover {
   background: var(--green-mid, #1a6b4a);
   color: #fff;
   transform: translateY(-1px);
 }