

/*-----------------------------------*\
  TIPOGRAFIA
\*-----------------------------------*/


@font-face {
  font-family: 'Fontspring-DEMO-visbycf-demibold';
  src: url(../tipografia/VisbyBold.eot) format('embedded-opentype'),
  url(../tipografia/VisbyBold.woff) format('woff'),
  url(../tipografia/VisbyBold.ttf) format('truetype'),
  url(../tipografia/VisbyBold.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Fontspring-DEMO-visbycf-medium';
  src: url(../tipografia/VisbySemibold.eot) format('embedded-opentype'),
  url(../tipografia/VisbySemibold.woff) format('wooff'),
  url(../tipografia/VisbySemibold.ttf) format('truetype'),
  url(../tipografia/VisbySemibold.svg) format('svg');
  font-weight: normal;
  font-style: normal;
}
  @font-face {
      font-family: 'Fontspring-DEMO-visbycf-demibold';
      src: url(../tipografia/Fontspring-DEMO-visbycf-demibold.eot) format('embedded-opentype'),
           url(../tipografia/Fontspring-DEMO-visbycf-demibold.woff) format('woff'),
           url(../tipografia/Fontspring-DEMO-visbycf-demibold.ttf) format('truetype'),
           url(../tipografia/Fontspring-DEMO-visbycf-demibold.svg) format('svg');
           font-weight: normal;
           font-style: normal;
}
  @font-face {
      font-family: 'Fontspring-DEMO-visbycf-medium';
      src: url(../tipografia/Fontspring-DEMO-visbycf-medium.eot) format('embedded-opentype'),
           url(../tipografia/Fontspring-DEMO-visbycf-medium.svg) format('svg'),
           url(../tipografia/Fontspring-DEMO-visbycf-medium.ttf) format('truetype'),
           url(../tipografia/Fontspring-DEMO-visbycf-medium.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}
  @font-face {
      font-family: 'Fontspring-DEMO-visbycf-regular';
      src: url(../tipografia/Fontspring-DEMO-visbycf-regular.eot) format('embedded-opentype'),
           url(../tipografia/Fontspring-DEMO-visbycf-regular.svg) format('svg'),
           url(../tipografia/Fontspring-DEMO-visbycf-regular.ttf) format('truetype'),
           url(../tipografia/Fontspring-DEMO-visbycf-regular.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}
    
  @font-face {
      font-family: 'RBNo3.1-Black';
      src: url(../tipografia/RBNo3.1-Black.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Black.svg) format('svg'),
           url(../tipografia/RBNo3.1-Black.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Black.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}

    @font-face {
      font-family: 'RBNo3.1-Extrabold';
      src: url(../tipografia/RBNo3.1-Extrabold.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Extrabold.svg) format('svg'),
           url(../tipografia/RBNo3.1-Extrabold.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Extrabold.woff) format('woff');
           font-weight: normal;
           font-style: normal;
}
    @font-face {
      font-family: 'RBNo3.1-Ultra';
      src: url(../tipografia/RBNo3.1-Ultra.eot) format('embedded-opentype'),
           url(../tipografia/RBNo3.1-Ultra.svg) format('svg'),
           url(../tipografia/RBNo3.1-Ultra.ttf) format('truetype'),
           url(../tipografia/RBNo3.1-Ultra.woff) format('woff');
           font-weight: normal;
           font-style: normal;             
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 16px; }

.headline-lg {
  font-size: var(--headline-lg);
  color: var(--white);
  font-weight: var(--fw-500);
  line-height: 1.2;
}

.headline-md {
  font-size: var(--headline-md);
  font-weight: var(--fw-700);
}

.headline-lg,
.headline-md { font-family: var(--ff-oswald); }

.headline-md,
.headline-sm { line-height: 1.3; }

.headline-md,
.headline-sm { color: var(--midnight-green); }

.headline-sm { font-size: var(--headline-sm); }

.title-lg { font-size: var(--title-lg); }

.title-md { font-size: var(--title-md); }

.title-sm { font-size: var(--title-sm); }

.social-list { display: flex; }

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

.has-before,
.has-after {
  position: relative;
  z-index: 1;
}

.has-before::before,
.has-after::after {
  content: "";
  position: absolute;
}

.btn {
 background-color: #ea823b;
  color: var(--white);
  font-weight: var(--fw-700);
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--radius-6);
  overflow: hidden;
}

.btn::before {
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--eerie-black);
  border-radius: var(--radius-6);
  transition: var(--transition-2);
  z-index: -1;
}

.btn:is(:hover, :focus-visible)::before { transform: translateX(100%); }

.w-100 { width: 75%; }

.grid-list {
  display: grid;
  gap: 40px 28px;
}

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

[data-reveal] {
  opacity: 0;
  transition: var(--transition-2);
}

[data-reveal].revealed { opacity: 1; }

[data-reveal="bottom"] { transform: translateY(50px); }

[data-reveal="bottom"].revealed { transform: translateY(0); }

[data-reveal="left"] { transform: translateX(-50px); }

[data-reveal="right"] { transform: translateX(50px); }

[data-reveal="left"].revealed,
[data-reveal="right"].revealed { transform: translateX(0); }


/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

   
  /**
   * colors
   */

  --violet-blue-crayola: hsla(234, 50%, 64%, 1);
  --dark-cornflower-blue_a7: hsla(214, 88%, 27%, 0.07);
  --white: hsla(0, 0%, 100%, 1);
  --white_a3: hsla(0, 0%, 100%, 0.03);
  --white_a8: hsla(0, 0%, 100%, 0.08);

  --white_a12: hsla(0, 0%, 100%, 0.12);
  --white_a70: hsla(0, 0%, 100%, 0.7);
  --cultured: hsla(220, 20%, 97%, 1);
  --lavender-web: hsla(233, 52%, 94%, 1);
  --cadet-blue-crayola: hsla(220, 12%, 70%, 1);
  --cadet-blue-crayola_a20: hsla(222, 23%, 71%, 0.2);
  --charcoal: hsla(218, 22%, 26%, 1);
  --raisin-black: hsla(216, 14%, 14%, 1);
  --light-gray: hsla(0, 0%, 79%, 1);
  --blue-crayola: hsla(219, 72%, 56%, 1);
  --black-coral: hsla(220, 12%, 43%, 1);


--midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --light-steel-blue: hsl(218, 33%, 77%);
  --royal-blue-light: hsl(225, 68%, 53%);
  --flickr-blue_30: hsla(225, 68%, 53%, 0.3);
  --carolina-blue: hsl(201, 92%, 47%);
  --oxford-blue-1: hsl(218, 70%, 18%);
  --oxford-blue-2: hsl(217, 100%, 12%);
  --oxford-blue-3: hsl(218, 71%, 11%);
  --gainsboro_50: hsla(0, 0%, 85%, 0.5);
  --lavender-web: hsl(225, 67%, 91%);
  --sonic-silver: hsl(0, 0%, 47%);
  --light-gray: hsl(0, 0%, 84%);
  --cultured: hsl(0, 0%, 97%);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --black_8: hsla(0, 0%, 0%, 0.08);
  --white: hsl(0, 0%, 100%);
  --black: hsl(0, 0%, 0%);
  --jet: hsl(0, 0%, 20%);
  --rich-black-fogra-29: hsl(222, 44%, 8%);
  --middle-blue-green_40: hsla(174, 64%, 71%, 0.4);
  --midnight-green: hsl(186, 100%, 19%);
  --midnight-green_a25: hsla(186, 100%, 19%, 0.25);
  --independece: hsl(236, 14%, 39%);
  --verdigris: hsl(182, 100%, 35%);
  --ming: hsl(186, 72%, 24%);
  --space-cadet: hsla(226, 45%, 24%);
  --eerie-black: hsl(0, 0%, 13%);
  --alice-blue: hsl(187, 25%, 94%);
  --gray-web: hsl(0, 0%, 50%);
  --gainsboro: hsl(0, 0%, 87%);
  --white: hsl(0, 0%, 100%);
  --white_a20: hsla(0, 0%, 100%, 0.2);
  --white_a10: hsla(0, 0%, 100%, 0.1);
  --black: hsl(0, 0%, 0%);
  /**
   * gradient color
   */

  --gradient: linear-gradient( 90deg, var(--carolina-blue) 0%, var(--royal-blue-light) 100%);

  /**
   * typography
   */

  --ff-roboto: "RBNo3.1-Black", sans-serif;
  --ff-poppins: "Fontspring-DEMO-visbycf-bold", sans-serif;


  --fs-1: 4rem;
  --fs-2: 3.6rem;
  --fs-3: 3.2rem;
  --fs-4: 2.4rem;
  --fs-5: 2.2rem;
  --fs-6: 1.8rem;
  --fs-7: 1.6rem;

  --fw-800: 800;
  --fw-700: 700;
  --fw-600: 600;
  --fw-500: 500;

  /**
   * spacing
   */

  --section-padding: 120px;

  /**
   * shadow
   */

  --shadow-1: 4px 4px 15px var(--black_10);
  --shadow-2: 0 10px 15px var(--black_10);
  --shadow-3: 0px 20px 60px var(--black_8);
  --shadow-4: 0px 10px 30px var(--flickr-blue_30);
  --shadow-5: 0px 2px 60px 0px var(--black_10);

  /**
   * border radius
   */

  --radius-6: 6px;
  --radius-4: 4px;
  --radius-circle: 50%;
  --radius-12: 12px;

  /**
   * transition
   */

  --transition: 0.25s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-in: cubic-bezier(0.51, 0.03, 0.64, 0.28);
  --cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);
}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li { list-style: none; }

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

a,
img,
span,
input,
button,
ion-icon { display: block; }

img { height: auto; }

input,
button {
  background: none;
  border: none;
  font: inherit;
}

input { width: 100%; }

button { cursor: pointer; }

ion-icon { pointer-events: none; }

address { font-style: normal; }

html {
  font-family: var(--ff-roboto);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.5rem;
}





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container { padding-inline: 25px; }

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

.section-subtitle {
  color:#ea823b;
  font-family: var(--ff-poppins);
  font-size: var(--fs-6);
  font-weight: var(--fw-700);
 
  margin-block-end: 10px;
}

.h1,
.h2,
.h3 {
  font-family: var(--ff-poppins);
  line-height: 1.2;
}

.h1 {
  color: var(--oxford-blue-1);
  font-size: 50px;
}

.h2,
.h3 { color: var(--oxford-blue-2); }

.h2 { font-size: var(--fs-1); }

.h3 { font-size: var(--fs-5); }



.btn:is(:hover, :focus) { --deg: -90deg; }

.w-100 { width: 100%; }

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

.card-text,
.section-text { line-height: 1.7;
font-size: 16px;
color: #00295d; }

.img-holder {
  aspect-ratio: var(--width) / var(--height);
  background-color: var(--light-gray);
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}





/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  text-align: center;
  margin-bottom: -14%; background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding-block-end:36%;

}


.hero-title { margin-block: 15px 30px; 
  font-size:100px;
}

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;
}

.hero-form {
  background-color: var(--white);
  margin-bottom: 30px;
  /* max-width: 95%; */
  /* padding: 15px; */
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-3);
}

.hero-form .email-field {
  background-color: var(--cultured);
  color: var(--black);
  min-height: 70px;
  padding-inline: 15px;
  border-radius: var(--radius-4);
  margin-block-end: 15px;
}

.hero-form .btn { width: 100%; }

.hero-banner{
  position: relative;
  z-index: 2;
  width: 578px;
  height: 890px;
}
.contenedor {
  position: relative;
  display: inline-block;
  z-index: 1;
}
.image {
  position: absolute;
    bottom: -282px;
    left: -134px;
    width: 157%;
}








/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-banner { display: none; }

.service { padding-block-end: 0; }
/*
.service .section-title {\*margin-block-end: 50px;*/ 


.service-list {
  display: grid;
  gap: 15px;
}

.service-card {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  min-height: 100%;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  padding: 30px;
}

.service-card .card-icon {
  width: 50px;
  flex-shrink: 0;
}

.service-card .card-title { margin-block-end: 8px; }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about { padding-block-end: 0; padding-bottom: 100px; }

.about-banner { margin-block-end: 50px; }

.about .section-text-1 { margin-block: 25px 15px; 
 }


.about .btn {
  font-size: unset;
  max-width: max-content;
  margin-block-start: 30px;
  padding-inline: 15px;
}





/*-----------------------------------*\
  #DOCTOR
\*-----------------------------------*/

.doctor .section-title { margin-block-end: 50px; }

.doctor-card .card-banner {
  border-radius: var(--radius-4);
  overflow: hidden;
  margin-block-end: 25px;
}

.doctor-card {
  padding: 30px;
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-4);
  text-align: center;
  min-height: 100%;
}

.doctor-card .card-title {
  font-size: var(--fs-4);
  transition: var(--transition);
}

.doctor-card:is(:hover, :focus-within) .card-title { color: var(--royal-blue-light); }

.doctor-card .card-subtitle {
  color: var(--royal-blue-light);
  margin-block: 10px 15px;
}

.doctor-card .card-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.doctor-card .card-social-link {
  background-color: var(--lavender-web);
  color: var(--royal-blue-light);
  font-size: 16px;
  padding: 12px;
  border-radius: 50%;
  transition: var(--transition);
}

.doctor-card .card-social-link:is(:hover, :focus) {
  background-color: var(--royal-blue-light);
  color: var(--white);
}

.has-scrollbar {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  margin-inline: 15px;
  padding-block-end: 40px;
  margin-block-end: -20px;
  scroll-snap-type: inline mandatory;
}

.scrollbar-item {
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar { height: 10px; }

.has-scrollbar::-webkit-scrollbar-track {
  background-color: var(--light-gray);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background-color: var(--royal-blue-light);
  border-radius: var(--radius-4);
}

.has-scrollbar::-webkit-scrollbar-button { width: calc(25% - 30px); }



/*-----------------------------------*\
  #DOC de
\*-----------------------------------*/

.doc { background-color: var(--oxford-blue-1); }

.doc-banner { margin-block-end: 50px; }

.doc .section-subtitle { text-transform: capitalize; }

.doc .section-title {
  color: var(--white);
  font-size: 16px;
  margin-block-end: 30px;
}

.doc .btn { max-width: max-content; }
@media (min-width: 768px) {

  /**
   * DOC
   */

  .doc { padding-block: 0; }

  .doc .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .doc-banner { margin-block-end: 0; }

  .doc-content { padding-block: 60px; }

}

@media (min-width: 992px) {

  /**
   * DOC
   */

  .doc-content { padding-block: 80px; }


}
@media (min-width: 1200px) {


  /**
   * DOC
   */

  .doc .container { align-items: center; }

  .doc-banner { margin-block-start: -120px; }

}




/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog .section-title { margin-block-end: 50px; }

.blog-list {
  display: grid;
  gap: 30px;
}

.blog-card {
  border-radius: var(--radius-4);
  box-shadow: var(--shadow-5);
}

.blog-card .card-banner {
  position: relative;
  border-radius: var(--radius-4);
  overflow: hidden;
}

.blog-card .card-banner img { transition: var(--transition); }

.blog-card:is(:hover, :focus-within) .card-banner img { transform: scale(1.1); }

.blog-card .card-badge {
  background-color: var(--royal-blue-light);
  color: var(--white);
  position: absolute;
  bottom: 25px;
  left: 25px;
  display: flex;
  gap: 5px;
  padding: 10px 15px;
  border-radius: var(--radius-6);
}

.blog-card .card-content { padding: 30px; }

.blog-card .card-title { transition: var(--transition); }

.blog-card .card-title:is(:hover, :focus) { color: var(--royal-blue-light); }

.blog-card .card-text { margin-block: 15px; }

.blog-card .card-link {
  position: relative;
  color: var(--royal-blue-light);
  font-weight: var(--fw-500);
  text-transform: uppercase;
  width: max-content;
  transition: var(--transition);
}

.blog-card .card-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--royal-blue-light);
  transition: var(--transition);
}

.blog-card .card-link:is(:hover, :focus) { color: var(--oxford-blue-1); }

.blog-card .card-link:is(:hover, :focus)::after { background-color: var(--oxford-blue-1); }






/*-----------------------------------*\
  #BACK TO TOP
\*-----------------------------------*/

.back-top-btn {
  position: fixed;
  bottom: 10px;
  right: 20px;
  background-color: var(--royal-blue-light);
  font-size: 18px;
  color: var(--white);
  padding: 14px;
  border-radius: 50%;
  visibility: hidden;
  opacity: 0;
  transition: var(--transition);
}

.back-top-btn.active {
  transform: translateY(-10px);
  visibility: visible;
  opacity: 1;
}


/*-----------------------------------*\
  #CTA
\*-----------------------------------*/

.cta { background-color: var(--charcoal); }

.cta .container {
  padding-block: 100px 60px;
  border-block-end: 1px solid var(--cadet-blue-crayola_a20);
}

.cta .section-title {
  color: var(--white);
  margin-block-end: 30px;
}

.cta .btn {
  background-color: #ea823b;
  color: var(--white);
  border: none;
  margin-left: auto;
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 4.2rem;

  }



  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }



  /**
   * BLOG
   */

  .blog-card .h3 { --fs-5: 2.6rem; }

  

}





/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 4.8rem;

  }



  /**
   * RESET
   */

  body { font-size: 1.6rem; }



  /**
   * REUSED STYLE
   */

  .container { max-width: 750px; }

  .section-subtitle { --fs-6: 2.2rem; }


 
  
  /**
   * HERO
   */

  .hero { overflow: hidden; }

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 0.75fr;
    align-items: center;
    gap: 20px;
  }

  .hero-content { margin-block-end: 0; }

  .hero-form { position: relative; }

  .hero-form .email-field {
    margin-block-end: 0;
    padding-inline-end: 190px;
  }

  .hero-form .btn {
    width: auto;
    position: absolute;
    top: 15px;
    right: 15px;
    bottom: 15px;
  }

  .hero-banner { margin-inline-end: -60px; }



  /**
   * SERVICE
   */

  .service-list {
    grid-template-columns: 1fr 1fr;
    column-gap: 30px;
  }



  /**
   * DOCTOR
   */

  .scrollbar-item { min-width: calc(50% - 15px); }



  /**
   * CTA
   */

  .cta { padding-block: 0; }

  .cta .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-end;
    gap: 60px;
  }

  .cta-banner { margin-block-end: 0; }

  .cta-content { padding-block: 60px; }



  /**
   * BLOG
   */

  .blog-list { grid-template-columns: 1fr 1fr; }



 


  /**
   * BACK TO TOP
   */

  .back-top-btn {
    bottom: 70px;
    right: 50px;
  }

}





/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 6rem;
    --fs-1: 4.6rem;
    --fs-3: 4.6rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 980px; }



  /**
   * SERVICE
   */

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

  .service-banner {
    display: block;
    grid-column: 2 / 3;
    grid-row: 1 / 4;
    align-self: center;
  }



  /**
   * ABOUT
   */

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

  .about-banner { margin-block-end: 0; }



  /**
   * DOCTOR
   */

  .scrollbar-item { min-width: calc(33.33% - 20px); }



  /**
   * CTA
   */

  .cta-content { padding-block: 80px; }



  /**
   * BLOG
   */

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




}





/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-2: 8rem;
    --fs-1: 5.5rem;
    --fs-3: 4.8rem;

  }



  /**
   * REUSED STYLE
   */

  .container { max-width: 1180px; }


  /**
   * ABOUT
   */

  .about .container {
    grid-template-columns: 0.85fr 1fr;
    gap: 100px;
  }



  /**
   * DOCTOR
   */

  .doctor { padding-block-end: 180px; }

  .scrollbar-item { min-width: calc(25% - 22.5px); }

  .has-scrollbar {
    padding-block-end: 0;
    margin-block-end: 0;
  }



  /**
   * CTA
   */

  .cta .container { align-items: center; }

  .cta-banner { margin-block-start: -120px; }

}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 768px screen
 */

 @media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --headline-lg: 8rem;
    --headline-md: 4.8rem;

  }


  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
    width: 100%;
    margin-inline: auto;
  }

}





/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 940px; }



  /**
   * HERO
   */

  .hero-banner {
    display: block;
    max-width: max-content;
  }

  .hero .container {
    display: grid
;
        grid-template-columns: 96fr 2fr;
        align-items: center;
  }

}





/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1200px; }

}


/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

/**
 * responsive for large than 575px screen
 */

 @media (min-width: 575px) {

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }


 }



/**
 * responsive for large than 768px screen
 */

@media (min-width: 768px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * spacing
     */

    --section-padding: 120px;

  }


  /**
   * REUSED STYLE
   */

  .container { max-width: 720px; }

  .grid-list { grid-template-columns: 1fr 1fr; }

}

/**
 * responsive for large than 992px screen
 */

@media (min-width: 992px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 960px; }


}


/**
 * responsive for large than 1200px screen
 */

@media (min-width: 1200px) {

  /**
   * REUSED STYLE
   */

  .container { max-width: 1140px; }



}

/* nueva*/
/*-----------------------------------*\
  #HERO (Carrusel)
\*-----------------------------------*/

.hero {
  position: relative;
  text-align: center;
 


  overflow: hidden; /* Evita que se vea contenido fuera del contenedor */
}

.hero-slider {
  position: absolute;
  top: 0;
  left: -13px;
  width: 34%;
  height: 78%;
  z-index: -1; /* Pone el carrusel debajo del contenido */
}

.slider-container {
  display: flex;
  transition: transform 1s ease-in-out; /* Transición suave entre imágenes */
  width: 300%; /* Asegura que el contenedor sea el triple del tamaño de una imagen */
  height: 100%;
}

.slider-item {
  flex: 0 0 100%; /* Cada item ocupa el 100% de la sección */
  height: 100%;
}

.slider-item img {
  width: 100%; /* Las imágenes ocupan todo el ancho */
  height: 100%; /* Las imágenes ocupan toda la altura */
  object-fit: cover; /* Asegura que la imagen cubra todo el contenedor sin distorsionarse */
}

/* Hero content styles */
.hero-content {
  position: relative;
  text-align: center;
  margin-block-end: -34px;
  max-width: unset;
  margin-inline: 0;
  background-color: rgba(0, 0, 0, 0.4);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
  border-radius: 17px;
  padding: 20px;
  margin-block-start: 19%;
}

.hero-title { margin-block: -17px 0px; }

.hero-text {
  font-size: var(--fs-6);
  line-height: 1.45;
  margin-block-end: 40px;
}




@media (max-width: 768px) {
  .section-subtitle {
    color:#ea823b;
    font-family: var(--ff-poppins);
    font-size: 30px;
    font-weight: var(--fw-700);
   
    margin-block-end: 50px;
  }
  .hero-title {         margin-block: -38px 8px;
    font-size: 60px; }


    .hero {
 
      padding-block-end:105%;
    
    }
}

@media screen and (max-width: 480px) {
 

}





/*-----------------------------------*\
  #GO TO TOP
\*-----------------------------------*/

.go-top {
  background: coral ;
  color: var(--space-cadet);
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 20px;
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 2px 10px hsla(0, 0%, 0%, 0.1);
  opacity: 0;
  transform: translateY(10px);
  visibility: hidden;
  transition: var(--transition);
  z-index: 2;
}

.go-top.active {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

.go-top:is(:hover, :focus) {
  background: #00295d;
  color: var(--white);
}





/* Estilizar la barra de desplazamiento */
::-webkit-scrollbar {
  width: 12px; /* Ancho de la barra */
}

/* Fondo de la barra de desplazamiento */
::-webkit-scrollbar-track {
  background: linear-gradient(180deg, #e0e0e0, #f8f8f8); /* Degradado suave */
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
}

/* Diseño del "thumb" (la parte que se mueve) */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff7e5f, #feb47b); /* Degradado cálido */
  border-radius: 10px;
  box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.2);
}

/* Efecto hover en la barra */
::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff6a4d, #fd8f5e);
}
